Closed Bug 1025246 Opened 11 years ago Closed 11 years ago

Intermittent test_findelement.py test_findelement.TestElements.test_by_name | 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 try opt test marionette-webapi on 2014-06-08 17:12:02 PDT for push 8fa5dc94a2d2 slave: tst-linux64-ec2-097 https://tbpl.mozilla.org/php/getParsedLog.php?id=41326617&tree=Try { 17:24:00 INFO - TEST-START test_findelement.py 17:30:05 INFO - test_by_name (test_findelement.TestElements) ... ERROR 17:30:06 INFO - ERROR 17:30:08 INFO - test_child_element (test_findelement.TestElements) ... ok 17:30:10 INFO - test_child_elements (test_findelement.TestElements) ... ok 17:30:11 INFO - test_class_name (test_findelement.TestElements) ... ok 17:30:13 INFO - test_css_selector_scope_doesnt_start_at_rootnode (test_findelement.TestElements) ... ok 17:30:15 INFO - test_finding_active_element_returns_element (test_findelement.TestElements) ... ok 17:30:17 INFO - test_id (test_findelement.TestElements) ... ok 17:30:19 INFO - test_link_text (test_findelement.TestElements) ... ok 17:30:23 INFO - test_not_found (test_findelement.TestElements) ... ok 17:30:25 INFO - test_partial_link_text (test_findelement.TestElements) ... ok 17:30:27 INFO - test_selector (test_findelement.TestElements) ... ok 17:30:29 INFO - test_tag_name (test_findelement.TestElements) ... ok 17:30:33 INFO - test_timeout (test_findelement.TestElements) ... ok 17:30:35 INFO - test_xpath (test_findelement.TestElements) ... ok 17:30:36 INFO - ====================================================================== 17:30:36 INFO - ERROR: None 17:30:36 INFO - ---------------------------------------------------------------------- 17:30:36 INFO - Traceback (most recent call last): 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette_test.py", line 170, in run 17:30:36 INFO - testMethod() 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_findelement.py", line 66, in test_by_name 17:30:36 INFO - found_el = self.marionette.find_element(By.NAME, "myInput") 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 1213, in find_element 17:30:36 INFO - response = self._send_message('findElement', 'value', **kwargs) 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/decorators.py", line 35, in _ 17:30:36 INFO - return func(*args, **kwargs) 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 616, in _send_message 17:30:36 INFO - "Connection timed out", status=ErrorCodes.TIMEOUT) 17:30:36 INFO - TimeoutException: TimeoutException: Connection timed out 17:30:36 INFO - Most recent errors/exceptions are: 17:30:36 INFO - 06-08 20:23:47.806 I/Gecko ( 44): 1402273427808 Marionette INFO sendToClient: {"from":"0","error":{"message":"TypeError: Components.classes is undefined","status":17,"stacktrace":"execute_script @case.py, line 471\ninline javascript, line 1\nsrc: \"let prefs = Components.classes[\"@mozilla.org/preferences-service;1\"]\""}}, {9aa66b04-bde6-4769-b394-7cb5164d352e}, {9aa66b04-bde6-4769-b394-7cb5164d352e} 17:30:36 INFO - 06-08 20:23:52.315 I/Gecko ( 44): 1402273432321 Marionette INFO sendToClient: {"from":"0","error":{"message":"ReferenceError: b is not defined","status":17,"stacktrace":"execute_script @test_execute_script.py, line 22\ninline javascript, line 2\nsrc: \" return b;\""}}, {2a75b9d2-5f00-468c-a480-cbdd4f01e4f1}, {2a75b9d2-5f00-468c-a480-cbdd4f01e4f1} 17:30:36 INFO - 06-08 20:23:58.786 E/GeckoConsole( 44): [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "data:text/html,<html>test%20page</html>" line: 0}] 17:30:36 INFO - 06-08 20:24:02.166 E/GeckoConsole( 44): [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://10.134.58.6:33628/test.html" line: 0}] 17:30:36 ERROR - TEST-UNEXPECTED-FAIL | test_findelement.py test_findelement.TestElements.test_by_name | TimeoutException: TimeoutException: Connection timed out 17:30:36 INFO - ====================================================================== 17:30:36 INFO - ERROR: None 17:30:36 INFO - ---------------------------------------------------------------------- 17:30:36 INFO - Traceback (most recent call last): 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette_test.py", line 198, in run 17:30:36 INFO - self.tearDown() 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette_test.py", line 346, in tearDown 17:30:36 INFO - self.marionette.set_context("content") 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 884, in set_context 17:30:36 INFO - return self._send_message('setContext', 'ok', value=context) 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/decorators.py", line 35, in _ 17:30:36 INFO - return func(*args, **kwargs) 17:30:36 INFO - File "/builds/slave/test/build/tests/marionette/marionette/marionette.py", line 601, in _send_message 17:30:36 INFO - raise MarionetteException("Please start a session") 17:30:36 ERROR - TEST-UNEXPECTED-FAIL | test_findelement.py test_findelement.TestElements.test_by_name | MarionetteException: MarionetteException: Please start a session 17:30:36 INFO - ---------------------------------------------------------------------- 17:30:36 INFO - Ran 14 tests in 394.159s }
Mass closing as we have not seen these intermittents in over 2 months
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.