Closed Bug 1149843 Opened 10 years ago Closed 9 years ago

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

Categories

(Testing :: Marionette Client and Harness, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: KWierso, Unassigned)

Details

(Keywords: intermittent-failure, pi-marionette-intermittent)

Attachments

(1 file, 1 obsolete file)

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
Dang, this test rather obviously hits network. I'm sure I can figure out how not to do that.
Flags: needinfo?(cmanchester)
/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+
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Attachment #8587679 - Attachment is obsolete: true
Attachment #8619937 - Flags: review+
Hasn't been seen in a while so closing
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
Product: Testing → Remote Protocol
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.

Attachment

General

Created:
Updated:
Size: