Bug: Intermittent browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-10-18 15:39:04+00:00
Resolved: 2023-11-15 12:01:23+00:00

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

---
```
[task 2023-10-18T13:57:16.028Z] 13:57:16     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js | n_words is correct - "2" == 2 - 
[task 2023-10-18T13:57:16.029Z] 13:57:16     INFO - Buffered messages logged at 13:57:15
[task 2023-10-18T13:57:16.029Z] 13:57:16     INFO - Awaiting for the urlbar panel to open
[task 2023-10-18T13:57:16.029Z] 13:57:16     INFO - Urlbar panel opened
[task 2023-10-18T13:57:16.030Z] 13:57:16     INFO - Buffered messages finished
[task 2023-10-18T13:57:16.048Z] 13:57:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js | Telemetry event length matches expected event length. - 0 == 1 - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js","name":"_assertGleanTelemetry","sourceId":1104,"lineNumber":71,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js","name":"assertImpressionTelemetry","sourceId":1104,"lineNumber":62,"columnNumber":24,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js","name":"assert","sourceId":1107,"lineNumber":32,"columnNumber":32,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js","name":"doNWordsTest/<","sourceId":1109,"lineNumber":39,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"resource://testing-common/BrowserTestUtils.sys.mjs","name":"withNewTab","sourceId":589,"lineNumber":146,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js","name":"doTest","sourceId":1104,"lineNumber":221,"columnNumber":28,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js","name":"doNWordsTest","sourceId":1109,"lineNumber":34,"columnNumber":11,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js","name":"n_words","sourceId":1107,"lineNumber":29,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":558,"lineNumber":1134,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":558,"lineNumber":1206,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":558,"lineNumber":1348,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":558,"lineNumber":1123,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":583,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*n_words@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:29:9\nhandleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*doNWordsTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:34:11\nasync*n_words@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:29:9\nhandleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:221:28\nasync*doNWordsTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:34:11\nasync*n_words@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:29:9\nhandleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:221:28\nasync*doNWordsTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:34:11\nasync*n_words@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:29:9\nhandleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"doNWordsTest/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:39:13\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:221:28\nasync*doNWordsTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:34:11\nasync*n_words@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:29:9\nhandleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assert@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:32:32\ndoNWordsTest/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:39:13\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:221:28\nasync*doNWordsTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:34:11\nasync*n_words@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:29:9\nhandleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertImpressionTelemetry@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:62:24\nassert@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:32:32\ndoNWordsTest/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:39:13\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:221:28\nasync*doNWordsTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:34:11\nasync*n_words@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:29:9\nhandleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"_assertGleanTelemetry@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:71:10\nassertImpressionTelemetry@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:62:24\nassert@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:32:32\ndoNWordsTest/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:39:13\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:221:28\nasync*doNWordsTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:34:11\nasync*n_words@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:29:9\nhandleTask@chrome://mochikit/content/browser-test.js:1134:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1123:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-10-18T13:57:16.048Z] 13:57:16     INFO - Stack trace:
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:_assertGleanTelemetry:71
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:assertImpressionTelemetry:62
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:assert:32
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:doNWordsTest/<:39
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:doTest:221
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head-n_chars_n_words.js:doNWordsTest:34
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js:n_words:29
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochikit/content/browser-test.js:handleTask:1134
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1206
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1348
[task 2023-10-18T13:57:16.051Z] 13:57:16     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1123
[task 2023-10-18T13:57:16.052Z] 13:57:16     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-10-18T13:57:16.052Z] 13:57:16     INFO - GECKO(2948) | [Child 4548: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 2ba16428000 == 11 [pid = 4548] [id = 178]
[task 2023-10-18T13:57:16.052Z] 13:57:16     INFO - GECKO(2948) | [Child 4548: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 30 (2ba0c14e2e0) [pid = 4548] [serial = 523] [outer = 0]
[task 2023-10-18T13:57:16.053Z] 13:57:16     INFO - GECKO(2948) | [Child 4548: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 31 (2ba16429800) [pid = 4548] [serial = 524] [outer = 2ba0c14e2e0]
[task 2023-10-18T13:57:16.053Z] 13:57:16     INFO - GECKO(2948) | [Child 4548: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 32 (2ba1642a800) [pid = 4548] [serial = 525] [outer = 2ba0c14e2e0]
[task 2023-10-18T13:57:16.315Z] 13:57:16     INFO - GECKO(2948) | [Child 2860, Main Thread] WARNING: IPC message 'PSessionStore::Msg_SessionStoreUpdate' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545
[task 2023-10-18T13:57:16.378Z] 13:57:16     INFO - Awaiting for the urlbar panel to open
[task 2023-10-18T13:57:16.441Z] 13:57:16     INFO - GECKO(2948) | [Child 2860: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1b3c8e7fc00) [pid = 2860] [serial = 335] [outer = 0] [url = about:blank]
[task 2023-10-18T13:57:16.473Z] 13:57:16     INFO - Urlbar panel opened
[task 2023-10-18T13:57:16.583Z] 13:57:16     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_n_chars_n_words.js | Telemetry event length matches expected event length. - 1 == 1 - 
```