Bug: Intermittent TV browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-04-05 00:24:13+00:00
Resolved: 2023-05-30 20:47:20+00:00

**Filed by:** sstanca [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=411397279&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LOXzZvQ2RZmmTxPST2TG6w/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/LOXzZvQ2RZmmTxPST2TG6w/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-04-04T23:19:14.715Z] 23:19:14     INFO - TEST-START | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js
[task 2023-04-04T23:19:16.328Z] 23:19:16     INFO - GECKO(19508) | console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 324))
[task 2023-04-04T23:19:19.746Z] 23:19:19     INFO - TEST-INFO | started process screentopng
[task 2023-04-04T23:19:20.052Z] 23:19:20     INFO - TEST-INFO | screentopng: exit 0
[task 2023-04-04T23:19:20.053Z] 23:19:20     INFO - Buffered messages logged at 23:19:14
[task 2023-04-04T23:19:20.054Z] 23:19:20     INFO - Entering setup bound 
[task 2023-04-04T23:19:20.056Z] 23:19:20     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 58}]
[task 2023-04-04T23:19:20.056Z] 23:19:20     INFO - load@resource://gre/modules/XULStore.sys.mjs:58:15
[task 2023-04-04T23:19:20.057Z] 23:19:20     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-04-04T23:19:20.057Z] 23:19:20     INFO - 
[task 2023-04-04T23:19:20.059Z] 23:19:20     INFO - Buffered messages logged at 23:19:15
[task 2023-04-04T23:19:20.059Z] 23:19:20     INFO - Leaving setup bound 
[task 2023-04-04T23:19:20.059Z] 23:19:20     INFO - Entering test bound pauseImpressionIntervalMs
[task 2023-04-04T23:19:20.059Z] 23:19:20     INFO - Buffered messages logged at 23:19:18
[task 2023-04-04T23:19:20.062Z] 23:19:20     INFO - Awaiting for the urlbar panel to open
[task 2023-04-04T23:19:20.062Z] 23:19:20     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1403}]
[task 2023-04-04T23:19:20.063Z] 23:19:20     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_quickRestart”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1403}]
[task 2023-04-04T23:19:20.063Z] 23:19:20     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1403}]
[task 2023-04-04T23:19:20.063Z] 23:19:20     INFO - Urlbar panel opened
[task 2023-04-04T23:19:20.063Z] 23:19:20     INFO - Buffered messages finished
[task 2023-04-04T23:19:20.075Z] 23:19:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js | 1 == 0 - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js","name":"_assertGleanTelemetry","sourceId":577,"lineNumber":61,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js","name":"assertImpressionTelemetry","sourceId":577,"lineNumber":56,"columnNumber":24,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js","name":"pauseImpressionIntervalMs/<","sourceId":579,"lineNumber":32,"columnNumber":30,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"resource://testing-common/BrowserTestUtils.sys.mjs","name":"withNewTab","sourceId":564,"lineNumber":154,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js","name":"doTest","sourceId":577,"lineNumber":202,"columnNumber":28,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js","name":"pauseImpressionIntervalMs","sourceId":579,"lineNumber":26,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":529,"lineNumber":1039,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":529,"lineNumber":1111,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":529,"lineNumber":1253,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":529,"lineNumber":1022,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":558,"lineNumber":1053,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*pauseImpressionIntervalMs@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:26:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:202:28\nasync*pauseImpressionIntervalMs@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:26:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:202:28\nasync*pauseImpressionIntervalMs@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:26:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"pauseImpressionIntervalMs/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:32:30\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:202:28\nasync*pauseImpressionIntervalMs@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:26:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"assertImpressionTelemetry@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:56:24\npauseImpressionIntervalMs/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:32:30\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:202:28\nasync*pauseImpressionIntervalMs@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:26:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}},"formattedStack":"_assertGleanTelemetry@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:61:10\nassertImpressionTelemetry@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:56:24\npauseImpressionIntervalMs/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:32:30\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22\nasync*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:202:28\nasync*pauseImpressionIntervalMs@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:26:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1039:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1022:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13\n","nativeSavedFrame":{}}
[task 2023-04-04T23:19:20.076Z] 23:19:20     INFO - Stack trace:
[task 2023-04-04T23:19:20.077Z] 23:19:20     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:_assertGleanTelemetry:61
[task 2023-04-04T23:19:20.077Z] 23:19:20     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:assertImpressionTelemetry:56
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:pauseImpressionIntervalMs/<:32
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:154
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:doTest:202
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:pauseImpressionIntervalMs:26
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - chrome://mochikit/content/browser-test.js:handleTask:1039
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1111
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1253
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1022
[task 2023-04-04T23:19:20.078Z] 23:19:20     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1053
[task 2023-04-04T23:19:20.079Z] 23:19:20     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js | "urlbar" == "urlbar" - 
[task 2023-04-04T23:19:20.079Z] 23:19:20     INFO - TEST-PASS | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js | "impression" == "impression" - 
[task 2023-04-04T23:19:20.080Z] 23:19:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js | Uncaught exception in test bound pauseImpressionIntervalMs - at chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:69 - TypeError: can't convert undefined to object
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - Stack trace:
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - _assertGleanTelemetry@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:69:30
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - assertImpressionTelemetry@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:56:24
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - pauseImpressionIntervalMs/<@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:32:30
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:22
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - async*doTest@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/head.js:202:28
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - async*pauseImpressionIntervalMs@chrome://mochitests/content/browser/browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js:26:9
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1039:26
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1111:18
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1253:14
[task 2023-04-04T23:19:20.082Z] 23:19:20     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1022:14
[task 2023-04-04T23:19:20.083Z] 23:19:20     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1053:13
[task 2023-04-04T23:19:20.083Z] 23:19:20     INFO - Leaving test bound pauseImpressionIntervalMs
[task 2023-04-04T23:19:20.746Z] 23:19:20     INFO - GECKO(19508) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2023-04-04T23:19:20.748Z] 23:19:20     INFO - GECKO(19508) | MEMORY STAT heapAllocated not supported in this build configuration.
[task 2023-04-04T23:19:20.751Z] 23:19:20     INFO - GECKO(19508) | MEMORY STAT | vsize 130560250MB | residentFast 1551MB
[task 2023-04-04T23:19:20.754Z] 23:19:20     INFO - TEST-OK | browser/components/urlbar/tests/engagementTelemetry/browser/browser_glean_telemetry_impression_preferences.js | took 6040ms
```