Bug: Intermittent browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_engagement_interaction_persisted_search_terms_enabled.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-01-06 22:04:53+00:00
Resolved: 2025-03-03 12:13:06+00:00

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

---
```
[task 2023-01-06T20:59:10.236Z] 20:59:10     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_glean_telemetry_engagement_interaction_persisted_search_terms_enabled.js | "urlbar" == "urlbar" - 
[task 2023-01-06T20:59:10.237Z] 20:59:10     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_glean_telemetry_engagement_interaction_persisted_search_terms_enabled.js | "engagement" == "engagement" - 
[task 2023-01-06T20:59:10.238Z] 20:59:10     INFO - Buffered messages finished
[task 2023-01-06T20:59:10.241Z] 20:59:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_glean_telemetry_engagement_interaction_persisted_search_terms_enabled.js | interaction is correct - "returned" == "persisted_search_terms" - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/head-glean.js :: _assertGleanTelemetry :: line 57
[task 2023-01-06T20:59:10.242Z] 20:59:10     INFO - Stack trace:
[task 2023-01-06T20:59:10.243Z] 20:59:10     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/head-glean.js:_assertGleanTelemetry:57
[task 2023-01-06T20:59:10.244Z] 20:59:10     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/head-glean.js:assertEngagementTelemetry:39
[task 2023-01-06T20:59:10.245Z] 20:59:10     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_glean_telemetry_engagement_interaction_persisted_search_terms_enabled.js:interaction_persisted_search_terms_restarted_refined_via_abandonment/<:150
[task 2023-01-06T20:59:10.247Z] 20:59:10     INFO - GECKO(4853) | [Parent 4853, IPDL Background] WARNING: IPC Connection Error: [Parent][PBackgroundParent] RunMessage(msgname=PRemoteWorkerService::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1927
[task 2023-01-06T20:59:10.249Z] 20:59:10     INFO - GECKO(4853) | [Parent 4853, Compositor] WARNING: IPC Connection Error: [Parent][PCompositorManagerParent] RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1927
[task 2023-01-06T20:59:10.250Z] 20:59:10     INFO - GECKO(4853) | [Child 9184, Main Thread] WARNING: IPC message 'PContent::Msg_CleanupPendingLoadState' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:504
[task 2023-01-06T20:59:10.251Z] 20:59:10     INFO - GECKO(4853) | [Child 9184: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f5ea602c400 == 1 [pid = 9184] [id = 0] [url = http://mochi.test:8888/?terms=any+search]
[task 2023-01-06T20:59:10.252Z] 20:59:10     INFO - GECKO(4853) | [Child 9184: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f5ea6037000 == 0 [pid = 9184] [id = 1] [url = http://mochi.test:8888/?terms=x]
[task 2023-01-06T20:59:10.253Z] 20:59:10     INFO - GECKO(4853) | [Child 9184: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f5ea6037800) [pid = 9184] [serial = 6] [outer = 0] [url = http://mochi.test:8888/?terms=x]
[task 2023-01-06T20:59:10.255Z] 20:59:10     INFO - GECKO(4853) | [Child 9184: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f5ea6037400) [pid = 9184] [serial = 5] [outer = 0] [url = about:blank]
[task 2023-01-06T20:59:10.256Z] 20:59:10     INFO - GECKO(4853) | [Child 9184: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f5ea602cc00) [pid = 9184] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-01-06T20:59:10.257Z] 20:59:10     INFO - GECKO(4853) | [Child 9184: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f5ea602f000) [pid = 9184] [serial = 3] [outer = 0] [url = http://mochi.test:8888/?terms=any+search]
[task 2023-01-06T20:59:10.258Z] 20:59:10     INFO - GECKO(4853) | [Child 9184: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f5eab4c5470) [pid = 9184] [serial = 1] [outer = 0] [url = http://mochi.test:8888/?terms=any+search]
[task 2023-01-06T20:59:10.259Z] 20:59:10     INFO - GECKO(4853) | [Child 9184: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f5eab4c7560) [pid = 9184] [serial = 4] [outer = 0] [url = http://mochi.test:8888/?terms=x]
[task 2023-01-06T20:59:10.260Z] 20:59:10     INFO - GECKO(4853) | [Child 9184, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3384
[task 2023-01-06T20:59:10.261Z] 20:59:10     INFO - GECKO(4853) | [Child 9184, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-01-06T20:59:10.262Z] 20:59:10     INFO - GECKO(4853) | [Child 9184, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4663
[task 2023-01-06T20:59:10.263Z] 20:59:10     INFO - GECKO(4853) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpa2eehs_i.mozrunner/runtests_leaks_tab_pid9269.log
[task 2023-01-06T20:59:10.264Z] 20:59:10     INFO - GECKO(4853) | [9269, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:339
[task 2023-01-06T20:59:10.306Z] 20:59:10     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fc41dc90800 == 2 [pid = 5019] [id = 109]
[task 2023-01-06T20:59:10.309Z] 20:59:10     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (7fc42388c470) [pid = 5019] [serial = 286] [outer = 0]
[task 2023-01-06T20:59:10.315Z] 20:59:10     INFO - GECKO(4853) | [Child 9269, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:714
[task 2023-01-06T20:59:10.317Z] 20:59:10     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (7fc41dc91400) [pid = 5019] [serial = 287] [outer = 7fc42388c470]
[task 2023-01-06T20:59:10.489Z] 20:59:10     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7fc41dc8fc00) [pid = 5019] [serial = 288] [outer = 7fc42388c470]
[task 2023-01-06T20:59:10.824Z] 20:59:10     INFO - Awaiting for the urlbar panel to open
[task 2023-01-06T20:59:10.879Z] 20:59:10     INFO - Urlbar panel opened
[task 2023-01-06T20:59:11.122Z] 20:59:11     INFO - GECKO(4853) | [Child 9206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fbb7582d800 == 1 [pid = 9206] [id = 0]
[task 2023-01-06T20:59:11.123Z] 20:59:11     INFO - GECKO(4853) | [Child 9206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7fbb7acc6470) [pid = 9206] [serial = 1] [outer = 0]
[task 2023-01-06T20:59:11.126Z] 20:59:11     INFO - GECKO(4853) | [Child 9206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7fbb7582e000) [pid = 9206] [serial = 2] [outer = 7fbb7acc6470]
[task 2023-01-06T20:59:11.231Z] 20:59:11     INFO - GECKO(4853) | [Child 9206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7fbb75830000) [pid = 9206] [serial = 3] [outer = 7fbb7acc6470]
[task 2023-01-06T20:59:11.373Z] 20:59:11     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://mochi.test:8888/?terms=any+search" line: 0}]
[task 2023-01-06T20:59:11.657Z] 20:59:11     INFO - Console message: [JavaScript Warning: "Unknown category for SetEventRecordingEnabled: page_load"]
[task 2023-01-06T20:59:11.965Z] 20:59:11     INFO - GECKO(4853) | [Child 5019, Main Thread] WARNING: IPC message 'PSessionStore::Msg_SessionStoreUpdate' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:504
[task 2023-01-06T20:59:12.405Z] 20:59:12     INFO - GECKO(4853) | [Child 9206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fbb75838000 == 2 [pid = 9206] [id = 1]
[task 2023-01-06T20:59:12.406Z] 20:59:12     INFO - GECKO(4853) | [Child 9206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7fbb7acc8560) [pid = 9206] [serial = 4] [outer = 0]
[task 2023-01-06T20:59:12.409Z] 20:59:12     INFO - GECKO(4853) | [Child 9206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7fbb75838400) [pid = 9206] [serial = 5] [outer = 7fbb7acc8560]
[task 2023-01-06T20:59:12.469Z] 20:59:12     INFO - GECKO(4853) | [Child 9206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7fbb75838800) [pid = 9206] [serial = 6] [outer = 7fbb7acc8560]
[task 2023-01-06T20:59:12.541Z] 20:59:12     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fc41dc94000 == 1 [pid = 5019] [id = 108] [url = about:blank]
[task 2023-01-06T20:59:12.543Z] 20:59:12     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7fc41dc93400) [pid = 5019] [serial = 279] [outer = 0] [url = about:blank]
[task 2023-01-06T20:59:12.544Z] 20:59:12     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7fc41dc95000) [pid = 5019] [serial = 284] [outer = 0] [url = about:blank]
[task 2023-01-06T20:59:12.545Z] 20:59:12     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7fc41dc8f800) [pid = 5019] [serial = 282] [outer = 0] [url = about:blank]
[task 2023-01-06T20:59:12.547Z] 20:59:12     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7fc41dc90c00) [pid = 5019] [serial = 281] [outer = 0] [url = about:blank]
[task 2023-01-06T20:59:12.547Z] 20:59:12     INFO - GECKO(4853) | [Child 5019: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fc41dc90800 == 0 [pid = 5019] [id = 109] [url = about:blank]
[task 2023-01-06T20:59:12.631Z] 20:59:12     INFO - GECKO(4853) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpa2eehs_i.mozrunner/runtests_leaks_tab_pid9291.log
[task 2023-01-06T20:59:12.631Z] 20:59:12     INFO - GECKO(4853) | [9291, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:339
[task 2023-01-06T20:59:12.744Z] 20:59:12     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_glean_telemetry_engagement_interaction_persisted_search_terms_enabled.js | 2 == 2 - 
```