Closed Bug 1355255 Opened 3 years ago Closed 2 years ago

Intermittent test_navigation.py TestRefresh.test_image | TimeoutException: Timed out after 9.0 seconds with message: No new tab has been opened

Categories

(Testing :: Marionette, defect)

Version 3
defect
Not set

Tracking

(Not tracked)

VERIFIED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: bulk-close-intermittents, intermittent-failure)

Attachments

(1 file)

Attached image screenshot.png
[task 2017-04-10T21:49:43.563342Z] 21:49:43     INFO - TEST-UNEXPECTED-ERROR | test_navigation.py TestRefresh.test_image | TimeoutException: Timed out after 9.0 seconds with message: No new tab has been opened
[task 2017-04-10T21:49:43.563722Z] 21:49:43     INFO - Traceback (most recent call last):
[task 2017-04-10T21:49:43.563861Z] 21:49:43     INFO -   File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 147, in run
[task 2017-04-10T21:49:43.563981Z] 21:49:43     INFO -     self.setUp()
[task 2017-04-10T21:49:43.564114Z] 21:49:43     INFO -   File "/home/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py", line 45, in setUp
[task 2017-04-10T21:49:43.564203Z] 21:49:43     INFO -     self.new_tab = self.open_tab(open_with_link)
[task 2017-04-10T21:49:43.564342Z] 21:49:43     INFO -   File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py", line 88, in open_tab
[task 2017-04-10T21:49:43.564846Z] 21:49:43     INFO -     message="No new tab has been opened"
[task 2017-04-10T21:49:43.565398Z] 21:49:43     INFO -   File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/marionette_driver/wait.py", line 150, in until
[task 2017-04-10T21:49:43.565976Z] 21:49:43     INFO -     cause=last_exc)

From the trace log I see:

1491860973067	Marionette	TRACE	1008 -> [0,13,"findElement",{"using":"id","value":"new-blank-tab"}]
1491860973081	Marionette	TRACE	1008 <- [1,13,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"405fb195-f5da-4af6-873f-22aeed93ce39","ELEMENT":"405fb195-f5da-4af6-873f-22aeed93ce39"}}]
1491860973084	Marionette	TRACE	1008 -> [0,14,"clickElement",{"id":"405fb195-f5da-4af6-873f-22aeed93ce39"}]
1491860973282	Marionette	TRACE	1008 <- [1,14,null,{}]
1491860973292	Marionette	TRACE	1008 -> [0,15,"getWindowHandles",{}]
1491860973296	Marionette	TRACE	1008 <- [1,15,null,["2147484123"]]
[..]
1491860976096	Marionette	TRACE	1008 -> [0,43,"getWindowHandles",{}]
1491860976100	Marionette	TRACE	1008 <- [1,43,null,["2147484123"]]

So we successfully loaded the test page, retrieved the link, and clicked on it. But then `getWindowHandles()` never reports that a secondary tab has been opened.

Checking report.html shows an interesting fact:
https://public-artifacts.taskcluster.net/VC6aji33Rkm1k_-8GacrgQ/0/public/test_info//report.html

As you can see in this attachment the tab is indeed open! So why do we still get only window handle returned? Is there a problem with the window enumerator?
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
See Also: → 1368227
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.