Bug: Perma Beta TEST-UNEXPECTED-FAIL | browser_urlbar_event_telemetry.js | value in event urlbar#engagement#enter must match. - "typed" matches "returned" - JS frame :: TelemetryTestUtils.jsm :: assertEvents :: line 212 when Gecko merges to Beta on 2020-02-10
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2020-01-11 11:48:27+00:00
Resolved: 2020-01-24 00:11:12+00:00

Central as Beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&revision=291a9ff0d936e01cac4631a3846283cb97cb40ef&searchStr=%28bc&selectedJob=284523638

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=284523638&repo=try&lineNumber=3358

[task 2020-01-11T11:00:48.457Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | method in event urlbar#engagement#enter must match. - "engagement" matches "engagement" - 
[task 2020-01-11T11:00:48.458Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | object in event urlbar#engagement#enter must match. - "enter" matches "enter" - 
[task 2020-01-11T11:00:48.459Z] 11:00:48     INFO - Buffered messages finished
[task 2020-01-11T11:00:48.459Z] 11:00:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | value in event urlbar#engagement#enter must match. - "typed" matches "returned" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 212
[task 2020-01-11T11:00:48.459Z] 11:00:48     INFO - Stack trace:
[task 2020-01-11T11:00:48.459Z] 11:00:48     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:212
[task 2020-01-11T11:00:48.459Z] 11:00:48     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js:test:1020
[task 2020-01-11T11:00:48.464Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | Actual event urlbar#engagement#enter expected to have extra. - true == true - 
[task 2020-01-11T11:00:48.466Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | Expected key elapsed must be in actual extra. Actual keys: [elapsed,numChars,selIndex,selType]. - true == true - 
[task 2020-01-11T11:00:48.466Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | extra[elapsed] must match in event urlbar#engagement#enter. - "115" matches "val => parseInt(val) > 0" - 
[task 2020-01-11T11:00:48.469Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | Expected key numChars must be in actual extra. Actual keys: [elapsed,numChars,selIndex,selType]. - true == true - 
[task 2020-01-11T11:00:48.469Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | extra[numChars] must match in event urlbar#engagement#enter. - "6" matches "6" - 
[task 2020-01-11T11:00:48.471Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | Expected key selType must be in actual extra. Actual keys: [elapsed,numChars,selIndex,selType]. - true == true - 
[task 2020-01-11T11:00:48.471Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | extra[selType] must match in event urlbar#engagement#enter. - "search" matches "search" - 
[task 2020-01-11T11:00:48.471Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | Expected key selIndex must be in actual extra. Actual keys: [elapsed,numChars,selIndex,selType]. - true == true - 
[task 2020-01-11T11:00:48.472Z] 11:00:48     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry.js | extra[selIndex] must match in event urlbar#engagement#enter. - "0" matches "0" - 
[task 2020-01-11T11:00:48.473Z] 11:00:48     INFO - Running test at index 23
[task 2020-01-11T11:00:48.473Z] 11:00:48     INFO - Sanity check we are not stuck on 'returned'

Marco, could this be caused by the changes in Bug 1601362?