Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_quit_restart.py TestQuitRestart.test_in_app_restart_safe_mode | OSError: Process has been unexpectedly closed (Exit code: 0) (Reason: Process unexpectedly quit without restarting (
Categories
(Testing :: Marionette Client and Harness, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=351697399&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WwGt1trjRyuGEH-ck3yBEw/runs/0/artifacts/public/logs/live_backing.log
INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_profile_management.py TestSwitchProfileWithoutWorkspace.test_new_named_profile_unicode
[task 2021-09-16T05:26:20.095Z] 05:26:20 INFO - 1631769980095 Marionette DEBUG Accepted connection 3 from 127.0.0.1:52818
[task 2021-09-16T05:26:20.123Z] 05:26:20 INFO - 1631769980125 Marionette DEBUG 3 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-09-16T05:26:20.127Z] 05:26:20 INFO - 1631769980127 Marionette DEBUG 3 <- [1,1,null,{"sessionId":"dacd59ad-b541-41d8-8c78-53a89d2c3611","capabilities":{"browserName":"firefox","browserVersion":"94.0a ... e.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"proxy":{}}}]
[task 2021-09-16T05:26:20.128Z] 05:26:20 INFO - 1631769980128 Marionette DEBUG 3 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2021-09-16T05:26:20.129Z] 05:26:20 INFO - 1631769980129 Marionette DEBUG 3 <- [1,2,null,{"value":null}]
[task 2021-09-16T05:26:20.129Z] 05:26:20 INFO - 1631769980130 Marionette DEBUG 3 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2021-09-16T05:26:20.130Z] 05:26:20 INFO - 1631769980130 Marionette DEBUG 3 <- [1,3,null,{"value":null}]
[task 2021-09-16T05:26:20.130Z] 05:26:20 INFO - 1631769980131 Marionette DEBUG 3 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2021-09-16T05:26:20.131Z] 05:26:20 INFO - 1631769980131 Marionette DEBUG 3 <- [1,4,null,{"value":null}]
[task 2021-09-16T05:26:20.231Z] 05:26:20 INFO - mozlog.structuredlog: Failure calling log handler:
[task 2021-09-16T05:26:20.240Z] 05:26:20 INFO - Traceback (most recent call last):
[task 2021-09-16T05:26:20.255Z] 05:26:20 INFO - File "Z:\task_163176904785490\build\venv\lib\site-packages\mozlog\structuredlog.py", line 294, in _handle_log
[task 2021-09-16T05:26:20.255Z] 05:26:20 INFO - handler(data)
[task 2021-09-16T05:26:20.256Z] 05:26:20 INFO - File "Z:\task_163176904785490\build\venv\lib\site-packages\mozlog\handlers\base.py", line 90, in __call__
[task 2021-09-16T05:26:20.256Z] 05:26:20 INFO - self.stream.write(formatted)
[task 2021-09-16T05:26:20.256Z] 05:26:20 INFO - File "c:\mozilla-build\python3\lib\encodings\cp1252.py", line 19, in encode
[task 2021-09-16T05:26:20.256Z] 05:26:20 INFO - return codecs.charmap_encode(input,self.errors,encoding_table)[0]
[task 2021-09-16T05:26:20.257Z] 05:26:20 INFO - UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f36a' in position 198: character maps to <undefined>
[task 2021-09-16T05:26:20.416Z] 05:26:20 INFO - DEBUG: Adding blocker OS.File: flush pending requests, warn about unclosed files, shut down service. for phase xpcom-will-shutdown
[task 2021-09-16T05:26:20.423Z] 05:26:20 INFO - DEBUG: Adding blocker OS.File: flush I/O queued before profileBeforeChange for phase profile-before-change
[task 2021-09-16T05:26:20.423Z] 05:26:20 INFO - DEBUG: Adding blocker AddonManager: shutting down. for phase profile-before-change
[task 2021-09-16T05:26:20.436Z] 05:26:20 INFO - DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase profile-before-change
[task 2021-09-16T05:26:20.441Z] 05:26:20 INFO - DEBUG: Adding blocker IOUtils Blocker (xpcom-will-shutdown) for phase xpcom-will-shutdown
[task 2021-09-16T05:26:20.470Z] 05:26:20 INFO - DEBUG: Adding blocker Flush WebExtension StartupCache for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2021-09-16T05:26:20.519Z] 05:26:20 INFO - DEBUG: Adding blocker ClientManagerService: start destroying IPC actors early for phase xpcom-will-shutdown
[task 2021-09-16T05:26:20.577Z] 05:26:20 INFO - DEBUG: Adding blocker JSON store: writing data for phase AddonManager: Waiting for providers to shut down.
[task 2021-09-16T05:26:20.594Z] 05:26:20 INFO - DEBUG: Adding blocker Update add-on blocklist state into add-on DB for phase AddonManager: Waiting to start provider shutdown.
[task 2021-09-16T05:26:20.594Z] 05:26:20 INFO - DEBUG: Completed blocker Update add-on blocklist state into add-on DB for phase AddonManager: Waiting to start provider shutdown.
[task 2021-09-16T05:26:20.600Z] 05:26:20 INFO - DEBUG: Adding blocker XPIProvider shutdown for phase quit-application-granted
[task 2021-09-16T05:26:20.601Z] 05:26:20 INFO - DEBUG: Adding blocker XPIProvider for phase AddonManager: Waiting for providers to shut down.
[task 2021-09-16T05:26:20.602Z] 05:26:20 INFO - DEBUG: Adding blocker ServiceWorkerRegistrar: Flushing data for phase profile-before-change
[task 2021-09-16T05:26:20.603Z] 05:26:20 INFO - DEBUG: Adding blocker CrashMonitor: Writing notifications to file after receiving profile-before-change for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2021-09-16T05:26:20.616Z] 05:26:20 INFO - DEBUG: Adding blocker TelemetryController: shutting down for phase profile-before-change-telemetry
[task 2021-09-16T05:26:20.647Z] 05:26:20 INFO - DEBUG: Adding blocker EnvironmentAddonBuilder for phase AddonManager: Waiting to start provider shutdown.
[task 2021-09-16T05:26:20.661Z] 05:26:20 INFO - DEBUG: Adding blocker RemoteSettingsClient - finish IDB access. for phase profile-before-change
Comment 1•5 years ago
|
||
There is an around 3 minutes delay when starting the the test and Firefox due to an IO completion port issue:
https://treeherder.mozilla.org/logviewer?job_id=351697399&repo=autoland&lineNumber=32115-32121
[task 2021-09-16T05:27:27.750Z] 05:27:27 INFO - TEST-PASS | testing/marionette/harness/marionette_harness/tests/unit/test_quit_restart.py TestQuitRestart.test_in_app_restart_component_prevents_shutdown | took 2574ms
[task 2021-09-16T05:27:27.753Z] 05:27:27 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_quit_restart.py TestQuitRestart.test_in_app_restart_safe_mode
[task 2021-09-16T05:30:39.304Z] 05:30:39 INFO - WARNING | IO Completion Port failed to signal process shutdown
[task 2021-09-16T05:30:39.306Z] 05:30:39 INFO - Parent process 6912 exited with children alive:
[task 2021-09-16T05:30:39.306Z] 05:30:39 INFO - PIDS: 7000, 4812, 4528, 4184, 1020
[task 2021-09-16T05:30:39.306Z] 05:30:39 INFO - Attempting to kill them, but no guarantee of success
Let observe before doing more analysis.
| Comment hidden (Intermittent Failures Robot) |
Comment 3•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment 4•4 years ago
|
||
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=362905323&repo=mozilla-beta&lineNumber=41161
| Comment hidden (Intermittent Failures Robot) |
Comment 6•4 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Description
•