Bug: Intermittent Fission? browser/components/sessionstore/test/browser_broadcast.js | sessionStorage data has been merged correctly to prevent data loss - Got "browser_broadcast.js-initial-value-1629174555032", expected "on-tab-close-racy"
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-17 05:52:59+00:00
Resolved: 2022-06-07 17:03:18+00:00

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

---
```
[task 2021-08-17T04:29:15.026Z] 04:29:15     INFO - TEST-START | browser/components/sessionstore/test/browser_broadcast.js
[task 2021-08-17T04:29:15.039Z] 04:29:15     INFO - GECKO(1304) | [Child 4936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 2d427322000 == 1 [pid = 4936] [id = 76]
[task 2021-08-17T04:29:15.040Z] 04:29:15     INFO - GECKO(1304) | [Child 4936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (2d42dab8900) [pid = 4936] [serial = 182] [outer = 0]
[task 2021-08-17T04:29:15.040Z] 04:29:15     INFO - GECKO(1304) | [Child 4936: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (2d427327800) [pid = 4936] [serial = 183] [outer = 2d42dab8900]
[task 2021-08-17T04:29:15.129Z] 04:29:15     INFO - GECKO(1304) | [Child 6512: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1ad6edba400 == 1 [pid = 6512] [id = 0]
[task 2021-08-17T04:29:15.130Z] 04:29:15     INFO - GECKO(1304) | [Child 6512: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1ad6edbdac0) [pid = 6512] [serial = 1] [outer = 0]
[task 2021-08-17T04:29:15.131Z] 04:29:15     INFO - GECKO(1304) | [Child 6512: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1ad6edbb400) [pid = 6512] [serial = 2] [outer = 1ad6edbdac0]
[task 2021-08-17T04:29:15.195Z] 04:29:15     INFO - GECKO(1304) | [Child 6512, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-08-17T04:29:15.198Z] 04:29:15     INFO - GECKO(1304) | [Child 6512: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1ad6f575400) [pid = 6512] [serial = 3] [outer = 1ad6edbdac0]
[task 2021-08-17T04:29:15.254Z] 04:29:15     INFO - GECKO(1304) | [Parent 3412, Main Thread] WARNING: Not resolving response because actor is dead.: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:931
[task 2021-08-17T04:29:15.254Z] 04:29:15     INFO - GECKO(1304) | [Parent 3412, Main Thread] WARNING: IPDL resolver dropped without being called!: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:959
[task 2021-08-17T04:29:15.255Z] 04:29:15     INFO - GECKO(1304) | [Parent 3412, Main Thread] WARNING: Not resolving response because actor is dead.: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:931
[task 2021-08-17T04:29:15.294Z] 04:29:15     INFO - GECKO(1304) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_1629173530\AppData\Local\Temp\tmpu3kgjd4z.mozrunner\runtests_leaks_tab_pid9892.log
[task 2021-08-17T04:29:15.294Z] 04:29:15     INFO - GECKO(1304) | [9892, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:248
[task 2021-08-17T04:29:15.524Z] 04:29:15     INFO - GECKO(1304) | Loaded url: http://example.com/
<...>
[task 2021-08-17T04:29:19.431Z] 04:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_broadcast.js | sessionStorage data has been flushed when closing a window - 
[task 2021-08-17T04:29:19.431Z] 04:29:19     INFO - Leaving test bound flush_on_windowclose
[task 2021-08-17T04:29:19.432Z] 04:29:19     INFO - Entering test bound flush_on_settabstate
[task 2021-08-17T04:29:19.432Z] 04:29:19     INFO - Buffered messages logged at 04:29:18
[task 2021-08-17T04:29:19.432Z] 04:29:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_broadcast.js | sessionStorage data has not been overwritten - 
[task 2021-08-17T04:29:19.433Z] 04:29:19     INFO - Leaving test bound flush_on_settabstate
[task 2021-08-17T04:29:19.433Z] 04:29:19     INFO - Entering test bound flush_on_tabclose_racy
[task 2021-08-17T04:29:19.434Z] 04:29:19     INFO - Buffered messages finished
[task 2021-08-17T04:29:19.435Z] 04:29:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_broadcast.js | sessionStorage data has been merged correctly to prevent data loss - Got "browser_broadcast.js-initial-value-1629174555032", expected "on-tab-close-racy"
[task 2021-08-17T04:29:19.435Z] 04:29:19     INFO - Stack trace:
[task 2021-08-17T04:29:19.435Z] 04:29:19     INFO - chrome://mochikit/content/browser-test.js:test_is:1364
[task 2021-08-17T04:29:19.435Z] 04:29:19     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:flush_on_tabclose_racy:137
[task 2021-08-17T04:29:19.435Z] 04:29:19     INFO - Leaving test bound flush_on_tabclose_racy
[task 2021-08-17T04:29:19.436Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.436Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.437Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.438Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.438Z] 04:29:19     INFO - GECKO(1304) | [Child 2432: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1634a8b9000 == 0 [pid = 2432] [id = 0] [url = http://example.com/]
[task 2021-08-17T04:29:19.439Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.439Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.440Z] 04:29:19     INFO - GECKO(1304) | [Child 2432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1634a8bdac0) [pid = 2432] [serial = 1] [outer = 0] [url = http://example.com/]
[task 2021-08-17T04:29:19.440Z] 04:29:19     INFO - GECKO(1304) | [Child 2432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1634c19c400) [pid = 2432] [serial = 3] [outer = 0] [url = http://example.com/]
[task 2021-08-17T04:29:19.441Z] 04:29:19     INFO - GECKO(1304) | [Child 2432: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1634a8ba000) [pid = 2432] [serial = 2] [outer = 0] [url = about:blank]
[task 2021-08-17T04:29:19.441Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3357
[task 2021-08-17T04:29:19.442Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.442Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.442Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.443Z] 04:29:19     INFO - GECKO(1304) | MEMORY STAT | vsize 2104686MB | vsizeMaxContiguous 65743598MB | residentFast 440MB | heapAllocated 121MB
[task 2021-08-17T04:29:19.443Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread]
[task 2021-08-17T04:29:19.443Z] 04:29:19     INFO - TEST-OK | browser/components/sessionstore/test/browser_broadcast.js | took 4394ms
[task 2021-08-17T04:29:19.444Z] 04:29:19     INFO - GECKO(1304) |  WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:527
[task 2021-08-17T04:29:19.444Z] 04:29:19     INFO - GECKO(1304) | [Child 2432, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref[Child 8476: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 12794fbbc00 == 7 [pid = 8476] [id = 134]
[task 2021-08-17T04:29:19.445Z] 04:29:19     INFO - GECKO(1304) | /Preferences.cpp:4438
[task 2021-08-17T04:29:19.445Z] 04:29:19     INFO - GECKO(1304) | [Child 8476: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (12796839c80) [pid = 8476] [serial = 292] [outer = 0]
[task 2021-08-17T04:29:19.445Z] 04:29:19     INFO - GECKO(1304) | [Child 8476: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (12794fbd000) [pid = 8476] [serial = 293] [outer = 12796839c80]
[task 2021-08-17T04:29:19.448Z] 04:29:19     INFO - checking window state
[task 2021-08-17T04:29:19.476Z] 04:29:19     INFO - TEST-START | browser/components/sessionstore/test/browser_capabilities.js
```