Bug: Intermittent browser/components/doh/test/browser/browser_cleanFlow.js | Test timed out | A promise chain failed to handle a rejection: popupshown listener not removed before the end of test - stack: (No stack available.)
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-07-26 02:41:53+00:00
Resolved: 2022-08-13 13:17:06+00:00

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

---
```
[task 2022-07-26T01:57:10.227Z] 01:57:10     INFO - TEST-PASS | browser/components/doh/test/browser/browser_cleanFlow.js | The event records the expected decision - 
[task 2022-07-26T01:57:10.229Z] 01:57:10     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2022-07-26T01:57:10.229Z] 01:57:10     INFO - Buffered messages finished
[task 2022-07-26T01:57:10.229Z] 01:57:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/doh/test/browser/browser_cleanFlow.js | Test timed out - 
[task 2022-07-26T01:57:10.230Z] 01:57:10     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-26T01:57:10.231Z] 01:57:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/doh/test/browser/browser_cleanFlow.js | A promise chain failed to handle a rejection: popupshown listener not removed before the end of test - stack: (No stack available.)
[task 2022-07-26T01:57:10.231Z] 01:57:10     INFO - Rejection date: Tue Jul 26 2022 01:57:10 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 270
[task 2022-07-26T01:57:10.231Z] 01:57:10     INFO - Stack trace:
[task 2022-07-26T01:57:10.231Z] 01:57:10     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:270
[task 2022-07-26T01:57:10.231Z] 01:57:10     INFO - chrome://mochikit/content/browser-test.js:nextTest:624
[task 2022-07-26T01:57:10.232Z] 01:57:10     INFO - GECKO(3914) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 119: uncaught exception: popupshown listener not removed before the end of test
[task 2022-07-26T01:57:10.233Z] 01:57:10     INFO - Console message: [JavaScript Error: "uncaught exception: popupshown listener not removed before the end of test" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 119}]
[task 2022-07-26T01:57:10.233Z] 01:57:10     INFO - GECKO(3914) | MEMORY STAT | vsize 20975304MB | residentFast 1228MB
[task 2022-07-26T01:57:10.234Z] 01:57:10     INFO - TEST-OK | browser/components/doh/test/browser/browser_cleanFlow.js | took 90151ms
[task 2022-07-26T01:57:10.235Z] 01:57:10     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-26T01:57:10.237Z] 01:57:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/doh/test/browser/browser_cleanFlow.js | Found a tab after previous test timed out: https://example.com/ - 
[task 2022-07-26T01:57:10.237Z] 01:57:10     INFO - checking window state
[task 2022-07-26T01:57:10.255Z] 01:57:10     INFO - TEST-START | browser/components/doh/test/browser/browser_dirtyEnable.js
```