Bug: Intermittent browser/components/sessionstore/test/marionette/test_persist_closed_tabs_restore_manually.py | single tracking bug
Status: REOPENED
Priority: P5
Created: 2023-10-13 16:20:43+00:00
Resolved: 2025-02-17 07:13:21+00:00

**Filed by:** chorotan [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=432393489&repo=try
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WucWD12aSOSQPynhGZyz0Q/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-10-13T13:50:10.401Z] 13:50:10     INFO -  TEST-START | browser/components/sessionstore/test/marionette/test_persist_closed_tabs_restore_manually.py TestSessionRestoreClosedTabs.test_restore
[task 2023-10-13T13:50:10.498Z] 13:50:10     INFO -  Application command: Z:\task_169720148501929\build\application\firefox\firefox.exe -no-remote -marionette --wait-for-browser -profile C:\Users\task_169720148501929\AppData\Local\Temp\tmp93c0otcm.mozrunner
[task 2023-10-13T13:50:10.670Z] 13:50:10     INFO -  DEBUG: Adding blocker AddonManager: shutting down. for phase profile-before-change
[task 2023-10-13T13:50:10.686Z] 13:50:10     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase profile-before-change
[task 2023-10-13T13:50:10.696Z] 13:50:10     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change-telemetry) for phase profile-before-change-telemetry
[task 2023-10-13T13:50:10.696Z] 13:50:10     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2023-10-13T13:50:10.697Z] 13:50:10     INFO -  DEBUG: Adding blocker IOUtils Blocker (xpcom-will-shutdown) for phase xpcom-will-shutdown
[task 2023-10-13T13:50:10.697Z] 13:50:10     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change-telemetry) for phase IOUtils: waiting for xpcomWillShutdown IO to complete
[task 2023-10-13T13:50:10.717Z] 13:50:10     INFO -  DEBUG: Adding blocker Flush WebExtension StartupCache for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2023-10-13T13:50:10.748Z] 13:50:10     INFO -  DEBUG: Adding blocker JSON store: writing data for 'extensionpreferences' for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2023-10-13T13:50:10.779Z] 13:50:10     INFO -  DEBUG: Adding blocker JSON store: writing data for 'addonStartup' for phase AddonManager: Waiting for providers to shut down.
[task 2023-10-13T13:50:10.792Z] 13:50:10     INFO -  DEBUG: Adding blocker Update add-on blocklist state into add-on DB for phase AddonManager: Waiting to start provider shutdown.
[task 2023-10-13T13:50:10.795Z] 13:50:10     INFO -  DEBUG: Adding blocker XPIProvider shutdown for phase quit-application-granted
[task 2023-10-13T13:50:10.797Z] 13:50:10     INFO -  DEBUG: Adding blocker XPIProvider for phase AddonManager: Waiting for providers to shut down.
[task 2023-10-13T13:50:10.797Z] 13:50:10     INFO -  DEBUG: Adding blocker ServiceWorkerRegistrar: Flushing data for phase profile-before-change
[task 2023-10-13T13:50:10.799Z] 13:50:10     INFO -  DEBUG: Adding blocker CrashMonitor: Writing notifications to file after receiving profile-before-change and awaiting all checkpoints written for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2023-10-13T13:50:10.811Z] 13:50:10     INFO -  DEBUG: Adding blocker TelemetryController: shutting down for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2023-10-13T13:50:10.842Z] 13:50:10     INFO -  DEBUG: Adding blocker EnvironmentAddonBuilder for phase AddonManager: Waiting to start provider shutdown.
[task 2023-10-13T13:50:10.854Z] 13:50:10     INFO -  DEBUG: Adding blocker RemoteSettingsClient - finish IDB access. for phase profile-before-change
[task 2023-10-13T13:50:10.859Z] 13:50:10     INFO -  DEBUG: Adding blocker TerminatoryTelemetry: Waiting to submit telemetry for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2023-10-13T13:50:10.862Z] 13:50:10     INFO -  1697205010861	Marionette	INFO	Marionette enabled
[task 2023-10-13T13:50:10.863Z] 13:50:10     INFO -  1697205010863	Marionette	TRACE	Received observer notification final-ui-startup
[task 2023-10-13T13:50:10.889Z] 13:50:10     INFO -  DEBUG: Adding blocker AboutHomeStartupCache: Writing cache for phase quit-application-granted
[task 2023-10-13T13:50:10.911Z] 13:50:10     INFO -  DEBUG: Adding blocker UserIdleBlocker for phase quit-application-granted
[task 2023-10-13T13:50:10.920Z] 13:50:10     INFO -  DEBUG: Adding blocker PermissionManager: Flushing data for phase xpcom-will-shutdown
[task 2023-10-13T13:50:10.967Z] 13:50:10     INFO -  1697205010978	Marionette	INFO	Listening on port 2828
[task 2023-10-13T13:50:10.980Z] 13:50:10     INFO -  1697205010980	Marionette	DEBUG	Marionette is listening
[task 2023-10-13T13:50:10.980Z] 13:50:10     INFO -  DEBUG: Completed blocker Update add-on blocklist state into add-on DB for phase AddonManager: Waiting to start provider shutdown.
[task 2023-10-13T13:50:10.982Z] 13:50:10     INFO -  DEBUG: Adding blocker ClientManagerService: start destroying IPC actors early for phase xpcom-will-shutdown
[task 2023-10-13T13:50:11.107Z] 13:50:11     INFO -  DEBUG: Adding blocker MediaShutdownManager: shutdown for phase profile-before-change
[task 2023-10-13T13:50:11.138Z] 13:50:11     INFO -  1697205011147	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:52872
[task 2023-10-13T13:50:11.151Z] 13:50:11     INFO -  1697205011151	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:52875
[task 2023-10-13T13:50:11.162Z] 13:50:11     INFO -  1697205011167	Marionette	DEBUG	Closed connection 0
[task 2023-10-13T13:50:11.174Z] 13:50:11     INFO -  1697205011173	Marionette	DEBUG	Closed connection 1
....
task 2023-10-13T13:50:15.798Z] 13:50:15     INFO -  1697205015798	Marionette	TRACE	[13] Received event DOMContentLoaded for data:text/html;charset=utf-8,<html><head><title>amet</title></head><body></body></html>
[task 2023-10-13T13:50:15.798Z] 13:50:15     INFO -  1697205015798	Marionette	TRACE	[13] Received event pageshow for data:text/html;charset=utf-8,<html><head><title>amet</title></head><body></body></html>
[task 2023-10-13T13:50:15.799Z] 13:50:15     INFO -  1697205015798	Marionette	DEBUG	2 <- [1,26,null,{"value":null}]
[task 2023-10-13T13:50:15.801Z] 13:50:15     INFO -  DEBUG: Completed blocker Transaction (4) for phase content-prefs.sqlite#0: waiting for clients
[task 2023-10-13T13:50:15.801Z] 13:50:15     INFO -  1697205015801	Marionette	DEBUG	2 -> [0,27,"Marionette:SetContext",{"value":"chrome"}]
[task 2023-10-13T13:50:15.801Z] 13:50:15     INFO -  1697205015801	Marionette	DEBUG	2 <- [1,27,null,{"value":null}]
[task 2023-10-13T13:50:15.802Z] 13:50:15     INFO -  1697205015803	Marionette	DEBUG	2 -> [0,28,"WebDriver:ExecuteScript",{"script":"return gBrowser.tabs[0].label","args":[],"newSandbox":true,"sandbox":"default","line":103,"filename":"Z:\\task_169720148501929\\build\\tests\\marionette\\tests\\browser\\components\\sessionstore\\test\\marionette\\test_persist_closed_tabs_restore_manually.py"}]
[task 2023-10-13T13:50:15.804Z] 13:50:15     INFO -  1697205015806	Marionette	DEBUG	2 <- [1,28,null,{"value":"sit"}]
[task 2023-10-13T13:50:15.807Z] 13:50:15     INFO -  1697205015807	Marionette	DEBUG	2 -> [0,29,"WebDriver:ExecuteScript",{"script":"return gBrowser.tabs[1].label","args":[],"newSandbox":true,"sandbox":"default","line":113,"filename":"Z:\\task_169720148501929\\build\\tests\\marionette\\tests\\browser\\components\\sessionstore\\test\\marionette\\test_persist_closed_tabs_restore_manually.py"}]
[task 2023-10-13T13:50:15.808Z] 13:50:15     INFO -  1697205015808	Marionette	DEBUG	2 <- [1,29,null,{"value":"amet"}]
[task 2023-10-13T13:50:15.809Z] 13:50:15     INFO -  1697205015809	Marionette	DEBUG	2 -> [0,30,"WebDriver:ExecuteScript",{"script":"return gBrowser.tabs.length","args":[],"newSandbox":true,"sandbox":"default","line":123,"filename":"Z:\\task_169720148501929\\build\\tests\\marionette\\tests\\browser\\components\\sessionstore\\test\\marionette\\test_persist_closed_tabs_restore_manually.py"}]
[task 2023-10-13T13:50:15.810Z] 13:50:15     INFO -  1697205015810	Marionette	DEBUG	2 <- [1,30,null,{"value":2}]
[task 2023-10-13T13:50:15.811Z] 13:50:15     INFO -  1697205015811	Marionette	DEBUG	2 -> [0,31,"WebDriver:ExecuteAsyncScript",{"script":"let resolve = arguments[0];\n            let tab = gBrowser.tabs[1];\n            gBrowser.removeTab(tab);\n            let { Ta ... rtESModule(\"resource:///modules/sessionstore/TabStateFlusher.sys.mjs\");\n            TabStateFlusher.flush(tab).then(resolve);","args":[],"newSandbox":true,"sandbox":"default","scriptTimeout":null,"line":132,"filename":"Z:\\task_169720148501929\\build\\tests\\marionette\\tests\\browser\\components\\sessionstore\\test\\marionette\\test_persist_closed_tabs_restore_manually.py"}]
[task 2023-10-13T13:50:15.826Z] 13:50:15     INFO -  1697205015828	Marionette	DEBUG	2 <- [1,31,null,{"value":null}]
[task 2023-10-13T13:50:15.826Z] 13:50:15     INFO -  1697205015830	Marionette	DEBUG	2 -> [0,32,"WebDriver:ExecuteScript",{"script":"return gBrowser.tabs.length;","args":[],"newSandbox":true,"sandbox":"default","line":212,"filename":"Z:\\task_169720148501929\\build\\tests\\marionette\\tests\\browser\\components\\sessionstore\\test\\marionette\\test_persist_closed_tabs_restore_manually.py"}]
[task 2023-10-13T13:50:15.826Z] 13:50:15     INFO -  1697205015831	Marionette	DEBUG	2 <- [1,32,null,{"value":1}]
[task 2023-10-13T13:50:15.833Z] 13:50:15     INFO -  1697205015833	Marionette	DEBUG	2 -> [0,33,"WebDriver:ExecuteScript",{"script":"const lazy = {};\n                ChromeUtils.defineESModuleGetters(lazy, {\n                    SessionStore: \"resource:///mod ...                    return state.windows[0]._closedTabs.length;\n                }\n                return checkForClosedTabs();","args":[],"newSandbox":true,"sandbox":"default","line":146,"filename":"Z:\\task_169720148501929\\build\\tests\\marionette\\tests\\browser\\components\\sessionstore\\test\\marionette\\test_persist_closed_tabs_restore_manually.py"}]
[task 2023-10-13T13:50:15.841Z] 13:50:15     INFO -  1697205015848	Marionette	DEBUG	2 <- [1,33,null,{"value":1}]
[task 2023-10-13T13:50:15.849Z] 13:50:15     INFO -  1697205015849	Marionette	DEBUG	2 -> [0,34,"Marionette:GetContext",{}]
[task 2023-10-13T13:50:15.849Z] 13:50:15     INFO -  1697205015849	Marionette	DEBUG	2 <- [1,34,null,{"value":"chrome"}]
[task 2023-10-13T13:50:15.850Z] 13:50:15     INFO -  1697205015850	Marionette	DEBUG	2 -> [0,35,"Marionette:SetContext",{"value":"chrome"}]
[task 2023-10-13T13:50:15.850Z] 13:50:15     INFO -  1697205015850	Marionette	DEBUG	2 <- [1,35,null,{"value":null}]
[task 2023-10-13T13:50:15.850Z] 13:50:15     INFO -  1697205015850	Marionette	DEBUG	2 -> [0,36,"WebDriver:TakeScreenshot",{"id":null,"full":true,"hash":false,"scroll":true}]
[task 2023-10-13T13:50:15.880Z] 13:50:15     INFO -  1697205015886	Marionette	DEBUG	2 <- [1,36,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABQAAAAPQCAYAAABpCtbiAAAgAElEQVR4XuzdC7gkZXkn8G9G0axhMKsmKoyBqAGEfeIFjKCRFRNREQfReAN1VQQGE28ImngBwUuio ... 8fW4xAQIECBAgQIAAAQIECBAgQIDASEAAHJ1tKgECBAgQIECAAAECBAgQIECAwE9AAPx9bjEBAgQIECBAgAABAgQIECBAgMBIICFZxORc6fK2AAAAAElFTkSuQmCC"}]
[task 2023-10-13T13:50:15.890Z] 13:50:15     INFO -  1697205015890	Marionette	DEBUG	2 -> [0,37,"Marionette:SetContext",{"value":"chrome"}]
[task 2023-10-13T13:50:15.890Z] 13:50:15     INFO -  1697205015890	Marionette	DEBUG	2 <- [1,37,null,{"value":null}]
[task 2023-10-13T13:50:15.892Z] 13:50:15     INFO -  1697205015892	Marionette	DEBUG	2 -> [0,38,"Marionette:GetContext",{}]
[task 2023-10-13T13:50:15.892Z] 13:50:15     INFO -  1697205015892	Marionette	DEBUG	2 <- [1,38,null,{"value":"chrome"}]
[task 2023-10-13T13:50:15.893Z] 13:50:15     INFO -  1697205015893	Marionette	DEBUG	2 -> [0,39,"Marionette:SetContext",{"value":"content"}]
[task 2023-10-13T13:50:15.893Z] 13:50:15     INFO -  1697205015893	Marionette	DEBUG	2 <- [1,39,null,{"value":null}]
[task 2023-10-13T13:50:15.894Z] 13:50:15     INFO -  1697205015894	Marionette	DEBUG	2 -> [0,40,"WebDriver:GetPageSource",{}]
[task 2023-10-13T13:50:15.894Z] 13:50:15     INFO -  1697205015894	Marionette	DEBUG	2 <- [1,40,{"error":"no such window","message":"Browsing context has been discarded","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Er ... ote/content/marionette/server.sys.mjs:263:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20\n"},null]
[task 2023-10-13T13:50:15.895Z] 13:50:15     INFO -  1697205015895	Marionette	DEBUG	2 -> [0,41,"Marionette:SetContext",{"value":"chrome"}]
[task 2023-10-13T13:50:15.895Z] 13:50:15     INFO -  1697205015895	Marionette	DEBUG	2 <- [1,41,null,{"value":null}]
[task 2023-10-13T13:50:15.896Z] 13:50:15     INFO -  Failed to gather test failure debug: Browsing context has been discarded
[task 2023-10-13T13:50:15.896Z] 13:50:15     INFO -  stacktrace:
[task 2023-10-13T13:50:15.896Z] 13:50:15     INFO -  	RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
[task 2023-10-13T13:50:15.896Z] 13:50:15     INFO -  	WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:189:5
[task 2023-10-13T13:50:15.897Z] 13:50:15     INFO -  	NoSuchWindowError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:630:5
[task 2023-10-13T13:50:15.897Z] 13:50:15     INFO -  	assert.that/<@chrome://remote/content/shared/webdriver/Assert.sys.mjs:485:13
[task 2023-10-13T13:50:15.897Z] 13:50:15     INFO -  	assert.open@chrome://remote/content/shared/webdriver/Assert.sys.mjs:147:4
[task 2023-10-13T13:50:15.897Z] 13:50:15     INFO -  	GeckoDriver.prototype.getPageSource@chrome://remote/content/marionette/driver.sys.mjs:943:15
[task 2023-10-13T13:50:15.897Z] 13:50:15     INFO -  	despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
[task 2023-10-13T13:50:15.898Z] 13:50:15     INFO -  	execute@chrome://remote/content/marionette/server.sys.mjs:289:16
[task 2023-10-13T13:50:15.898Z] 13:50:15     INFO -  	onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
[task 2023-10-13T13:50:15.898Z] 13:50:15     INFO -  	onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
[task 2023-10-13T13:50:15.898Z] 13:50:15     INFO -  	_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
[task 2023-10-13T13:50:15.899Z] 13:50:15    ERROR -  TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/marionette/test_persist_closed_tabs_restore_manually.py TestSessionRestoreClosedTabs.test_restore | AssertionError: 1 != 2 : Should have 2 closed tab after restoring session.
[task 2023-10-13T13:50:15.899Z] 13:50:15     INFO -  Traceback (most recent call last):
[task 2023-10-13T13:50:15.899Z] 13:50:15     INFO -    File "Z:\task_169720148501929\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 197, in run
[task 2023-10-13T13:50:15.899Z] 13:50:15     INFO -      testMethod()
[task 2023-10-13T13:50:15.900Z] 13:50:15     INFO -    File "Z:\task_169720148501929\build\tests\marionette\tests\browser\components\sessionstore\test\marionette\test_persist_closed_tabs_restore_manually.py", line 145, in test_restore
[task 2023-10-13T13:50:15.900Z] 13:50:15     INFO -      self.assertEqual(
[task 2023-10-13T13:50:15.900Z] 13:50:15     INFO -  TEST-INFO took 5496ms
[task 2023-10-13T13:50:15.900Z] 13:50:15     INFO -  1697205015899	Marionette	DEBUG	2 -> [0,42,"Marionette:GetContext",{}]
[task 2023-10-13T13:50:15.900Z] 13:50:15     INFO -  1697205015899	Marionette	DEBUG	2 <- [1,42,null,{"value":"chrome"}]
[task 2023-10-13T13:50:15.900Z] 13:50:15     INFO -  1697205015900	Marionette	DEBUG	2 -> [0,43,"WebDriver:DeleteSession",{}]
[task 2023-10-13T13:50:15.901Z] 13:50:15     INFO -  1697205015901	Marionette	TRACE	[1] MarionetteCommands actor destroyed for window id 2
[task 2023-10-13T13:50:15.902Z] 13:50:15     INFO -  1697205015902	Marionette	DEBUG	2 <- [1,43,null,{"value":null}]
[task 2023-10-13T13:50:15.903Z] 13:50:15     INFO -  1697205015903	Marionette	DEBUG	Closed connection 2
[task 2023-10-13T13:50:15.974Z] 13:50:15     INFO -  Application command: Z:\task_169720148501929\build\application\firefox\firefox.exe -no-remote -marionette --wait-for-browser -profile C:\Users\task_169720148501929\AppData\Local\Temp\tmp32bvdwes.mozrunner
[task 2023-10-13T13:50:16.146Z] 13:50:16     INFO -  DEBUG: Adding blocker AddonManager: shutting down. for phase profile-before-change
[task 2023-10-13T13:50:16.170Z] 13:50:16     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase profile-before-change
[task 2023-10-13T13:50:16.175Z] 13:50:16     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change-telemetry) for phase profile-before-change-telemetry
[task 2023-10-13T13:50:16.175Z] 13:50:16     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change) for phase IOUtils: waiting for sendTelemetry IO to complete
task 2023-10-13T13:50:16.175Z] 13:50:16     INFO -  DEBUG: Adding blocker IOUtils Blocker (xpcom-will-shutdown) for phase xpcom-will-shutdown
[task 2023-10-13T13:50:16.175Z] 13:50:16     INFO -  DEBUG: Adding blocker IOUtils Blocker (profile-before-change-telemetry) for phase IOUtils: waiting for xpcomWillShutdown IO to complete
[task 2023-10-13T13:50:16.193Z] 13:50:16     INFO -  DEBUG: Adding blocker Flush WebExtension StartupCache for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2023-10-13T13:50:16.240Z] 13:50:16     INFO -  DEBUG: Adding blocker JSON store: writing data for 'extensionpreferences' for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2023-10-13T13:50:16.255Z] 13:50:16     INFO -  DEBUG: Adding blocker JSON store: writing data for 'addonStartup' for phase AddonManager: Waiting for providers to shut down.
[task 2023-10-13T13:50:16.269Z] 13:50:16     INFO -  DEBUG: Adding blocker Update add-on blocklist state into add-on DB for phase AddonManager: Waiting to start provider shutdown.
[task 2023-10-13T13:50:16.272Z] 13:50:16     INFO -  DEBUG: Adding blocker XPIProvider shutdown for phase quit-application-granted
[task 2023-10-13T13:50:16.273Z] 13:50:16     INFO -  DEBUG: Adding blocker XPIProvider for phase AddonManager: Waiting for providers to shut down.
[task 2023-10-13T13:50:16.273Z] 13:50:16     INFO -  DEBUG: Adding blocker ServiceWorkerRegistrar: Flushing data for phase profile-before-change
[task 2023-10-13T13:50:16.275Z] 13:50:16     INFO -  DEBUG: Adding blocker CrashMonitor: Writing notifications to file after receiving profile-before-change and awaiting all checkpoints written for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2023-10-13T13:50:16.287Z] 13:50:16     INFO -  DEBUG: Adding blocker TelemetryController: shutting down for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2023-10-13T13:50:16.318Z] 13:50:16     INFO -  DEBUG: Adding blocker EnvironmentAddonBuilder for phase AddonManager: Waiting to start provider shutdown.
[task 2023-10-13T13:50:16.327Z] 13:50:16     INFO -  DEBUG: Adding blocker RemoteSettingsClient - finish IDB access. for phase profile-before-change
[task 2023-10-13T13:50:16.333Z] 13:50:16     INFO -  DEBUG: Adding blocker TerminatoryTelemetry: Waiting to submit telemetry for phase IOUtils: waiting for sendTelemetry IO to complete
[task 2023-10-13T13:50:16.336Z] 13:50:16     INFO -  1697205016336	Marionette	INFO	Marionette enabled
[task 2023-10-13T13:50:16.338Z] 13:50:16     INFO -  1697205016338	Marionette	TRACE	Received observer notification final-ui-startup
[task 2023-10-13T13:50:16.380Z] 13:50:16     INFO -  DEBUG: Adding blocker UserIdleBlocker for phase quit-application-granted
[task 2023-10-13T13:50:16.397Z] 13:50:16     INFO -  DEBUG: Adding blocker PermissionManager: Flushing data for phase xpcom-will-shutdown
[task 2023-10-13T13:50:16.442Z] 13:50:16     INFO -  1697205016456	Marionette	INFO	Listening on port 2828
[task 2023-10-13T13:50:16.458Z] 13:50:16     INFO -  1697205016458	Marionette	DEBUG	Marionette is listening
[task 2023-10-13T13:50:16.459Z] 13:50:16     INFO -  DEBUG: Completed blocker Update add-on blocklist state into add-on DB for phase AddonManager: Waiting to start provider shutdown.
[task 2023-10-13T13:50:16.461Z] 13:50:16     INFO -  DEBUG: Adding blocker ClientManagerService: start destroying IPC actors early for phase xpcom-will-shutdown
[task 2023-10-13T13:50:16.490Z] 13:50:16     INFO -  1697205016504	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:52882
[task 2023-10-13T13:50:16.583Z] 13:50:16     INFO -  DEBUG: Adding blocker MediaShutdownManager: shutdown for phase profile-before-change
[task 2023-10-13T13:50:16.599Z] 13:50:16     INFO -  1697205016602	Marionette	DEBUG	Closed connection 0
[task 2023-10-13T13:50:16.605Z] 13:50:16     INFO -  1697205016605	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:52885
[task 2023-10-13T13:50:16.617Z] 13:50:16     INFO -  1697205016622	Marionette	DEBUG	Closed connection 1
[task 2023-10-13T13:50:16.623Z] 13:50:16     INFO -  1697205016623	Marionette	DEBUG	Accepted connection 2 from 127.0.0.1:52886
[task 2023-10-13T13:50:16.634Z] 13:50:16     INFO -  DEBUG: Adding blocker ServiceWorkerShutdownBlocker: shutting down Service Workers for phase profile-change-teardown
[task 2023-10-13T13:50:16.638Z] 13:50:16     INFO -  DEBUG: Adding blocker ContentParent: id=229c2075b00 for phase xpcom-will-shutdown
[task 2023-10-13T13:50:16.639Z] 13:50:16     INFO -  DEBUG: Adding blocker ContentParent: id=229c2075b00 for phase profile-before-change
[task 2023-10-13T13:50:16.639Z] 13:50:16     INFO -  DEBUG: Adding blocker ContentParent: id=229c2075b00 for phase quit-application-granted
[task 2023-10-13T13:50:16.645Z] 13:50:16     INFO -  DEBUG: Adding blocker SitePermsAddonProvider for phase AddonManager: Waiting for providers to shut down.
[task 2023-10-13T13:50:16.645Z] 13:50:16     INFO -  DEBUG: Adding blocker GMPProvider for phase AddonManager: Waiting for providers to shut down.
[task 2023-10-13T13:50:16.656Z] 13:50:16     INFO -  DEBUG: Adding blocker JSON store: writing data for 'handlers' for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2023-10-13T13:50:16.668Z] 13:50:16     INFO -  1697205016668	Marionette	DEBUG	2 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2023-10-13T13:50:16.672Z] 13:50:16     INFO -  1697205016671	Marionette	DEBUG	Waiting for initial application window
[task 2023-10-13T13:50:16.683Z] 13:50:16     INFO -  DEBUG: Adding blocker Remote Settings profile-before-change for phase profile-before-change
[task 2023-10-13T13:50:16.738Z] 13:50:16     INFO -  DEBUG: Adding blocker ContentParent: id=229c2ec2600 for phase xpcom-will-shutdown
[task 2023-10-13T13:50:16.739Z] 13:50:16     INFO -  DEBUG: Adding blocker ContentParent: id=229c2ec2600 for phase profile-before-change
[task 2023-10-13T13:50:16.739Z] 13:50:16     INFO -  DEBUG: Adding blocker ContentParent: id=229c2ec2600 for phase quit-application-granted
[task 2023-10-13T13:50:16.849Z] 13:50:16     INFO -  DEBUG: Adding blocker JSON store: writing data for 'shieldpreferenceexperiments' for phase IOUtils: waiting for profileBeforeChange IO to complete
[task 2023-10-13T13:50:16.884Z] 13:50:16     INFO -  console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
[task 2023-10-13T13:50:16.887Z] 13:50:16     INFO -  console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.sys.mjs", 399))
[task 2023-10-13T13:50:17.648Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb7000 for phase xpcom-will-shutdown
[task 2023-10-13T13:50:17.649Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb7000 for phase profile-before-change
[task 2023-10-13T13:50:17.649Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb7000 for phase quit-application-granted
[task 2023-10-13T13:50:17.656Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb9800 for phase xpcom-will-shutdown
[task 2023-10-13T13:50:17.657Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb9800 for phase profile-before-change
[task 2023-10-13T13:50:17.657Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb9800 for phase quit-application-granted
[task 2023-10-13T13:50:17.664Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb7a00 for phase xpcom-will-shutdown
[task 2023-10-13T13:50:17.664Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb7a00 for phase profile-before-change
[task 2023-10-13T13:50:17.664Z] 13:50:17     INFO -  DEBUG: Adding blocker ContentParent: id=229c3eb7a00 for phase quit-application-granted
[task 2023-10-13T13:50:17.712Z] 13:50:17     INFO -  DEBUG: Adding blocker PageActions: purging unregistered actions from cache for phase profile-before-change
[task 2023-10-13T13:50:17.726Z] 13:50:17     INFO -  DEBUG: Adding blocker Places Clients shutdown for phase profile-change-teardown
[task 2023-10-13T13:50:17.727Z] 13:50:17     INFO -  DEBUG: Adding blocker Places Connection shutdown for phase profile-before-change
[task 2023-10-13T13:50:17.743Z] 13:50:17     INFO -  DEBUG: Adding blocker sanitize.js: Sanitize on shutdown for phase Places Clients shutdown
```