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

[WebDriver BiDi] Fix issue with memory cache in Chrome #49904

Merged
merged 3 commits into from
Jan 8, 2025

Apply suggestions from code review

0f943a1
Select commit
Loading
Failed to load commit list.
Merged

[WebDriver BiDi] Fix issue with memory cache in Chrome #49904

Apply suggestions from code review
0f943a1
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-stability succeeded Jan 8, 2025 in 8m 19s

Community-TC (pull_request)

Verify that all tests affected by a pull request are stable when executed in firefox.

Details

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

Task Status

Started: 2025-01-08T11:48:24.990Z
Resolved: 2025-01-08T11:54:30.409Z
Task Execution Time: 6 minutes, 5 seconds, 419 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=nightly --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 --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox


[taskcluster 2025-01-08 11:48:25.035Z] Task ID: KoGtMfaCRN6A7xs2DihzOA
[taskcluster 2025-01-08 11:48:25.035Z] Worker ID: 2123296345221751730
[taskcluster 2025-01-08 11:48:25.035Z] Worker Group: us-central1-f
[taskcluster 2025-01-08 11:48:25.035Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-01-08 11:48:25.035Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-01-08 11:48:25.035Z] Worker Version: 46.1.0
[taskcluster 2025-01-08 11:48:25.035Z] Public IP: 34.57.133.10
[taskcluster 2025-01-08 11:48:25.035Z] Hostname: proj-wpt-ci-y-zsuiguqzgfxz-qnpjkbw

[taskcluster 2025-01-08 11:48:25.683Z] === 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

...(2274 lines hidden)...

 3:25.39 INFO STDOUT: rootdir: /home/test/web-platform-tests/webdriver/tests
 3:25.39 INFO STDOUT: configfile: pytest.ini
 3:25.39 INFO STDOUT: plugins: asyncio-0.19.0
 3:25.39 INFO STDOUT: asyncio: mode=strict
 3:25.39 INFO STDOUT: collecting ... 
 3:25.40 INFO STDOUT: collected 9 items
 3:25.40 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_cached 
 3:25.41 pid:10524 1736337257817	mozrunner::runner	INFO	Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" "/home/test/build/firef ... te" "--profile" "/tmp/tmple42skzp.mozrunner" "--remote-debugging-port" "9222" "--remote-allow-hosts" "localhost" "-no-remote"
 3:25.50 pid:10524 [GFX1-]: glxtest: libpci missing
 3:25.53 pid:10524 ATTENTION: default value of option mesa_glthread overridden by environment.
 3:25.58 pid:10524 ATTENTION: default value of option mesa_glthread overridden by environment.
 3:25.80 pid:10524 1736337258203	Marionette	INFO	Marionette enabled
 3:25.81 pid:10524 1736337258220	Marionette	INFO	Listening on port 38999
 3:25.85 pid:10524 WebDriver BiDi listening on ws://127.0.0.1:9222
 3:25.91 pid:10524 Read port: 38999
 3:26.17 pid:10524 console.error: ({})
 3:26.51 pid:10524 1736337258919	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39542
 3:26.95 INFO STDOUT: PASSED
 3:26.97 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_cached_redirect 
 3:26.98 pid:10524 1736337259381	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39548
 3:27.22 INFO STDOUT: PASSED
 3:27.23 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_cached_revalidate 
 3:27.23 pid:10524 1736337259639	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39562
 3:27.27 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:27.47 INFO STDOUT: PASSED
 3:27.49 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_page_with_cached_link_stylesheet 
 3:27.49 pid:10524 1736337259895	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39568
 3:27.75 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:27.80 INFO STDOUT: PASSED
 3:27.81 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_page_with_cached_import_stylesheet 
 3:27.81 pid:10524 1736337260219	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39576
 3:28.13 INFO STDOUT: PASSED
 3:28.14 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_page_with_cached_duplicated_stylesheets 
 3:28.14 pid:10524 1736337260549	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39582
 3:28.41 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:28.41 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:28.46 INFO STDOUT: PASSED
 3:28.48 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_page_with_cached_script_javascript 
 3:28.48 pid:10524 1736337260885	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39584
 3:28.51 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:28.85 INFO STDOUT: PASSED
 3:28.87 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_page_with_cached_javascript_module 
 3:28.88 pid:10524 1736337261279	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39594
 3:28.90 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:29.03 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:29.21 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:29.25 INFO STDOUT: PASSED
 3:29.26 INFO STDOUT: webdriver/tests/bidi/network/response_completed/response_completed_cached.py::test_page_with_cached_image 
 3:29.27 pid:10524 1736337261671	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:39602
 3:29.57 INFO STDOUT: PASSED
 3:29.59 pid:10524 1736337261994	Marionette	INFO	Stopped listening on port 38999
 3:30.02 INFO STDOUT: ============================== 9 passed in 4.63s ===============================
 3:30.02 TEST_END: Test OK. Subtests passed 9/9. Unexpected 0
 3:30.02 TEST_START: /webdriver/tests/bidi/network/response_started/response_started_cached.py
 3:30.08 INFO STDOUT: ============================= test session starts ==============================
 3:30.08 INFO STDOUT: platform linux -- Python 3.8.10, pytest-8.2.1, pluggy-unknown -- /usr/bin/python3
 3:30.08 INFO STDOUT: rootdir: /home/test/web-platform-tests/webdriver/tests
 3:30.08 INFO STDOUT: configfile: pytest.ini
 3:30.08 INFO STDOUT: plugins: asyncio-0.19.0
 3:30.08 INFO STDOUT: asyncio: mode=strict
 3:30.08 INFO STDOUT: collecting ... 
 3:30.10 INFO STDOUT: collected 11 items
 3:30.10 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_cached 
 3:30.10 pid:10524 1736337262510	mozrunner::runner	INFO	Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" "/home/test/build/firef ... te" "--profile" "/tmp/tmple42skzp.mozrunner" "--remote-debugging-port" "9222" "--remote-allow-hosts" "localhost" "-no-remote"
 3:30.20 pid:10524 [GFX1-]: glxtest: libpci missing
 3:30.21 pid:10524 ATTENTION: default value of option mesa_glthread overridden by environment.
 3:30.27 pid:10524 ATTENTION: default value of option mesa_glthread overridden by environment.
 3:30.48 pid:10524 1736337262888	Marionette	INFO	Marionette enabled
 3:30.50 pid:10524 1736337262905	Marionette	INFO	Listening on port 43873
 3:30.50 pid:10524 Read port: 43873
 3:30.53 pid:10524 WebDriver BiDi listening on ws://127.0.0.1:9222
 3:30.83 pid:10524 console.error: ({})
 3:31.28 pid:10524 1736337263681	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33604
 3:31.42 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:31.64 INFO STDOUT: PASSED
 3:31.66 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_cached_redirect 
 3:31.67 pid:10524 1736337264071	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33608
 3:31.71 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:31.91 INFO STDOUT: PASSED
 3:31.93 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_cached_revalidate[GET] 
 3:31.93 pid:10524 1736337264334	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33610
 3:31.96 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:32.15 INFO STDOUT: PASSED
 3:32.17 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_cached_revalidate[HEAD] 
 3:32.17 pid:10524 1736337264576	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33616
 3:32.39 INFO STDOUT: PASSED
 3:32.41 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_cached_revalidate[OPTIONS] 
 3:32.41 pid:10524 1736337264814	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33622
 3:32.44 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:32.63 INFO STDOUT: PASSED
 3:32.65 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_page_with_cached_link_stylesheet 
 3:32.65 pid:10524 1736337265059	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33636
 3:32.92 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:32.92 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:32.96 INFO STDOUT: PASSED
 3:32.98 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_page_with_cached_import_stylesheet 
 3:32.98 pid:10524 1736337265387	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33646
 3:33.02 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:33.12 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:33.24 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:33.29 INFO STDOUT: PASSED
 3:33.31 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_page_with_cached_duplicated_stylesheets 
 3:33.31 pid:10524 1736337265716	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33660
 3:33.47 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:33.64 INFO STDOUT: PASSED
 3:33.66 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_page_with_cached_script_javascript 
 3:33.66 pid:10524 1736337266065	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33662
 3:33.76 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:33.88 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:34.02 INFO STDOUT: PASSED
 3:34.04 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_page_with_cached_javascript_module 
 3:34.04 pid:10524 1736337266443	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33678
 3:34.07 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:34.39 INFO STDOUT: PASSED
 3:34.41 INFO STDOUT: webdriver/tests/bidi/network/response_started/response_started_cached.py::test_page_with_cached_image 
 3:34.41 pid:10524 1736337266812	RemoteAgent	INFO	Perform WebSocket upgrade for incoming connection from 127.0.0.1:33688
 3:34.44 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:34.55 pid:10524 console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 101))
 3:34.71 INFO STDOUT: PASSED
 3:34.73 pid:10524 1736337267138	Marionette	INFO	Stopped listening on port 43873
 3:34.99 INFO STDOUT: ============================== 11 passed in 4.91s ==============================
 3:34.99 TEST_END: Test OK. Subtests passed 11/11. Unexpected 0
 3:34.99 INFO No more tests
 3:34.99 INFO Closing logging queue
 3:34.99 INFO queue closed
 3:35.06 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 290 checks (260 subtests, 30 tests)
Expected results: 290
Unexpected results: 0
OK
 3:35.06 INFO Got 0 unexpected results, with 0 unexpected passes
 3:35.06 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 3:35.44 wptserve INFO Stopped http server on 127.0.0.1:8002
 3:35.44 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 3:35.44 wptserve INFO Stopped http server on 127.0.0.1:8445
 3:35.44 wptserve INFO Stopped http server on 127.0.0.1:8001
 3:35.45 wptserve INFO Stopped http server on 127.0.0.1:9000
 3:35.45 wptserve INFO Stopped http server on 127.0.0.1:8000
 3:35.45 wptserve INFO Stopped http server on 127.0.0.1:8446
 3:35.45 wptserve INFO Stopped http server on 127.0.0.1:8444
 3:35.46 wptserve INFO Stopped http server on 127.0.0.1:8003
 3:35.46 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 3:35.49 wptserve INFO Stopped http server on 127.0.0.1:8443
 3:35.56 INFO Removed font: Ahem.ttf
 3:35.58 INFO Closing logging queue
 3:35.58 INFO queue closed
 3:35.60 INFO ::: Ran 10 of expected 10 iterations.
 3:35.60 INFO ## All results ##

 3:35.60 INFO ### /webdriver/tests/bidi/network/before_request_sent/before_request_sent_cached.py ###
 3:35.60 INFO |                    Subtest                     | Results | Messages |
 3:35.60 INFO |------------------------------------------------|---------|----------|
 3:35.60 INFO |                                                | OK      |          |
 3:35.60 INFO | `test_cached_document`                         | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_link_stylesheet`        | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_import_stylesheet`      | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_duplicated_stylesheets` | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_script_javascript`      | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_image`                  | PASS    |          |
 3:35.60 INFO 
 3:35.60 INFO ### /webdriver/tests/bidi/network/response_completed/response_completed_cached.py ###
 3:35.60 INFO |                    Subtest                     | Results | Messages |
 3:35.60 INFO |------------------------------------------------|---------|----------|
 3:35.60 INFO |                                                | OK      |          |
 3:35.60 INFO | `test_cached`                                  | PASS    |          |
 3:35.60 INFO | `test_cached_redirect`                         | PASS    |          |
 3:35.60 INFO | `test_cached_revalidate`                       | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_link_stylesheet`        | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_import_stylesheet`      | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_duplicated_stylesheets` | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_script_javascript`      | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_javascript_module`      | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_image`                  | PASS    |          |
 3:35.60 INFO 
 3:35.60 INFO ### /webdriver/tests/bidi/network/response_started/response_started_cached.py ###
 3:35.60 INFO |                    Subtest                     | Results | Messages |
 3:35.60 INFO |------------------------------------------------|---------|----------|
 3:35.60 INFO |                                                | OK      |          |
 3:35.60 INFO | `test_cached`                                  | PASS    |          |
 3:35.60 INFO | `test_cached_redirect`                         | PASS    |          |
 3:35.60 INFO | `test_cached_revalidate[GET]`                  | PASS    |          |
 3:35.60 INFO | `test_cached_revalidate[HEAD]`                 | PASS    |          |
 3:35.60 INFO | `test_cached_revalidate[OPTIONS]`              | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_link_stylesheet`        | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_import_stylesheet`      | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_duplicated_stylesheets` | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_script_javascript`      | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_javascript_module`      | PASS    |          |
 3:35.60 INFO | `test_page_with_cached_image`                  | PASS    |          |
 3:35.60 INFO 
 3:35.60 INFO ::: Running tests in a loop with restarts 10 times : PASS
 3:35.60 INFO :::
 3:35.60 INFO ::: Test verification PASS
 3:35.60 INFO :::
[taskcluster 2025-01-08 11:54:29.510Z] === Task Finished ===
[taskcluster 2025-01-08 11:54:29.832Z] Successful task run with exit code: 0 completed in 364.798 seconds