Bug: Intermittent TEST-UNEXPECTED-ERROR | browser/components/migration/tests/marionette/test_refresh_firefox.py TestFirefoxRefresh.testResetEverything | IOError: Process has been unexpectedly closed (Exit code: 11)
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2020-05-09 17:16:43+00:00
Resolved: 2020-06-09 17:13:12+00:00

This started crashing on shutdown intermittently with the patch in bug 1634650, that is very unrelated to the operations done by this test. It's only failing on Ubuntu 64 18.04 Shippable, that may relate it to bug 1607713.

There's no minidump to check the stack though. I tried to reproduce the crash on the same Ubuntu version and the same artifact, but I couldn't.

Because afaict it's unrelated to my push, I cannot reproduce the crash and there's no minidump to check what's up, my plan is to disable the test for now, to unblock my work, and move the investigation to this bug.

https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=301214468&repo=autoland&lineNumber=55936
```
[task 2020-05-07T13:43:45.843Z] 13:43:45     INFO -  1588859025839	Marionette	DEBUG	2 -> [0,28,"WebDriver:ExecuteScript",{"script":"// Ensure the current (temporary) profile is in profiles.ini:\n          let profD ... ename":"tests/browser/components/migration/tests/marionette/test_refresh_firefox.py","sandbox":"firefox-refresh","line":478}]
[task 2020-05-07T13:43:45.844Z] 13:43:45     INFO -  1588859025841	Marionette	DEBUG	2 <- [1,28,null,{"value":null}]
[task 2020-05-07T13:43:45.846Z] 13:43:45     INFO -  1588859025842	Marionette	DEBUG	2 -> [0,29,"Marionette:GetContext",{}]
[task 2020-05-07T13:43:45.847Z] 13:43:45     INFO -  1588859025842	Marionette	DEBUG	2 <- [1,29,null,{"value":"chrome"}]
[task 2020-05-07T13:43:45.847Z] 13:43:45     INFO -  1588859025843	Marionette	DEBUG	2 -> [0,30,"Marionette:AcceptConnections",{"value":false}]
[task 2020-05-07T13:43:45.848Z] 13:43:45     INFO -  1588859025843	Marionette	INFO	Stopped listening on port 2828
[task 2020-05-07T13:43:45.849Z] 13:43:45     INFO -  1588859025843	Marionette	DEBUG	2 <- [1,30,null,{"value":null}]
[task 2020-05-07T13:43:45.850Z] 13:43:45     INFO -  1588859025844	Marionette	DEBUG	2 -> [0,31,"Marionette:GetContext",{}]
[task 2020-05-07T13:43:45.851Z] 13:43:45     INFO -  1588859025844	Marionette	DEBUG	2 <- [1,31,null,{"value":"chrome"}]
[task 2020-05-07T13:43:45.852Z] 13:43:45     INFO -  1588859025845	Marionette	DEBUG	2 -> [0,32,"Marionette:SetContext",{"value":"chrome"}]
[task 2020-05-07T13:43:45.852Z] 13:43:45     INFO -  1588859025845	Marionette	DEBUG	2 <- [1,32,null,{"value":null}]
[task 2020-05-07T13:43:45.852Z] 13:43:45     INFO -  1588859025846	Marionette	DEBUG	2 -> [0,33,"WebDriver:ExecuteScript",{"script":"Components.utils.import(\"resource://gre/modules/Services.jsm\");\n                ... args":[],"filename":"../../venv/lib/python2.7/site-packages/marionette_driver/marionette.py","sandbox":"default","line":900}]
[task 2020-05-07T13:43:45.852Z] 13:43:45     INFO -  1588859025848	Marionette	DEBUG	2 <- [1,33,null,{"value":false}]
[task 2020-05-07T13:43:45.853Z] 13:43:45     INFO -  1588859025848	Marionette	DEBUG	2 -> [0,34,"Marionette:SetContext",{"value":"chrome"}]
[task 2020-05-07T13:43:45.854Z] 13:43:45     INFO -  1588859025848	Marionette	DEBUG	2 <- [1,34,null,{"value":null}]
[task 2020-05-07T13:43:45.854Z] 13:43:45     INFO -  1588859025849	Marionette	DEBUG	2 -> [0,35,"Marionette:Quit",{"flags":["eForceQuit","eRestart"]}]
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker SessionStore: flushing all windows for phase quit-application-granted
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Starting phase quit-application-granted
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Spinning the event loop
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: wikipedia@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: webcompat@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: webcompat-reporter@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: twitter@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: screenshots@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: google@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: formautofill@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: doh-rollout@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: default-theme@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: ddg@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.862Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: bing@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.863Z] 13:43:45     INFO -  DEBUG: Adding blocker Extension shutdown: amazondotcom@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.884Z] 13:43:45     INFO -  DEBUG: Completed blocker XPIProvider shutdown for phase quit-application-granted
[task 2020-05-07T13:43:45.911Z] 13:43:45     INFO -  DEBUG: Completed blocker SessionStore: flushing all windows for phase quit-application-granted
[task 2020-05-07T13:43:45.912Z] 13:43:45     INFO -  DEBUG: Finished phase quit-application-granted
[task 2020-05-07T13:43:45.913Z] 13:43:45     INFO -  DEBUG: Adding blocker ShieldRecipeClient: Cleaning up for phase profile-before-change
[task 2020-05-07T13:43:45.916Z] 13:43:45     INFO -  1588859025912	Marionette	TRACE	Received observer notification quit-application
[task 2020-05-07T13:43:45.925Z] 13:43:45     INFO -  DEBUG: Adding blocker SessionFile: Finish writing Session Restore data for phase profile-before-change
[task 2020-05-07T13:43:45.927Z] 13:43:45     INFO -  1588859025919	Marionette	DEBUG	2 <- [1,35,null,{"cause":"restart"}]
[task 2020-05-07T13:43:45.927Z] 13:43:45     INFO -  DEBUG: Completed blocker ShieldRecipeClient: Cleaning up for phase profile-before-change
[task 2020-05-07T13:43:45.929Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: wikipedia@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.929Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: webcompat@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.930Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: webcompat-reporter@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.930Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: twitter@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.930Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: screenshots@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.931Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: google@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.932Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: formautofill@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.932Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: doh-rollout@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.932Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: default-theme@mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.933Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: ddg@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.933Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: bing@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.933Z] 13:43:45     INFO -  DEBUG: Completed blocker Extension shutdown: amazondotcom@search.mozilla.org for phase profile-change-teardown
[task 2020-05-07T13:43:45.956Z] 13:43:45     INFO -  DEBUG: Completed blocker SessionFile: Finish writing Session Restore data for phase profile-before-change
[task 2020-05-07T13:43:45.976Z] 13:43:45     INFO -  1588859025972	Marionette	DEBUG	Closed connection 2
[task 2020-05-07T13:43:49.003Z] 13:43:49     INFO -  DEBUG: Starting phase profile-change-teardown
[task 2020-05-07T13:43:49.004Z] 13:43:49     INFO -  DEBUG: Spinning the event loop
[task 2020-05-07T13:43:49.004Z] 13:43:49     INFO -  DEBUG: Completed blocker sanitize.js: Sanitize on shutdown for phase Places Clients shutdown
[task 2020-05-07T13:43:49.005Z] 13:43:49     INFO -  DEBUG: Finished phase profile-change-teardown
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Starting phase profile-before-change
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Spinning the event loop
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker EnvironmentAddonBuilder for phase AddonManager: Waiting to start provider shutdown.
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker Places Expiration: shutdown for phase Places Connection shutdown
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker PageActions: purging unregistered actions from cache for phase profile-before-change
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker Search service: shutting down for phase OS.File: Waiting for clients before profileBeforeChange
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker Flush WebExtension StartupCache for phase profile-before-change
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker JSON store: writing data for phase profile-before-change
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker RemoteSettingsClient - finish IDB access. for phase profile-before-change
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker JSON store: writing data for phase profile-before-change
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker JSON store: writing data for phase profile-before-change
[task 2020-05-07T13:43:49.013Z] 13:43:49     INFO -  DEBUG: Completed blocker Remote Settings profile-before-change for phase profile-before-change
[task 2020-05-07T13:43:49.015Z] 13:43:49     INFO -  DEBUG: Completed blocker JSON store: writing data for phase profile-before-change
[task 2020-05-07T13:43:49.015Z] 13:43:49     INFO -  DEBUG: Completed blocker DownloadAutoSaveView: writing data for phase profile-before-change
[task 2020-05-07T13:43:49.015Z] 13:43:49     INFO -  DEBUG: Completed blocker JSON store: writing data for phase profile-before-change
[task 2020-05-07T13:43:49.015Z] 13:43:49     INFO -  DEBUG: Completed blocker JSON store: writing data for phase profile-before-change
[task 2020-05-07T13:43:49.015Z] 13:43:49     INFO -  DEBUG: Completed blocker JSON store: writing data for phase profile-before-change
[task 2020-05-07T13:43:49.015Z] 13:43:49     INFO -  DEBUG: Completed blocker places.sqlite#1: waiting for shutdown for phase Sqlite.jsm: wait until all connections are closed
[task 2020-05-07T13:43:49.019Z] 13:43:49     INFO -  DEBUG: Completed blocker PlacesUtils wrapped connection closing as part of Places shutdown for phase Places Connection shutdown
[task 2020-05-07T13:43:49.019Z] 13:43:49     INFO -  DEBUG: Completed blocker PlacesUtils wrapped connection must be closed before Sqlite.jsm for phase Sqlite.jsm: wait until all clients have completed their task
[task 2020-05-07T13:43:49.019Z] 13:43:49     INFO -  DEBUG: Completed blocker JSON store: writing data for phase AddonManager: Waiting for providers to shut down.
[task 2020-05-07T13:43:49.019Z] 13:43:49     INFO -  DEBUG: Completed blocker PluginProvider for phase AddonManager: Waiting for providers to shut down.
[task 2020-05-07T13:43:49.019Z] 13:43:49     INFO -  DEBUG: Completed blocker GMPProvider for phase AddonManager: Waiting for providers to shut down.
[task 2020-05-07T13:43:49.019Z] 13:43:49     INFO -  DEBUG: Completed blocker XPIProvider for phase AddonManager: Waiting for providers to shut down.
[task 2020-05-07T13:43:49.019Z] 13:43:49     INFO -  DEBUG: Completed blocker AddonManager: shutting down. for phase profile-before-change
[task 2020-05-07T13:43:49.021Z] 13:43:49     INFO -  DEBUG: Completed blocker CrashMonitor: Writing notifications to file after receiving profile-before-change for phase OS.File: Waiting for clients before profileBeforeChange
[task 2020-05-07T13:43:49.021Z] 13:43:49     INFO -  DEBUG: Completed blocker OS.File: flush I/O queued before profileBeforeChange for phase profile-before-change
[task 2020-05-07T13:43:49.021Z] 13:43:49     INFO -  DEBUG: Completed blocker places.sqlite#0: waiting for shutdown for phase Sqlite.jsm: wait until all connections are closed
[task 2020-05-07T13:43:49.021Z] 13:43:49     INFO -  DEBUG: Completed blocker PlacesUtils read-only connection closing as part of Places shutdown for phase Places Connection shutdown
[task 2020-05-07T13:43:49.022Z] 13:43:49     INFO -  DEBUG: Completed blocker PlacesUtils read-only connection must be closed before Sqlite.jsm for phase Sqlite.jsm: wait until all clients have completed their task
[task 2020-05-07T13:43:49.023Z] 13:43:49     INFO -  DEBUG: Completed blocker content-prefs.sqlite#0: waiting for shutdown for phase Sqlite.jsm: wait until all connections are closed
[task 2020-05-07T13:43:49.024Z] 13:43:49     INFO -  DEBUG: Completed blocker Closing ContentPrefService2 connection. for phase Sqlite.jsm: wait until all clients have completed their task
[task 2020-05-07T13:43:49.024Z] 13:43:49     INFO -  DEBUG: Completed blocker formhistory.sqlite#0: waiting for shutdown for phase Sqlite.jsm: wait until all connections are closed
[task 2020-05-07T13:43:49.024Z] 13:43:49     INFO -  DEBUG: Completed blocker Closing FormHistory database. for phase Sqlite.jsm: wait until all clients have completed their task
[task 2020-05-07T13:43:49.025Z] 13:43:49     INFO -  DEBUG: Completed blocker Sqlite.jsm shutdown blocker for phase profile-before-change
[task 2020-05-07T13:43:49.045Z] 13:43:49     INFO -  DEBUG: Finished phase profile-before-change
[task 2020-05-07T13:43:49.060Z] 13:43:49     INFO -  DEBUG: Starting phase profile-before-change-telemetry
[task 2020-05-07T13:43:49.061Z] 13:43:49     INFO -  DEBUG: Spinning the event loop
[task 2020-05-07T13:43:49.062Z] 13:43:49     INFO -  JavaScript error: resource:///modules/Discovery.jsm, line 104: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsICookieManager.remove]
[task 2020-05-07T13:43:49.100Z] 13:43:49     INFO -  DEBUG: Adding blocker Waiting for ping task for phase TelemetryController: Waiting for pending ping activity
[task 2020-05-07T13:43:49.101Z] 13:43:49     INFO -  DEBUG: Completed blocker Waiting for ping task for phase TelemetryController: Waiting for pending ping activity
[task 2020-05-07T13:43:49.117Z] 13:43:49     INFO -  DEBUG: Adding blocker Waiting for ping task for phase TelemetryController: Waiting for pending ping activity
[task 2020-05-07T13:43:49.124Z] 13:43:49     INFO -  DEBUG: Adding blocker Waiting for ping task for phase TelemetryController: Waiting for pending ping activity
[task 2020-05-07T13:43:49.128Z] 13:43:49     INFO -  DEBUG: Adding blocker Waiting for ping task for phase TelemetryController: Waiting for pending ping activity
[task 2020-05-07T13:43:49.143Z] 13:43:49     INFO -  DEBUG: Completed blocker Waiting for ping task for phase TelemetryController: Waiting for pending ping activity
[task 2020-05-07T13:43:49.143Z] 13:43:49     INFO -  DEBUG: Completed blocker Waiting for ping task for phase TelemetryController: Waiting for pending ping activity
[task 2020-05-07T13:43:49.147Z] 13:43:49     INFO -  DEBUG: Completed blocker Waiting for ping task for phase TelemetryController: Waiting for pending ping activity
[task 2020-05-07T13:43:49.155Z] 13:43:49     INFO -  DEBUG: Completed blocker TelemetryController: shutting down for phase profile-before-change-telemetry
[task 2020-05-07T13:43:49.156Z] 13:43:49     INFO -  DEBUG: Finished phase profile-before-change-telemetry
[task 2020-05-07T13:43:49.158Z] 13:43:49     INFO -  1588859029154	Marionette	TRACE	Received observer notification xpcom-will-shutdown
[task 2020-05-07T13:43:49.158Z] 13:43:49     INFO -  1588859029155	Marionette	DEBUG	Marionette stopped listening
[task 2020-05-07T13:43:49.158Z] 13:43:49     INFO -  DEBUG: Starting phase xpcom-will-shutdown
[task 2020-05-07T13:43:49.158Z] 13:43:49     INFO -  DEBUG: Spinning the event loop
[task 2020-05-07T13:43:49.198Z] 13:43:49     INFO -  DEBUG: Finished phase xpcom-will-shutdown
[task 2020-05-07T13:43:49.199Z] 13:43:49     INFO -  DEBUG: Starting phase web-workers-shutdown
[task 2020-05-07T13:43:49.199Z] 13:43:49     INFO -  DEBUG: Spinning the event loop
[task 2020-05-07T13:43:49.199Z] 13:43:49     INFO -  DEBUG: Completed blocker OS.File: flush pending requests, warn about unclosed files, shut down service. for phase web-workers-shutdown
[task 2020-05-07T13:43:49.199Z] 13:43:49     INFO -  DEBUG: Finished phase web-workers-shutdown
[task 2020-05-07T13:43:55.763Z] 13:43:55     INFO -  ExceptionHandler::GenerateDump cloned child 17463
[task 2020-05-07T13:43:55.764Z] 13:43:55     INFO -  ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[task 2020-05-07T13:43:55.764Z] 13:43:55     INFO -  ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[task 2020-05-07T13:44:56.033Z] 13:44:56     INFO - TEST-UNEXPECTED-ERROR | browser/components/migration/tests/marionette/test_refresh_firefox.py TestFirefoxRefresh.testResetEverything | IOError: Process has been unexpectedly closed (Exit code: 11) (Reason: Process unexpectedly quit without restarting (exit code: 11))
[task 2020-05-07T13:44:56.033Z] 13:44:56     INFO - Traceback (most recent call last):
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -     testMethod()
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/tests/marionette/tests/browser/components/migration/tests/marionette/test_refresh_firefox.py", line 611, in testResetEverything
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -     this_cleanup = self.doReset()
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/tests/marionette/tests/browser/components/migration/tests/marionette/test_refresh_firefox.py", line 574, in doReset
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -     self.marionette.restart(clean=False, in_app=True)
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 36, in _
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -     m._handle_socket_failure()
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 677, in _handle_socket_failure
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -     reraise(IOError, IOError(message.format(returncode=returncode, reason=exc)), tb)
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2020-05-07T13:44:56.034Z] 13:44:56     INFO -     return func(*args, **kwargs)
[task 2020-05-07T13:44:56.035Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1041, in restart
[task 2020-05-07T13:44:56.035Z] 13:44:56     INFO -     reraise(exc_cls, exc_cls(msg.format(self.instance.runner.returncode)), tb)
[task 2020-05-07T13:44:56.036Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1024, in restart
[task 2020-05-07T13:44:56.037Z] 13:44:56     INFO -     check_process_status=False)
[task 2020-05-07T13:44:56.038Z] 13:44:56     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 568, in raise_for_port
[task 2020-05-07T13:44:56.039Z] 13:44:56     INFO -     self.host, self.port))
[task 2020-05-07T13:44:56.039Z] 13:44:56     INFO - TEST-INFO took 70585ms
[task 2020-05-07T13:44:56.040Z] 13:44:56    ERROR - test_end for browser/components/migration/tests/marionette/test_refresh_firefox.py TestFirefoxRefresh.testResetEverything logged while not in progress. Logged with data: {"status": "ERROR", "extra": {"class_name": "test_refresh_firefox.TestFirefoxRefresh", "method_name": "testResetEverything"}, "expected": "PASS", "test": "browser/components/migration/tests/marionette/test_refresh_firefox.py TestFirefoxRefresh.testResetEverything", "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/browser/components/migration/tests/marionette/test_refresh_firefox.py\", line 497, in tearDown\n    self.marionette.restart(clean=True, in_app=False)\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 993, in restart\n    key=\"value\")\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 586, in _send_message\n    raise errors.InvalidSessionIdException(\"Please start a session\")\n"}
```