Bug: Intermittent browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-06-26 21:56:09+00:00
Resolved: 2024-12-30 12:04:04+00:00

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

---
```
[task 2023-06-26T20:59:39.339Z] 20:59:39     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js
[task 2023-06-26T20:59:40.653Z] 20:59:40     INFO - GECKO(3448) | console.log: "Awaiting for the urlbar panel to open"
[task 2023-06-26T20:59:40.685Z] 20:59:40     INFO - GECKO(3448) | console.log: "Urlbar panel opened"
[task 2023-06-26T20:59:41.595Z] 20:59:41     INFO - GECKO(3448) | console.log: "Awaiting for the urlbar panel to open"
[task 2023-06-26T20:59:41.627Z] 20:59:41     INFO - GECKO(3448) | console.log: "Urlbar panel opened"
[task 2023-06-26T20:59:42.113Z] 20:59:42     INFO - TEST-INFO | started process screenshot
[task 2023-06-26T20:59:42.244Z] 20:59:42     INFO - TEST-INFO | screenshot: exit 0
[task 2023-06-26T20:59:42.244Z] 20:59:42     INFO - Buffered messages logged at 20:59:39
[task 2023-06-26T20:59:42.249Z] 20:59:42     INFO - Entering setup bound 
[task 2023-06-26T20:59:42.250Z] 20:59:42     INFO - Leaving setup bound 
[task 2023-06-26T20:59:42.250Z] 20:59:42     INFO - Entering test bound test_history
[task 2023-06-26T20:59:42.250Z] 20:59:42     INFO - Buffered messages logged at 20:59:41
[task 2023-06-26T20:59:42.251Z] 20:59:42     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://example.com/" line: 0}]
[task 2023-06-26T20:59:42.252Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Should not have recorded browser.engagement.navigation.urlbar - true == true - 
[task 2023-06-26T20:59:42.253Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | The histogram SEARCH_COUNTS must not contain other-MozSearch.urlbar. - true == true - 
[task 2023-06-26T20:59:42.253Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | The histogram SEARCH_COUNTS must not contain other-MozSearch.alias. - true == true - 
[task 2023-06-26T20:59:42.254Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Should not have recorded any navigation search events - [] deepEqual [] - 
[task 2023-06-26T20:59:42.254Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | unexpected counts should be zero for FX_URLBAR_SELECTED_RESULT_METHOD at index 2 - 0 == 0 - 
[task 2023-06-26T20:59:42.255Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | expected counts should match for FX_URLBAR_SELECTED_RESULT_METHOD at index 3 - 1 == 1 - 
[task 2023-06-26T20:59:42.256Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | unexpected counts should be zero for FX_URLBAR_SELECTED_RESULT_METHOD at index 4 - 0 == 0 - 
[task 2023-06-26T20:59:42.256Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Should have found an entry for FX_URLBAR_SELECTED_RESULT_METHOD at index 3 - true == true - 
[task 2023-06-26T20:59:42.257Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | urlbar.picked.history must be recorded. - true == true - 
[task 2023-06-26T20:59:42.258Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | urlbar.picked.history must contain the '1' key. - true == true - 
[task 2023-06-26T20:59:42.258Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | urlbar.picked.history['1'] must contain the expected value - 1 == 1 - 
[task 2023-06-26T20:59:42.258Z] 20:59:42     INFO - Leaving test bound test_history
[task 2023-06-26T20:59:42.259Z] 20:59:42     INFO - Entering test bound test_history_adaptive
[task 2023-06-26T20:59:42.259Z] 20:59:42     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://example.com/" line: 0}]
[task 2023-06-26T20:59:42.260Z] 20:59:42     INFO - Buffered messages logged at 20:59:42
[task 2023-06-26T20:59:42.260Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Should not have recorded browser.engagement.navigation.urlbar - true == true - 
[task 2023-06-26T20:59:42.261Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | The histogram SEARCH_COUNTS must not contain other-MozSearch.urlbar. - true == true - 
[task 2023-06-26T20:59:42.261Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | The histogram SEARCH_COUNTS must not contain other-MozSearch.alias. - true == true - 
[task 2023-06-26T20:59:42.262Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Should not have recorded any navigation search events - [] deepEqual [] - 
[task 2023-06-26T20:59:42.262Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | unexpected counts should be zero for FX_URLBAR_SELECTED_RESULT_METHOD at index 2 - 0 == 0 - 
[task 2023-06-26T20:59:42.263Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | expected counts should match for FX_URLBAR_SELECTED_RESULT_METHOD at index 3 - 1 == 1 - 
[task 2023-06-26T20:59:42.263Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | unexpected counts should be zero for FX_URLBAR_SELECTED_RESULT_METHOD at index 4 - 0 == 0 - 
[task 2023-06-26T20:59:42.264Z] 20:59:42     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Should have found an entry for FX_URLBAR_SELECTED_RESULT_METHOD at index 3 - true == true - 
[task 2023-06-26T20:59:42.264Z] 20:59:42     INFO - Buffered messages finished
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | urlbar.picked.history_adaptive must be recorded. - false == true - {"filename":"resource://testing-common/TelemetryTestUtils.sys.mjs","name":"assertKeyedScalar","sourceId":919,"lineNumber":42,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js","name":"assertTelemetryResults","sourceId":5675,"lineNumber":80,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js","name":"test_history_adaptive","sourceId":5675,"lineNumber":173,"columnNumber":25,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":541,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":541,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":541,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":541,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":564,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"test_history_adaptive@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:173:25\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"assertTelemetryResults@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:80:22\ntest_history_adaptive@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:173:25\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"assertKeyedScalar@resource://testing-common/TelemetryTestUtils.sys.mjs:42:12\nassertTelemetryResults@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:80:22\ntest_history_adaptive@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:173:25\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - Stack trace:
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - resource://testing-common/TelemetryTestUtils.sys.mjs:assertKeyedScalar:42
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:assertTelemetryResults:80
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:test_history_adaptive:173
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-06-26T20:59:42.274Z] 20:59:42     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-06-26T20:59:42.275Z] 20:59:42     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Uncaught exception in test bound test_history_adaptive - at resource://testing-common/TelemetryTestUtils.sys.mjs:44 - TypeError: right-hand side of 'in' should be an object, got undefined
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - Stack trace:
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - assertKeyedScalar@resource://testing-common/TelemetryTestUtils.sys.mjs:44:1
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - assertTelemetryResults@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:80:22
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - test_history_adaptive@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:173:25
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-06-26T20:59:42.277Z] 20:59:42     INFO - Leaving test bound test_history_adaptive
[task 2023-06-26T20:59:42.278Z] 20:59:42     INFO - Entering test bound test_bookmark_without_history
[task 2023-06-26T20:59:44.248Z] 20:59:44     INFO - GECKO(3448) | console.log: "Awaiting for the urlbar panel to open"
[task 2023-06-26T20:59:44.277Z] 20:59:44     INFO - GECKO(3448) | console.log: "Urlbar panel opened"
[task 2023-06-26T21:01:09.894Z] 21:01:09     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-06-26T21:01:09.897Z] 21:01:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Test timed out - 
[task 2023-06-26T21:01:10.585Z] 21:01:10     INFO - GECKO(3448) | MEMORY STAT | vsize 19406726MB | vsizeMaxContiguous 65047458MB | residentFast 2446MB
[task 2023-06-26T21:01:10.594Z] 21:01:10     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | took 91251ms
[task 2023-06-26T21:01:10.595Z] 21:01:10     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-06-26T21:01:10.595Z] 21:01:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Found a tab after previous test timed out: http://example.com/ - 
[task 2023-06-26T21:01:10.663Z] 21:01:10     INFO - checking window state
[task 2023-06-26T21:01:10.726Z] 21:01:10     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_quickactions.js
```