Closed Bug 1323704 Opened 7 years ago Closed 7 years ago

Intermittent test_marionette.py TestMarionette.test_correct_test_name | IOError: Process killed because the connection to Marionette server is lost. Check gecko.log for errors (Reason: Connection timed out after 60.0s)

Categories

(Testing :: Marionette Client and Harness, defect)

Version 3
defect
Not set
normal

Tracking

(firefox56 affected)

RESOLVED WORKSFORME
Tracking Status
firefox56 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Something disconnected the session before the test could have been started:

1481791809282	Marionette	CONFIG	Changing capabilities: {"browserName":"firefox","browserVersion":"53.0a1","platformName":"windows_nt","platformVersion":"6.1","acceptInsecureCerts":false,"raisesAccessibilityExceptions":false,"rotatable":false,"proxy":{},"specificationLevel":0,"moz:processID":1976,"moz:profile":"c:\\users\\cltbld\\appdata\\local\\temp\\tmpciym7i.mozrunner"}
1481791812309	Marionette	TRACE	conn7 <- [1,1,null,{"sessionId":"dfd1205d-6eb0-4bfd-b45f-3a2a4bfc6732","capabilities":{"browserName":"firefox","browserVersion":"53.0a1","platformName":"windows_nt","platformVersion":"6.1","acceptInsecureCerts":false,"raisesAccessibilityExceptions":false,"rotatable":false,"proxy":{},"specificationLevel":0,"moz:processID":1976,"moz:profile":"c:\\users\\cltbld\\appdata\\local\\temp\\tmpciym7i.mozrunner","command_id":1}}]
1481791812311	Marionette	TRACE	conn7 -> [0,2,"deleteSession",null]
1481791812313	Marionette	TRACE	conn7 <- [1,2,null,{}]
1481791812314	Marionette	DEBUG	Closed connection conn7

Given that this is a PGO build there is no helpful debug information from Gecko available.
Not seen since March
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Very strange output from the single test failure:

09:38:52     INFO -  TEST-START | test_marionette.py TestMarionette.test_correct_test_name
09:38:53     INFO -  1499333933917	Marionette	DEBUG	Received observer notification "sessionstore-windows-restored"
09:38:53     INFO -  1499333933920	Marionette	DEBUG	Received observer notification "sessionstore-windows-restored"
09:38:54     INFO -  1499333934397	Marionette	INFO	Listening on port 2828
09:38:54     INFO -  1499333934405	Marionette	INFO	Listening on port 2828

Not sure why we were able to setup the server socket twice. Lets wait for bug 1254136 which will fix the double initialization.
Depends on: 1254136
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.