Bug: Intermittent browser/components/protections/test/browser/browser_protections_vpn.js | Uncaught exception - undefined - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-09-23 22:33:34+00:00
Resolved: 2020-11-03 17:03:30+00:00

**Filed by:** csabou [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=316519747&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YMoZ-bq2Qr2FhcLBgNL6Eg/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YMoZ-bq2Qr2FhcLBgNL6Eg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2020-09-23T21:11:54.697Z] 21:11:54     INFO - TEST-PASS | browser/components/protections/test/browser/browser_protections_vpn.js | VPN card is shown. - true == true - 
[task 2020-09-23T21:11:54.698Z] 21:11:54     INFO - Buffered messages finished
[task 2020-09-23T21:11:54.698Z] 21:11:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/protections/test/browser/browser_protections_vpn.js | Uncaught exception - undefined - timed out after 50 tries.
[task 2020-09-23T21:11:54.698Z] 21:11:54     INFO - Leaving test bound testVPNDoesNotShowChina
[task 2020-09-23T21:11:54.698Z] 21:11:54     INFO - GECKO(2188) | MEMORY STAT | vsize 868MB | vsizeMaxContiguous 477MB | residentFast 272MB | heapAllocated 81MB
[task 2020-09-23T21:11:54.698Z] 21:11:54     INFO - TEST-OK | browser/components/protections/test/browser/browser_protections_vpn.js | took 12156ms
[task 2020-09-23T21:11:54.699Z] 21:11:54     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-23T21:11:54.699Z] 21:11:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/protections/test/browser/browser_protections_vpn.js | Found an unexpected tab at the end of test run: about:protections - 
[task 2020-09-23T21:11:54.699Z] 21:11:54     INFO - GECKO(2188) | [Child 3228: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0140B9B0) [pid = 3228] [serial = 12] [outer = 00000000] [url = about:blank]
[task 2020-09-23T21:11:54.699Z] 21:11:54     INFO - GECKO(2188) | [Child 3228: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 014AA800 == 1 [pid = 3228] [id = 6]
[task 2020-09-23T21:11:54.699Z] 21:11:54     INFO - GECKO(2188) | [Child 3228: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0140B8A0) [pid = 3228] [serial = 14] [outer = 00000000]
[task 2020-09-23T21:11:54.699Z] 21:11:54     INFO - GECKO(2188) | [Child 3228: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (072BEC00) [pid = 3228] [serial = 15] [outer = 0140B8A0]
[task 2020-09-23T21:11:54.715Z] 21:11:54     INFO - checking window state
[task 2020-09-23T21:11:54.754Z] 21:11:54     INFO - GECKO(2188) | [Parent 1012: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (0F342000) [pid = 1012] [serial = 18] [outer = 14E6DCD0]
[task 2020-09-23T21:11:54.832Z] 21:11:54     INFO - GECKO(2188) | [Parent 1012, Main Thread] WARNING: NS_ENSURE_TRUE(presShell) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp, line 4275
[task 2020-09-23T21:11:54.891Z] 21:11:54     INFO - GECKO(2188) | [Child 4200: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 011B3000 == 0 [pid = 4200] [id = 5] [url = about:blank]
[task 2020-09-23T21:11:54.891Z] 21:11:54     INFO - GECKO(2188) | [Child 3228: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (072C2000) [pid = 3228] [serial = 13] [outer = 00000000] [url = about:blank]
[task 2020-09-23T21:11:55.066Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 97 (138A4C00) [pid = 4640] [serial = 149] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.067Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 96 (14340000) [pid = 4640] [serial = 116] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.067Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 95 (136DDC00) [pid = 4640] [serial = 194] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.068Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 94 (13BF4400) [pid = 4640] [serial = 109] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.068Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 93 (12494C00) [pid = 4640] [serial = 190] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.069Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 92 (12DE5800) [pid = 4640] [serial = 147] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.069Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 91 (114ECC00) [pid = 4640] [serial = 163] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.069Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 90 (0D407000) [pid = 4640] [serial = 220] [outer = 00000000] [url = about:blank]
[task 2020-09-23T21:11:55.070Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 89 (0D4D0400) [pid = 4640] [serial = 181] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.070Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 88 (134D7000) [pid = 4640] [serial = 148] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.070Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 87 (0D4D7000) [pid = 4640] [serial = 157] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.071Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 86 (10D0BC00) [pid = 4640] [serial = 133] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.071Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 85 (0AD70C00) [pid = 4640] [serial = 227] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.071Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 84 (0972E000) [pid = 4640] [serial = 135] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.072Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 83 (097EB400) [pid = 4640] [serial = 121] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.072Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 82 (134CB000) [pid = 4640] [serial = 108] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.073Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 81 (11CECC00) [pid = 4640] [serial = 167] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.073Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 80 (11364C00) [pid = 4640] [serial = 122] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.073Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 79 (0F5E6C00) [pid = 4640] [serial = 115] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.073Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 78 (11C58400) [pid = 4640] [serial = 145] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.073Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 77 (0D402400) [pid = 4640] [serial = 226] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.074Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 76 (12150000) [pid = 4640] [serial = 132] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.074Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 75 (0F5E2C00) [pid = 4640] [serial = 154] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.074Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 74 (0D5F9000) [pid = 4640] [serial = 153] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.074Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 73 (0C011400) [pid = 4640] [serial = 155] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.074Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 72 (0AD6DC00) [pid = 4640] [serial = 224] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.074Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 71 (0D4D3000) [pid = 4640] [serial = 139] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.074Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 70 (0FF12C00) [pid = 4640] [serial = 179] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.074Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 69 (119AD800) [pid = 4640] [serial = 164] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.075Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 68 (10A05800) [pid = 4640] [serial = 176] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.075Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 67 (0D5F5000) [pid = 4640] [serial = 161] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.090Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 66 (12AE7800) [pid = 4640] [serial = 191] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.091Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 65 (0D5F1400) [pid = 4640] [serial = 156] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.091Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 64 (0FF17400) [pid = 4640] [serial = 207] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.091Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 63 (097DE400) [pid = 4640] [serial = 112] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.091Z] 21:11:55     INFO - GECKO(2188) |
[task 2020-09-23T21:11:55.117Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0AD79400) [pid = 4640] [serial = 229] [outer = 00000000] [url = about:blank]
[task 2020-09-23T21:11:55.118Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (13B7C800) [pid = 4640] [serial = 171] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.118Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0F5DC400) [pid = 4640] [serial = 201] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.118Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0E479800) [pid = 4640] [serial = 203] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.118Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (10D87800) [pid = 4640] [serial = 200] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.119Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (097E9C00) [pid = 4640] [serial = 180] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.321Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0BE10780) [pid = 4640] [serial = 228] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.321Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 013A0400 == 1 [pid = 4640] [id = 0] [url = about:newtab]
[task 2020-09-23T21:11:55.321Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0AD6B800 == 0 [pid = 4640] [id = 30] [url = about:protections]
[task 2020-09-23T21:11:55.321Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0130B8A0) [pid = 4640] [serial = 1] [outer = 00000000] [url = about:newtab]
[task 2020-09-23T21:11:55.770Z] 21:11:55     INFO - GECKO(2188) | ###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-09-23T21:11:55.770Z] 21:11:55     INFO - GECKO(2188) | [Child 4808, Main Thread] WARNING: MsgDropped in ContentChild: file /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp, line 2172
[task 2020-09-23T21:11:55.770Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (075C4000) [pid = 4640] [serial = 3] [outer = 00000000] [url = about:newtab]
[task 2020-09-23T21:11:55.771Z] 21:11:55     INFO - GECKO(2188) | [Child 4640: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0E401800) [pid = 4640] [serial = 231] [outer = 00000000] [url = about:protections]
[task 2020-09-23T21:11:55.812Z] 21:11:55     INFO - GECKO(2188) | [Child 4808, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-23T21:11:55.813Z] 21:11:55     INFO - GECKO(2188) | [Child 4808, Main Thread] WARNING: '!ipcActor->SendAccumulateChildKeyedHistograms(keyedHistogramsToSend)', file /builds/worker/checkouts/gecko/toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.cpp, line 283
[task 2020-09-23T21:11:55.813Z] 21:11:55     INFO - GECKO(2188) | [Child 4808, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-23T21:11:55.813Z] 21:11:55     INFO - GECKO(2188) | [Child 4808, Main Thread] WARNING: '!ipcActor->SendRecordDiscardedData(discardedData)', file /builds/worker/checkouts/gecko/toolkit/components/telemetry/core/ipc/TelemetryIPCAccumulator.cpp, line 298
[task 2020-09-23T21:11:55.828Z] 21:11:55     INFO - GECKO(2188) | [Child 4200: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (071AC000) [pid = 4200] [serial = 14] [outer = 00000000] [url = about:blank]
[task 2020-09-23T21:11:55.828Z] 21:11:55     INFO - GECKO(2188) | [Child 4200: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0110BDF0) [pid = 4200] [serial = 13] [outer = 00000000] [url = about:blank]
[task 2020-09-23T21:11:55.855Z] 21:11:55     INFO - GECKO(2188) | [Child 4808, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3359
[task 2020-09-23T21:11:55.875Z] 21:11:55     INFO - GECKO(2188) | [Child 4808, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp, line 4287
[task 2020-09-23T21:11:56.862Z] 21:11:56     INFO - GECKO(2188) | Completed ShutdownLeaks collections in process 3228
[task 2020-09-23T21:11:56.897Z] 21:11:56     INFO - GECKO(2188) | [Parent 1012: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (18D08800) [pid = 1012] [serial = 8] [outer = 00000000] [url = about:blank]
[task 2020-09-23T21:11:56.904Z] 21:11:56     INFO - GECKO(2188) | Completed ShutdownLeaks collections in process 4640
[task 2020-09-23T21:11:56.924Z] 21:11:56     INFO - GECKO(2188) | Completed ShutdownLeaks collections in process 4200
[task 2020-09-23T21:11:57.091Z] 21:11:57     INFO - GECKO(2188) | Completed ShutdownLeaks collections in process 4304
[task 2020-09-23T21:11:57.346Z] 21:11:57     INFO - GECKO(2188) | [Parent 1012, Gecko_IOThread] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc, line 166
[task 2020-09-23T21:11:57.353Z] 21:11:57     INFO - GECKO(2188) | [Parent 1012: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (0F33BC00) [pid = 1012] [serial = 19] [outer = 14E6DCD0]
[task 2020-09-23T21:11:59.448Z] 21:11:59     INFO - GECKO(2188) | [Parent 1012: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0F342000) [pid = 1012] [serial = 18] [outer = 00000000] [url = about:blank]
[task 2020-09-23T21:11:59.888Z] 21:11:59     INFO - GECKO(2188) | Completed ShutdownLeaks collections in process 1012
[task 2020-09-23T21:11:59.888Z] 21:11:59     INFO - TEST-START | Shutdown```