Intermittent test_window_handles.py TestWindowHandles.test_new_tab_window_handles | TimeoutException: TimeoutException: wait_for_condition timed out | ValueError: list.remove(x): x not in list

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
4 years ago
a year ago

People

(Reporter: KWierso, Unassigned)

Tracking

({intermittent-failure, pi-marionette-intermittent})

unspecified
x86_64
Linux
intermittent-failure, pi-marionette-intermittent
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

4 years ago
15:22:51 INFO - TEST-PASS | test_window_management.py TestSwitchWindow.testShouldLoadAWindowAndThenCloseIt | took 2275ms
15:22:51 INFO - TEST-START | test_window_management.py TestSwitchWindow.test_windows
15:22:52 INFO - TEST-PASS | test_window_management.py TestSwitchWindow.test_windows | took 1248ms
15:22:52 INFO - TEST-START | test_window_position.py TestWindowPosition.test_that_we_can_get_an_error_when_passing_something_other_than_integers
15:22:53 INFO - TEST-PASS | test_window_position.py TestWindowPosition.test_that_we_can_get_an_error_when_passing_something_other_than_integers | took 453ms
15:22:53 INFO - TEST-START | test_window_position.py TestWindowPosition.test_that_we_can_set_the_window_position
15:22:53 INFO - TEST-PASS | test_window_position.py TestWindowPosition.test_that_we_can_set_the_window_position | took 472ms
15:22:53 INFO - TEST-START | test_window_position.py TestWindowPosition.test_that_we_return_the_window_position
15:22:54 INFO - TEST-PASS | test_window_position.py TestWindowPosition.test_that_we_return_the_window_position | took 456ms
15:22:54 INFO - TEST-START | test_window_handles.py TestWindowHandles.test_chrome_windows
15:22:59 INFO - TEST-PASS | test_window_handles.py TestWindowHandles.test_chrome_windows | took 5492ms
15:22:59 INFO - TEST-START | test_window_handles.py TestWindowHandles.test_link_opened_tab_window_handles
15:23:01 INFO - TEST-PASS | test_window_handles.py TestWindowHandles.test_link_opened_tab_window_handles | took 1692ms
15:23:01 INFO - TEST-START | test_window_handles.py TestWindowHandles.test_new_tab_window_handles
15:23:34 ERROR - TEST-UNEXPECTED-ERROR | test_window_handles.py TestWindowHandles.test_new_tab_window_handles | TimeoutException: TimeoutException: wait_for_condition timed out
15:23:34 INFO - Traceback (most recent call last):
15:23:34 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 296, in run
15:23:34 INFO - testMethod()
15:23:34 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_window_handles.py", line 30, in test_new_tab_window_handles
15:23:34 INFO - self.wait_for_condition(lambda mn: len(mn.window_handles) == 2)
15:23:34 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 677, in wait_for_condition
15:23:34 INFO - raise TimeoutException("wait_for_condition timed out")
15:23:34 INFO - TEST-INFO took 32904ms
15:23:34 INFO - TEST-START | test_window_handles.py TestWindowHandles.test_tab_and_window_handles
15:23:37 ERROR - TEST-UNEXPECTED-ERROR | test_window_handles.py TestWindowHandles.test_tab_and_window_handles | ValueError: list.remove(x): x not in list
15:23:37 INFO - Traceback (most recent call last):
15:23:37 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 296, in run
15:23:37 INFO - testMethod()
15:23:37 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_window_handles.py", line 113, in test_tab_and_window_handles
15:23:37 INFO - handles.remove(start_tab)
15:23:37 INFO - TEST-INFO took 3687ms
15:23:37 INFO - TEST-START | test_appcache.py AppCacheTests.testWeCanGetTheStatusOfTheAppCache
15:23:38 INFO - TEST-PASS | test_appcache.py AppCacheTests.testWeCanGetTheStatusOfTheAppCache | took 963ms
15:23:38 INFO - TEST-START | test_screenshot.py ScreenshotTests.testNotAllowedScreenshotFormatRaiseValueError
15:23:40 INFO - TEST-PASS | test_screenshot.py ScreenshotTests.testNotAllowedScreenshotFormatRaiseValueError | took 1076ms
15:23:40 INFO - TEST-START | test_screenshot.py ScreenshotTests.testWeCanTakeABinaryScreenShotOfAnElement
15:23:40 INFO - TEST-PASS | test_screenshot.py ScreenshotTests.testWeCanTakeABinaryScreenShotOfAnElement | took 877ms
15:23:40 INFO - TEST-START | test_screenshot.py ScreenshotTests.testWeCanTakeAScreenShotOfAnElement
15:23:41 INFO - TEST-PASS | test_screenshot.py ScreenshotTests.testWeCanTakeAScreenShotOfAnElement | took 854ms
15:23:41 INFO - TEST-START | test_screenshot.py ScreenshotTests.testWeCanTakeAScreenShotOfEntireCanvas
15:23:42 INFO - TEST-PASS | test_screenshot.py ScreenshotTests.testWeCanTakeAScreenShotOfEntireCanvas | took 1008ms
15:23:42 INFO - TEST-START | test_screenshot.py ScreenshotTests.testWeCanTakeAScreenShotOfEntireViewport
15:23:44 INFO - TEST-PASS | test_screenshot.py ScreenshotTests.testWeCanTakeAScreenShotOfEntireViewport | took 1654ms
15:23:44 INFO - TEST-START | test_screenshot.py ScreenshotTests.testWeCanTakeAScreenShotWithHighlightOfAnElement
15:23:45 INFO - TEST-PASS | test_screenshot.py ScreenshotTests.testWeCanTakeAScreenShotWithHighlightOfAnElement | took 849ms
15:23:45 INFO - TEST-START | test_cookies.py CookieTest.testAddCookie
15:23:46 INFO - TEST-PASS | test_cookies.py CookieTest.testAddCookie | took 940ms
15:23:46 INFO - TEST-START | test_cookies.py CookieTest.testAddingACookieThatExpiredInThePast
15:23:47 INFO - TEST-PASS | test_cookies.py CookieTest.testAddingACookieThatExpiredInThePast | took 803ms
15:23:47 INFO - TEST-START | test_cookies.py CookieTest.testDeleteAllCookie
Comment hidden (Treeherder Robot)
Dang, this test rather obviously hits network. I'm sure I can figure out how not to do that.
Flags: needinfo?(cmanchester)
Keywords: ateam-marionette-intermittent
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Created attachment 8587679 [details]
MozReview Request: bz://1149843/chmanchester

/r/6569 - Bug 1149843 - Modify test_window_handles not to hit the network.;r=dburns

Pull down this commit:

hg pull -r 8785613ca5389756fb9cde3c120f46c400fdf638 https://reviewboard-hg.mozilla.org/gecko/
Attachment #8587679 - Flags: review?(dburns)
Comment on attachment 8587679 [details]
MozReview Request: bz://1149843/chmanchester

https://reviewboard.mozilla.org/r/6567/#review5635

Ship It!
Attachment #8587679 - Flags: review?(dburns) → review+
Keywords: checkin-needed, leave-open
https://hg.mozilla.org/integration/fx-team/rev/6f59be32c489
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment on attachment 8587679 [details]
MozReview Request: bz://1149843/chmanchester
Attachment #8587679 - Attachment is obsolete: true
Attachment #8619937 - Flags: review+
Created attachment 8619937 [details]
MozReview Request: Bug 1149843 - Modify test_window_handles not to hit the network.;r=dburns
Hasn't been seen in a while so closing
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in before you can comment on or make changes to this bug.