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

Expose getRandomValues/randomUUID in ShadowRealms #44137

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Run test for absence of SubtleCrypto in ShadowRealm scopes

61f075a
Select commit
Loading
Failed to load commit list.
Open

Expose getRandomValues/randomUUID in ShadowRealms #44137

Run test for absence of SubtleCrypto in ShadowRealm scopes
61f075a
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-results succeeded Jan 17, 2025 in 6m 7s

Community-TC (pull_request)

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

Details

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

Task Status

Started: 2025-01-17T18:32:39.114Z
Resolved: 2025-01-17T18:35:13.324Z
Task Execution Time: 2 minutes, 34 seconds, 210 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 base_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 2025-01-17 18:32:39.153Z] Task ID: TMmBvOJOSIOO5wa95I0NCQ
[taskcluster 2025-01-17 18:32:39.153Z] Worker ID: 9115524436200988572
[taskcluster 2025-01-17 18:32:39.153Z] Worker Group: us-central1-c
[taskcluster 2025-01-17 18:32:39.153Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-01-17 18:32:39.153Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-01-17 18:32:39.153Z] Worker Version: 46.1.0
[taskcluster 2025-01-17 18:32:39.153Z] Public IP: 34.67.169.240
[taskcluster 2025-01-17 18:32:39.153Z] Hostname: proj-wpt-ci-cbnxsbelteibevqvxyqutq

[taskcluster 2025-01-17 18:32:39.993Z] === 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

...(622 lines hidden)...

    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 984, in do_testharness
    result = protocol.base.execute_script(
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 95, in execute_script
    return method(script, script_args=script_args, new_sandbox=False, sandbox=None)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 1835, in execute_async_script
    rv = self._send_message("WebDriver:ExecuteAsyncScript", body, key="value")
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/decorators.py", line 24, in _
    return func(*args, **kwargs)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 692, in _send_message
    self._handle_error(err)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 704, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
marionette_driver.errors.JavascriptException: TypeError: window.__wptrunner_process_next_event is not a function
stacktrace:
	@tools/wptrunner/wptrunner/executors/executormarionette.py:100:8
	@tools/wptrunner/wptrunner/executors/executormarionette.py:101:8


 0:52.67 TEST_END: ERROR, expected OK - TypeError: window.__wptrunner_process_next_event is not a function
Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 866, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 984, in do_testharness
    result = protocol.base.execute_script(
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 95, in execute_script
    return method(script, script_args=script_args, new_sandbox=False, sandbox=None)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 1835, in execute_async_script
    rv = self._send_message("WebDriver:ExecuteAsyncScript", body, key="value")
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/decorators.py", line 24, in _
    return func(*args, **kwargs)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 692, in _send_message
    self._handle_error(err)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 704, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
marionette_driver.errors.JavascriptException: TypeError: window.__wptrunner_process_next_event is not a function
stacktrace:
	@tools/wptrunner/wptrunner/executors/executormarionette.py:100:8
	@tools/wptrunner/wptrunner/executors/executormarionette.py:101:8


 0:52.69 pid:3281 1737138904252	Marionette	INFO	Stopped listening on port 41855
 0:52.70 pid:3281 JavaScript warning: resource://devtools/client/jsonview/lib/require.js, line 1190: Script terminated by timeout at:
 0:52.70 pid:3281 removeListener@resource://devtools/client/jsonview/lib/require.js:1190:17
 0:52.70 pid:3281 getScriptData@resource://devtools/client/jsonview/lib/require.js:1214:27
 0:52.70 pid:3281 onScriptLoad@resource://devtools/client/jsonview/lib/require.js:1682:45
 0:53.41 INFO Browser exited with return code -15
 0:53.27 INFO Closing logging queue
 0:53.27 INFO queue closed
 0:53.43 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmp8wvj59et
 0:53.44 INFO Starting runner
 0:53.97 pid:3811 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:3811 [GFX1-]: glxtest: libpci missing
 0:53.99 pid:3811 ATTENTION: default value of option mesa_glthread overridden by environment.
 0:54.06 pid:3811 1737138905631	Marionette	INFO	Marionette enabled
 0:54.13 pid:3811 ATTENTION: default value of option mesa_glthread overridden by environment.
 0:54.20 pid:3811 1737138905771	Marionette	INFO	Listening on port 36585
 0:55.06 pid:3811 console.error: ({})
 0:56.10 TEST_START: /WebCryptoAPI/randomUUID.https.any.shadowrealm-in-sharedworker.html
 0:56.55 TEST_END: ERROR, expected OK - ReferenceError: ShadowRealm is not defined
@https://web-platform.test:8443/WebCryptoAPI/randomUUID.https.any.worker-shadowrealm.js:6:15

 0:56.55 INFO No more tests
 0:56.57 pid:3811 1737138908136	Marionette	INFO	Stopped listening on port 36585
 0:57.37 INFO Browser exited with return code -15
 0:57.21 INFO Closing logging queue
 0:57.21 INFO queue closed
 0:57.38 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 373 checks (341 subtests, 32 tests)
Expected results: 354
Unexpected results: 19
  test: 19 (19 error)

Unexpected Results
------------------
/WebCryptoAPI/getRandomValues.any.shadowrealm-in-dedicatedworker.html
  ERROR /WebCryptoAPI/getRandomValues.any.shadowrealm-in-dedicatedworker.html - ReferenceError: ShadowRealm is not defined
@http://web-platform.test:8000/WebCryptoAPI/getRandomValues.any.worker-shadowrealm.js:6:15
/WebCryptoAPI/getRandomValues.https.any.shadowrealm-in-audioworklet.html
  ERROR /WebCryptoAPI/getRandomValues.https.any.shadowrealm-in-audioworklet.html - ReferenceError: ShadowRealm is not defined
TestRunner.prototype.createShadowRealmAndStartTests@https://web-platform.test:8443/WebCryptoAPI/getRandomValues.any.audioworklet-shadowrealm.js:7:15
TestRunner@https://web-platform.test:8443/resources/testharness-shadowrealm-audioworkletprocessor.js:8:10
/WebCryptoAPI/getRandomValues.any.shadowrealm-in-shadowrealm.html
  ERROR /WebCryptoAPI/getRandomValues.any.shadowrealm-in-shadowrealm.html - ReferenceError: ShadowRealm is not defined
@http://web-platform.test:8000/WebCryptoAPI/getRandomValues.any.shadowrealm-in-shadowrealm.html:9:17
@http://web-platform.test:8000/WebCryptoAPI/getRandomValues.any.shadowrealm-in-shadowrealm.html:39:3
/WebCryptoAPI/getRandomValues.https.any.shadowrealm-in-serviceworker.html
  ERROR /WebCryptoAPI/getRandomValues.https.any.shadowrealm-in-serviceworker.html - ReferenceError: ShadowRealm is not defined
@https://web-platform.test:8443/WebCryptoAPI/getRandomValues.any.serviceworker-shadowrealm.js:7:15
/WebCryptoAPI/getRandomValues.any.shadowrealm-in-window.html
  ERROR /WebCryptoAPI/getRandomValues.any.shadowrealm-in-window.html - ReferenceError: ShadowRealm is not defined
@http://web-platform.test:8000/WebCryptoAPI/getRandomValues.any.shadowrealm-in-window.html:9:13
@http://web-platform.test:8000/WebCryptoAPI/getRandomValues.any.shadowrealm-in-window.html:23:3
/WebCryptoAPI/getRandomValues.any.shadowrealm-in-sharedworker.html
  ERROR /WebCryptoAPI/getRandomValues.any.shadowrealm-in-sharedworker.html - ReferenceError: ShadowRealm is not defined
@http://web-platform.test:8000/WebCryptoAPI/getRandomValues.any.worker-shadowrealm.js:6:15
/WebCryptoAPI/historical.any.shadowrealm-in-sharedworker.html
  ERROR /WebCryptoAPI/historical.any.shadowrealm-in-sharedworker.html - ReferenceError: ShadowRealm is not defined
@http://web-platform.test:8000/WebCryptoAPI/historical.any.worker-shadowrealm.js:6:15
/WebCryptoAPI/historical.https.any.shadowrealm-in-serviceworker.html
  ERROR /WebCryptoAPI/historical.https.any.shadowrealm-in-serviceworker.html - ReferenceError: ShadowRealm is not defined
@https://web-platform.test:8443/WebCryptoAPI/historical.any.serviceworker-shadowrealm.js:7:15
/WebCryptoAPI/historical.any.shadowrealm-in-shadowrealm.html
  ERROR /WebCryptoAPI/historical.any.shadowrealm-in-shadowrealm.html - ReferenceError: ShadowRealm is not defined
@http://web-platform.test:8000/WebCryptoAPI/historical.any.shadowrealm-in-shadowrealm.html:9:17
@http://web-platform.test:8000/WebCryptoAPI/historical.any.shadowrealm-in-shadowrealm.html:39:3
/WebCryptoAPI/historical.any.shadowrealm-in-window.html
  ERROR /WebCryptoAPI/historical.any.shadowrealm-in-window.html - ReferenceError: ShadowRealm is not defined
@http://web-platform.test:8000/WebCryptoAPI/historical.any.shadowrealm-in-window.html:9:13
@http://web-platform.test:8000/WebCryptoAPI/historical.any.shadowrealm-in-window.html:23:3
/WebCryptoAPI/historical.https.any.shadowrealm-in-audioworklet.html
  ERROR /WebCryptoAPI/historical.https.any.shadowrealm-in-audioworklet.html - ReferenceError: ShadowRealm is not defined
TestRunner.prototype.createShadowRealmAndStartTests@https://web-platform.test:8443/WebCryptoAPI/historical.any.audioworklet-shadowrealm.js:7:15
TestRunner@https://web-platform.test:8443/resources/testharness-shadowrealm-audioworkletprocessor.js:8:10
/WebCryptoAPI/historical.any.shadowrealm-in-dedicatedworker.html
  ERROR /WebCryptoAPI/historical.any.shadowrealm-in-dedicatedworker.html - ReferenceError: ShadowRealm is not defined
@http://web-platform.test:8000/WebCryptoAPI/historical.any.worker-shadowrealm.js:6:15
/WebCryptoAPI/idlharness.https.any.shadowrealm-in-window.html
  ERROR /WebCryptoAPI/idlharness.https.any.shadowrealm-in-window.html - ReferenceError: ShadowRealm is not defined
@https://web-platform.test:8443/WebCryptoAPI/idlharness.https.any.shadowrealm-in-window.html:9:13
@https://web-platform.test:8443/WebCryptoAPI/idlharness.https.any.shadowrealm-in-window.html:24:3
/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-shadowrealm.html
  ERROR /WebCryptoAPI/randomUUID.https.any.shadowrealm-in-shadowrealm.html - ReferenceError: ShadowRealm is not defined
@https://web-platform.test:8443/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-shadowrealm.html:9:17
@https://web-platform.test:8443/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-shadowrealm.html:39:3
/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-dedicatedworker.html
  ERROR /WebCryptoAPI/randomUUID.https.any.shadowrealm-in-dedicatedworker.html - ReferenceError: ShadowRealm is not defined
@https://web-platform.test:8443/WebCryptoAPI/randomUUID.https.any.worker-shadowrealm.js:6:15
/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-window.html
  ERROR /WebCryptoAPI/randomUUID.https.any.shadowrealm-in-window.html - ReferenceError: ShadowRealm is not defined
@https://web-platform.test:8443/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-window.html:9:13
@https://web-platform.test:8443/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-window.html:23:3
/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-serviceworker.html
  ERROR /WebCryptoAPI/randomUUID.https.any.shadowrealm-in-serviceworker.html - TypeError: window.__wptrunner_process_next_event is not a function
Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 866, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 984, in do_testharness
    result = protocol.base.execute_script(
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 95, in execute_script
    return method(script, script_args=script_args, new_sandbox=False, sandbox=None)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 1835, in execute_async_script
    rv = self._send_message("WebDriver:ExecuteAsyncScript", body, key="value")
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/decorators.py", line 24, in _
    return func(*args, **kwargs)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 692, in _send_message
    self._handle_error(err)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 704, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
marionette_driver.errors.JavascriptException: TypeError: window.__wptrunner_process_next_event is not a function
stacktrace:
	@tools/wptrunner/wptrunner/executors/executormarionette.py:100:8
	@tools/wptrunner/wptrunner/executors/executormarionette.py:101:8
/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-audioworklet.html
  ERROR /WebCryptoAPI/randomUUID.https.any.shadowrealm-in-audioworklet.html - TypeError: window.__wptrunner_process_next_event is not a function
Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 866, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 984, in do_testharness
    result = protocol.base.execute_script(
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 95, in execute_script
    return method(script, script_args=script_args, new_sandbox=False, sandbox=None)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 1835, in execute_async_script
    rv = self._send_message("WebDriver:ExecuteAsyncScript", body, key="value")
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/decorators.py", line 24, in _
    return func(*args, **kwargs)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 692, in _send_message
    self._handle_error(err)
  File "/home/test/web-platform-tests/_venv3/lib/python3.8/site-packages/marionette_driver/marionette.py", line 704, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
marionette_driver.errors.JavascriptException: TypeError: window.__wptrunner_process_next_event is not a function
stacktrace:
	@tools/wptrunner/wptrunner/executors/executormarionette.py:100:8
	@tools/wptrunner/wptrunner/executors/executormarionette.py:101:8
/WebCryptoAPI/randomUUID.https.any.shadowrealm-in-sharedworker.html
  ERROR /WebCryptoAPI/randomUUID.https.any.shadowrealm-in-sharedworker.html - ReferenceError: ShadowRealm is not defined
@https://web-platform.test:8443/WebCryptoAPI/randomUUID.https.any.worker-shadowrealm.js:6:15
 0:57.38 INFO Got 19 unexpected results, with 0 unexpected passes
 0:57.39 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:57.43 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:57.48 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:57.69 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:57.69 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:57.70 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:57.70 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:57.70 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:57.70 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:57.70 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:57.70 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:57.71 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:57.85 INFO Removed font: Ahem.ttf
 0:57.88 INFO Closing logging queue
 0:57.88 INFO queue closed
 0:57.88 INFO Tolerating 19 unexpected results
[taskcluster 2025-01-17 18:35:11.736Z] === Task Finished ===
[taskcluster 2025-01-17 18:35:12.429Z] Successful task run with exit code: 0 completed in 153.277 seconds