Bug: Intermittent browser/components/enterprisepolicies/tests/browser/browser_policy_disable_safemode.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-01-13 11:58:00+00:00
Resolved: 2025-02-17 07:15:40+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=443197842&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MLxL7N0FQMOCDC6B-7ZExQ/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-01-13T10:37:30.643Z] 10:37:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_disable_safemode.js | The `Restart with Add-ons Disabled...` button should be disabled - "true" == "true" - 
[task 2024-01-13T10:37:30.644Z] 10:37:30     INFO - Buffered messages finished
[task 2024-01-13T10:37:30.650Z] 10:37:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_disable_safemode.js | A promise chain failed to handle a rejection:  - stack: insertContentDecryptionModuleInfo@chrome://global/content/aboutSupport.js:1200:5
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - async*media@chrome://global/content/aboutSupport.js:1357:5
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - async*onload/<@chrome://global/content/aboutSupport.js:29:41
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - Rejection date: Sat Jan 13 2024 10:37:30 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":601,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":563,"lineNumber":1166,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":563,"lineNumber":1210,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":563,"lineNumber":1352,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":563,"lineNumber":1127,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":592,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1166:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1166:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - Stack trace:
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - chrome://mochikit/content/browser-test.js:handleTask:1166
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1210
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1352
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1127
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-01-13T10:37:30.651Z] 10:37:30     INFO - Leaving test bound test_safemode_from_about_support
[task 2024-01-13T10:37:30.652Z] 10:37:30     INFO - Entering test bound test_safemode_from_about_profiles
[task 2024-01-13T10:37:30.874Z] 10:37:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_disable_safemode.js | The `Restart with Add-ons Disabled...` button should be disabled - "true" == "true" - 
[task 2024-01-13T10:37:30.884Z] 10:37:30     INFO - Leaving test bound test_safemode_from_about_profiles
[task 2024-01-13T10:37:30.902Z] 10:37:30     INFO - GECKO(10112) | console.log: "_cleanup from onBeforeAddons"
[task 2024-01-13T10:37:30.905Z] 10:37:30     INFO - GECKO(10112) | console.log: "_cleanup from onProfileAfterChange"
[task 2024-01-13T10:37:30.906Z] 10:37:30     INFO - GECKO(10112) | console.log: "_cleanup from onBeforeUIStartup"
[task 2024-01-13T10:37:30.908Z] 10:37:30     INFO - GECKO(10112) | console.log: "_cleanup from onAllWindowsRestored"
[task 2024-01-13T10:37:30.909Z] 10:37:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_disable_safemode.js | Engine is inactive at the end of the test - 
[task 2024-01-13T10:37:31.320Z] 10:37:31     INFO - GECKO(10112) | MEMORY STAT | vsize 1160MB | vsizeMaxContiguous 1293MB | residentFast 346MB | heapAllocated 135MB
[task 2024-01-13T10:37:31.321Z] 10:37:31     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_disable_safemode.js | took 1204ms
[task 2024-01-13T10:37:31.332Z] 10:37:31     INFO - checking window state
[task 2024-01-13T10:37:31.341Z] 10:37:31     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_disable_shield.js
```