Closed Bug 1024369 Opened 11 years ago Closed 11 years ago

Intermittent test_expected.py test_expected.TestExpected.test_element_not_present_func | TimeoutException: TimeoutException: Connection timed out

Categories

(Testing :: Marionette Client and Harness, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: emorley, Unassigned)

Details

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

b2g_emulator_vm mozilla-inbound opt test marionette-webapi on 2014-06-11 20:28:30 PDT for push 39977f335685 slave: tst-linux64-spot-323 https://tbpl.mozilla.org/php/getParsedLog.php?id=41576575&tree=Mozilla-Inbound { 20:48:46 INFO - TEST-START test_expected.py 20:48:49 INFO - test_element_displayed (test_expected.TestExpected) ... ok 20:48:51 INFO - test_element_displayed_when_hidden (test_expected.TestExpected) ... ok 20:48:54 INFO - test_element_displayed_when_stale_element (test_expected.TestExpected) ... ok 20:48:55 INFO - test_element_enabled (test_expected.TestExpected) ... ok 20:48:58 INFO - test_element_enabled_when_disabled (test_expected.TestExpected) ... ok 20:49:00 INFO - test_element_not_displayed (test_expected.TestExpected) ... ok 20:49:03 INFO - test_element_not_displayed_when_stale_element (test_expected.TestExpected) ... ok 20:49:05 INFO - test_element_not_displayed_when_visible (test_expected.TestExpected) ... ok 20:49:07 INFO - test_element_not_enabled (test_expected.TestExpected) ... ok 20:49:09 INFO - test_element_not_enabled_when_enabled (test_expected.TestExpected) ... ok 20:55:12 INFO - test_element_not_present_func (test_expected.TestExpected) ... ERROR 20:55:13 INFO - ERROR 20:55:15 INFO - test_element_not_present_is_present (test_expected.TestExpected) ... ok 20:55:16 INFO - test_element_not_present_locator (test_expected.TestExpected) ... ok 20:55:18 INFO - test_element_not_selected (test_expected.TestExpected) ... ok 20:55:20 INFO - test_element_not_selected_when_selected (test_expected.TestExpected) ... ok 20:55:22 INFO - test_element_present_func (test_expected.TestExpected) ... ok 20:55:23 INFO - test_element_present_locator (test_expected.TestExpected) ... ok 20:55:25 INFO - test_element_present_not_present (test_expected.TestExpected) ... ok 20:55:27 INFO - test_element_selected (test_expected.TestExpected) ... ok 20:55:29 INFO - test_element_selected_when_not_selected (test_expected.TestExpected) ... ok 20:55:32 INFO - test_element_stale (test_expected.TestExpected) ... ok 20:55:34 INFO - test_element_stale_is_not_stale (test_expected.TestExpected) ... ok 20:55:35 INFO - test_elements_not_present_func (test_expected.TestExpected) ... ok 20:55:37 INFO - test_elements_not_present_is_present (test_expected.TestExpected) ... ok 20:55:38 INFO - test_elements_not_present_locator (test_expected.TestExpected) ... ok 20:55:40 INFO - test_elements_present_func (test_expected.TestExpected) ... ok 20:55:42 INFO - test_elements_present_locator (test_expected.TestExpected) ... ok 20:55:42 INFO - ====================================================================== 20:55:42 INFO - ERROR: None 20:55:42 INFO - ---------------------------------------------------------------------- 20:55:42 INFO - Traceback (most recent call last): 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette_test.py", line 170, in run 20:55:42 INFO - testMethod() 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_expected.py", line 59, in test_element_not_present_func 20:55:42 INFO - r = expected.element_not_present(no_such_element)(self.marionette) 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/expected.py", line 66, in __call__ 20:55:42 INFO - return not super(element_not_present, self).__call__(marionette) 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/expected.py", line 42, in __call__ 20:55:42 INFO - return _find(marionette, self.locator) 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/expected.py", line 259, in _find 20:55:42 INFO - el = func(marionette) 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_expected.py", line 31, in no_such_element 20:55:42 INFO - return marionette.find_element(By.ID, "nosuchelement") 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 1224, in find_element 20:55:42 INFO - response = self._send_message('findElement', 'value', **kwargs) 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/decorators.py", line 35, in _ 20:55:42 INFO - return func(*args, **kwargs) 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 627, in _send_message 20:55:42 INFO - "Connection timed out", status=ErrorCodes.TIMEOUT) 20:55:42 INFO - TimeoutException: TimeoutException: Connection timed out 20:55:42 INFO - Most recent errors/exceptions are: 20:55:42 INFO - 06-11 23:48:53.104 I/Gecko ( 44): 1402544933108 Marionette INFO sendToClient: {"from":"0","error":{"message":"The element reference is stale. Either the element is no longer attached to the DOM or the page has been refreshed.","status":10,"stacktrace":null}}, {517a64d4-fc70-497b-bab8-bc284f273a81}, {517a64d4-fc70-497b-bab8-bc284f273a81} 20:55:42 INFO - 06-11 23:49:02.214 I/Gecko ( 44): 1402544942213 Marionette INFO sendToClient: {"from":"0","error":{"message":"The element reference is stale. Either the element is no longer attached to the DOM or the page has been refreshed.","status":10,"stacktrace":null}}, {ebea9173-be6c-40aa-8e1e-85028795e736}, {ebea9173-be6c-40aa-8e1e-85028795e736} 20:55:42 ERROR - TEST-UNEXPECTED-FAIL | test_expected.py test_expected.TestExpected.test_element_not_present_func | TimeoutException: TimeoutException: Connection timed out 20:55:42 INFO - ====================================================================== 20:55:42 INFO - ERROR: None 20:55:42 INFO - ---------------------------------------------------------------------- 20:55:42 INFO - Traceback (most recent call last): 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette_test.py", line 198, in run 20:55:42 INFO - self.tearDown() 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette_test.py", line 346, in tearDown 20:55:42 INFO - self.marionette.set_context("content") 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 895, in set_context 20:55:42 INFO - return self._send_message('setContext', 'ok', value=context) 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/decorators.py", line 35, in _ 20:55:42 INFO - return func(*args, **kwargs) 20:55:42 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 612, in _send_message 20:55:42 INFO - raise MarionetteException("Please start a session") 20:55:42 ERROR - TEST-UNEXPECTED-FAIL | test_expected.py test_expected.TestExpected.test_element_not_present_func | MarionetteException: MarionetteException: Please start a session 20:55:42 INFO - ---------------------------------------------------------------------- 20:55:42 INFO - Ran 27 tests in 414.960s }
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
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.