Bug: Intermittent browser/components/preferences/tests/browser_privacypane_2.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-06-22 00:03:41+00:00
Resolved: 2024-10-14 12:03:51+00:00

**Filed by:** chorotan [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=463574782&repo=mozilla-esr115
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NaCWLK0uQI2pq-gTNehH0Q/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - Leaving test bound bound runTestOnPrivacyPrefPane
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - Entering test bound bound runTestOnPrivacyPrefPane
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - runTestOnPrivacyPrefPane entered
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - Buffered messages finished
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_privacypane_2.js | Test timed out - 
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - GECKO(3296) | MEMORY STAT | vsize 1649MB | vsizeMaxContiguous 53MB | residentFast 540MB | heapAllocated 227MB
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - TEST-OK | browser/components/preferences/tests/browser_privacypane_2.js | took 45040ms
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-21T22:10:20.820Z] 22:10:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_privacypane_2.js | Found a tab after previous test timed out: about:preferences - 
[task 2024-06-21T22:10:20.828Z] 22:10:20     INFO - checking window state
[task 2024-06-21T22:10:20.843Z] 22:10:20     INFO - TEST-START | browser/components/preferences/tests/browser_privacypane_3.js
[task 2024-06-21T22:10:20.859Z] 22:10:20     INFO - GECKO(3296) | Waiting for browser load
[task 2024-06-21T22:10:20.859Z] 22:10:20     INFO - GECKO(3296) | Waiting for browser state change
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - Buffered messages logged at 22:10:20
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - subset: test_custom_retention_fn,test_custom_retention_fn,test_custom_retention_fn,test_custom_retention_fn,test_historymode_retention_fn,test_custom_retention_fn,test_custom_retention_fn
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - 
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - Entering test bound bound runTestOnPrivacyPrefPane
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - runTestOnPrivacyPrefPane entered
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - Buffered messages finished
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_privacypane_2.js | Uncaught exception received from previously timed out test bound bound runTestOnPrivacyPrefPane - at chrome://mochitests/content/browser/browser/components/preferences/tests/privacypane_tests_perwindow.js:13 - ReferenceError: info is not defined
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - Stack trace:
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - runTestOnPrivacyPrefPane@chrome://mochitests/content/browser/browser/components/preferences/tests/privacypane_tests_perwindow.js:13:3
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - GECKO(3296) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1194: TypeError: currentScope.__tasks is null
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - Console message: [JavaScript Error: "TypeError: currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1194}]
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:3
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - 
[task 2024-06-21T22:10:20.874Z] 22:10:20     INFO - GECKO(3296) | Saw state 110001 and status 0
[task 2024-06-21T22:10:21.179Z] 22:10:21     INFO - GECKO(3296) | Saw state 110001 and status 0
[task 2024-06-21T22:10:21.203Z] 22:10:21     INFO - GECKO(3296) | Saw state c0010 and status 0
[task 2024-06-21T22:10:21.210Z] 22:10:21     INFO - GECKO(3296) | Browser got expected state change about:preferences
[task 2024-06-21T22:10:21.210Z] 22:10:21     INFO - loaded about:preferences
[task 2024-06-21T22:10:21.257Z] 22:10:21     INFO - viewing privacy pane, executing testFunc
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_privacypane_3.js | A promise chain failed to handle a rejection: currentScope.__tasks is null - stack: _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1194:13
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - Rejection date: Fri Jun 21 2024 22:10:20 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":564,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":530,"lineNumber":1159,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":530,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":530,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":530,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":555,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1159:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1159:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - Stack trace:
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - chrome://mochikit/content/browser-test.js:handleTask:1159
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2024-06-21T22:10:21.289Z] 22:10:21     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2024-06-21T22:10:21.296Z] 22:10:21     INFO - Leaving test bound bound runTestOnPrivacyPrefPane
```