Closed Bug 1156946 Opened 9 years ago Closed 9 years ago

Intermittent test_implicit_waits.py TestImplicitWaits.testShouldStillFailToFindAnElementWhenImplicitWaitsAreEnabled | AssertionError: Should have thrown a NoSuchElementException

Categories

(Testing :: Marionette Client and Harness, defect)

x86
Linux
defect
Not set
normal

Tracking

(firefox40 affected)

RESOLVED WORKSFORME
Tracking Status
firefox40 --- affected

People

(Reporter: RyanVM, Unassigned)

Details

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

08:17:05 INFO - TEST-START | test_implicit_waits.py TestImplicitWaits.testShouldStillFailToFindAnElementWhenImplicitWaitsAreEnabled
08:23:05 ERROR - TEST-UNEXPECTED-FAIL | test_implicit_waits.py TestImplicitWaits.testShouldStillFailToFindAnElementWhenImplicitWaitsAreEnabled | AssertionError: Should have thrown a NoSuchElementException
08:23:05 INFO - Traceback (most recent call last):
08:23:05 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 296, in run
08:23:05 INFO - testMethod()
08:23:05 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_implicit_waits.py", line 28, in testShouldStillFailToFindAnElementWhenImplicitWaitsAreEnabled
08:23:05 INFO - self.fail("Should have thrown a NoSuchElementException")
08:23:05 INFO - TEST-INFO took 360735ms
08:23:05 INFO - test_end for test_implicit_waits.py TestImplicitWaits.testShouldStillFailToFindAnElementWhenImplicitWaitsAreEnabled logged while not in progress. Logged with data: {"status": "ERROR", "extra": {"class_name": "test_implicit_waits.TestImplicitWaits", "method_name": "testShouldStillFailToFindAnElementWhenImplicitWaitsAreEnabled"}, "expected": "PASS", "test": "test_implicit_waits.py TestImplicitWaits.testShouldStillFailToFindAnElementWhenImplicitWaitsAreEnabled", "message": "MarionetteException: MarionetteException: this.curBrowser is null\nstacktrace:\n\tGeckoDriver.prototype.sendAsync@chrome://marionette/content/driver.js:324:7\n\tListenerProxy.prototype.__noSuchMethod__/proxy<@chrome://marionette/content/driver.js:180:5\n\tListenerProxy.prototype.__noSuchMethod__@chrome://marionette/content/driver.js:127:15\n\tTaskImpl_run@resource://gre/modules/Task.jsm:314:40\n\tTaskImpl@resource://gre/modules/Task.jsm:275:3\n\tcreateAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:249:14\n\tTask_spawn@resource://gre/modules/Task.jsm:164:12\n\tTaskImpl_handleResultValue@resource://gre/modules/Task.jsm:381:1\n\tTaskImpl_run@resource://gre/modules/Task.jsm:332:11\n\tTaskImpl@resource://gre/modules/Task.jsm:275:3\n\tcreateAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:249:14\n\tTask_spawn@resource://gre/modules/Task.jsm:164:12\n\tTaskImpl_handleResultValue@resource://gre/modules/Task.jsm:381:1\n\tTaskImpl_run@resource://gre/modules/Task.jsm:322:13\n\tTaskImpl@resource://gre/modules/Task.jsm:275:3\n\tcreateAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:249:14\n\tTask_spawn@resource://gre/modules/Task.jsm:164:12\n\tCommandProcessor.prototype.execute@chrome://marionette/content/command.js:158:13\n\tDispatcher.prototype.onPacket@chrome://marionette/content/dispatcher.js:80:5\n\tDebuggerTransport.prototype._onJSONObjectReady/<@resource://gre/modules/devtools/dbg-client.jsm -> resource://gre/modules/devtools/transport/transport.js:471:9\n\tmakeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:82:14\n\tmakeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/DevToolsUtils.js:82:14", "stack": "Traceback (most recent call last):\n File \"/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py\", line 326, in run\n self.tearDown()\n File \"/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py\", line 650, in tearDown\n (self.filepath.replace('\\\\', '\\\\\\\\'), self.methodName))\n File \"/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py\", line 1388, in execute_script\n filename=os.path.basename(frame[0]))\n File \"/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/decorators.py\", line 36, in _\n return func(*args, **kwargs)\n File \"/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py\", line 715, in _send_message\n self._handle_error(response)\n File \"/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py\", line 751, in _handle_error\n raise errors.lookup(status)(message, stacktrace=stacktrace)\n"}
08:23:05 INFO - TEST-START | test_wait.py FormalWaitTest.test_clock_property
08:29:06 ERROR - TEST-UNEXPECTED-ERROR | test_wait.py FormalWaitTest.test_clock_property | TimeoutException: TimeoutException: Connection timed out
08:29:06 INFO - Traceback (most recent call last):
08:29:06 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 277, in run
08:29:06 INFO - self.setUp()
08:29:06 INFO - File "/builds/slave/test/build/tests/marionette/tests/testing/marionette/client/marionette/tests/unit/test_wait.py", line 101, in setUp
08:29:06 INFO - super(FormalWaitTest, self).setUp()
08:29:06 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 642, in setUp
08:29:06 INFO - self.marionette.test_name = self.test_name
08:29:06 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py", line 901, in test_name
08:29:06 INFO - if self._send_message('setTestName', 'ok', value=test_name):
08:29:06 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/decorators.py", line 36, in _
08:29:06 INFO - return func(*args, **kwargs)
08:29:06 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette_driver/marionette.py", line 696, in _send_message
08:29:06 INFO - raise errors.TimeoutException("Connection timed out")
08:29:06 INFO - TEST-INFO took 360357ms
[Mass Closure] Closing Intermittent as a one off
Status: NEW → RESOLVED
Closed: 9 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.