script: Consolidate global initialization for fetch requests #56977
Community-TC (pull_request)
Verify that all tests affected by a pull request are stable when executed in chrome.
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-01-05T18:46:22.140Z
Resolved: 2026-01-05T18:49:19.443Z
Task Execution Time: 2 minutes, 57 seconds, 303 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
WPT Command: python3 ./wpt run --channel=dev --verify --verify-no-chaos-mode --verify-repeat-loop=0 --verify-repeat-restart=10 --github-checks-text-file=/home/test/artifacts/checkrun.md --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --verify-log-full --no-headless --enable-swiftshader --install-browser --install-webdriver chrome
[taskcluster 2026-01-05 18:46:22.221Z] Task ID: OCwf_F1oQS2m6K2RdIOOtQ
[taskcluster 2026-01-05 18:46:22.221Z] Worker ID: 4908021374614878380
[taskcluster 2026-01-05 18:46:22.221Z] Worker Group: us-east4-b
[taskcluster 2026-01-05 18:46:22.221Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2026-01-05 18:46:22.221Z] Worker Pool: proj-wpt/ci
[taskcluster 2026-01-05 18:46:22.221Z] Worker Version: 46.1.0
[taskcluster 2026-01-05 18:46:22.221Z] Public IP: 34.186.38.149
[taskcluster 2026-01-05 18:46:22.221Z] Hostname: proj-wpt-ci-lq85n6pbtzsl0yxuz9baja
[taskcluster 2026-01-05 18:46:23.099Z] === 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/apps-bin-path.sh ']'
+ . /etc/profile.d/apps-bin-path.sh
...(830 lines hidden)...
self.finish_request(request, client_address)
File "/home/test/web-platform-tests/tools/wptserve/wptserve/server.py", line 303, in finish_request
request.do_handshake()
File "/usr/lib/python3.10/ssl.py", line 1371, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
1:08.55 TEST_END: Test OK. Subtests passed 25/25. Unexpected 0
1:08.55 TEST_START: /beacon/beacon-cors.https.window.html
1:08.85 pid:4594 [4611:4611:0105/184859.010459:INFO:CONSOLE:0] "Access to fetch at 'https://www1.web-platform.test:8443/common/redirect.py?location=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fcommon%2Ftext-plain.txt%3Fpipe%3Dheader(access-control-allow-origin%2C*)' from origin 'https://web-platform.test:8443' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.", source: https://web-platform.test:8443/beacon/beacon-cors.https.window.html (0)
1:10.80 pid:4594 [4611:4627:0105/184900.958572:ERROR:google_apis/gcm/engine/registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
1:11.89 TEST_END: Test OK. Subtests passed 10/10. Unexpected 0
1:11.89 TEST_START: /beacon/beacon-navigate.https.window.html
1:12.17 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
1:12.17 TEST_START: /beacon/beacon-redirect.https.window.html
1:12.72 TEST_END: Test OK. Subtests passed 8/8. Unexpected 0
1:12.72 INFO No more tests
1:12.77 INFO Closing logging queue
1:12.77 INFO queue closed
1:12.84 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 408 checks (376 subtests, 32 tests)
Expected results: 408
Unexpected results: 0
OK
1:12.84 INFO Got 0 unexpected results, with 0 unexpected passes
1:12.84 INFO Repetition 9 / 10
1:12.84 SUITE_START: web-platform-test - running 4 tests
1:12.84 INFO Using 1 child processes
1:12.85 INFO Starting WebDriver: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=55393 --ignore-explicit-port --url-base=/ --enable-chrome-logs --disable-build-check
1:12.86 INFO Got WebDriver port 44827
1:12.96 pid:4938 Full command: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=55393 --ignore-explicit-port --url-base=/ --enable-chrome-logs --disable-build-check
pid:4938 Starting ChromeDriver 145.0.7572.2 (68918169e6422bcf7c8ca8cdea509443a35f96a4-refs/branch-heads/7572@{#6}) on port 0
1:12.96 pid:4938 Only local connections are allowed.
1:12.96 pid:4938 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
1:12.96 pid:4938 ChromeDriver was started successfully on port 44827.
1:12.96 INFO Webdriver started successfully.
1:12.96 INFO Starting runner
1:13.53 pid:4938 [4985:4985:0105/184903.697398:WARNING:ui/gfx/linux/gbm_support_x11.cc:49] dri3 extension not supported.
1:13.54 pid:4938 [4985:4985:0105/184903.700231:WARNING:sandbox/policy/linux/sandbox_linux.cc:405] InitializeSandbox() called with multiple threads in process gpu-process.
1:13.54 pid:4938 [1767638943.703][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.
1:13.68 pid:4938 [4955:4955:0105/184903.845107:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.DBus.Properties.GetAll: object_path= /org/freedesktop/UPower/devices/DisplayDevice: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
1:13.68 pid:4938 [4955:4955:0105/184903.845123:WARNING:dbus/property.cc:174] GetAll request failed for: org.freedesktop.UPower.Device
1:13.71 pid:4938 [4955:4955:0105/184903.869098:WARNING:ui/base/idle/idle_linux.cc:113] None of the known D-Bus ScreenSaver services could be used.
1:13.80 TEST_START: /beacon/beacon-basic.https.window.html
1:14.95 TEST_END: Test OK. Subtests passed 25/25. Unexpected 0
1:14.95 TEST_START: /beacon/beacon-cors.https.window.html
1:15.27 pid:4938 [4955:4955:0105/184905.435562:INFO:CONSOLE:0] "Access to fetch at 'https://www1.web-platform.test:8443/common/redirect.py?location=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fcommon%2Ftext-plain.txt%3Fpipe%3Dheader(access-control-allow-origin%2C*)' from origin 'https://web-platform.test:8443' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.", source: https://web-platform.test:8443/beacon/beacon-cors.https.window.html (0)
1:17.19 pid:4938 [4955:4971:0105/184907.357479:ERROR:google_apis/gcm/engine/registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
1:18.34 TEST_END: Test OK. Subtests passed 10/10. Unexpected 0
1:18.34 TEST_START: /beacon/beacon-navigate.https.window.html
1:18.63 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
1:18.63 TEST_START: /beacon/beacon-redirect.https.window.html
1:19.19 TEST_END: Test OK. Subtests passed 8/8. Unexpected 0
1:19.19 INFO No more tests
1:19.24 INFO Closing logging queue
1:19.24 INFO queue closed
1:19.30 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 459 checks (423 subtests, 36 tests)
Expected results: 459
Unexpected results: 0
OK
1:19.30 INFO Got 0 unexpected results, with 0 unexpected passes
1:19.30 INFO Repetition 10 / 10
1:19.31 SUITE_START: web-platform-test - running 4 tests
1:19.31 INFO Using 1 child processes
1:19.31 INFO Starting WebDriver: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=41461 --ignore-explicit-port --url-base=/ --enable-chrome-logs --disable-build-check
1:19.32 INFO Got WebDriver port 38165
1:19.42 pid:5277 Full command: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=41461 --ignore-explicit-port --url-base=/ --enable-chrome-logs --disable-build-check
pid:5277 Starting ChromeDriver 145.0.7572.2 (68918169e6422bcf7c8ca8cdea509443a35f96a4-refs/branch-heads/7572@{#6}) on port 0
1:19.42 pid:5277 Only local connections are allowed.
1:19.42 pid:5277 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
1:19.42 pid:5277 ChromeDriver was started successfully on port 38165.
1:19.42 INFO Webdriver started successfully.
1:19.42 INFO Starting runner
1:19.99 pid:5277 [1767638950.150][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.
1:19.99 pid:5277 [5326:5326:0105/184910.155860:WARNING:ui/gfx/linux/gbm_support_x11.cc:49] dri3 extension not supported.
1:20.00 pid:5277 [5326:5326:0105/184910.159091:WARNING:sandbox/policy/linux/sandbox_linux.cc:405] InitializeSandbox() called with multiple threads in process gpu-process.
1:20.14 pid:5277 [5294:5294:0105/184910.298592:ERROR:dbus/object_proxy.cc:573] Failed to call method: org.freedesktop.DBus.Properties.GetAll: object_path= /org/freedesktop/UPower/devices/DisplayDevice: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
1:20.14 pid:5277 [5294:5294:0105/184910.298609:WARNING:dbus/property.cc:174] GetAll request failed for: org.freedesktop.UPower.Device
1:20.16 pid:5277 [5294:5294:0105/184910.321174:WARNING:ui/base/idle/idle_linux.cc:113] None of the known D-Bus ScreenSaver services could be used.
1:20.23 TEST_START: /beacon/beacon-basic.https.window.html
1:21.33 TEST_END: Test OK. Subtests passed 25/25. Unexpected 0
1:21.33 TEST_START: /beacon/beacon-cors.https.window.html
1:21.64 pid:5277 [5294:5294:0105/184911.800197:INFO:CONSOLE:0] "Access to fetch at 'https://www1.web-platform.test:8443/common/redirect.py?location=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fcommon%2Ftext-plain.txt%3Fpipe%3Dheader(access-control-allow-origin%2C*)' from origin 'https://web-platform.test:8443' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.", source: https://web-platform.test:8443/beacon/beacon-cors.https.window.html (0)
1:23.65 pid:5277 [5294:5310:0105/184913.810224:ERROR:google_apis/gcm/engine/registration_request.cc:291] Registration response error message: QUOTA_EXCEEDED
1:24.71 TEST_END: Test OK. Subtests passed 10/10. Unexpected 0
1:24.71 TEST_START: /beacon/beacon-navigate.https.window.html
1:25.03 TEST_END: Test OK. Subtests passed 4/4. Unexpected 0
1:25.03 TEST_START: /beacon/beacon-redirect.https.window.html
1:25.62 TEST_END: Test OK. Subtests passed 8/8. Unexpected 0
1:25.62 INFO No more tests
1:25.67 INFO Closing logging queue
1:25.67 INFO queue closed
1:25.74 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 510 checks (470 subtests, 40 tests)
Expected results: 510
Unexpected results: 0
OK
1:25.74 INFO Got 0 unexpected results, with 0 unexpected passes
1:25.74 wptserve INFO Stopped http server on 127.0.0.1:8000
1:25.74 wptserve INFO Stopped http server on 127.0.0.1:8002
1:25.74 wptserve INFO Stopped http server on 127.0.0.1:8001
1:25.74 wptserve INFO Stopped http server on 127.0.0.1:8003
1:25.74 wptserve INFO Stopped http server on 127.0.0.1:8443
1:25.74 wptserve INFO Stopped http server on 127.0.0.1:8444
1:25.75 wptserve INFO Stopped http server on 127.0.0.1:8445
1:25.75 wptserve INFO Stopped http server on 127.0.0.1:8446
1:25.75 wptserve INFO Stopped http server on 127.0.0.1:9000
1:25.75 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
1:25.93 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
1:25.93 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
1:25.97 INFO Removed font: Ahem.ttf
1:25.99 INFO Closing logging queue
1:25.99 INFO queue closed
1:26.00 INFO ::: Ran 10 of expected 10 iterations.
1:26.00 INFO ## All results ##
1:26.00 INFO ### /beacon/beacon-basic.https.window.html ###
1:26.00 INFO | Subtest | Results | Messages |
1:26.00 INFO |--------------------------------------------------------------------------------|---------|----------|
1:26.00 INFO | | OK | |
1:26.00 INFO | `simple case: with no payload` | PASS | |
1:26.00 INFO | `simple case: with null payload` | PASS | |
1:26.00 INFO | `simple case: type = string and size = empty` | PASS | |
1:26.00 INFO | `simple case: type = arraybuffer and size = empty` | PASS | |
1:26.00 INFO | `simple case: type = form and size = empty` | PASS | |
1:26.00 INFO | `simple case: type = blob and size = empty` | PASS | |
1:26.00 INFO | `simple case: type = string and size = small` | PASS | |
1:26.00 INFO | `simple case: type = arraybuffer and size = small` | PASS | |
1:26.00 INFO | `simple case: type = form and size = small` | PASS | |
1:26.00 INFO | `simple case: type = blob and size = small` | PASS | |
1:26.00 INFO | `simple case: type = string and size = large` | PASS | |
1:26.00 INFO | `simple case: type = arraybuffer and size = large` | PASS | |
1:26.00 INFO | `simple case: type = form and size = large` | PASS | |
1:26.00 INFO | `simple case: type = blob and size = large` | PASS | |
1:26.00 INFO | `simple case: type = string and size = max` | PASS | |
1:26.00 INFO | `simple case: type = arraybuffer and size = max` | PASS | |
1:26.00 INFO | `simple case: type = blob and size = max` | PASS | |
1:26.00 INFO | `Too large payload should be rejected: type = string` | PASS | |
1:26.00 INFO | `Too large payload should be rejected: type = arraybuffer` | PASS | |
1:26.00 INFO | `Too large payload should be rejected: type = form` | PASS | |
1:26.00 INFO | `Too large payload should be rejected: type = blob` | PASS | |
1:26.00 INFO | `Payload size restriction should be accumulated: type = string` | PASS | |
1:26.01 INFO | `Payload size restriction should be accumulated: type = arraybuffer` | PASS | |
1:26.01 INFO | `Payload size restriction should be accumulated: type = blob` | PASS | |
1:26.01 INFO | `sendBeacon() with a stream does not work due to the keepalive flag being set` | PASS | |
1:26.01 INFO
1:26.01 INFO ### /beacon/beacon-cors.https.window.html ###
1:26.01 INFO | Subtest | Results | Messages |
1:26.01 INFO |----------------------------------------------------------------------|---------|----------|
1:26.01 INFO | | OK | |
1:26.01 INFO | `/common/redirect.py does not support CORS` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: type = string` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: type = arraybuffer` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: type = form` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: type = blob` | PASS | |
1:26.01 INFO | `cross-origin, non-CORS-safelisted: failure case (with redirect)` | PASS | |
1:26.01 INFO | `cross-origin, non-CORS-safelisted: failure case (without redirect)` | PASS | |
1:26.01 INFO | `cross-origin, non-CORS-safelisted[credentials=false]` | PASS | |
1:26.01 INFO | `cross-origin, non-CORS-safelisted[credentials=true]` | PASS | |
1:26.01 INFO | `cross-origin, non-CORS-safelisted success-case (with redirect)` | PASS | |
1:26.01 INFO
1:26.01 INFO ### /beacon/beacon-navigate.https.window.html ###
1:26.01 INFO | Subtest | Results | Messages |
1:26.01 INFO |--------------------------------------------------------------------------|---------|----------|
1:26.01 INFO | | OK | |
1:26.01 INFO | `The frame navigates away after calling sendBeacon[type = string].` | PASS | |
1:26.01 INFO | `The frame navigates away after calling sendBeacon[type = arraybuffer].` | PASS | |
1:26.01 INFO | `The frame navigates away after calling sendBeacon[type = form].` | PASS | |
1:26.01 INFO | `The frame navigates away after calling sendBeacon[type = blob].` | PASS | |
1:26.01 INFO
1:26.01 INFO ### /beacon/beacon-redirect.https.window.html ###
1:26.01 INFO | Subtest | Results | Messages |
1:26.01 INFO |-------------------------------------------------------------------|---------|----------|
1:26.01 INFO | | OK | |
1:26.01 INFO | `cross-origin, CORS-safelisted: status = 307, type = string` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: status = 307, type = arraybuffer` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: status = 307, type = form` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: status = 307, type = blob` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: status = 308, type = string` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: status = 308, type = arraybuffer` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: status = 308, type = form` | PASS | |
1:26.01 INFO | `cross-origin, CORS-safelisted: status = 308, type = blob` | PASS | |
1:26.01 INFO
1:26.01 INFO ::: Running tests in a loop with restarts 10 times : PASS
1:26.01 INFO :::
1:26.01 INFO ::: Test verification PASS
1:26.01 INFO :::
[taskcluster 2026-01-05 18:49:17.810Z] === Task Finished ===
[taskcluster 2026-01-05 18:49:18.203Z] Successful task run with exit code: 0 completed in 175.982 seconds