Bug: Intermittent browser/components/doh/test/browser/browser_userInterference.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-11 07:42:39+00:00
Resolved: 2023-08-11 12:02:34+00:00

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

---
```
[task 2023-07-11T06:41:55.727Z] 06:41:55     INFO - TEST-PASS | browser/components/doh/test/browser/browser_userInterference.js | The event records the expected decision - 
[task 2023-07-11T06:41:55.727Z] 06:41:55     INFO - Buffered messages finished
[task 2023-07-11T06:41:55.728Z] 06:41:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/doh/test/browser/browser_userInterference.js | Test timed out - 
[task 2023-07-11T06:41:55.728Z] 06:41:55     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/doh/test/browser/browser_userInterference.js | A promise chain failed to handle a rejection: popupshown listener not removed before the end of test - stack: waitForDoorhanger@chrome://mochitests/content/browser/browser/components/doh/test/browser/head.js:329:1
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - async*testUserInterference@chrome://mochitests/content/browser/browser/components/doh/test/browser/browser_userInterference.js:12:17
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - Rejection date: Tue Jul 11 2023 06:41:55 GMT+0000 (Greenwich Mean Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":572,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":537,"lineNumber":766,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":537,"lineNumber":1437,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":537,"lineNumber":1379,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":537,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":563,"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":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\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":"async*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\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":"nextTest@chrome://mochikit/content/browser-test.js:766:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\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\nnextTest@chrome://mochikit/content/browser-test.js:766:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1437:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1379:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - Stack trace:
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - chrome://mochikit/content/browser-test.js:nextTest:766
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1437
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1379
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-11T06:41:55.729Z] 06:41:55     INFO - GECKO(3347) | JavaScript error: chrome://mochitests/content/browser/browser/components/doh/test/browser/head.js, line 329: uncaught exception: popupshown listener not removed before the end of test
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - Console message: [JavaScript Error: "uncaught exception: popupshown listener not removed before the end of test" {file: "chrome://mochitests/content/browser/browser/components/doh/test/browser/head.js" line: 329}]
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - waitForDoorhanger@chrome://mochitests/content/browser/browser/components/doh/test/browser/head.js:329:1
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - async*testUserInterference@chrome://mochitests/content/browser/browser/components/doh/test/browser/browser_userInterference.js:12:17
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - 
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - GECKO(3347) | MEMORY STAT | vsize 402315MB | residentFast 348MB | heapAllocated 125MB
[task 2023-07-11T06:41:55.730Z] 06:41:55     INFO - TEST-OK | browser/components/doh/test/browser/browser_userInterference.js | took 45093ms
```