Bug: Intermittent browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-04-22 12:36:27+00:00
Resolved: 2025-01-08 12:06:51+00:00

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

---
```
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - Buffered messages finished
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | Test timed out - 
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - GECKO(5396) | console.log: "_cleanup from onBeforeAddons"
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - GECKO(5396) | console.log: "_cleanup from onProfileAfterChange"
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - GECKO(5396) | console.log: "_cleanup from onBeforeUIStartup"
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - GECKO(5396) | console.log: "_cleanup from onAllWindowsRestored"
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | Engine is inactive at the end of the test - 
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - GECKO(5396) | MEMORY STAT | vsize 1333MB | vsizeMaxContiguous 178MB | residentFast 396MB | heapAllocated 337MB
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | took 45031ms
[task 2023-04-22T11:35:49.599Z] 11:35:49     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-22T11:35:49.607Z] 11:35:49     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_extensionsettings.js | Found a tab after previous test timed out: http://mochi.test:8888/browser/browser/components/enterprisepolicies/tests/browser/extensionsettings.html - 
[task 2023-04-22T11:35:49.607Z] 11:35:49     INFO - checking window state
[task 2023-04-22T11:35:49.607Z] 11:35:49     INFO - GECKO(5396) | must wait for focus
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - Console message: 1682163349512	addons.manager	WARN	InstallListener threw exception when calling onDownloadCancelled: TypeError: can't access property "removeProgressListener", this.webProgress is undefined(chrome://global/content/elements/browser-custom-element.js:885:7) JS Stack trace: removeProgressListener@browser-custom-element.js:885:7
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - unregister@AddonManager.jsm:346:20
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - onDownloadCancelled@AddonManager.jsm:384:10
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - callInstallListeners@AddonManager.jsm:1495:33
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - callInstallListeners@AddonManager.jsm:3761:54
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - _callInstallListeners@XPIInstall.jsm:2062:32
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - cancel@XPIInstall.jsm:1421:14
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - cancel@XPIInstall.jsm:2267:13
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - cancel@XPIInstall.jsm:2821:22
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - cancelInstall@AddonManager.jsm:355:20
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - observe@AddonManager.jsm:368:10
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - _endRemoveTab@tabbrowser.js:4342:15
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - removeTab@tabbrowser.js:3981:14
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - Tester_waitForWindowsState@browser-test.js:456:18
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - nextTest@browser-test.js:1003:10
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - async*timeoutFn@browser-test.js:1434:18
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - setTimeout handler*Tester_execTest@browser-test.js:1374:80
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - nextTest/<@browser-test.js:1116:14
[task 2023-04-22T11:35:49.662Z] 11:35:49     INFO - SimpleTest.waitForFocus/<@SimpleTest.js:1056:13
```