Bug: Intermittent [tier 2] browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Test timed out - | Uncaught exception received from previously timed out test - focus listener not removed before the end of test
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-05-23 18:57:25+00:00
Resolved: 2022-07-26 00:13:19+00:00

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

---
```
[task 2022-05-23T17:55:08.555Z] 17:55:08     INFO - TEST-START | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js
[task 2022-05-23T17:55:08.900Z] 17:55:08     INFO - GECKO(7484) | 1653328508901	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-05-23T17:55:09.386Z] 17:55:09     INFO - GECKO(7484) | 1653328509395	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-05-23T17:55:53.583Z] 17:55:53     INFO - TEST-INFO | started process screenshot
[task 2022-05-23T17:55:53.692Z] 17:55:53     INFO - TEST-INFO | screenshot: exit 0
[task 2022-05-23T17:55:53.692Z] 17:55:53     INFO - Buffered messages logged at 17:55:08
[task 2022-05-23T17:55:53.692Z] 17:55:53     INFO - Entering test bound 
[task 2022-05-23T17:55:53.693Z] 17:55:53     INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure speculative TCP connection �http://example.com/browser/browser/components/privatebrowsing/test/browser/empty_file.html� to use �https�."]
[task 2022-05-23T17:55:53.694Z] 17:55:53     INFO - Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure request �http://example.com/browser/browser/components/privatebrowsing/test/browser/empty_file.html� to use �https�."]
[task 2022-05-23T17:55:53.694Z] 17:55:53     INFO - Buffered messages logged at 17:55:09
[task 2022-05-23T17:55:53.696Z] 17:55:53     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/browser/browser/components/privatebrowsing/test/browser/empty_file.html" line: 0}]
[task 2022-05-23T17:55:53.696Z] 17:55:53     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/browser/browser/components/privatebrowsing/test/browser/empty_file.html" line: 0}]
[task 2022-05-23T17:55:53.697Z] 17:55:53     INFO - Buffered messages finished
[task 2022-05-23T17:55:53.698Z] 17:55:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Test timed out - 
[task 2022-05-23T17:55:53.698Z] 17:55:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-23T17:55:53.699Z] 17:55:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Uncaught exception received from previously timed out test - focus listener not removed before the end of test
[task 2022-05-23T17:55:53.700Z] 17:55:53     INFO - GECKO(7484) | MEMORY STAT | vsize 2104593MB | vsizeMaxContiguous 65765353MB | residentFast 395MB | heapAllocated 105MB
[task 2022-05-23T17:55:53.700Z] 17:55:53     INFO - TEST-OK | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | took 45052ms
[task 2022-05-23T17:55:53.700Z] 17:55:53     INFO - checking window state
[task 2022-05-23T17:55:53.701Z] 17:55:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-23T17:55:53.701Z] 17:55:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Found a browser window after previous test timed out - 
[task 2022-05-23T17:55:53.702Z] 17:55:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-23T17:55:53.702Z] 17:55:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Found a browser window after previous test timed out - 
[task 2022-05-23T17:55:53.703Z] 17:55:53     INFO - GECKO(7484) | must wait for focus
[task 2022-05-23T17:55:53.717Z] 17:55:53    ERROR - GECKO(7484) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - ReferenceError: ok is not defined at observe@chrome://mochitests/content/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js:23:7
[task 2022-05-23T17:55:53.718Z] 17:55:53     INFO - GECKO(7484) | JavaScript error: chrome://mochitests/content/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js, line 23: ReferenceError: ok is not defined
[task 2022-05-23T17:55:53.723Z] 17:55:53     INFO - TEST-START | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js
```