Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webnn: Set a max operand rank of 8 #47711

Merged
merged 1 commit into from
Aug 21, 2024

webnn: Set a max operand rank of 8

9918dff
Select commit
Loading
Failed to load commit list.
Merged

webnn: Set a max operand rank of 8 #47711

webnn: Set a max operand rank of 8
9918dff
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results succeeded Aug 21, 2024 in 19m 34s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome


Setting up x11-utils (7.7+5) ...
Setting up xdg-utils (1.1.3-2ubuntu1.20.04.2) ...
Setting up libx11-protocol-perl (0.56-7) ...
Setting up libfile-mimeinfo-perl (0.29-1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for menu (2.1.47ubuntu4) ...
Processing triggers for libc-bin (2.31-0ubuntu9.16) ...
Selecting previously unselected package google-chrome-unstable.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 58076 files and directories currently installed.)
Preparing to unpack .../google-chrome-unstable_current_amd64.deb ...
Unpacking google-chrome-unstable (129.0.6658.0-1) ...
Setting up google-chrome-unstable (129.0.6658.0-1) ...
update-alternatives: using /usr/bin/google-chrome-unstable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-unstable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-unstable to provide /usr/bin/google-chrome (google-chrome) in auto mode
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for menu (2.1.47ubuntu4) ...
sudo service dbus start
 * Starting system message bus dbus        
[ OK ]
sudo Xvfb :99.0 -screen 0 1280x1024x24
sudo fluxbox -display :99.0
sudo earlyoom -p -r 60 --prefer=(chrome|firefox) --avoid=python
./tools/ci/taskcluster-run.py --commit-range base_head chrome dev -- --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt
earlyoom v1.3
Prefering to kill process names that match regex '(chrome|firefox)'
Avoiding to kill process names that match regex 'python'
Could not set priority: Permission denied. Continuing anyway
Could not set oom_score_adj: Permission denied. Continuing anyway
mem total: 15806 MiB, swap total:    0 MiB
sending SIGTERM when mem <= 10 % and swap <= 10 %,
        SIGKILL when mem <=  5 % and swap <=  5 %
Could not lock memory - continuing anyway: Cannot allocate memory
mem avail: 14975 of 15806 MiB (94 %), swap free:    0 of    0 MiB ( 0 %)
INFO:manifest:Downloading manifest from https://github.com/web-platform-tests/wpt/releases/download/merge_pr_47715/MANIFEST-e6e8541bc7c77d7a469059e3630cc13c513ddd31.json.bz2
INFO:manifest:Manifest downloaded
2024-08-21 15:50:47,878 - tc-run - INFO - Running tests affected in range 'base_head'...
2024-08-21 15:50:47,878 - tc-run - INFO - Executing command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome
  ERROR: Command errored out with exit status 1:
   command: /home/test/web-platform-tests/_venv3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y6pxqvkp/mozdebug/setup.py'"'"'; __file__='"'"'/tmp/pip-install-y6pxqvkp/mozdebug/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-uc_9ztxx
       cwd: /tmp/pip-install-y6pxqvkp/mozdebug/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for mozdebug
  ERROR: Command errored out with exit status 1:
   command: /home/test/web-platform-tests/_venv3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y6pxqvkp/mozlog/setup.py'"'"'; __file__='"'"'/tmp/pip-install-y6pxqvkp/mozlog/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-5glnhwci
       cwd: /tmp/pip-install-y6pxqvkp/mozlog/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for mozlog
mem avail: 14889 of 15806 MiB (94 %), swap free:    0 of    0 MiB ( 0 %)
 0:00.00 INFO Set tests_root to /home/test/web-platform-tests
 0:00.00 INFO Set metadata_root to /home/test/web-platform-tests
 0:00.00 INFO Set manifest_update to True
 0:00.00 INFO Set manifest_download to True
 0:11.78 INFO Identified 1 affected tests
 0:11.78 INFO Installing browser
 0:11.80 INFO Downloading Chrome for Testing from https://storage.googleapis.com/chrome-for-testing-public/129.0.6658.0/linux64/chrome-linux64.zip
 0:14.94 INFO Downloading Mojo bindings from https://storage.googleapis.com/chrome-for-testing-public/129.0.6658.0/mojojs.zip
 0:14.99 INFO MojoJS enabled automatically (mojojs_path: /home/test/web-platform-tests/_venv3/mojojs/gen)
 0:15.01 INFO Download info for matching ChromeDriver version found.
 0:15.01 INFO Downloading ChromeDriver from https://storage.googleapis.com/chrome-for-testing-public/129.0.6658.0/linux64/chromedriver-linux64.zip
 0:15.22 INFO Automatically turning on experimental features for Chrome Dev/Canary or Chromium trunk
 0:20.70 INFO Installed font: Ahem.ttf
 0:21.56 wptserve INFO Starting http server on http://127.0.0.1:8000
 0:21.63 wptserve INFO Starting http server on http://127.0.0.1:8002
 0:21.66 wptserve INFO Starting https server on https://127.0.0.1:8444
 0:21.69 wptserve INFO Starting http server on http://127.0.0.1:8001
 0:21.69 wptserve INFO Starting https server on https://127.0.0.1:8445
 0:21.69 wptserve INFO Starting https server on https://127.0.0.1:8443
 0:21.71 wptserve INFO Starting http server on http://127.0.0.1:8003
 0:21.74 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:21.74 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:21.74 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:21.74 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:21.74 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:21.74 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:21.76 wptserve INFO Starting https server on https://127.0.0.1:8446
 0:21.76 wptserve INFO Starting http2 server on https://127.0.0.1:9000
 0:21.82 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:21.99 SUITE_START: web-platform-test - running 6 tests
 0:26.71 INFO Using 1 child processes
 0:26.71 INFO Starting WebDriver: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=48441 --ignore-explicit-port --url-base=/ --enable-chrome-logs --disable-build-check
 0:26.73 INFO Got WebDriver port 43007
 0:26.83 pid:2085 Full command: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=48441 --ignore-explicit-port --url-base=/ --enable-chrome-logs --disable-build-check
pid:2085 Starting ChromeDriver 129.0.6658.0 (b6b086b2111573c43c2f620cca8ccc7133a9dc2c-refs/branch-heads/6658@{#1}) on port 0
 0:26.83 pid:2085 Only local connections are allowed.
 0:26.83 pid:2085 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
 0:26.83 pid:2085 ChromeDriver was started successfully on port 43007.
 0:26.83 INFO Webdriver started successfully.
 0:26.83 INFO Starting runner
 0:27.75 pid:2085 [2102:2102:0821/155243.134993:WARNING:chrome_main_delegate.cc(747)] This is Chrome version 129.0.6658.0 (not a warning)
 0:29.03 pid:2085 [2102:2102:0821/155244.415618:WARNING:field_trial_util.cc(109)] Field trial config study skipped: CookieSameSiteConsidersRedirectChainDesktop.Enabled (some of its features are already overridden)
 0:29.20 pid:2085 [2138:2138:0821/155244.578206:WARNING:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
 0:29.20 pid:2085 [2138:2138:0821/155244.580027:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
 0:29.20 pid:2085 [2138:2138:0821/155244.581312:WARNING:viz_main_impl.cc(79)] VizNullHypothesis is disabled (not a warning)
 0:29.68 pid:2085 
 0:29.68 pid:2085 DevTools listening on ws://127.0.0.1:42715/devtools/browser/5c8407c7-9bd3-4cad-94c1-94e75e8762cd
 0:29.75 pid:2085 [2102:2102:0821/155245.132632:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
 0:29.76 pid:2085 [1724255565.145][WARNING]: You are using an unsupported command-line switch: --disable-build-check. Please don't report bugs that cannot be reproduced with this switch removed.
 0:29.77 pid:2085 [2102:2196:0821/155245.151156:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
 0:29.77 pid:2085 [2102:2196:0821/155245.151177:WARNING:property.cc(149)] DaemonVersion: GetAndBlock: failed.
 0:29.77 pid:2085 [2102:2196:0821/155245.152566:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
 0:29.77 pid:2085 [2102:2196:0821/155245.153940:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
mem avail: 14207 of 15806 MiB (89 %), swap free:    0 of    0 MiB ( 0 %)
 0:53.29 TEST_START: /webnn/validation_tests/invalid-rank.https.any.html?gpu
 0:53.59 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)

 0:53.59 TEST_START: /webnn/validation_tests/invalid-rank.https.any.worker.html?cpu
 0:53.82 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)

 0:53.82 TEST_START: /webnn/validation_tests/invalid-rank.https.any.html?cpu
 0:54.63 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)

 0:54.63 TEST_START: /webnn/validation_tests/invalid-rank.https.any.html?npu
 0:55.28 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)

 0:55.28 TEST_START: /webnn/validation_tests/invalid-rank.https.any.worker.html?npu
 0:55.53 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)

 0:55.53 TEST_START: /webnn/validation_tests/invalid-rank.https.any.worker.html?gpu
 0:55.84 TEST_END: Test OK. Subtests passed 1/2. Unexpected 1
FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)

 0:55.84 INFO No more tests
 0:55.84 pid:2085 [2102:2117:0821/155311.224333:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
 0:59.20 pid:2085 [0821/155314.587031:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
 0:59.20 pid:2085 [0821/155314.587082:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
 0:55.85 INFO Closing logging queue
 0:55.85 INFO queue closed
 0:59.95 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 18 checks (12 subtests, 6 tests)
Expected results: 12
Unexpected results: 6
  subtest: 6 (6 fail)

Unexpected Results
------------------
/webnn/validation_tests/invalid-rank.https.any.html?gpu
  FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)
/webnn/validation_tests/invalid-rank.https.any.worker.html?cpu
  FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)
/webnn/validation_tests/invalid-rank.https.any.html?cpu
  FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)
/webnn/validation_tests/invalid-rank.https.any.html?npu
  FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)
/webnn/validation_tests/invalid-rank.https.any.worker.html?npu
  FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)
/webnn/validation_tests/invalid-rank.https.any.worker.html?gpu
  FAIL Throw if rank is too large - assert_throws_js: function "() => builder.input(
          'a', {dataType: 'float32', dimensions: shapeWithLargeRank})" did not throw
    at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/invalid-rank.https.any.js:12:3)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
    at https://web-platform.test:8443/resources/testharness.js:738:36
    at new Promise (<anonymous>)
 0:59.95 INFO Got 6 unexpected results, with 0 unexpected passes
 0:59.95 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:00.03 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:00.03 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:00.03 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:00.04 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:00.04 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:00.04 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:00.04 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:00.04 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:00.04 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:00.27 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:00.35 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:00.48 INFO Removed font: Ahem.ttf
 1:00.51 INFO Closing logging queue
 1:00.51 INFO queue closed
 1:00.51 INFO Tolerating 6 unexpected results
[taskcluster 2024-08-21 15:53:32.772Z] === Task Finished ===
[taskcluster 2024-08-21 15:53:33.658Z] Successful task run with exit code: 0 completed in 223.351 seconds