Open Bug 1832294 Opened 2 years ago Updated 6 days ago

Intermittent Wd TEST-UNEXPECTED-TIMEOUT | expected OK (hang in "browsingContext.navigate")

Categories

(Remote Protocol :: WebDriver BiDi, defect, P5)

defect

Tracking

(Not tracked)

REOPENED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 2 open bugs)

Details

(Keywords: intermittent-failure)

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


INFO - PID 8472 | 1683716804480	RemoteAgent	DEBUG	WebDriverBiDiConnection 02d31a18-cc69-4b6b-9f23-cddbb9464e69 -> {"id":14,"method":"browsingContext.navigate","params":{"context":"26fe2224-d729-40be-92c0-c665f6b19352","url":"http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Efoo%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8"}}
[task 2023-05-10T11:06:44.485Z] 11:06:44     INFO - PID 8472 | 1683716804480	RemoteAgent	TRACE	Module root/browsingContext.jsm found for ROOT
[task 2023-05-10T11:06:44.487Z] 11:06:44     INFO - PID 8472 | 1683716804480	RemoteAgent	TRACE	Received command browsingContext.navigate for destination ROOT
[task 2023-05-10T11:06:44.487Z] 11:06:44     INFO - PID 8472 | 1683716804480	RemoteAgent	TRACE	Module root/browsingContext.jsm found for ROOT
[task 2023-05-10T11:06:44.488Z] 11:06:44     INFO - PID 8472 | 1683716804480	RemoteAgent	TRACE	Received command browsingContext._getBaseURL for destination WINDOW_GLOBAL
[task 2023-05-10T11:06:44.489Z] 11:06:44     INFO - PID 8472 | 1683716804480	RemoteAgent	TRACE	Module windowglobal-in-root/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.490Z] 11:06:44     INFO - PID 8472 | 1683716804480	RemoteAgent	TRACE	Module windowglobal/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.491Z] 11:06:44     INFO - PID 8472 | 1683716804482	RemoteAgent	TRACE	MessageHandler WINDOW_GLOBAL for session fc6749e0-c91b-40a5-8819-d915ab06b4de is being destroyed
[task 2023-05-10T11:06:44.492Z] 11:06:44     INFO - PID 8472 | 1683716804482	RemoteAgent	TRACE	Unregistered MessageHandler WINDOW_GLOBAL for session fc6749e0-c91b-40a5-8819-d915ab06b4de
[task 2023-05-10T11:06:44.493Z] 11:06:44     INFO - PID 8472 | 1683716804482	RemoteAgent	TRACE	Received command browsingContext._getBaseURL for destination WINDOW_GLOBAL
[task 2023-05-10T11:06:44.494Z] 11:06:44     INFO - PID 8472 | 1683716804482	RemoteAgent	TRACE	Module windowglobal/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.495Z] 11:06:44     INFO - PID 8472 | 1683716804483	RemoteAgent	TRACE	[14] ProgressListener Start: expectNavigation=true resolveWhenStarted=true unloadTimeout=200 waitForExplicitStart=true
[task 2023-05-10T11:06:44.495Z] 11:06:44     INFO - PID 8472 | 1683716804483	RemoteAgent	TRACE	[14] ProgressListener Document already loading about:blank
[task 2023-05-10T11:06:44.496Z] 11:06:44     INFO - PID 8472 | 1683716804483	RemoteAgent	TRACE	[14] ProgressListener Skip setting the unload timer
[task 2023-05-10T11:06:44.497Z] 11:06:44     INFO - PID 8472 | 1683716804492	RemoteAgent	DEBUG	WebDriverBiDiConnection 02d31a18-cc69-4b6b-9f23-cddbb9464e69 <- {"method":"browsingContext.domContentLoaded","params":{"context":"26fe2224-d729-40be-92c0-c665f6b19352","navigation":null,"timestamp":1683716804489,"url":"about:blank"}}
[task 2023-05-10T11:06:44.498Z] 11:06:44     INFO - PID 8472 | 1683716804495	RemoteAgent	TRACE	MessageHandler WINDOW_GLOBAL for session fc6749e0-c91b-40a5-8819-d915ab06b4de is being destroyed
[task 2023-05-10T11:06:44.499Z] 11:06:44     INFO - PID 8472 | 1683716804495	RemoteAgent	TRACE	Unregistered MessageHandler WINDOW_GLOBAL for session fc6749e0-c91b-40a5-8819-d915ab06b4de
[task 2023-05-10T11:06:44.504Z] 11:06:44     INFO - PID 8472 | 1683716804507	RemoteAgent	TRACE	Module windowglobal/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.509Z] 11:06:44     INFO - PID 8472 | 1683716804507	RemoteAgent	TRACE	Received command browsingContext._applySessionData for destination WINDOW_GLOBAL
[task 2023-05-10T11:06:44.510Z] 11:06:44     INFO - PID 8472 | 1683716804507	RemoteAgent	TRACE	Module windowglobal/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.510Z] 11:06:44     INFO - PID 8472 | 1683716804508	RemoteAgent	TRACE	Module windowglobal/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.511Z] 11:06:44     INFO - PID 8472 | 1683716804509	RemoteAgent	TRACE	Created MessageHandler WINDOW_GLOBAL for session fc6749e0-c91b-40a5-8819-d915ab06b4de
[task 2023-05-10T11:06:44.517Z] 11:06:44     INFO - PID 8472 | 1683716804517	RemoteAgent	TRACE	Module windowglobal/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.517Z] 11:06:44     INFO - PID 8472 | 1683716804517	RemoteAgent	TRACE	Received command browsingContext._applySessionData for destination WINDOW_GLOBAL
[task 2023-05-10T11:06:44.517Z] 11:06:44     INFO - PID 8472 | 1683716804517	RemoteAgent	TRACE	Module windowglobal/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.521Z] 11:06:44     INFO - PID 8472 | 1683716804517	RemoteAgent	TRACE	Module windowglobal/browsingContext.jsm found for WINDOW_GLOBAL
[task 2023-05-10T11:06:44.522Z] 11:06:44     INFO - PID 8472 | 1683716804519	RemoteAgent	TRACE	Created MessageHandler WINDOW_GLOBAL for session fc6749e0-c91b-40a5-8819-d915ab06b4de
[task 2023-05-10T11:06:44.523Z] 11:06:44     INFO - PID 8472 | 1683716804520	RemoteAgent	TRACE	MessageHandler WINDOW_GLOBAL for session fc6749e0-c91b-40a5-8819-d915ab06b4de is being destroyed
[task 2023-05-10T11:06:44.523Z] 11:06:44     INFO - PID 8472 | 1683716804520	RemoteAgent	TRACE	Unregistered MessageHandler WINDOW_GLOBAL for session fc6749e0-c91b-40a5-8819-d915ab06b4de
[task 2023-05-10T11:06:44.533Z] 11:06:44     INFO - PID 8472 | 1683716804531	RemoteAgent	DEBUG	WebDriverBiDiConnection 02d31a18-cc69-4b6b-9f23-cddbb9464e69 <- {"method":"browsingContext.domContentLoaded","params":{"context":"26fe2224-d729-40be-92c0-c665f6b19352","navigation":null,"timestamp":1683716804531,"url":"http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Efoo%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8"}}
[task 2023-05-10T11:06:44.534Z] 11:06:44     INFO - PID 8472 | 1683716804534	RemoteAgent	TRACE	[15] ProgressListener Check loading state: isStart=0 isStop=16
[task 2023-05-10T11:07:07.381Z] 11:07:07     INFO - TEST-UNEXPECTED-TIMEOUT | /webdriver/tests/bidi/browsing_context/dom_content_loaded/dom_content_loaded.py | expected OK
[task 2023-05-10T11:07:07.381Z] 11:07:07     INFO - TEST-INFO took 30005ms
[task 2023-05-10T11:07:17.433Z] 11:07:17  WARNING - Forcibly terminating runner process
INFO - PID 6324 | 1683716837476	geckodriver	INFO	Listening on 127.0.0.1:59869
[task 2023-05-10T11:07:17.968Z] 11:07:17     INFO - Starting runner
[task 2023-05-10T11:07:18.700Z] 11:07:18     INFO - TEST-START | /webdriver/tests/bidi/browsing_context/get_tree/frames.py

This is a hang when loading a page from wptserve. As such it is similar to bug 1760291.

See Also: → 1760291
Summary: Intermittent TEST-UNEXPECTED-TIMEOUT | /webdriver/tests/bidi/browsing_context/dom_content_loaded/dom_content_loaded.py | expected OK → Intermittent TEST-UNEXPECTED-TIMEOUT | Wd | expected OK (hang in "browsingContext.navigate" when loading page via wptserve)

Note that we have a 200ms navigation timeout when starting the test:

[task 2023-05-10T11:06:43.617Z] 11:06:43 INFO - PID 8472 | 1683716803586 RemoteAgent TRACE [14] ProgressListener Start: expectNavigation=false resolveWhenStarted=false unloadTimeout=200 waitForExplicitStart=false
[task 2023-05-10T11:06:43.618Z] 11:06:43 INFO - PID 8472 | 1683716803586 RemoteAgent TRACE [14] ProgressListener Setting unload timer (200ms)
[task 2023-05-10T11:06:43.795Z] 11:06:43 INFO - PID 8472 | 1683716803795 RemoteAgent TRACE [14] ProgressListener No navigation detected: about:blank
[task 2023-05-10T11:06:43.797Z] 11:06:43 INFO - PID 8472 | 1683716803795 RemoteAgent TRACE [14] ProgressListener Stop: has error=false

That might be responsible for the failure here.

FWIW, this 200ms navigation timeout is a recurring issue (eg Bug 1828108). We keep closing those bugs, but maybe we should keep one open ?

No longer depends on: 1832891
No longer depends on: 1838382

There might be a problem when we start a new navigation while a former navigation (e.g. the initial one for about:blank) hasn't been completed yet and we see an overlap of requests. Fixing bug 1837949 might help for this situation.

Depends on: 1832891, 1837949
No longer depends on: 1838381
See Also: 1838145
Duplicate of this bug: 1841804
Duplicate of this bug: 1841802
Status: NEW → RESOLVED
Closed: 1 years ago
Resolution: --- → INCOMPLETE

This cannot be fixed as of this time. I assume that we just classified those failures wrongly.

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

As per bug 1825501 comment 85 this is not related to wptserve.

See Also: → 1825501
Summary: Intermittent TEST-UNEXPECTED-TIMEOUT | Wd | expected OK (hang in "browsingContext.navigate" when loading page via wptserve) → Intermittent TEST-UNEXPECTED-TIMEOUT | Wd | expected OK (hang in "browsingContext.navigate")
Duplicate of this bug: 1905655
Status: REOPENED → RESOLVED
Closed: 1 years ago1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
No longer duplicate of this bug: 1905655
Summary: Intermittent TEST-UNEXPECTED-TIMEOUT | Wd | expected OK (hang in "browsingContext.navigate") → Intermittent Wd TEST-UNEXPECTED-TIMEOUT | expected OK (hang in "browsingContext.navigate")
Duplicate of this bug: 1922966
No longer blocks: 1905655
You need to log in before you can comment on or make changes to this bug.