Closed
Bug 1422741
Opened 8 years ago
Closed 7 years ago
Intermittent test_navigation.py TestRefresh.test_basic | NoSuchElementException: Failed to trigger opening a new tab: Web element reference not seen before
Categories
(Testing :: Marionette Client and Harness, defect, P2)
Tracking
(firefox59 disabled, firefox64 disabled, firefox65 disabled, firefox66 fixed)
RESOLVED
FIXED
mozilla66
People
(Reporter: intermittent-bug-filer, Assigned: whimboo)
References
Details
(Keywords: intermittent-failure)
Attachments
(3 files)
Assignee | ||
Updated•8 years ago
|
Component: JSMarionette → Marionette
Assignee | ||
Comment 1•8 years ago
|
||
05:21:34 INFO - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestRefresh.test_basic | NoSuchElementException: Failed to trigger opening a new tab: Web element reference not seen before: a7f272a2-2889-d04a-8d62-efe1b81a942a
05:21:34 INFO - stacktrace:
05:21:34 INFO - WebDriverError@chrome://marionette/content/error.js:172:5
05:21:34 INFO - NoSuchElementError@chrome://marionette/content/error.js:400:5
05:21:34 INFO - get@chrome://marionette/content/element.js:231:13
05:21:34 INFO - clickElement@chrome://marionette/content/listener.js:1318:14
05:21:34 INFO - Traceback (most recent call last):
05:21:34 INFO - File "/Users/cltbld/tasks/task_1512391240/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 141, in run
05:21:34 INFO - self.setUp()
05:21:34 INFO - File "/Users/cltbld/tasks/task_1512391240/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py", line 53, in setUp
05:21:34 INFO - self.new_tab = self.open_tab(open_with_link)
05:21:34 INFO - File "/Users/cltbld/tasks/task_1512391240/build/venv/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py", line 65, in open_tab
05:21:34 INFO - trigger()
05:21:34 INFO - File "/Users/cltbld/tasks/task_1512391240/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py", line 49, in open_with_link
05:21:34 INFO - link.click()
05:21:34 INFO - File "/Users/cltbld/tasks/task_1512391240/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 85, in click
05:21:34 INFO - self.marionette._send_message("clickElement", {"id": self.id})
05:21:34 INFO - File "/Users/cltbld/tasks/task_1512391240/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 23, in _
05:21:34 INFO - return func(*args, **kwargs)
05:21:34 INFO - File "/Users/cltbld/tasks/task_1512391240/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 740, in _send_message
05:21:34 INFO - self._handle_error(err)
05:21:34 INFO - File "/Users/cltbld/tasks/task_1512391240/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 764, in _handle_error
05:21:34 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace)
05:21:34 INFO - TEST-INFO took 1438ms
The problem happens here:
> self.marionette.navigate(self.marionette.absolute_url("windowHandles.html"))
> --> self.new_tab = self.open_tab(open_with_link)
In `open_tab` a click on an element is performed which should be immediately present when the loading of "windowHandles.html" has been done.
05:21:34 INFO - [Parent 1750, Main Thread] WARNING: [nsFrameLoader] ReallyStartLoadingInternal tried but couldn't show remote browser.
05:21:34 INFO - : file /builds/worker/workspace/build/src/dom/base/nsFrameLoader.cpp, line 904
This looks similar to bug 1418696. I will file a new dependency for all.
Assignee | ||
Comment 2•8 years ago
|
||
This failure happens a lot today for debug builds across platforms. I'm not sure what triggers it, nor that I can reproduce locally or via a one-click loaner.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 4•8 years ago
|
||
This screenshot shows that we do not load the browser at all for the requested page.
Mike, can you help us to understand this problem? It kinda looks like a bug in Firefox:
16:48:06 INFO - [Parent 624, Main Thread] WARNING: [nsFrameLoader] ReallyStartLoadingInternal tried but couldn't show remote browser.
16:48:06 INFO - : file /builds/worker/workspace/build/src/dom/base/nsFrameLoader.cpp, line 904
Thanks.
Flags: needinfo?(mconley)
Assignee | ||
Updated•8 years ago
|
Priority: P5 → P2
Assignee | ||
Comment 5•8 years ago
|
||
Removing needinfo based that it should have been set for bug 1422769.
Flags: needinfo?(mconley)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•8 years ago
|
||
Skipping just this test doesn't help, because the next on in the series is affected. So I get the feeling that something is wrong with the test run before which is test_strategy_after_remoteness_change. I will do a try push with a skip for that one.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8934905 [details]
Bug 1422741 - Skip test_strategy_after_remoteness_change for intermittent failures.
https://reviewboard.mozilla.org/r/205832/#review211420
r=me for disabling the problematic test
Attachment #8934905 -
Flags: review+
Comment 10•8 years ago
|
||
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d9751a1b5dbb
Skip test_strategy_after_remoteness_change for intermittent failures. r=whimboo
Comment 11•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Assignee: nobody → hskupin
Assignee | ||
Comment 13•8 years ago
|
||
This was just a skip patch. The bug has to stay open until we can re-enable the test.
Assignee: hskupin → nobody
Status: RESOLVED → REOPENED
Keywords: test-disabled
Resolution: FIXED → ---
Target Milestone: mozilla59 → ---
Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Whiteboard: [stockwell disabled]
Comment 15•8 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Comment 16•7 years ago
|
||
The causing test is still disabled, and as such no more failures occurred here.
Status: RESOLVED → REOPENED
status-firefox64:
--- → disabled
status-firefox65:
--- → disabled
status-firefox66:
--- → disabled
Keywords: leave-open
Resolution: INCOMPLETE → ---
Assignee | ||
Comment 17•7 years ago
|
||
The problems I faced with multiple content processes seem to be gone. Also I cannot reproduce this test failure anymore when running the navigation tests in a loop locally. Lets try if we can get the test test_strategy_after_remoteness_change re-enabled:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c9341187b15b92c4d7b232914b1b0f924d847432
Assignee | ||
Comment 18•7 years ago
|
||
The try build looks indeed fine. I will upload a patch.
Assignee: nobody → hskupin
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/00b712b8f283
[marionette] Re-enable test TestPageLoadStrategy.test_strategy_after_remoteness_change. r=ato
Comment 21•7 years ago
|
||
bugherder |
Assignee | ||
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago → 7 years ago
Keywords: leave-open,
test-disabled
Resolution: --- → FIXED
Whiteboard: [stockwell disabled]
Target Milestone: --- → mozilla66
Updated•3 years ago
|
Product: Testing → Remote Protocol
Comment 22•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
•