Bug: Intermittent TEST-UNEXPECTED-TIMEOUT | WD | expected OK | console.error: (new Error("SessionFile is closed"))
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-04-26 10:19:58+00:00
Resolved: 2024-06-19 12:01:12+00:00

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

---
```
[task 2023-04-26T09:50:12.252Z] 09:50:12     INFO - *** You are running in background task mode. ***
[task 2023-04-26T09:50:12.266Z] 09:50:12     INFO - *** You are running in headless mode.
[task 2023-04-26T09:50:12.407Z] 09:50:12     INFO - console.error: "C:\\Users\\task_168250085193481\\AppData\\Local\\Temp\\wdspec-yq2eykp4\\pytest\\test_profile_root0\\geckodriver-test\\rust_mozprofileqpLw4Y\\storage" "to-be-removed" 0 "" ""
[task 2023-04-26T09:50:12.439Z] 09:50:12     INFO - console.error: 0
[task 2023-04-26T09:50:12.448Z] 09:50:12     INFO - console.error: 0
[task 2023-04-26T09:50:12.449Z] 09:50:12     INFO - JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 645: TypeError: can't access property "inRDMPane", this.browsingContext is null
[task 2023-04-26T09:50:12.449Z] 09:50:12     INFO - JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 645: TypeError: can't access property "inRDMPane", this.browsingContext is null
[task 2023-04-26T09:50:12.533Z] 09:50:12     INFO - JavaScript error: resource://gre/modules/AsyncShutdown.sys.mjs, line 724: Error: Phase "IOUtils: waiting for profileBeforeChange IO to complete" is finished, it is too late to register completion condition "JSON store: writing data for 'shieldpreferenceexperiments'"
[task 2023-04-26T09:50:12.611Z] 09:50:12     INFO - console.error: "Failed to import bookmarks from chrome://browser/content/default-bookmarks.html: Error: places.sqlite#0: cannot execute operation Bookmarks.jsm: insertBookmarkTree, the connection is already closing"
[task 2023-04-26T09:50:12.627Z] 09:50:12     INFO - console.error: "Bookmarks.html file could be corrupt. " (new Error("places.sqlite#0: cannot execute operation Bookmarks.jsm: insertBookmarkTree, the connection is already closing", "resource://gre/modules/Sqlite.sys.mjs", 502))
[task 2023-04-26T09:50:13.334Z] 09:50:13     INFO - ###!!! [Parent][DispatchAsyncMessage] Error: PBackgroundIDBFactory::Msg_PBackgroundIDBFactoryRequestConstructor Value error: message was deserialized, but contained an illegal value
[task 2023-04-26T09:50:13.348Z] 09:50:13     INFO - ###!!! [Parent][DispatchAsyncMessage] Error: PBackgroundIDBFactory::Msg_PBackgroundIDBFactoryRequestConstructor Value error: message was deserialized, but contained an illegal value
[task 2023-04-26T09:50:13.348Z] 09:50:13     INFO - console.error: PushService:
[task 2023-04-26T09:50:13.348Z] 09:50:13     INFO -   clearOriginData: Error clearing origin data:
[task 2023-04-26T09:50:13.349Z] 09:50:13     INFO -   UnknownError
[task 2023-04-26T09:50:13.349Z] 09:50:13     INFO - console.error: PushService:
[task 2023-04-26T09:50:13.349Z] 09:50:13     INFO -   stateChangeProcessEnqueue: Error transitioning state
[task 2023-04-26T09:50:13.349Z] 09:50:13     INFO -   UnknownError
[task 2023-04-26T09:50:13.350Z] 09:50:13     INFO - ###!!! [Parent][DispatchAsyncMessage] Error: PBackgroundIDBFactory::Msg_PBackgroundIDBFactoryRequestConstructor Value error: message was deserialized, but contained an illegal value
[task 2023-04-26T09:50:13.350Z] 09:50:13     INFO - ###!!! [Parent][DispatchAsyncMessage] Error: PBackgroundIDBFactory::Msg_PBackgroundIDBFactoryRequestConstructor Value error: message was deserialized, but contained an illegal value
[task 2023-04-26T09:50:13.431Z] 09:50:13     INFO - console.error: "Cache folder attempt no 1"
[task 2023-04-26T09:50:13.432Z] 09:50:13     INFO - console.error: "started removing C:\\Users\\task_168250085193481\\AppData\\Local\\Temp\\wdspec-yq2eykp4\\pytest\\test_profile_root0\\geckodriver-test\\rust_mozprofileqpLw4Y\\storage\\to-be-removed"
[task 2023-04-26T09:50:13.432Z] 09:50:13     INFO - console.error: "done removing C:\\Users\\task_168250085193481\\AppData\\Local\\Temp\\wdspec-yq2eykp4\\pytest\\test_profile_root0\\geckodriver-test\\rust_mozprofileqpLw4Y\\storage\\to-be-removed. removed 1 entries."
[task 2023-04-26T09:50:13.433Z] 09:50:13     INFO - console.warn: "Skipping Glean as no metrics id is passed"
[task 2023-04-26T09:50:26.742Z] 09:50:26     INFO - console.error: (new Error("SessionFile is closed", "resource:///modules/sessionstore/SessionFile.sys.mjs", 370))
[task 2023-04-26T09:50:31.923Z] 09:50:31     INFO - TEST-UNEXPECTED-TIMEOUT | /_mozilla/webdriver/new_session/profile_root.py | expected OK
[task 2023-04-26T09:50:31.923Z] 09:50:31     INFO - TEST-INFO took 30020ms
```