Bug: Intermittent browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js | extra[selIndex] must match in event urlbar#engagement#enter. - "-1" matches "0" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: asser
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-07-20 17:11:58+00:00
Resolved: 2022-03-08 17:02:45+00:00

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

---
```
INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js | Expected key selIndex must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2021-07-20T16:23:29.178Z] 16:23:29     INFO - Buffered messages finished
[task 2021-07-20T16:23:29.180Z] 16:23:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js | extra[selIndex] must match in event urlbar#engagement#enter. - "-1" matches "0" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 244
[task 2021-07-20T16:23:29.180Z] 16:23:29     INFO - Stack trace:
[task 2021-07-20T16:23:29.180Z] 16:23:29     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:244
[task 2021-07-20T16:23:29.180Z] 16:23:29     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js:test:1166
[task 2021-07-20T16:23:29.181Z] 16:23:29     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js | Expected key selType must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2021-07-20T16:23:29.182Z] 16:23:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-20T16:23:29.183Z] 16:23:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js | extra[selType] must match in event urlbar#engagement#enter. - "none" matches "searchengine" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 244
[task 2021-07-20T16:23:29.183Z] 16:23:29     INFO - Stack trace:
[task 2021-07-20T16:23:29.183Z] 16:23:29     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:244
[task 2021-07-20T16:23:29.183Z] 16:23:29     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js:test:1166
[task 2021-07-20T16:23:29.184Z] 16:23:29     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js | Expected key provider must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2021-07-20T16:23:29.185Z] 16:23:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-07-20T16:23:29.186Z] 16:23:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js | extra[provider] must match in event urlbar#engagement#enter. - "" matches "HeuristicFallback" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 244
[task 2021-07-20T16:23:29.186Z] 16:23:29     INFO - Stack trace:
[task 2021-07-20T16:23:29.186Z] 16:23:29     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:244
[task 2021-07-20T16:23:29.186Z] 16:23:29     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js:test:1166
[task 2021-07-20T16:23:29.187Z] 16:23:29     INFO - Running test at index 6
[task 2021-07-20T16:23:29.188Z] 16:23:29     INFO - Type a keyword, Enter.
[task 2021-07-20T16:23:29.188Z] 16:23:29     INFO - Awaiting for the urlbar panel to open
[task 2021-07-20T16:23:29.189Z] 16:23:29     INFO - Urlbar panel opened
[task 2021-07-20T16:23:30.446Z] 16:23:30     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_engagement.js | parent must be in snapshot. Has [parent]. - true == true - 
```