Closed Bug 1508101 Opened 6 years ago Closed 6 years ago

Intermittent testing\marionette\harness\marionette_harness\tests\unit\test_window_rect.py TestWindowRect.test_resize_while_fullscreen | IOError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason:

Categories

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

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: ccoroiu [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=212451164&repo=mozilla-central https://queue.taskcluster.net/v1/task/DqlucKrNRhq7FqTIUA-3GA/runs/0/artifacts/public/logs/live_backing.log 22:41:02 INFO - TEST-START | testing\marionette\harness\marionette_harness\tests\unit\test_window_rect.py TestWindowRect.test_resize_while_fullscreen 22:41:02 INFO - 1542494462328 Marionette DEBUG Closed connection 96 22:41:02 INFO - 1542494462329 Marionette DEBUG Accepted connection 97 from 127.0.0.1:51349 22:41:02 INFO - 1542494462331 Marionette TRACE 97 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}] 22:41:02 INFO - 1542494462334 Marionette DEBUG [2147483899] Frame script loaded 22:41:02 INFO - 1542494462336 Marionette DEBUG [2147483899] Frame script registered 22:41:02 INFO - 1542494462338 Marionette TRACE 97 <- [1,1,null,{"sessionId":"4aabc324-284a-47c4-aefd-af7bf00ccb97","capabilities":{"browserName":"firefox","browserVersion":"65.0a ... p\\tmpg2n4sg.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}] 22:41:02 INFO - 1542494462341 Marionette TRACE 97 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}] 22:41:02 INFO - 1542494462342 Marionette TRACE 97 <- [1,2,null,{"value":null}] 22:41:02 INFO - 1542494462344 Marionette TRACE 97 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}] 22:41:02 INFO - 1542494462345 Marionette TRACE 97 <- [1,3,null,{"value":null}] 22:41:02 INFO - 1542494462347 Marionette TRACE 97 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}] 22:41:02 INFO - 1542494462350 Marionette TRACE 97 <- [1,4,null,{"value":null}] 22:41:02 INFO - 1542494462352 Marionette TRACE 97 -> [0,5,"WebDriver:GetWindowRect",{}] 22:41:02 INFO - 1542494462353 Marionette TRACE 97 <- [1,5,null,{"x":-8,"y":-8,"width":1040,"height":784,"state":"normal"}] 22:41:02 INFO - 1542494462356 Marionette TRACE 97 -> [0,6,"WebDriver:ExecuteScript",{"scriptTimeout":null,"newSandbox":true,"args":[],"filename":"Z:\\task_1542492308\\build\\test ... width: window.screen.availWidth,\n height: window.screen.availHeight,\n }","sandbox":null,"line":22}] 22:41:02 INFO - 1542494462361 Marionette TRACE 97 <- [1,6,null,{"value":{"width":1024,"height":768}}] 22:41:02 INFO - 1542494462363 Marionette TRACE 97 -> [0,7,"WebDriver:SetWindowRect",{"y":null,"x":null,"width":1040,"height":784}] 22:41:02 INFO - 1542494462364 Marionette TRACE 97 <- [1,7,null,{"x":-8,"y":-8,"width":1040,"height":784,"state":"normal"}] 22:41:02 INFO - 1542494462366 Marionette TRACE 97 -> [0,8,"WebDriver:FullscreenWindow",{}] 22:41:12 INFO - --DOMWINDOW == 19 (000002C1D12D9800) [pid = 8072] [serial = 250] [outer = 0000000000000000] [url = chrome://browser/content/browser.xul] 22:41:21 INFO - --DOMWINDOW == 18 (000002C1D1D02800) [pid = 8072] [serial = 251] [outer = 0000000000000000] [url = about:blank] 22:44:03 INFO - [Parent 8072, StreamTrans #104] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 434 22:44:03 INFO - [Parent 8072, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 1142 22:44:03 INFO - [Parent 8072, StreamTrans #104] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 434 22:44:03 INFO - [Parent 8072, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 1142 22:44:03 INFO - [Parent 8072, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x2c1cecb65e0 (http://mzl.la/1FuID0j).: file z:/build/build/src/storage/mozStoragePrivateHelpers.cpp, line 114 22:49:03 INFO - [Parent 8072, StreamTrans #108] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 434 22:49:03 INFO - [Parent 8072, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 1142 22:53:02 INFO - 1542495182324 Marionette DEBUG Closed connection 97 22:54:03 INFO - [Parent 8072, StreamTrans #110] WARNING: 'NS_FAILED(rv)', file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 434 22:54:03 INFO - [Parent 8072, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file z:/build/build/src/modules/libjar/nsJARChannel.cpp, line 1142 22:54:13 ERROR - TEST-UNEXPECTED-ERROR | testing\marionette\harness\marionette_harness\tests\unit\test_window_rect.py TestWindowRect.test_resize_while_fullscreen | IOError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Connection timed out after 360.0s) 22:54:13 INFO - Traceback (most recent call last): 22:54:13 INFO - File "Z:\task_1542492308\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 159, in run 22:54:13 INFO - testMethod() 22:54:13 INFO - File "Z:\task_1542492308\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_window_rect.py", line 221, in test_resize_while_fullscreen 22:54:13 INFO - self.marionette.fullscreen() 22:54:13 INFO - File "Z:\task_1542492308\build\venv\lib\site-packages\marionette_driver\marionette.py", line 2060, in fullscreen 22:54:13 INFO - return self._send_message("WebDriver:FullscreenWindow") 22:54:13 INFO - File "Z:\task_1542492308\build\venv\lib\site-packages\marionette_driver\decorators.py", line 36, in _ 22:54:13 INFO - m._handle_socket_failure() 22:54:13 INFO - File "Z:\task_1542492308\build\venv\lib\site-packages\marionette_driver\marionette.py", line 844, in _handle_socket_failure 22:54:13 INFO - reraise(IOError, message.format(returncode=returncode, reason=val), tb) 22:54:13 INFO - File "Z:\task_1542492308\build\venv\lib\site-packages\marionette_driver\decorators.py", line 26, in _ 22:54:13 INFO - return func(*args, **kwargs) 22:54:13 INFO - File "Z:\task_1542492308\build\venv\lib\site-packages\marionette_driver\marionette.py", line 756, in _send_message 22:54:13 INFO - msg = self.client.request(name, params) 22:54:13 INFO - File "Z:\task_1542492308\build\venv\lib\site-packages\marionette_driver\transport.py", line 273, in request 22:54:13 INFO - return self.receive() 22:54:13 INFO - File "Z:\task_1542492308\build\venv\lib\site-packages\marionette_driver\transport.py", line 183, in receive 22:54:13 INFO - raise socket.timeout("Connection timed out after {}s".format(self.socket_timeout)) 22:54:13 INFO - TEST-INFO took 791152ms 22:54:13 INFO - test_end for testing\marionette\harness\marionette_harness\tests\unit\test_window_rect.py TestWindowRect.test_resize_while_fullscreen logged while not in progress. Logged with data: {"status": "ERROR", "extra": {"class_name": "test_window_rect.TestWindowRect", "method_name": "test_resize_while_fullscreen"}, "expected": "PASS", "test": "testing\\marionette\\harness\\marionette_harness\\tests\\unit\\test_window_rect.py TestWindowRect.test_resize_while_fullscreen", "message": "InvalidSessionIdException: Please start a session", "stack": "Traceback (most recent call last):\n File \"Z:\\task_1542492308\\build\\venv\\lib\\site-packages\\marionette_harness\\marionette_test\\testcases.py\", line 190, in run\n self.tearDown()\n File \"Z:\\task_1542492308\\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 \"Z:\\task_1542492308\\build\\venv\\lib\\site-packages\\marionette_driver\\marionette.py\", line 1386, in set_window_rect\n body)\n File \"Z:\\task_1542492308\\build\\venv\\lib\\site-packages\\marionette_driver\\decorators.py\", line 26, in _\n return func(*args, **kwargs)\n File \"Z:\\task_1542492308\\build\\venv\\lib\\site-packages\\marionette_driver\\marionette.py\", line 753, in _send_message\n raise errors.InvalidSessionIdException(\"Please start a session\")\n"}
Hang in "WebDriver:FullscreenWindow": > 22:41:02 INFO - 1542494462366 Marionette TRACE 97 -> [0,8,"WebDriver:FullscreenWindow",{}] [..] > 22:53:02 INFO - 1542495182324 Marionette DEBUG Closed connection 97
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
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.