Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_move_to_negative_coordinates | IOError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors
Categories
(Testing :: Marionette Client and Harness, defect, P5)
Tracking
(firefox66 affected)
Tracking | Status | |
---|---|---|
firefox66 | --- | affected |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Comment 1•6 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 4•6 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=222230563&repo=autoland&lineNumber=32431
Comment hidden (Intermittent Failures Robot) |
Comment 12•6 years ago
|
||
Even with bug 1478358 landed on January the 14th the "WebDriver:SetWindowRect" command hangs here, which is kinda scary. I will leave this bug open for now, and will revisit in a week or so.
Comment 13•6 years ago
|
||
No more such failures. So lets close as WFM. Feel free to reopen if it happens again.
Comment 14•6 years ago
|
||
Fail reappeared on m-c.
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=233527740&repo=mozilla-central&lineNumber=34246
Log snippet:
01:31:08 INFO - --DOMWINDOW == 44 (0000018CF9B8A000) [pid = 5012] [serial = 196] [outer = 0000000000000000] [url = about:blank]
01:31:08 INFO - --DOMWINDOW == 43 (0000018CFD073000) [pid = 5012] [serial = 194] [outer = 0000000000000000] [url = chrome://marionette/content/test2.xul]
01:31:08 INFO - --DOMWINDOW == 42 (0000018CFCD93800) [pid = 5012] [serial = 188] [outer = 0000000000000000] [url = about:blank]
01:31:08 INFO - --DOMWINDOW == 41 (0000018CFD073800) [pid = 5012] [serial = 234] [outer = 0000000000000000] [url = chrome://marionette/content/test2.xul]
01:31:08 INFO - --DOMWINDOW == 40 (0000018CFAD2D800) [pid = 5012] [serial = 230] [outer = 0000000000000000] [url = about:blank]
01:31:08 INFO - --DOMWINDOW == 39 (0000018CFCD86400) [pid = 5012] [serial = 220] [outer = 0000000000000000] [url = chrome://marionette/content/test2.xul]
01:31:08 INFO - --DOMWINDOW == 38 (0000018CFCD6E000) [pid = 5012] [serial = 219] [outer = 0000000000000000] [url = chrome://marionette/content/test_nested_iframe.xul]
01:31:08 INFO - --DOMWINDOW == 37 (0000018CFD06D000) [pid = 5012] [serial = 218] [outer = 0000000000000000] [url = chrome://marionette/content/test2.xul]
01:31:08 INFO - --DOMWINDOW == 36 (0000018CFCD63C00) [pid = 5012] [serial = 214] [outer = 0000000000000000] [url = about:blank]
01:31:08 INFO - --DOMWINDOW == 35 (0000018CFAD33400) [pid = 5012] [serial = 235] [outer = 0000000000000000] [url = chrome://marionette/content/test_nested_iframe.xul]
01:31:08 INFO - --DOMWINDOW == 34 (0000018CF917F800) [pid = 5012] [serial = 206] [outer = 0000000000000000] [url = about:blank]
01:31:08 INFO - --DOMWINDOW == 33 (0000018CF73A0400) [pid = 5012] [serial = 208] [outer = 0000000000000000] [url = about:blank]
01:31:08 INFO - --DOMWINDOW == 32 (0000018CFC4EB400) [pid = 5012] [serial = 236] [outer = 0000000000000000] [url = chrome://marionette/content/test2.xul]
01:32:49 INFO - [Parent 5012, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x18cf868d710 (http://mzl.la/1FuID0j).: file z:/build/build/src/storage/mozStoragePrivateHelpers.cpp, line 108
01:34:17 INFO - [Parent 5012, StreamTrans #60] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 371
01:34:17 INFO - [Parent 5012, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 993
01:36:17 INFO - [Parent 5012, Main Thread] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/netwerk/url-classifier/UrlClassifierCommon.cpp, line 114
01:36:17 INFO - [Parent 5012, Main Thread] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/netwerk/url-classifier/AsyncUrlChannelClassifier.cpp, line 757
01:36:32 INFO - 1552440991997 Marionette DEBUG Closed connection 89
01:37:43 ERROR - TEST-UNEXPECTED-ERROR | testing\marionette\harness\marionette_harness\tests\unit\test_window_rect.py TestWindowRect.test_move_to_negative_coordinates | IOError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Connection timed out after 360.0s)
01:37:43 INFO - Traceback (most recent call last):
01:37:43 INFO - File "Z:\task_1552437914\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 159, in run
01:37:43 INFO - testMethod()
01:37:43 INFO - File "Z:\task_1552437914\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_window_rect.py", line 152, in test_move_to_negative_coordinates
01:37:43 INFO - new_position = self.marionette.set_window_rect(x=-8, y=-8)
01:37:43 INFO - File "Z:\task_1552437914\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1220, in set_window_rect
01:37:43 INFO - body)
01:37:43 INFO - File "Z:\task_1552437914\build\venv\lib\site-packages\marionette_driver\decorators.py", line 36, in _
01:37:43 INFO - m._handle_socket_failure()
01:37:43 INFO - File "Z:\task_1552437914\build\venv\lib\site-packages\marionette_driver\marionette.py", line 678, in _handle_socket_failure
01:37:43 INFO - reraise(IOError, message.format(returncode=returncode, reason=val), tb)
01:37:43 INFO - File "Z:\task_1552437914\build\venv\lib\site-packages\marionette_driver\decorators.py", line 26, in _
01:37:43 INFO - return func(*args, **kwargs)
01:37:43 INFO - File "Z:\task_1552437914\build\venv\lib\site-packages\marionette_driver\marionette.py", line 590, in _send_message
01:37:43 INFO - msg = self.client.request(name, params)
01:37:43 INFO - File "Z:\task_1552437914\build\venv\lib\site-packages\marionette_driver\transport.py", line 273, in request
01:37:43 INFO - return self.receive()
01:37:43 INFO - File "Z:\task_1552437914\build\venv\lib\site-packages\marionette_driver\transport.py", line 183, in receive
01:37:43 INFO - raise socket.timeout("Connection timed out after {}s".format(self.socket_timeout))
01:37:43 INFO - TEST-INFO took 431211ms
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 18•6 years ago
|
||
Comment 19•5 years ago
|
||
New failure: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=256032225&repo=autoland&lineNumber=35109
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 23•5 years ago
|
||
Comment 24•5 years ago
|
||
This is still happening.
16:14:27 INFO - --DOMWINDOW == 29 (0x129be5c00) [pid = 1635] [serial = 206] [outer = 0x0] [url = about:blank]
16:14:27 INFO - --DOMWINDOW == 28 (0x129b65400) [pid = 1635] [serial = 210] [outer = 0x0] [url = about:blank]
16:14:27 INFO - --DOMWINDOW == 27 (0x129b0d800) [pid = 1635] [serial = 230] [outer = 0x0] [url = about:blank]
16:14:27 INFO - --DOMWINDOW == 26 (0x129b5bc00) [pid = 1635] [serial = 218] [outer = 0x0] [url = about:blank]
16:15:51 INFO - [Parent 1635, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x12b6791b0 (http://mzl.la/1FuID0j).: file /builds/worker/workspace/build/src/storage/mozStoragePrivateHelpers.cpp, line 108
16:17:18 INFO - [Parent 1635, StreamTrans #8] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 371
16:17:18 INFO - [Parent 1635, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 994
16:20:00 INFO - 1567441200879 Marionette DEBUG Closed connection 90
16:21:15 INFO - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_move_to_negative_coordinates | IOError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Connection timed out after 360.0s)
16:21:15 INFO - Traceback (most recent call last):
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run
16:21:15 INFO - testMethod()
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py", line 152, in test_move_to_negative_coordinates
16:21:15 INFO - new_position = self.marionette.set_window_rect(x=-8, y=-8)
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1220, in set_window_rect
16:21:15 INFO - body)
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 36, in _
16:21:15 INFO - m._handle_socket_failure()
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 678, in _handle_socket_failure
16:21:15 INFO - reraise(IOError, message.format(returncode=returncode, reason=val), tb)
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
16:21:15 INFO - return func(*args, **kwargs)
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 590, in _send_message
16:21:15 INFO - msg = self.client.request(name, params)
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/transport.py", line 273, in request
16:21:15 INFO - return self.receive()
16:21:15 INFO - File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/transport.py", line 183, in receive
16:21:15 INFO - raise socket.timeout("Connection timed out after {}s".format(self.socket_timeout))
16:21:15 INFO - TEST-INFO took 435144ms
16:21:15 ERROR - test_end for testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_move_to_negative_coordinates logged while not in progress. Logged with data: {"status": "ERROR", "extra": {"class_name": "test_window_rect.TestWindowRect", "method_name": "test_move_to_negative_coordinates"}, "expected": "PASS", "test": "testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_move_to_negative_coordinates", "message": "InvalidSessionIdException: Please start a session", "stack": "Traceback (most recent call last):\n File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 190, in run\n self.tearDown()\n File "/Users/cltbld/tasks/task_1567440337/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py", line 39, in tearDown\n self.marionette.set_window_rect(x=x, y=y, height=height, width=width)\n File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1220, in set_window_rect\n body)\n File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _\n return func(*args, **kwargs)\n File "/Users/cltbld/tasks/task_1567440337/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 587, in _send_message\n raise errors.InvalidSessionIdException("Please start a session")\n"}
16:21:15 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_resize_larger_than_screen
Comment 25•5 years ago
|
||
The problem here are most likely the following two lines:
16:17:18 INFO - [Parent 1635, StreamTrans #8] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 371
16:17:18 INFO - [Parent 1635, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 994
Comment hidden (Intermittent Failures Robot) |
Comment 27•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Comment 29•2 years ago
|
||
Description
•