Bug: Intermittent browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-04-15 11:54:26+00:00
Resolved: 2025-02-17 12:03:36+00:00

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

---
```
[task 2024-04-15T10:54:34.938Z] 10:54:34     INFO - TEST-START | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js
[task 2024-04-15T10:54:35.242Z] 10:54:35     INFO - GECKO(5460) | 1713178475250	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-04-15T10:54:35.814Z] 10:54:35     INFO - GECKO(5460) | 1713178475839	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-04-15T10:55:19.984Z] 10:55:19     INFO - TEST-INFO | started process screenshot
[task 2024-04-15T10:55:20.024Z] 10:55:20     INFO - TEST-INFO | screenshot: exit 0
[task 2024-04-15T10:55:20.024Z] 10:55:20     INFO - Buffered messages logged at 10:54:34
[task 2024-04-15T10:55:20.024Z] 10:55:20     INFO - Entering test bound 
[task 2024-04-15T10:55:20.032Z] 10:55:20     INFO - Buffered messages logged at 10:54:35
[task 2024-04-15T10:55:20.032Z] 10:55:20     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 2024-04-15T10:55:20.032Z] 10:55:20     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 2024-04-15T10:55:20.032Z] 10:55:20     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 2024-04-15T10:55:20.032Z] 10:55:20     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 2024-04-15T10:55:20.032Z] 10:55:20     INFO - Buffered messages finished
[task 2024-04-15T10:55:20.032Z] 10:55:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Test timed out - 
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Uncaught exception received from previously timed out test bound  - focus listener not removed before the end of test
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - GECKO(5460) | MEMORY STAT | vsize 1529MB | vsizeMaxContiguous 107MB | residentFast 472MB | heapAllocated 508MB
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - TEST-OK | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | took 45069ms
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - checking window state
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Found a browser window after previous test timed out - 
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js | Found a browser window after previous test timed out - 
[task 2024-04-15T10:55:20.039Z] 10:55:20     INFO - GECKO(5460) | must wait for focus
[task 2024-04-15T10:55:20.133Z] 10:55:20    ERROR - GECKO(5460) | 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 2024-04-15T10:55:20.133Z] 10:55:20     INFO - GECKO(5460) | JavaScript error: chrome://mochitests/content/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cleanup.js, line 23: ReferenceError: ok is not defined
[task 2024-04-15T10:55:20.141Z] 10:55:20     INFO - TEST-START | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_context_and_chromeFlags.js
```