Closed Bug 1900066 Opened 1 month ago Closed 10 days ago

Intermittent mozilla/tests/webdriver/harness/crash_content_process.py | test_detect_crash - teardown error: webdriver.error.NoSuchWindowException: no such window (404): Browsing context has been discarded

Categories

(Remote Protocol :: Marionette, defect, P5)

defect
Points:
1

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

(Depends on 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: [webdriver:m11], [wptsync upstream])

Attachments

(1 file)

Filed by: pstanciu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=460502379&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dEcf2z5fT3eeoTCUO5QzkQ/runs/0/artifacts/public/logs/live_backing.log


[task 2024-05-31T11:54:04.627Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.628Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2859.log
[task 2024-05-31T11:54:04.628Z] 11:54:04     INFO - TEST-INFO | leakcheck | tab ignoring missing output line for total leaks
[task 2024-05-31T11:54:04.629Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3493.log
[task 2024-05-31T11:54:04.630Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.630Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid1962.log
[task 2024-05-31T11:54:04.632Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.632Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2120.log
[task 2024-05-31T11:54:04.634Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.634Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3877.log
[task 2024-05-31T11:54:04.636Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.636Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909.log
[task 2024-05-31T11:54:04.640Z] 11:54:04     INFO - TEST-PASS | leakcheck | default no leaks detected!
[task 2024-05-31T11:54:04.641Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3065.log
[task 2024-05-31T11:54:04.643Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.643Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_utility_pid2464.log
[task 2024-05-31T11:54:04.644Z] 11:54:04     INFO - TEST-PASS | leakcheck | utility no leaks detected!
[task 2024-05-31T11:54:04.644Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3296.log
[task 2024-05-31T11:54:04.645Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.645Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3028.log
[task 2024-05-31T11:54:04.646Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.647Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3428.log
[task 2024-05-31T11:54:04.648Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.648Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3932.log
[task 2024-05-31T11:54:04.650Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.650Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid1899.log
[task 2024-05-31T11:54:04.651Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.652Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_utility_pid3824.log
[task 2024-05-31T11:54:04.652Z] 11:54:04     INFO - TEST-PASS | leakcheck | utility no leaks detected!
[task 2024-05-31T11:54:04.653Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2685.log
[task 2024-05-31T11:54:04.653Z] 11:54:04     INFO - TEST-INFO | leakcheck | tab ignoring missing output line for total leaks
[task 2024-05-31T11:54:04.654Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid4085.log
[task 2024-05-31T11:54:04.655Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.655Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2231.log
[task 2024-05-31T11:54:04.656Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.656Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3090.log
[task 2024-05-31T11:54:04.656Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.657Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2123.log
[task 2024-05-31T11:54:04.657Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.658Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_utility_pid2784.log
[task 2024-05-31T11:54:04.658Z] 11:54:04     INFO - TEST-UNEXPECTED-FAIL | leakcheck | utility missing output line for total leaks!
[task 2024-05-31T11:54:04.659Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3833.log
[task 2024-05-31T11:54:04.659Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.661Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2723.log
[task 2024-05-31T11:54:04.661Z] 11:54:04     INFO - TEST-INFO | leakcheck | tab ignoring missing output line for total leaks
[task 2024-05-31T11:54:04.661Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2795.log
[task 2024-05-31T11:54:04.661Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.662Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2835.log
[task 2024-05-31T11:54:04.662Z] 11:54:04     INFO - TEST-INFO | leakcheck | tab ignoring missing output line for total leaks
[task 2024-05-31T11:54:04.662Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3972.log
[task 2024-05-31T11:54:04.663Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.663Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2075.log
[task 2024-05-31T11:54:04.663Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.664Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3577.log
[task 2024-05-31T11:54:04.664Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.664Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2365.log
[task 2024-05-31T11:54:04.665Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.665Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid4123.log
[task 2024-05-31T11:54:04.665Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.665Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3253.log
[task 2024-05-31T11:54:04.666Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.666Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2173.log
[task 2024-05-31T11:54:04.667Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.667Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3962.log
[task 2024-05-31T11:54:04.667Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.668Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3725.log
[task 2024-05-31T11:54:04.668Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.669Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3134.log
[task 2024-05-31T11:54:04.669Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.670Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3178.log
[task 2024-05-31T11:54:04.671Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.671Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2553.log
[task 2024-05-31T11:54:04.672Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.672Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid1936.log
[task 2024-05-31T11:54:04.673Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.673Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_utility_pid3528.log
[task 2024-05-31T11:54:04.674Z] 11:54:04     INFO - TEST-PASS | leakcheck | utility no leaks detected!
[task 2024-05-31T11:54:04.674Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2052.log
[task 2024-05-31T11:54:04.675Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.675Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2749.log
[task 2024-05-31T11:54:04.676Z] 11:54:04     INFO - TEST-INFO | leakcheck | tab ignoring missing output line for total leaks
[task 2024-05-31T11:54:04.677Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2199.log
[task 2024-05-31T11:54:04.677Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.677Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3465.log
[task 2024-05-31T11:54:04.677Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.677Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3907.log
[task 2024-05-31T11:54:04.678Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.678Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3789.log
[task 2024-05-31T11:54:04.678Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.679Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid4027.log
[task 2024-05-31T11:54:04.679Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.680Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2919.log
[task 2024-05-31T11:54:04.680Z] 11:54:04     INFO - TEST-INFO | leakcheck | tab ignoring missing output line for total leaks
[task 2024-05-31T11:54:04.681Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid3762.log
[task 2024-05-31T11:54:04.681Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.682Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid4052.log
[task 2024-05-31T11:54:04.682Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.683Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2009.log
[task 2024-05-31T11:54:04.683Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.684Z] 11:54:04     INFO - leakcheck | Processing leak log file /tmp/tmp6f6mylmq.mozrunner/runtests_leaks_909_tab_pid2429.log
[task 2024-05-31T11:54:04.684Z] 11:54:04     INFO - TEST-PASS | leakcheck | tab no leaks detected!
[task 2024-05-31T11:54:04.685Z] 11:54:04     INFO - Closing logging queue
[task 2024-05-31T11:54:04.686Z] 11:54:04     INFO - queue closed
[task 2024-05-31T11:54:04.792Z] 11:54:04     INFO - PID 4172 | 1717156444691	geckodriver	INFO	Listening on 127.0.0.1:36419
[task 2024-05-31T11:54:04.792Z] 11:54:04     INFO - Starting runner
[task 2024-05-31T11:54:05.072Z] 11:54:05     INFO - TEST-START | /webdriver/tests/bidi/browsing_context/load/load.py

Looks like the patch from bug 1851160 didn't fully fix the issue.

See Also: → 1851160
Depends on: 1848850

We basically fail in _ensure_valid_window when trying to set a window while no window is actually available.

I pushed a fix to try:
https://treeherder.mozilla.org/jobs?repo=try&revision=c66d7fe69de4b2cccc40437c9d3d7d6d02ab55cf

Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6a2dd59a2b1d
[wdspec] Only set a valid window in teardown when there is one available. r=webdriver-reviewers,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46884 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Points: --- → 1
Whiteboard: [webdriver:m11]
Whiteboard: [webdriver:m11] → [webdriver:m11], [wptsync upstream]
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: