Closed
Bug 1274948
Opened 9 years ago
Closed 8 years ago
Intermittent test_window_management.py TestSwitchWindow.test_windows | ScriptTimeoutException: ScriptTimeoutException: timed out
Categories
(Testing :: Marionette Client and Harness, defect)
Tracking
(e10s-, firefox49 wontfix, firefox50 affected, firefox51 affected, firefox52 affected)
People
(Reporter: cbook, Unassigned)
References
()
Details
(Keywords: intermittent-failure)
https://treeherder.mozilla.org/logviewer.html#?job_id=2631750&repo=mozilla-aurora#L1556
09:30:21 ERROR - TEST-UNEXPECTED-ERROR | test_window_management.py TestSwitchWindow.test_windows | ScriptTimeoutException: ScriptTimeoutException: timed out
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•9 years ago
|
Comment 3•9 years ago
|
||
The problem is in this call to execute_async_script():
https://dxr.mozilla.org/mozilla-central/rev/82d0a583a9a39bf0b0000bccbf6d5c9ec2596bcc/testing/marionette/harness/marionette/tests/unit/test_window_management.py#14
I think that this code causes a race when waiting for the load event. When the call to openWindow() returns the window object, the load event might have already been happened. So to ensure we do not wait forever or run into this script_timeout a check for win.readyState should be done beside setting up the event handler.
tracking-e10s:
--- → ?
OS: Unspecified → Linux
Hardware: Unspecified → All
Summary: Intermittent test_window_management.py TestSwitchWindow.test_windows | ScriptTimeoutException: ScriptTimeoutException: timed out → [e10s] Intermittent test_window_management.py TestSwitchWindow.test_windows | ScriptTimeoutException: ScriptTimeoutException: timed out
Comment 4•9 years ago
|
||
Hm, so the first time this failure has been starred on Treeherder was August 4th. So far this is all Linux debug only with e10s enabled. Not sure if my idea from above still holds. I would more assume a timeout due to a very slow loading of the window.
Updated•9 years ago
|
Updated•9 years ago
|
status-firefox52:
--- → affected
| Comment hidden (Intermittent Failures Robot) |
Updated•9 years ago
|
Summary: [e10s] Intermittent test_window_management.py TestSwitchWindow.test_windows | ScriptTimeoutException: ScriptTimeoutException: timed out → Intermittent test_window_management.py TestSwitchWindow.test_windows | ScriptTimeoutException: ScriptTimeoutException: timed out
| Comment hidden (Intermittent Failures Robot) |
Comment 8•8 years ago
|
||
Closing as intermittent has not been seen in last 45 days
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Updated•3 years ago
|
Product: Testing → Remote Protocol
Comment 9•3 years ago
|
||
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in
before you can comment on or make changes to this bug.
Description
•