Closed
Bug 1303942
Opened 8 years ago
Closed 8 years ago
[e10s] Intermittent test_navigation.py TestNavigate.test_set_location_through_execute_script | TimeoutException: Timed out after 5.0 seconds
Categories
(Testing :: Marionette Client and Harness, defect)
Tracking
(firefox50 wontfix, firefox51 wontfix, firefox52 wontfix, firefox-esr52 wontfix, firefox53 fixed, firefox54 fixed, firefox55 fixed)
RESOLVED
FIXED
mozilla55
People
(Reporter: intermittent-bug-filer, Assigned: whimboo)
References
Details
(Keywords: intermittent-failure)
Updated•8 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 8•8 years ago
|
||
05:05:33 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/harness/marionette/tests/unit/test_navigation.py", line 26, in test_set_location_through_execute_script
05:05:33 INFO - Wait(self.marionette).until(lambda _: self.test_doc == self.location_href)
It fails here:
https://dxr.mozilla.org/mozilla-central/rev/d38d06f85ef59c5dbb5d4a1a8d895957a78714de/testing/marionette/harness/marionette/tests/unit/test_navigation.py#26
The new URL gets set via `execute_script("window.location.href = '%s'" % self.test_doc)`.
Maybe it's a side-effect of bug 1145668 and manifests as a race in rare conditions.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 10•8 years ago
|
||
This is strange. We exactly call execute_script once and get about:blank returned:
1479398164260 Marionette TRACE conn730 -> [0,6,"executeScript",{"scriptTimeout":null,"newSandbox":true,"args":[],"filename":"test_navigation.py","script":"window.location.href = 'http://127.0.0.1:46050/test.html'","sandbox":"default","line":25}]
1479398164448 Marionette TRACE conn730 <- [1,6,null,{"value":null}]
1479398164775 Marionette TRACE conn730 -> [0,7,"executeScript",{"scriptTimeout":null,"newSandbox":true,"args":[],"filename":"test_navigation.py","script":"return window.location.href","sandbox":"default","line":145}]
1479398169779 Marionette TRACE conn730 <- [1,7,null,{"value":"about:blank"}]
1479398169832 Marionette TRACE conn730 -> [0,8,"getContext",null]
1479398169839 Marionette TRACE conn730 <- [1,8,null,{"value":"content"}]
1479398170161 Marionette TRACE conn730 -> [0,9,"setContext",{"value":"chrome"}]
1479398170177 Marionette TRACE conn730 <- [1,9,null,{}]
As you can see the call to execute_script() took about 5s and it only called once because we directly run into the timeout. So something in that code caused Marionette not to return the href immediately but delayed it.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 12•8 years ago
|
||
This is all about e10s, and doesn't fail if it is disabled.
status-firefox53:
--- → affected
Summary: Intermittent test_navigation.py TestNavigate.test_set_location_through_execute_script | TimeoutException: Timed out after 5.0 seconds → [e10s] Intermittent test_navigation.py TestNavigate.test_set_location_through_execute_script | TimeoutException: Timed out after 5.0 seconds
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 20•8 years ago
|
||
Too late for firefox 52, mass-wontfix.
Assignee | ||
Comment 21•8 years ago
|
||
This should be fixed with my patch on bug 1354310.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
status-firefox54:
--- → affected
status-firefox55:
--- → affected
Depends on: 1354310
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 23•8 years ago
|
||
Fixed by the patch on bug 1354310].
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•8 years ago
|
Assignee | ||
Comment 24•8 years ago
|
||
The patch on bug 1354310 will not be uplifted to esr52.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Product: Testing → Remote Protocol
Comment 32•2 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
•