Closed Bug 1399366 Opened 7 years ago Closed 7 years ago

Intermittent test_profile_management.py TestProfileManagement.test_clean_profile | IOError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Timed out waiting for connection on localhost:2828!)

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: archaeopteryx [at] coole-files.de

https://treeherder.mozilla.org/logviewer.html#?job_id=130562867&repo=autoland

https://queue.taskcluster.net/v1/task/B5_NOY2YQv2hCcp31aQcjg/runs/0/artifacts/public/test_info/marionette_errorsummary.log

05:47:47     INFO -  1505281667959	Marionette	TRACE	4 -> [0,8,"executeScript",{"scriptTimeout":null,"newSandbox":true,"args":[],"filename":"marionette.py","script":"\n                let prefInterface = Components.classes[\"@mozilla.org/preferences-service;1\"]\n                                              .getService(Components.interfaces.nsIPrefBranch);\n                let pref = 'marionette.test.int';\n                let value = '3';\n                let type = prefInterface.getPrefType(pref);\n                switch(type) {\n                    case prefInterface.PREF_STRING:\n                        return value == prefInterface.getCharPref(pref).toString();\n                    case prefInterface.PREF_BOOL:\n                        return value == prefInterface.getBoolPref(pref).toString();\n                    case prefInterface.PREF_INT:\n                        return value == prefInterface.getIntPref(pref).toString();\n                    case prefInterface.PREF_INVALID:\n                        return false;\n                }\n                ","sandbox":"default","line":1005}]
05:47:47     INFO -  1505281667961	Marionette	TRACE	4 <- [1,8,null,{"value":false}]
05:47:47     INFO -  1505281667962	Marionette	TRACE	4 -> [0,9,"setContext",{"value":"content"}]
05:47:47     INFO -  1505281667962	Marionette	TRACE	4 <- [1,9,null,{}]
05:47:47     INFO -  1505281667963	Marionette	TRACE	4 -> [0,10,"getContext",{}]
05:47:47     INFO -  1505281667963	Marionette	TRACE	4 <- [1,10,null,{"value":"content"}]
05:47:47     INFO -  1505281667964	Marionette	TRACE	4 -> [0,11,"deleteSession",{}]
05:47:47     INFO -  1505281667966	Marionette	TRACE	4 <- [1,11,null,{}]
05:47:48     INFO -  Application command: Z:\task_1505277258\build\application\firefox\firefox.exe -no-remote -marionette -profile c:\users\genericworker\appdata\local\temp\tmpjexdfy.mozrunner
05:47:48     INFO -  1505281668592	Marionette	DEBUG	Received observer notification "profile-after-change"
05:47:48     INFO -  1505281668712	Marionette	DEBUG	Received observer notification "command-line-startup"
05:47:48     INFO -  1505281668713	Marionette	INFO	Enabled via --marionette
05:51:49    ERROR -  TEST-UNEXPECTED-ERROR | test_profile_management.py TestProfileManagement.test_clean_profile | IOError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Timed out waiting for connection on localhost:2828!)
05:51:49     INFO -  Traceback (most recent call last):
05:51:49     INFO -    File "Z:\task_1505277258\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 137, in run
05:51:49     INFO -      self.setUp()
05:51:49     INFO -    File "Z:\task_1505277258\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_profile_management.py", line 15, in setUp
05:51:49     INFO -      "marionette.test.int": 3
05:51:49     INFO -    File "Z:\task_1505277258\build\venv\lib\site-packages\marionette_driver\decorators.py", line 23, in _
05:51:49     INFO -      return func(*args, **kwargs)
05:51:49     INFO -    File "Z:\task_1505277258\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1013, in enforce_gecko_prefs
05:51:49     INFO -      self.raise_for_port()
05:51:49     INFO -    File "Z:\task_1505277258\build\venv\lib\site-packages\marionette_driver\decorators.py", line 28, in _
05:51:49     INFO -      m._handle_socket_failure()
05:51:49     INFO -    File "Z:\task_1505277258\build\venv\lib\site-packages\marionette_driver\decorators.py", line 23, in _
05:51:49     INFO -      return func(*args, **kwargs)
05:51:49     INFO -    File "Z:\task_1505277258\build\venv\lib\site-packages\marionette_driver\marionette.py", line 709, in raise_for_port
05:51:49     INFO -      self.host, self.port))
Might be dependent on bug 1362293.
Depends on: 1362293
https://wiki.mozilla.org/Bugmasters#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 7 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.