Bug: Intermittent TV browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a
Status: NEW
Priority: P5
Created: 2023-07-07 01:40:36+00:00
Resolved: 2023-07-10 20:18:38+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=421803120&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Yv-BjU42QzOesPfDcz384Q/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Yv-BjU42QzOesPfDcz384Q/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-07-07T01:14:05.252Z] 01:14:05     INFO - TEST-START | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js
[task 2023-07-07T01:14:05.260Z] 01:14:05     INFO - Entering test bound test_sessions_get_recently_closed_private_incognito_spanning
[task 2023-07-07T01:14:05.545Z] 01:14:05     INFO - Extension loaded
[task 2023-07-07T01:14:09.148Z] 01:14:09     INFO - GECKO(5342) | 1688692449148	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-07-07T01:14:09.594Z] 01:14:09     INFO - GECKO(5342) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-07-07T01:14:10.098Z] 01:14:10     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-07-07T01:14:10.098Z] 01:14:10     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-07-07T01:14:10.098Z] 01:14:10     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-07-07T01:14:10.098Z] 01:14:10     INFO - 
[task 2023-07-07T01:14:12.590Z] 01:14:12     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2023-07-07T01:14:13.949Z] 01:14:13     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?notprivate" line: 0}]
[task 2023-07-07T01:14:14.702Z] 01:14:14     INFO - open & close a tab in the private window with URL: https://example.org/?private
[task 2023-07-07T01:14:15.552Z] 01:14:15     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?private" line: 0}]
[task 2023-07-07T01:14:15.745Z] 01:14:15     INFO - GECKO(5342) | must wait for focus
[task 2023-07-07T01:14:16.004Z] 01:14:16     INFO - Sending 'restore' to attempt restore the closed private tab
[task 2023-07-07T01:14:17.301Z] 01:14:17     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | Restoring the private tab didn't match expected result - {"url":"https://example.org/?private","incognito":true,"index":2} deepEqual {"url":"https://example.org/?private","incognito":true,"index":2} - 
[task 2023-07-07T01:14:17.301Z] 01:14:17     INFO - GECKO(5342) | must wait for focus
[task 2023-07-07T01:14:17.617Z] 01:14:17     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?private" line: 0}]
[task 2023-07-07T01:14:17.700Z] 01:14:17     INFO - Sending 'restore' to restore the non-private tab
[task 2023-07-07T01:14:19.224Z] 01:14:19     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | Restoring the non-private tab didn't match expected result - {"url":"https://example.org/?notprivate","incognito":false,"index":1} deepEqual {"url":"https://example.org/?notprivate","incognito":false,"index":1} - 
[task 2023-07-07T01:14:19.411Z] 01:14:19     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?notprivate" line: 0}]
[task 2023-07-07T01:14:21.208Z] 01:14:21     INFO - GECKO(5342) | [Parent 5342, ProcessHangMon] WARNING: pipe error: Socket is not connected: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:689
[task 2023-07-07T01:14:21.281Z] 01:14:21     INFO - Leaving test bound test_sessions_get_recently_closed_private_incognito_spanning
[task 2023-07-07T01:14:21.281Z] 01:14:21     INFO - Entering test bound test_sessions_get_recently_closed_private_incognito_spanning_pref_off
[task 2023-07-07T01:14:21.327Z] 01:14:21     INFO - Extension loaded
[task 2023-07-07T01:14:24.792Z] 01:14:24     INFO - GECKO(5342) | 1688692464791	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-07-07T01:14:25.165Z] 01:14:25     INFO - GECKO(5342) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-07-07T01:14:25.664Z] 01:14:25     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-07-07T01:14:25.664Z] 01:14:25     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-07-07T01:14:25.664Z] 01:14:25     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-07-07T01:14:25.664Z] 01:14:25     INFO - 
[task 2023-07-07T01:14:27.491Z] 01:14:27     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2023-07-07T01:14:28.410Z] 01:14:28     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?notprivate" line: 0}]
[task 2023-07-07T01:14:28.579Z] 01:14:28     INFO - open & close a tab in the private window with URL: https://example.org/?private
[task 2023-07-07T01:14:29.584Z] 01:14:29     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?private" line: 0}]
[task 2023-07-07T01:14:29.804Z] 01:14:29     INFO - GECKO(5342) | must wait for focus
[task 2023-07-07T01:14:30.026Z] 01:14:30     INFO - Sending 'restore' to attempt restore the closed private tab
[task 2023-07-07T01:14:31.219Z] 01:14:31     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | Restoring the private tab didn't match expected result - {"url":"https://example.org/?private","incognito":true,"index":2} deepEqual {"url":"https://example.org/?private","incognito":true,"index":2} - 
[task 2023-07-07T01:14:31.220Z] 01:14:31     INFO - GECKO(5342) | must wait for focus
[task 2023-07-07T01:14:31.490Z] 01:14:31     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?private" line: 0}]
[task 2023-07-07T01:14:31.534Z] 01:14:31     INFO - Sending 'restore' to restore the non-private tab
[task 2023-07-07T01:14:32.957Z] 01:14:32     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | Restoring the non-private tab didn't match expected result - {"url":"https://example.org/?notprivate","incognito":false,"index":1} deepEqual {"url":"https://example.org/?notprivate","incognito":false,"index":1} - 
[task 2023-07-07T01:14:33.082Z] 01:14:33     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?notprivate" line: 0}]
[task 2023-07-07T01:14:34.921Z] 01:14:34     INFO - Leaving test bound test_sessions_get_recently_closed_private_incognito_spanning_pref_off
[task 2023-07-07T01:14:34.922Z] 01:14:34     INFO - Entering test bound test_sessions_get_recently_closed_private_incognito_not_allowed
[task 2023-07-07T01:14:35.012Z] 01:14:35     INFO - Extension loaded
[task 2023-07-07T01:14:38.363Z] 01:14:38     INFO - GECKO(5342) | 1688692478362	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-07-07T01:14:38.703Z] 01:14:38     INFO - GECKO(5342) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-07-07T01:14:39.208Z] 01:14:39     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-07-07T01:14:39.208Z] 01:14:39     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-07-07T01:14:39.208Z] 01:14:39     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-07-07T01:14:39.208Z] 01:14:39     INFO - 
[task 2023-07-07T01:14:41.061Z] 01:14:41     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2023-07-07T01:14:42.115Z] 01:14:42     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?notprivate" line: 0}]
[task 2023-07-07T01:14:42.322Z] 01:14:42     INFO - open & close a tab in the private window with URL: https://example.org/?private
[task 2023-07-07T01:14:43.181Z] 01:14:43     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?private" line: 0}]
[task 2023-07-07T01:14:43.423Z] 01:14:43     INFO - GECKO(5342) | must wait for focus
[task 2023-07-07T01:14:43.639Z] 01:14:43     INFO - Sending 'restore' to attempt restore the closed private tab
[task 2023-07-07T01:14:43.813Z] 01:14:43     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | Restoring the private tab didn't match expected result - {"error":"Could not restore object using sessionId."} deepEqual {"error":"Could not restore object using sessionId."} - 
[task 2023-07-07T01:14:43.813Z] 01:14:43     INFO - GECKO(5342) | must wait for focus
[task 2023-07-07T01:14:44.013Z] 01:14:44     INFO - Sending 'restore' to restore the non-private tab
[task 2023-07-07T01:14:45.272Z] 01:14:45     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | Restoring the non-private tab didn't match expected result - {"url":"https://example.org/?notprivate","incognito":false,"index":1} deepEqual {"url":"https://example.org/?notprivate","incognito":false,"index":1} - 
[task 2023-07-07T01:14:45.463Z] 01:14:45     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?notprivate" line: 0}]
[task 2023-07-07T01:14:46.957Z] 01:14:46     INFO - Leaving test bound test_sessions_get_recently_closed_private_incognito_not_allowed
[task 2023-07-07T01:14:46.957Z] 01:14:46     INFO - Entering test bound test_sessions_get_recently_closed_private_incognito_not_allowed_pref_off
[task 2023-07-07T01:14:46.979Z] 01:14:46     INFO - Extension loaded
[task 2023-07-07T01:14:50.279Z] 01:14:50     INFO - GECKO(5342) | 1688692490278	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-07-07T01:14:50.588Z] 01:14:50     INFO - GECKO(5342) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-07-07T01:14:51.154Z] 01:14:51     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-07-07T01:14:51.154Z] 01:14:51     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-07-07T01:14:51.154Z] 01:14:51     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-07-07T01:14:51.154Z] 01:14:51     INFO - 
[task 2023-07-07T01:14:52.939Z] 01:14:52     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2023-07-07T01:14:53.946Z] 01:14:53     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?notprivate" line: 0}]
[task 2023-07-07T01:14:54.146Z] 01:14:54     INFO - open & close a tab in the private window with URL: https://example.org/?private
[task 2023-07-07T01:14:55.147Z] 01:14:55     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?private" line: 0}]
[task 2023-07-07T01:14:55.350Z] 01:14:55     INFO - GECKO(5342) | must wait for focus
[task 2023-07-07T01:14:55.563Z] 01:14:55     INFO - Sending 'restore' to attempt restore the closed private tab
[task 2023-07-07T01:14:55.771Z] 01:14:55     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | Restoring the private tab didn't match expected result - {"error":"Could not restore object using sessionId."} deepEqual {"error":"Could not restore object using sessionId."} - 
[task 2023-07-07T01:14:55.771Z] 01:14:55     INFO - GECKO(5342) | must wait for focus
[task 2023-07-07T01:14:55.974Z] 01:14:55     INFO - Sending 'restore' to restore the non-private tab
[task 2023-07-07T01:14:57.650Z] 01:14:57     INFO - TEST-PASS | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | Restoring the non-private tab didn't match expected result - {"url":"https://example.org/?notprivate","incognito":false,"index":1} deepEqual {"url":"https://example.org/?notprivate","incognito":false,"index":1} - 
[task 2023-07-07T01:14:57.818Z] 01:14:57     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/?notprivate" line: 0}]
[task 2023-07-07T01:14:59.261Z] 01:14:59     INFO - Leaving test bound test_sessions_get_recently_closed_private_incognito_not_allowed_pref_off
[task 2023-07-07T01:14:59.387Z] 01:14:59     INFO - TEST-INFO | started process screencapture
[task 2023-07-07T01:14:59.511Z] 01:14:59     INFO - TEST-INFO | screencapture: exit 0
[task 2023-07-07T01:14:59.511Z] 01:14:59     INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - 
[task 2023-07-07T01:14:59.511Z] 01:14:59     INFO - GECKO(5342) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2023-07-07T01:14:59.512Z] 01:14:59     INFO - GECKO(5342) | MEMORY STAT | vsize 16132MB | residentFast 330MB | heapAllocated 145MB
[task 2023-07-07T01:14:59.512Z] 01:14:59     INFO - TEST-OK | browser/components/extensions/test/browser/browser_ext_sessions_restore_private.js | took 54135ms
[task 2023-07-07T01:14:59.512Z] 01:14:59     INFO - checking window state
[task 2023-07-07T01:14:59.520Z] 01:14:59     INFO - GECKO(5342) | Completed ShutdownLeaks collections in process 5342
[task 2023-07-07T01:14:59.520Z] 01:14:59     INFO - TEST-START | Shutdown
[task 2023-07-07T01:14:59.521Z] 01:14:59     INFO - Browser Chrome Test Summary
[task 2023-07-07T01:14:59.521Z] 01:14:59     INFO - Passed:  8
[task 2023-07-07T01:14:59.522Z] 01:14:59     INFO - Failed:  1
[task 2023-07-07T01:14:59.523Z] 01:14:59     INFO - Todo:    0
[task 2023-07-07T01:14:59.523Z] 01:14:59     INFO - Mode:    e10s
[task 2023-07-07T01:14:59.523Z] 01:14:59     INFO - *** End BrowserChrome Test Results ***
```