Bug: Intermittent browser/components/migration/tests/marionette/test_refresh_firefox.py TestFirefoxRefresh.testFxANoSync | OSError: Process has been unexpectedly closed (Exit code: 0) (Reason: [WinError 10053] An established connection was aborted
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-04-26 06:22:47+00:00
Resolved: 2023-07-19 12:01:03+00:00

**Filed by:** ncsoregi [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=413807334&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Vo1ddD-zR6yb-03bGoro8Q/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-04-26T05:06:36.059Z] 05:06:36     INFO -  WARNING | IO Completion Port failed to signal process shutdown
[task 2023-04-26T05:06:36.060Z] 05:06:36     INFO -  Parent process 2724 exited with children alive:
[task 2023-04-26T05:06:36.060Z] 05:06:36     INFO -  PIDS: 9868, 8780, 9756, 840
[task 2023-04-26T05:06:36.061Z] 05:06:36     INFO -  Attempting to kill them, but no guarantee of success
[task 2023-04-26T05:06:36.075Z] 05:06:36    ERROR -  TEST-UNEXPECTED-ERROR | browser/components/migration/tests/marionette/test_refresh_firefox.py TestFirefoxRefresh.testFxANoSync | OSError: Process has been unexpectedly closed (Exit code: 0) (Reason: [WinError 10053] An established connection was aborted by the software in your host machine)
[task 2023-04-26T05:06:36.084Z] 05:06:36     INFO -  Traceback (most recent call last):
[task 2023-04-26T05:06:36.084Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 198, in run
[task 2023-04-26T05:06:36.084Z] 05:06:36     INFO -      testMethod()
[task 2023-04-26T05:06:36.085Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\tests\marionette\tests\browser\components\migration\tests\marionette\test_refresh_firefox.py", line 684, in testFxANoSync
[task 2023-04-26T05:06:36.085Z] 05:06:36     INFO -      this_cleanup = self.doReset()
[task 2023-04-26T05:06:36.086Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\tests\marionette\tests\browser\components\migration\tests\marionette\test_refresh_firefox.py", line 624, in doReset
[task 2023-04-26T05:06:36.086Z] 05:06:36     INFO -      self.marionette.restart(clean=False, in_app=True)
[task 2023-04-26T05:06:36.087Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_driver\decorators.py", line 34, in _
[task 2023-04-26T05:06:36.087Z] 05:06:36     INFO -      m._handle_socket_failure()
[task 2023-04-26T05:06:36.087Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_driver\marionette.py", line 780, in _handle_socket_failure
[task 2023-04-26T05:06:36.088Z] 05:06:36     INFO -      reraise(
[task 2023-04-26T05:06:36.088Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\six.py", line 702, in reraise
[task 2023-04-26T05:06:36.088Z] 05:06:36     INFO -      raise value.with_traceback(tb)
[task 2023-04-26T05:06:36.088Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_driver\decorators.py", line 24, in _
[task 2023-04-26T05:06:36.088Z] 05:06:36     INFO -      return func(*args, **kwargs)
[task 2023-04-26T05:06:36.089Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1206, in restart
[task 2023-04-26T05:06:36.089Z] 05:06:36     INFO -      self._send_message("Marionette:AcceptConnections", {"value": True})
[task 2023-04-26T05:06:36.089Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_driver\decorators.py", line 24, in _
[task 2023-04-26T05:06:36.089Z] 05:06:36     INFO -      return func(*args, **kwargs)
[task 2023-04-26T05:06:36.090Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_driver\marionette.py", line 696, in _send_message
[task 2023-04-26T05:06:36.090Z] 05:06:36     INFO -      msg = self.client.request(name, params)
[task 2023-04-26T05:06:36.090Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_driver\transport.py", line 380, in request
[task 2023-04-26T05:06:36.091Z] 05:06:36     INFO -      self.send(cmd)
[task 2023-04-26T05:06:36.091Z] 05:06:36     INFO -    File "Z:\task_168247740270453\build\venv\lib\site-packages\marionette_driver\transport.py", line 351, in send
[task 2023-04-26T05:06:36.092Z] 05:06:36     INFO -      sent = sock.send(payload[totalsent:])
[task 2023-04-26T05:06:36.092Z] 05:06:36     INFO -  TEST-INFO took 197781ms
```