Bug: Intermittent browser/base/content/test/siteIdentity/browser_bug906190.js | Test timed out | Uncaught exception received from previously timed out test - ViewShown listener on #identity-popup not removed before the end of test
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-30 21:01:38+00:00
Resolved: 2021-10-19 17:01:34+00:00

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

---
```
[task 2021-08-30T19:07:32.039Z] 19:07:32     INFO - TEST-START | browser/base/content/test/siteIdentity/browser_bug906190.js
[task 2021-08-30T19:07:32.080Z] 19:07:32     INFO - GECKO(4589) | [Child 4660: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f869f35f800 == 2 [pid = 4660] [id = 6]
[task 2021-08-30T19:07:32.080Z] 19:07:32     INFO - GECKO(4589) | [Child 4660: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (7f86a5e6a740) [pid = 4660] [serial = 27] [outer = 0]
[task 2021-08-30T19:07:32.080Z] 19:07:32     INFO - GECKO(4589) | [Child 4660: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (7f869f361c00) [pid = 4660] [serial = 28] [outer = 7f86a5e6a740]
[task 2021-08-30T19:07:32.232Z] 19:07:32     INFO - GECKO(4589) | [Child 4660: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 19 (7f869f369400) [pid = 4660] [serial = 29] [outer = 7f86a5e6a740]
[task 2021-08-30T19:07:32.263Z] 19:07:32     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006 (NS_ERROR_CONTENT_BLOCKED): file /builds/worker/checkouts/gecko/dom/security/nsContentSecurityManager.cpp:1225
[task 2021-08-30T19:07:32.265Z] 19:07:32     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp:1925
[task 2021-08-30T19:07:32.267Z] 19:07:32     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006 (NS_ERROR_CONTENT_BLOCKED): file /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:1721
[task 2021-08-30T19:07:32.279Z] 19:07:32     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006 (NS_ERROR_CONTENT_BLOCKED): file /builds/worker/checkouts/gecko/dom/security/nsContentSecurityManager.cpp:1225
[task 2021-08-30T19:07:32.281Z] 19:07:32     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp:1925
[task 2021-08-30T19:07:32.282Z] 19:07:32     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006 (NS_ERROR_CONTENT_BLOCKED): file /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:1721
[task 2021-08-30T19:07:32.767Z] 19:07:32     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:32.768Z] 19:07:32     INFO - GECKO(4589) | [Child 4765, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:32.822Z] 19:07:32     INFO - GECKO(4589) | [Child 4660: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 20 (7f869f36bc00) [pid = 4660] [serial = 30] [outer = 7f86a5e6a740]
[task 2021-08-30T19:07:32.829Z] 19:07:32     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: Page was shift reloaded, skipping ServiceWorker control: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:7605
[task 2021-08-30T19:07:33.064Z] 19:07:33     INFO - GECKO(4589) | [Child 4765, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:33.073Z] 19:07:33     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:33.089Z] 19:07:33     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fd42226b000 == 2 [pid = 4779] [id = 12]
[task 2021-08-30T19:07:33.090Z] 19:07:33     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7fd4229f4200) [pid = 4779] [serial = 38] [outer = 0]
[task 2021-08-30T19:07:33.092Z] 19:07:33     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 10 (7fd42226c800) [pid = 4779] [serial = 39] [outer = 7fd4229f4200]
[task 2021-08-30T19:07:33.226Z] 19:07:33     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:33.226Z] 19:07:33     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:33.226Z] 19:07:33     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:33.230Z] 19:07:33     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (7fd422270c00) [pid = 4779] [serial = 40] [outer = 7fd4229f4200]
[task 2021-08-30T19:07:34.264Z] 19:07:34     INFO - GECKO(4589) | Warning: asking to enable_gpu_markers but no supporting extension was found
[task 2021-08-30T19:07:34.331Z] 19:07:34     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fd42226f800 == 3 [pid = 4779] [id = 13]
[task 2021-08-30T19:07:34.331Z] 19:07:34     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (7fd4229f43c0) [pid = 4779] [serial = 41] [outer = 0]
[task 2021-08-30T19:07:34.331Z] 19:07:34     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (7fd4229b9400) [pid = 4779] [serial = 42] [outer = 7fd4229f43c0]
[task 2021-08-30T19:07:34.440Z] 19:07:34     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (7fd4229c2800) [pid = 4779] [serial = 43] [outer = 7fd4229f43c0]
[task 2021-08-30T19:07:35.241Z] 19:07:35     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:35.244Z] 19:07:35     INFO - GECKO(4589) | [Child 4765, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:35.336Z] 19:07:35     INFO - GECKO(4589) | [Child 4660, Main Thread] WARNING: NS_ENSURE_TRUE(mDoneSetup) failed: file /builds/worker/checkouts/gecko/editor/composer/nsEditingSession.cpp:1175
[task 2021-08-30T19:07:35.366Z] 19:07:35     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fd4229bc400 == 4 [pid = 4779] [id = 14]
[task 2021-08-30T19:07:35.366Z] 19:07:35     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (7fd4229f4900) [pid = 4779] [serial = 44] [outer = 0]
[task 2021-08-30T19:07:35.367Z] 19:07:35     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (7fd4229c0c00) [pid = 4779] [serial = 45] [outer = 7fd4229f4900]
[task 2021-08-30T19:07:35.501Z] 19:07:35     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (7fd4229c7c00) [pid = 4779] [serial = 46] [outer = 7fd4229f4900]
[task 2021-08-30T19:07:35.531Z] 19:07:35     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006 (NS_ERROR_CONTENT_BLOCKED): file /builds/worker/checkouts/gecko/dom/security/nsContentSecurityManager.cpp:1225
[task 2021-08-30T19:07:35.531Z] 19:07:35     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp:1925
[task 2021-08-30T19:07:35.531Z] 19:07:35     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006 (NS_ERROR_CONTENT_BLOCKED): file /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:1721
[task 2021-08-30T19:07:35.544Z] 19:07:35     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006 (NS_ERROR_CONTENT_BLOCKED): file /builds/worker/checkouts/gecko/dom/security/nsContentSecurityManager.cpp:1225
[task 2021-08-30T19:07:35.544Z] 19:07:35     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/netwerk/protocol/http/HttpChannelChild.cpp:1925
[task 2021-08-30T19:07:35.544Z] 19:07:35     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805E0006 (NS_ERROR_CONTENT_BLOCKED): file /builds/worker/checkouts/gecko/dom/script/ScriptLoader.cpp:1721
[task 2021-08-30T19:07:36.082Z] 19:07:36     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:36.083Z] 19:07:36     INFO - GECKO(4589) | [Child 4765, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-30T19:07:36.155Z] 19:07:36     INFO - GECKO(4589) | [Child 4779: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (7fd422fac400) [pid = 4779] [serial = 47] [outer = 7fd4229f4900]
[task 2021-08-30T19:07:36.161Z] 19:07:36     INFO - GECKO(4589) | [Child 4779, Main Thread] WARNING: Page was shift reloaded, skipping ServiceWorker control: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:7605
...
[task 2021-08-30T19:10:32.411Z] 19:10:32     INFO - Hiding identity popup
[task 2021-08-30T19:10:32.412Z] 19:10:32     INFO - Console message: [JavaScript Warning: "Loading mixed (insecure) active content “http://test1.example.com/browser/browser/base/content/test/siteIdentity/file_bug906190.js” on a secure page" {file: "https://test2.example.com/browser/browser/base/content/test/siteIdentity/file_bug906190_1.html" line: 0}]
[task 2021-08-30T19:10:32.414Z] 19:10:32     INFO - Console message: [JavaScript Error: "Blocked loading mixed active content “http://test1.example.com/browser/browser/base/content/test/siteIdentity/file_bug906190.js”" {file: "https://test1.example.com/browser/browser/base/content/test/siteIdentity/file_bug906190_redirected.html" line: 0}]
[task 2021-08-30T19:10:32.415Z] 19:10:32     INFO - Console message: [JavaScript Warning: "Loading failed for the <script> with source “http://test1.example.com/browser/browser/base/content/test/siteIdentity/file_bug906190.js”." {file: "https://test1.example.com/browser/browser/base/content/test/siteIdentity/file_bug906190_redirected.html" line: 13}]
[task 2021-08-30T19:10:32.415Z] 19:10:32     INFO - Buffered messages logged at 19:07:50
[task 2021-08-30T19:10:32.416Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | Expected state for activeBlocked matches UI state - 
[task 2021-08-30T19:10:32.416Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | Expected state for activeLoaded matches UI state - 
[task 2021-08-30T19:10:32.417Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | Expected state for passiveLoaded matches UI state - 
[task 2021-08-30T19:10:32.418Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | identityBox has expected class for activeLoaded - 
[task 2021-08-30T19:10:32.419Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | identityBox has expected class for activeBlocked && !passiveLoaded - 
[task 2021-08-30T19:10:32.419Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | identityBox has expected class for passiveLoaded && !(activeLoaded || activeBlocked) - 
[task 2021-08-30T19:10:32.420Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | identityBox has expected class for passiveLoaded && activeBlocked - 
[task 2021-08-30T19:10:32.421Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | information icon should be visible - 
[task 2021-08-30T19:10:32.421Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | Using active blocked icon - 
[task 2021-08-30T19:10:32.422Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | identity-popup has expected attr for activeLoaded - 
[task 2021-08-30T19:10:32.423Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | securityView-body has expected attr for activeLoaded - 
[task 2021-08-30T19:10:32.423Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | identity-popup has expected attr for activeBlocked - 
[task 2021-08-30T19:10:32.424Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | securityView-body has expected attr for activeBlocked - 
[task 2021-08-30T19:10:32.425Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | identity-popup has expected attr for passiveLoaded - 
[task 2021-08-30T19:10:32.425Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | securityView-body has expected attr for passiveLoaded - 
[task 2021-08-30T19:10:32.426Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | CC using secure icon - 
[task 2021-08-30T19:10:32.427Z] 19:10:32     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug906190.js | CC using secure icon - 
[task 2021-08-30T19:10:32.428Z] 19:10:32     INFO - Console message: [JavaScript Error: "Cannot show a subview in a closed panel." {file: "resource:///modules/PanelMultiView.jsm" line: 673}]
[task 2021-08-30T19:10:32.428Z] 19:10:32     INFO - _showSubView@resource:///modules/PanelMultiView.jsm:673:22
[task 2021-08-30T19:10:32.428Z] 19:10:32     INFO - showSubView@resource:///modules/PanelMultiView.jsm:660:10
[task 2021-08-30T19:10:32.428Z] 19:10:32     INFO - value@resource:///modules/PanelMultiView.jsm:434:41
[task 2021-08-30T19:10:32.429Z] 19:10:32     INFO - showSecuritySubView@chrome://browser/content/browser-siteIdentity.js:425:34
[task 2021-08-30T19:10:32.429Z] 19:10:32     INFO - oncommand@chrome://browser/content/browser.xhtml:1:18
[task 2021-08-30T19:10:32.429Z] 19:10:32     INFO - assertMixedContentBlockingState@chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/head.js:386:58
[task 2021-08-30T19:10:32.429Z] 19:10:32     INFO - 
[task 2021-08-30T19:10:32.429Z] 19:10:32     INFO - Buffered messages logged at 19:09:02
[task 2021-08-30T19:10:32.430Z] 19:10:32     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2021-08-30T19:10:32.431Z] 19:10:32     INFO - Buffered messages finished
[task 2021-08-30T19:10:32.431Z] 19:10:32     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_bug906190.js | Test timed out - 
[task 2021-08-30T19:10:32.432Z] 19:10:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-30T19:10:32.433Z] 19:10:32     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_bug906190.js | Uncaught exception received from previously timed out test - ViewShown listener on #identity-popup not removed before the end of test
[task 2021-08-30T19:10:32.433Z] 19:10:32     INFO - GECKO(4589) | MEMORY STAT | vsize 3397MB | residentFast 469MB | heapAllocated 222MB
[task 2021-08-30T19:10:32.434Z] 19:10:32     INFO - TEST-OK | browser/base/content/test/siteIdentity/browser_bug906190.js | took 180025ms
[task 2021-08-30T19:10:32.435Z] 19:10:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-30T19:10:32.436Z] 19:10:32     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_bug906190.js | Found a tab after previous test timed out: https://test1.example.com/browser/browser/base/content/test/siteIdentity/file_bug906190_redirected.html - 
[task 2021-08-30T19:10:32.436Z] 19:10:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-30T19:10:32.437Z] 19:10:32     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_bug906190.js | Found a tab after previous test timed out: https://test2.example.com/browser/browser/base/content/test/siteIdentity/file_bug906190_1.html - 
[task 2021-08-30T19:10:32.438Z] 19:10:32     INFO - GECKO(4589) | [Child 4820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fd7b9985c00 == 2 [pid = 4820] [id = 1]
[task 2021-08-30T19:10:32.439Z] 19:10:32     INFO - GECKO(4589) | [Child 4820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7fd7d3f64900) [pid = 4820] [serial = 5] [outer = 0]
[task 2021-08-30T19:10:32.440Z] 19:10:32     INFO - GECKO(4589) | [Child 4820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7fd7b9987400) [pid = 4820] [serial = 6] [outer = 7fd7d3f64900]
[task 2021-08-30T19:10:32.440Z] 19:10:32     INFO - checking window state
[task 2021-08-30T19:10:32.443Z] 19:10:32     INFO - TEST-START | browser/base/content/test/siteIdentity/browser_check_identity_state.js
```