Closed Bug 1514597 Opened 6 years ago Closed 6 years ago

Intermittent test_window_handles_chrome.py TestWindowHandles.test_chrome_window_handles_after_opening_new_window | IOError: Failed to trigger opening a new window: Process killed because the connection to Marionette server is lost.

Categories

(Testing :: Marionette Client and Harness, defect, P5)

Version 3
defect

Tracking

(firefox65 affected, firefox66 affected)

RESOLVED DUPLICATE of bug 1512342
Tracking Status
firefox65 --- affected
firefox66 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: ncsoregi [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=217302323&repo=try https://queue.taskcluster.net/v1/task/EmgI2TbYQB-xkqPZPmUzEQ/runs/0/artifacts/public/logs/live_backing.log [task 2018-12-16T16:21:23.192Z] 16:21:23 INFO - 1544977283185 Marionette TRACE Received observer notification browser-delayed-startup-finished [task 2018-12-16T16:27:22.853Z] 16:27:22 INFO - 1544977642847 Marionette DEBUG Closed connection 70 [task 2018-12-16T16:28:33.931Z] 16:28:33 INFO - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_chrome.py TestWindowHandles.test_chrome_window_handles_after_opening_new_window | IOError: Failed to trigger opening a new window: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Connection timed out after 360.0s) [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - Traceback (most recent call last): [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - testMethod() [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_chrome.py", line 88, in test_chrome_window_handles_after_opening_new_window [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - new_window = self.open_window() [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py", line 110, in open_window [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - reraise(exc, 'Failed to trigger opening a new window: {}'.format(val), tb) [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py", line 103, in open_window [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - result = self.marionette.open(type="window", focus=focus) [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1443, in open [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - return self._send_message("WebDriver:NewWindow", body) [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 36, in _ [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - m._handle_socket_failure() [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 844, in _handle_socket_failure [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - reraise(IOError, message.format(returncode=returncode, reason=val), tb) [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _ [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - return func(*args, **kwargs) [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 756, in _send_message [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - msg = self.client.request(name, params) [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/transport.py", line 273, in request [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - return self.receive() [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/transport.py", line 183, in receive [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - raise socket.timeout("Connection timed out after {}s".format(self.socket_timeout)) [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - TEST-INFO took 431215ms [task 2018-12-16T16:28:33.932Z] 16:28:33 ERROR - test_end for testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_chrome.py TestWindowHandles.test_chrome_window_handles_after_opening_new_window logged while not in progress. Logged with data: {"status": "ERROR", "extra": {"class_name": "test_window_handles_chrome.TestWindowHandles", "method_name": "test_chrome_window_handles_after_opening_new_window"}, "expected": "PASS", "test": "testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_chrome.py TestWindowHandles.test_chrome_window_handles_after_opening_new_window", "message": "InvalidSessionIdException: Please start a session", "stack": "Traceback (most recent call last):\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py\", line 190, in run\n self.tearDown()\n File \"/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_chrome.py\", line 24, in tearDown\n self.close_all_windows()\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py\", line 48, in close_all_windows\n current_chrome_window_handles = self.marionette.chrome_window_handles\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py\", line 1423, in chrome_window_handles\n return self._send_message(\"WebDriver:GetChromeWindowHandles\")\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py\", line 26, in _\n return func(*args, **kwargs)\n File \"/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py\", line 753, in _send_message\n raise errors.InvalidSessionIdException(\"Please start a session\")\n"} [task 2018-12-16T16:28:33.932Z] 16:28:33 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_window_handles_chrome.py TestWindowHandles.test_chrome_window_handles_with_scopes
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
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.