Bug: Intermittent TEST-UNEXPECTED-TIMEOUT | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | application timed out after 370 seconds with no output
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-02-26 00:57:36+00:00
Resolved: 2021-05-04 17:05:20+00:00

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

---
```
[task 2021-02-25T23:39:11.724Z] 23:39:11     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js
[task 2021-02-25T23:39:11.968Z] 23:39:11     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 00000133E0AAF800 == 3 [pid = 540] [id = 17]
[task 2021-02-25T23:39:11.968Z] 23:39:11     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (00000133DA8E5740) [pid = 540] [serial = 40] [outer = 0000000000000000]
[task 2021-02-25T23:39:11.968Z] 23:39:11     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (00000133E0AB3800) [pid = 540] [serial = 41] [outer = 00000133DA8E5740]
[task 2021-02-25T23:39:11.987Z] 23:39:11     INFO - GECKO(1320) | Waiting for browser load
[task 2021-02-25T23:39:11.987Z] 23:39:11     INFO - GECKO(1320) | Waiting for browser state change
[task 2021-02-25T23:39:12.005Z] 23:39:12     INFO - GECKO(1320) | Saw state f0001 and status 0
[task 2021-02-25T23:39:12.056Z] 23:39:12     INFO - GECKO(1320) | [Child 540, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-02-25T23:39:12.056Z] 23:39:12     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (00000133E2C31400) [pid = 540] [serial = 42] [outer = 00000133DA8E5740]
[task 2021-02-25T23:39:12.115Z] 23:39:12     INFO - GECKO(1320) | Saw state c0010 and status 0
[task 2021-02-25T23:39:12.116Z] 23:39:12     INFO - GECKO(1320) | Browser got expected state change http://mochi.test:8888/browser/browser/components/enterprisepolicies/tests/browser/extensionsettings.html
[task 2021-02-25T23:39:12.668Z] 23:39:12     INFO - GECKO(1320) | console.log: "_cleanup from onBeforeAddons"
[task 2021-02-25T23:39:12.698Z] 23:39:12     INFO - GECKO(1320) | console.log: "_cleanup from onProfileAfterChange"
[task 2021-02-25T23:39:12.716Z] 23:39:12     INFO - GECKO(1320) | console.log: "_cleanup from onBeforeUIStartup"
[task 2021-02-25T23:39:12.726Z] 23:39:12     INFO - GECKO(1320) | console.log: "_cleanup from onAllWindowsRestored"
[task 2021-02-25T23:39:12.736Z] 23:39:12     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 00000133E0AB4000 == 4 [pid = 540] [id = 18]
[task 2021-02-25T23:39:12.736Z] 23:39:12     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (00000133DA8E5AC0) [pid = 540] [serial = 43] [outer = 0000000000000000]
[task 2021-02-25T23:39:12.736Z] 23:39:12     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (00000133E1376000) [pid = 540] [serial = 44] [outer = 00000133DA8E5AC0]
[task 2021-02-25T23:39:12.755Z] 23:39:12     INFO - GECKO(1320) | Waiting for browser load
[task 2021-02-25T23:39:12.755Z] 23:39:12     INFO - GECKO(1320) | Waiting for browser state change
[task 2021-02-25T23:39:12.786Z] 23:39:12     INFO - GECKO(1320) | Saw state f0001 and status 0
[task 2021-02-25T23:39:12.817Z] 23:39:12     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (00000133E2C37C00) [pid = 540] [serial = 45] [outer = 00000133DA8E5AC0]
[task 2021-02-25T23:39:12.896Z] 23:39:12     INFO - GECKO(1320) | Saw state c0010 and status 0
[task 2021-02-25T23:39:12.896Z] 23:39:12     INFO - GECKO(1320) | Browser got expected state change http://mochi.test:8888/browser/browser/components/enterprisepolicies/tests/browser/extensionsettings.html
[task 2021-02-25T23:39:14.981Z] 23:39:14     INFO - GECKO(1320) | [Child 9608: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (00000255C309EC00) [pid = 9608] [serial = 131] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:39:14.981Z] 23:39:14     INFO - GECKO(1320) | [Child 9608: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (00000255C2CA6C00) [pid = 9608] [serial = 129] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:39:14.981Z] 23:39:14     INFO - GECKO(1320) | [Child 9608: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (00000255C4B5AC00) [pid = 9608] [serial = 132] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:39:16.421Z] 23:39:16     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 00000133E2C2A400 == 3 [pid = 540] [id = 15] [url = about:blank]
[task 2021-02-25T23:39:16.421Z] 23:39:16     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 00000133E0AAF800 == 2 [pid = 540] [id = 17] [url = http://mochi.test:8888/browser/browser/components/enterprisepolicies/tests/browser/extensionsettings.html]
[task 2021-02-25T23:39:16.421Z] 23:39:16     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 00000133DA83F400 == 1 [pid = 540] [id = 16] [url = about:blank]
[task 2021-02-25T23:39:16.450Z] 23:39:16     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (00000133E0AEF040) [pid = 540] [serial = 36] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:39:16.450Z] 23:39:16     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (00000133DA8E5040) [pid = 540] [serial = 38] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:39:16.450Z] 23:39:16     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (00000133DA8E5740) [pid = 540] [serial = 40] [outer = 0000000000000000] [url = http://mochi.test:8888/browser/browser/components/enterprisepolicies/tests/browser/extensionsettings.html]
[task 2021-02-25T23:39:20.510Z] 23:39:20     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (00000133E2C31400) [pid = 540] [serial = 42] [outer = 0000000000000000] [url = http://mochi.test:8888/browser/browser/components/enterprisepolicies/tests/browser/extensionsettings.html]
[task 2021-02-25T23:39:20.510Z] 23:39:20     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (00000133E2C30000) [pid = 540] [serial = 37] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:39:20.510Z] 23:39:20     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (00000133E1376000) [pid = 540] [serial = 44] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:39:20.510Z] 23:39:20     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (00000133DA8B5000) [pid = 540] [serial = 39] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:39:20.510Z] 23:39:20     INFO - GECKO(1320) | [Child 540: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (00000133E0AB3800) [pid = 540] [serial = 41] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-25T23:43:52.686Z] 23:43:52     INFO -  [Parent 3712, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/components/places/Database.cpp:516
[task 2021-02-25T23:43:52.686Z] 23:43:52     INFO -  [Parent 3712, Main Thread] WARNING: Unable to get a connection to vacuum database: file /builds/worker/checkouts/gecko/storage/VacuumManager.cpp:130
[task 2021-02-25T23:43:52.707Z] 23:43:52     INFO -  [Parent 3712, IPDL Background] WARNING: QuotaManager failure: 'OkIf(gBasePath)', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3215
[task 2021-02-25T23:43:52.707Z] 23:43:52     INFO -  [Parent 3712, IPDL Background] WARNING: Trying to create QuotaManager before profile-do-change! Forgot to call do_get_profile()?: file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3214
[task 2021-02-25T23:43:52.707Z] 23:43:52     INFO -  [Parent 3712, IPDL Background] WARNING: QuotaManager failure: 'OkIf(quotaManager)', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:7647
[task 2021-02-25T23:45:30.507Z] 23:45:30     INFO - Buffered messages logged at 23:39:11
[task 2021-02-25T23:45:30.507Z] 23:45:30     INFO - Entering test bound policies_headjs_startWithCleanSlate
[task 2021-02-25T23:45:30.508Z] 23:45:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | Engine is inactive at the start of the test - 
[task 2021-02-25T23:45:30.508Z] 23:45:30     INFO - Leaving test bound policies_headjs_startWithCleanSlate
[task 2021-02-25T23:45:30.508Z] 23:45:30     INFO - Entering test bound test_install_source_blocked_link
[task 2021-02-25T23:45:30.508Z] 23:45:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2021-02-25T23:45:30.508Z] 23:45:30     INFO - Buffered messages logged at 23:39:12
[task 2021-02-25T23:45:30.508Z] 23:45:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | addon-install-origin-blocked notification shown - 
[task 2021-02-25T23:45:30.508Z] 23:45:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | notification panel open - 
[task 2021-02-25T23:45:30.508Z] 23:45:30     INFO - Leaving test bound test_install_source_blocked_link
[task 2021-02-25T23:45:30.509Z] 23:45:30     INFO - Entering test bound test_install_source_blocked_installtrigger
[task 2021-02-25T23:45:30.509Z] 23:45:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2021-02-25T23:45:30.509Z] 23:45:30     INFO - Buffered messages logged at 23:39:13
[task 2021-02-25T23:45:30.509Z] 23:45:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | addon-install-origin-blocked notification shown - 
[task 2021-02-25T23:45:30.509Z] 23:45:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | notification panel open - 
[task 2021-02-25T23:45:30.509Z] 23:45:30     INFO - Buffered messages finished
[task 2021-02-25T23:45:30.509Z] 23:45:30    ERROR - TEST-UNEXPECTED-TIMEOUT | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | application timed out after 370 seconds with no output
[task 2021-02-25T23:45:30.509Z] 23:45:30    ERROR - Force-terminating active process(es).
[task 2021-02-25T23:45:30.509Z] 23:45:30     INFO - Determining child pids from psutil...
[task 2021-02-25T23:45:30.513Z] 23:45:30     INFO - [7128]
[task 2021-02-25T23:45:30.513Z] 23:45:30     INFO - ==> process 7128 launched child process 1084 ("Z:\task_1614295227\build\application\firefox\firefox.exe" -contentproc --channel="7128.0.1625290135\1177799051" -parentBuildID 20210225224509 -prefsHandle 2200 -prefMapHandle 2176 -prefsLen 1 -prefMapSize 245404 -appdir "Z:\task_1614295227\build\application\firefox\browser" - 7128 "\\.\pipe\gecko-crash-server-pipe.7128" 2272 gpu)
[task 2021-02-25T23:45:30.513Z] 23:45:30     INFO - ==> process 7128 launched child process 540 ("Z:\task_1614295227\build\application\firefox\firefox.exe" -contentproc --channel="7128.6.1984341468\1090833353" -childID 1 -isForBrowser -prefsHandle 2884 -prefMapHandle 2876 -prefsLen 1684 -prefMapSize 245404 -parentBuildID 20210225224509 -appdir "Z:\task_1614295227\build\application\firefox\browser" - 7128 "\\.\pipe\gecko-crash-server-pipe.7128" 2908 tab)
[task 2021-02-25T23:45:30.513Z] 23:45:30     INFO - ==> process 7128 launched child process 9608 ("Z:\task_1614295227\build\application\firefox\firefox.exe" -contentproc --channel="7128.13.360258018\148877643" -childID 2 -isForBrowser -prefsHandle 3240 -prefMapHandle 3236 -prefsLen 1790 -prefMapSize 245404 -parentBuildID 20210225224509 -appdir "Z:\task_1614295227\build\application\firefox\browser" - 7128 "\\.\pipe\gecko-crash-server-pipe.7128" 3228 tab)
[task 2021-02-25T23:45:30.513Z] 23:45:30     INFO - ==> process 7128 launched child process 10492 ("Z:\task_1614295227\build\application\firefox\firefox.exe" -contentproc --channel="7128.20.402406845\1288084226" -childID 3 -isForBrowser -prefsHandle 3404 -prefMapHandle 3400 -prefsLen 1830 -prefMapSize 245404 -parentBuildID 20210225224509 -appdir "Z:\task_1614295227\build\application\firefox\browser" - 7128 "\\.\pipe\gecko-crash-server-pipe.7128" 3240 tab)
[task 2021-02-25T23:45:30.514Z] 23:45:30     INFO - ==> process 7128 launched child process 6340 ("Z:\task_1614295227\build\application\firefox\firefox.exe" -contentproc --channel="7128.27.103424859\1814084575" -childID 4 -isForBrowser -prefsHandle 4120 -prefMapHandle 4112 -prefsLen 8927 -prefMapSize 245404 -parentBuildID 20210225224509 -appdir "Z:\task_1614295227\build\application\firefox\browser" - 7128 "\\.\pipe\gecko-crash-server-pipe.7128" 4136 tab)
[task 2021-02-25T23:45:30.514Z] 23:45:30     INFO - ==> process 7128 launched child process 3824 ("Z:\task_1614295227\build\application\firefox\firefox.exe" -contentproc --channel="7128.34.482265149\1328762865" -childID 5 -isForBrowser -prefsHandle 4668 -prefMapHandle 4640 -prefsLen 10236 -prefMapSize 245404 -parentBuildID 20210225224509 -appdir "Z:\task_1614295227\build\application\firefox\browser" - 7128 "\\.\pipe\gecko-crash-server-pipe.7128" 4724 tab)
[task 2021-02-25T23:45:30.514Z] 23:45:30     INFO - ==> process 7128 launched child process 6348 ("Z:\task_1614295227\build\application\firefox\firefox.exe" -contentproc --channel="7128.41.1768130148\1395802804" -childID 6 -isForBrowser -prefsHandle 5604 -prefMapHandle 5592 -prefsLen 12763 -prefMapSize 245404 -parentBuildID 20210225224509 -appdir "Z:\task_1614295227\build\application\firefox\browser" - 7128 "\\.\pipe\gecko-crash-server-pipe.7128" 5552 tab)
[task 2021-02-25T23:45:30.514Z] 23:45:30     INFO - Found child pids: set([6340, 9608, 1084, 6348, 3824, 10492, 7128, 540])
[task 2021-02-25T23:45:30.514Z] 23:45:30     INFO - Killing process: 6340
[task 2021-02-25T23:45:30.514Z] 23:45:30     INFO - TEST-INFO | started process screenshot
[task 2021-02-25T23:45:30.593Z] 23:45:30     INFO - TEST-INFO | screenshot: exit 0```