Bug: Intermittent browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | unexpected counts should be zero for FX_URLBAR_SELECTED_RESULT_TYPE_2 at index 20 - 1 == 0 - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertH
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-05-19 13:22:52+00:00
Resolved: 2022-09-13 23:51:24+00:00

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

---
```
INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | unexpected counts should be zero for FX_URLBAR_SELECTED_RESULT_TYPE_2 at index 19 - 0 == 0 - 
[task 2022-05-19T12:28:34.514Z] 12:28:34     INFO - Buffered messages finished
[task 2022-05-19T12:28:34.514Z] 12:28:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | unexpected counts should be zero for FX_URLBAR_SELECTED_RESULT_TYPE_2 at index 20 - 1 == 0 - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertHistogram :: line 302
[task 2022-05-19T12:28:34.514Z] 12:28:34     INFO - Stack trace:
[task 2022-05-19T12:28:34.514Z] 12:28:34     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertHistogram:302
[task 2022-05-19T12:28:34.514Z] 12:28:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:assertTelemetryResults:89
[task 2022-05-19T12:28:34.514Z] 12:28:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:test_autofill:411
[task 2022-05-19T12:28:34.515Z] 12:28:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | unexpected counts should be zero for FX_URLBAR_SELECTED_RESULT_TYPE_2 at index 21 - 0 == 0 - 
[task 2022-05-19T12:28:34.515Z] 12:28:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-19T12:28:34.516Z] 12:28:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Should have found an entry for FX_URLBAR_SELECTED_RESULT_TYPE_2 at index 18 - false == true - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertHistogram :: line 309
[task 2022-05-19T12:28:34.516Z] 12:28:34     INFO - Stack trace:
[task 2022-05-19T12:28:34.516Z] 12:28:34     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertHistogram:309
[task 2022-05-19T12:28:34.516Z] 12:28:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:assertTelemetryResults:89
[task 2022-05-19T12:28:34.516Z] 12:28:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:test_autofill:411
[task 2022-05-19T12:28:34.517Z] 12:28:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-19T12:28:34.517Z] 12:28:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | The histogram FX_URLBAR_SELECTED_RESULT_INDEX_BY_TYPE_2 must contain autofill_adaptive - false == true - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertKeyedHistogramValue :: line 354
[task 2022-05-19T12:28:34.517Z] 12:28:34     INFO - Stack trace:
[task 2022-05-19T12:28:34.517Z] 12:28:34     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertKeyedHistogramValue:354
[task 2022-05-19T12:28:34.518Z] 12:28:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:assertTelemetryResults:95
[task 2022-05-19T12:28:34.518Z] 12:28:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:test_autofill:411
[task 2022-05-19T12:28:34.518Z] 12:28:34     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 0 - 1 == 1 - 
[task 2022-05-19T12:28:34.518Z] 12:28:34     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 1 - 0 == 0 - 
[task 2022-05-19T12:28:34.519Z] 12:28:34     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 0 - true == true - 
[task 2022-05-19T12:28:34.519Z] 12:28:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-19T12:28:34.520Z] 12:28:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | urlbar.picked.autofill_adaptive must be recorded. - false == true - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertKeyedScalar :: line 47
[task 2022-05-19T12:28:34.520Z] 12:28:34     INFO - Stack trace:
[task 2022-05-19T12:28:34.520Z] 12:28:34     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertKeyedScalar:47
[task 2022-05-19T12:28:34.520Z] 12:28:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:assertTelemetryResults:104
[task 2022-05-19T12:28:34.520Z] 12:28:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js:test_autofill:411
[task 2022-05-19T12:28:34.520Z] 12:28:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-19T12:28:34.521Z] 12:28:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_telemetry_places.js | Uncaught exception in test - at resource://testing-common/TelemetryTestUtils.jsm:49 - TypeError: right-hand side of 'in' should be an object, got undefined
[task 2022-05-19T12:28:34.521Z] 12:28:34     INFO - Stack trace:
```