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

WebCrypto: Add test cases for deriveBits with too large and non-multiple of 8 lengths #48471

Merged

Add test cases for 'too long' and 'not multilpe of 8' lengths.

738c993
Select commit
Loading
Failed to load commit list.
Merged

WebCrypto: Add test cases for deriveBits with too large and non-multiple of 8 lengths #48471

Add test cases for 'too long' and 'not multilpe of 8' lengths.
738c993
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-results-without-changes succeeded Oct 23, 2024 in 5m 41s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in firefox but without the changes in the PR.

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-10-23T12:38:14.377Z
Resolved: 2024-10-23T12:40:03.031Z
Task Execution Time: 1 minute, 48 seconds, 654 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz

WPT Command: python3 ./wpt run --channel=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected task_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox


[taskcluster 2024-10-23 12:38:14.416Z] Task ID: IS1ZspT4RF-icgMReicyOw
[taskcluster 2024-10-23 12:38:14.416Z] Worker ID: 457498987477685178
[taskcluster 2024-10-23 12:38:14.416Z] Worker Group: us-central1-b
[taskcluster 2024-10-23 12:38:14.416Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2024-10-23 12:38:14.416Z] Worker Pool: proj-wpt/ci
[taskcluster 2024-10-23 12:38:14.416Z] Worker Version: 46.1.0
[taskcluster 2024-10-23 12:38:14.416Z] Public IP: 34.55.233.196
[taskcluster 2024-10-23 12:38:14.416Z] Hostname: proj-wpt-ci-srrdpfrcsf61xohn1lmbkg

[taskcluster 2024-10-23 12:38:15.186Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/libvirt-uri.sh ']'
+ . /etc/profile.d/libvirt-uri.sh

...(323 lines hidden)...

Failed to read: session.screen0.iconbar.iconWidth
Setting default value
Failed to read: session.screen0.iconbar.iconTextPadding
Setting default value
Failed to read: session.screen0.iconbar.usePixmap
Setting default value
  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-agvalar8/mozdebug/setup.py'"'"'; __file__='"'"'/tmp/pip-install-agvalar8/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-esf8i17w
       cwd: /tmp/pip-install-agvalar8/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-agvalar8/mozlog/setup.py'"'"'; __file__='"'"'/tmp/pip-install-agvalar8/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-88d_qaud
       cwd: /tmp/pip-install-agvalar8/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
 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
  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-0p_2329i/mozdevice/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0p_2329i/mozdevice/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-mgrh7hgp
       cwd: /tmp/pip-install-0p_2329i/mozdevice/
  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 mozdevice
  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-0p_2329i/mozprofile/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0p_2329i/mozprofile/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-kdknm2ta
       cwd: /tmp/pip-install-0p_2329i/mozprofile/
  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 mozprofile
  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-0p_2329i/mozrunner/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0p_2329i/mozrunner/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-dozwwfkr
       cwd: /tmp/pip-install-0p_2329i/mozrunner/
  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 mozrunner
 0:11.73 INFO Identified 1 affected tests
 0:11.73 INFO Using certutil /usr/bin/certutil
 0:11.73 INFO Downloading geckodriver
 0:11.73 INFO Attempting to install webdriver from nightly
 0:12.01 INFO Extracted geckodriver to /home/test/web-platform-tests/_venv3/bin/geckodriver
 0:12.02 INFO Installed b'geckodriver 0.35.0 (9e5434b8ef55 2024-09-07 00:18 +0000)'
 0:12.04 INFO Downloading test prefs from https://hg.mozilla.org/mozilla-central/archive/tip.zip/testing/profiles/
 0:15.12 INFO Test prefs downloaded to /home/test/web-platform-tests/_venv3/profiles/nightly/133.0
 0:15.26 mozversion INFO application_buildid: 20241023093655
 0:15.26 mozversion INFO application_changeset: 61f7d9c0998e2ce8008cd15b187f86dfdba21a26
 0:15.26 mozversion INFO application_display_name: Firefox Nightly
 0:15.26 mozversion INFO application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
 0:15.26 mozversion INFO application_name: Firefox
 0:15.26 mozversion INFO application_remotingname: firefox-nightly
 0:15.26 mozversion INFO application_repository: https://hg.mozilla.org/mozilla-central
 0:15.26 mozversion INFO application_vendor: Mozilla
 0:15.26 mozversion INFO application_version: 133.0a1
 0:15.26 mozversion INFO platform_buildid: 20241023093655
 0:15.26 mozversion INFO platform_changeset: 61f7d9c0998e2ce8008cd15b187f86dfdba21a26
 0:15.26 mozversion INFO platform_repository: https://hg.mozilla.org/mozilla-central
 0:15.26 mozversion INFO platform_version: 133.0a1
 0:20.68 INFO Installed font: Ahem.ttf
 0:21.53 wptserve INFO Starting http server on http://127.0.0.1:8000
 0:21.56 wptserve INFO Starting http server on http://127.0.0.1:8002
 0:21.63 wptserve INFO Starting https server on https://127.0.0.1:8445
 0:21.63 wptserve INFO Starting http server on http://127.0.0.1:8003
 0:21.66 wptserve INFO Starting https server on https://127.0.0.1:8444
 0:21.66 wptserve INFO Starting http server on http://127.0.0.1:8001
 0:21.68 wptserve INFO Starting https server on https://127.0.0.1:8446
 0:21.68 wptserve INFO Starting https server on https://127.0.0.1:8443
 0:21.70 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:21.70 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:21.70 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:21.71 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:21.71 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:21.71 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:21.73 wptserve INFO Starting http2 server on https://127.0.0.1:9000
 0:21.84 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:22.19 SUITE_START: web-platform-test - running 2 tests
 0:31.38 INFO Using 1 child processes
 0:31.40 INFO Setting up ssl
 0:31.42 certutil Full command: /usr/bin/certutil -N -d /tmp/tmp33kdj5du.mozrunner -f /tmp/tmp33kdj5du.mozrunner/.crtdbpw
certutil b''
 0:31.45 certutil b''
 0:31.46 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 0:31.46 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmp9ooyq9x_
 0:31.47 INFO Starting runner
 0:31.97 pid:1391 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:1391 [GFX1-]: glxtest: libpci missing
 0:32.05 pid:1391 1729687194054	Marionette	INFO	Marionette enabled
 0:32.10 pid:1391 ATTENTION: default value of option mesa_glthread overridden by environment.
 0:32.14 pid:1391 1729687194138	Marionette	INFO	Listening on port 38415
 0:32.16 pid:1391 [Parent 1391, Main Thread] WARNING: Failed to create DBus proxy for org.freedesktop.UPower: Could not connect: No such file or directory
 0:32.16 pid:1391 : 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
 0:32.16 pid:1391 ** (firefox-nightly:1391): WARNING **: 12:39:54.158: Failed to create DBus proxy for org.freedesktop.UPower: Could not connect: No such file or directory
 0:32.18 pid:1391 ATTENTION: default value of option mesa_glthread overridden by environment.
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
 0:34.06 pid:1391 console.error: ({})
 0:34.71 pid:1391 [ERROR error_support::handling] logins-unexpected: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.71 pid:1391 [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.71 pid:1391 console.error: URLBar - QuickSuggest.SuggestBackendRust: "Ingest error for Amo: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base"
 0:34.72 pid:1391 [ERROR error_support::handling] logins-unexpected: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.72 pid:1391 [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.72 pid:1391 console.error: URLBar - QuickSuggest.SuggestBackendRust: "Ingest error for Amp: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base"
 0:34.73 pid:1391 [ERROR error_support::handling] logins-unexpected: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.73 pid:1391 [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.73 pid:1391 console.error: URLBar - QuickSuggest.SuggestBackendRust: "Ingest error for Wikipedia: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base"
 0:34.74 pid:1391 [ERROR error_support::handling] logins-unexpected: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.74 pid:1391 [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.74 pid:1391 console.error: URLBar - QuickSuggest.SuggestBackendRust: "Ingest error for Mdn: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base"
 0:34.76 pid:1391 [ERROR error_support::handling] logins-unexpected: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.76 pid:1391 [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base
 0:34.76 pid:1391 console.error: URLBar - QuickSuggest.SuggestBackendRust: "Ingest error for Yelp: Error from Remote Settings: Remote settings error: Error parsing URL: relative URL with a cannot-be-a-base base"
 0:34.81 pid:1391 [Parent 1391, IPC I/O Parent] WARNING: process 1548 is a zombie: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:245
 0:34.85 TEST_START: /WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.worker.html
 0:35.08 pid:1391 [Parent 1391, IPC I/O Parent] WARNING: process 1643 is a zombie: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:245
 0:35.39 TEST_END: Test OK. Subtests passed 19/21. Unexpected 2
FAIL ECDH derivation with 0 as 'length' parameter - promise_test: Unhandled rejection with value: object "DataError: Data provided to an operation does not meet requirements"FAIL X25519 derivation with 0 as 'length' parameter - promise_test: Unhandled rejection with value: object "DataError: Data provided to an operation does not meet requirements"
 0:35.39 TEST_START: /WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.html
 0:35.40 INFO Closing window 17a69c44-d75b-48d0-bbdd-f3b989cade77
 0:35.64 pid:1391 [Parent 1391, IPC I/O Parent] WARNING: process 1729 is a zombie: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:245
 0:35.92 TEST_END: Test OK. Subtests passed 19/21. Unexpected 2
FAIL ECDH derivation with 0 as 'length' parameter - promise_test: Unhandled rejection with value: object "DataError: Data provided to an operation does not meet requirements"FAIL X25519 derivation with 0 as 'length' parameter - promise_test: Unhandled rejection with value: object "DataError: Data provided to an operation does not meet requirements"
 0:35.93 INFO No more tests
 0:35.93 pid:1391 1729687197927	Marionette	INFO	Stopped listening on port 38415
 0:36.41 pid:1391 [Parent 1391, IPC I/O Parent] WARNING: process 1620 is a zombie: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:245
 0:36.41 pid:1391 [Parent 1391, IPC I/O Parent] WARNING: process 1751 is a zombie: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_posix.cc:245
 0:36.53 INFO Browser exited with return code -15
 0:36.40 INFO Closing logging queue
 0:36.41 INFO queue closed
 0:36.54 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 44 checks (42 subtests, 2 tests)
Expected results: 40
Unexpected results: 4
  subtest: 4 (4 fail)

Unexpected Results
------------------
/WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.worker.html
  FAIL ECDH derivation with 0 as 'length' parameter - promise_test: Unhandled rejection with value: object "DataError: Data provided to an operation does not meet requirements"
  FAIL X25519 derivation with 0 as 'length' parameter - promise_test: Unhandled rejection with value: object "DataError: Data provided to an operation does not meet requirements"
/WebCryptoAPI/derive_bits_keys/derived_bits_length.https.any.html
  FAIL ECDH derivation with 0 as 'length' parameter - promise_test: Unhandled rejection with value: object "DataError: Data provided to an operation does not meet requirements"
  FAIL X25519 derivation with 0 as 'length' parameter - promise_test: Unhandled rejection with value: object "DataError: Data provided to an operation does not meet requirements"
 0:36.54 INFO Got 2 unexpected results, with 0 unexpected passes
 0:36.54 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:36.65 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:36.70 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:36.71 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:36.72 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:36.72 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:36.72 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:36.72 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:36.72 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:36.72 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:36.72 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:36.78 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:36.84 INFO Removed font: Ahem.ttf
 0:36.86 INFO Closing logging queue
 0:36.87 INFO queue closed
 0:36.87 INFO Tolerating 2 unexpected results
[taskcluster 2024-10-23 12:40:00.757Z] === Task Finished ===
[taskcluster 2024-10-23 12:40:01.508Z] Successful task run with exit code: 0 completed in 107.092 seconds