Bug: Intermittent browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-06-22 11:24:04+00:00
Resolved: 2021-07-20 17:04:38+00:00

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

---
```
[task 2021-06-22T09:47:48.169Z] 09:47:48     INFO - TEST-INFO | started process screencapture
[task 2021-06-22T09:47:48.287Z] 09:47:48     INFO - TEST-INFO | screencapture: exit 0
[task 2021-06-22T09:47:48.287Z] 09:47:48     INFO - Buffered messages logged at 09:46:18
[task 2021-06-22T09:47:48.287Z] 09:47:48     INFO - Entering test bound testExceptionAddition
[task 2021-06-22T09:47:48.288Z] 09:47:48     INFO - Buffered messages logged at 09:46:19
[task 2021-06-22T09:47:48.288Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | CB is attached to the private window - 
[task 2021-06-22T09:47:48.289Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | TP is attached to the private window - 
[task 2021-06-22T09:47:48.289Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | TP is enabled after setting the pref - 
[task 2021-06-22T09:47:48.289Z] 09:47:48     INFO - Load a test page containing tracking elements
[task 2021-06-22T09:47:48.290Z] 09:47:48     INFO - Wait tab event: load
[task 2021-06-22T09:47:48.290Z] 09:47:48     INFO - Received onContentBlockingEvent event: 0 (1 of 2)
[task 2021-06-22T09:47:48.291Z] 09:47:48     INFO - Received onContentBlockingEvent event: 0 (2 of 2)
[task 2021-06-22T09:47:48.291Z] 09:47:48     INFO - Tab event received: load
[task 2021-06-22T09:47:48.292Z] 09:47:48     INFO - Tracking content must be blocked
[task 2021-06-22T09:47:48.292Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | trackers are detected - 
[task 2021-06-22T09:47:48.293Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | content shows no exception - 
[task 2021-06-22T09:47:48.293Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | icon box is visible - 
[task 2021-06-22T09:47:48.293Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | shield is active - 
[task 2021-06-22T09:47:48.294Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | icon box shows no exception - 
[task 2021-06-22T09:47:48.295Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | correct tooltip - 
[task 2021-06-22T09:47:48.295Z] 09:47:48     INFO - Disable TP for the page (which reloads the page)
[task 2021-06-22T09:47:48.295Z] 09:47:48     INFO - Wait tab event: load
[task 2021-06-22T09:47:48.296Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | protections popup is closed - 
[task 2021-06-22T09:47:48.296Z] 09:47:48     INFO - Console message: [JavaScript Warning: "The resource at “http://trackertest.org/” was blocked because content blocking is enabled." {file: "http://tracking.example.org/browser/browser/base/content/test/protectionsUI/trackingPage.html" line: 0}]
[task 2021-06-22T09:47:48.297Z] 09:47:48     INFO - Tab event received: load
[task 2021-06-22T09:47:48.297Z] 09:47:48     INFO - Tracking content must be allowlisted and not blocked
[task 2021-06-22T09:47:48.298Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | trackers are detected - 
[task 2021-06-22T09:47:48.298Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | content shows exception - 
[task 2021-06-22T09:47:48.299Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | shield is active - 
[task 2021-06-22T09:47:48.299Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | shield shows exception - 
[task 2021-06-22T09:47:48.300Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | correct tooltip - 
[task 2021-06-22T09:47:48.300Z] 09:47:48     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | icon box is visible - 
[task 2021-06-22T09:47:48.301Z] 09:47:48     INFO - Test that the exception is remembered across tabs in the same private window
[task 2021-06-22T09:47:48.301Z] 09:47:48     INFO - Load a test page containing tracking elements
[task 2021-06-22T09:47:48.301Z] 09:47:48     INFO - Wait tab event: load
[task 2021-06-22T09:47:48.302Z] 09:47:48     INFO - Buffered messages logged at 09:46:20
[task 2021-06-22T09:47:48.302Z] 09:47:48     INFO - Skipping spurious load event for about:blank
[task 2021-06-22T09:47:48.302Z] 09:47:48     INFO - Buffered messages finished
[task 2021-06-22T09:47:48.303Z] 09:47:48     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | Test timed out - 
[task 2021-06-22T09:47:48.303Z] 09:47:48     INFO - GECKO(5729) | MEMORY STAT | vsize 8296MB | residentFast 526MB | heapAllocated 134MB
[task 2021-06-22T09:47:48.304Z] 09:47:48     INFO - TEST-OK | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | took 90191ms
[task 2021-06-22T09:47:48.304Z] 09:47:48     INFO - GECKO(5729) | [Child 5731: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 109843000 == 1 [pid = 5731] [id = 18]
[task 2021-06-22T09:47:48.305Z] 09:47:48     INFO - GECKO(5729) | [Child 5731: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (109853040) [pid = 5731] [serial = 49] [outer = 0]
[task 2021-06-22T09:47:48.305Z] 09:47:48     INFO - GECKO(5729) | [Child 5731: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (10990a400) [pid = 5731] [serial = 50] [outer = 109853040]
[task 2021-06-22T09:47:48.305Z] 09:47:48     INFO - checking window state
[task 2021-06-22T09:47:48.306Z] 09:47:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-22T09:47:48.306Z] 09:47:48     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | Found a browser window after previous test timed out - 
[task 2021-06-22T09:47:48.306Z] 09:47:48     INFO - GECKO(5729) | must wait for focus
[task 2021-06-22T09:47:48.307Z] 09:47:48     INFO - GECKO(5729) | [Child 5895, Main Thread] WARNING: DispatchEvent called on non-current inner window, dropping. Please check the window in the caller instead.: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:4193
[task 2021-06-22T09:47:48.307Z] 09:47:48     INFO - GECKO(5729) | [Child 5896, Main Thread] WARNING: DispatchEvent called on non-current inner window, dropping. Please check the window in the caller instead.: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowInner.cpp:4193
[task 2021-06-22T09:47:48.363Z] 09:47:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-06-22T09:47:48.364Z] 09:47:48     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_pbmode_exceptions.js | Uncaught exception received from previously timed out test - at resource://testing-common/BrowserTestUtils.jsm:500 - Error: The window unloaded while we were waiting for the browser to load - this should never happen.
[task 2021-06-22T09:47:48.364Z] 09:47:48     INFO - Stack trace:
[task 2021-06-22T09:47:48.364Z] 09:47:48     INFO - listener@resource://testing-common/BrowserTestUtils.jsm:500:15
```