Bug: Intermittent browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | extra[elapsed] must match in event urlbar#abandonment#blur. - "0" matches "val => parseInt(val) > 0" - JS frame
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-09-27 22:25:08+00:00
Resolved: 2022-08-12 20:36:12+00:00

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

---
```
[task 2021-09-27T21:17:35.326Z] 21:17:35     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js
[task 2021-09-27T21:17:35.623Z] 21:17:35     INFO - TEST-INFO | started process screenshot
[task 2021-09-27T21:17:35.684Z] 21:17:35     INFO - TEST-INFO | screenshot: exit 0
[task 2021-09-27T21:17:35.684Z] 21:17:35     INFO - Buffered messages logged at 21:17:35
[task 2021-09-27T21:17:35.685Z] 21:17:35     INFO - Entering test bound test
[task 2021-09-27T21:17:35.685Z] 21:17:35     INFO - Extension loaded
[task 2021-09-27T21:17:35.686Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | Search provider extension should be running - "running" == "running" - 
[task 2021-09-27T21:17:35.687Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | Extension ID of search provider should be set - "test@tests.mozilla.org" == true - 
[task 2021-09-27T21:17:35.687Z] 21:17:35     INFO - Running test at index 0
[task 2021-09-27T21:17:35.688Z] 21:17:35     INFO - Type something, blur.
[task 2021-09-27T21:17:35.688Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | parent must be in snapshot. Has [parent]. - true == true - 
[task 2021-09-27T21:17:35.689Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | After filtering we must have the expected number of events. - 1 == 1 - 
[task 2021-09-27T21:17:35.690Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | category in event urlbar#abandonment#blur must match. - "urlbar" matches "urlbar" - 
[task 2021-09-27T21:17:35.691Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | method in event urlbar#abandonment#blur must match. - "abandonment" matches "abandonment" - 
[task 2021-09-27T21:17:35.692Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | object in event urlbar#abandonment#blur must match. - "blur" matches "blur" - 
[task 2021-09-27T21:17:35.692Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | value in event urlbar#abandonment#blur must match. - "typed" matches "typed" - 
[task 2021-09-27T21:17:35.693Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | Actual event urlbar#abandonment#blur expected to have extra. - true == true - 
[task 2021-09-27T21:17:35.694Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | Expected key elapsed must be in actual extra. Actual keys: [elapsed,numChars,numWords]. - true == true - 
[task 2021-09-27T21:17:35.694Z] 21:17:35     INFO - Buffered messages finished
[task 2021-09-27T21:17:35.696Z] 21:17:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | extra[elapsed] must match in event urlbar#abandonment#blur. - "0" matches "val => parseInt(val) > 0" - JS frame :: resource://testing-common/TelemetryTestUtils.jsm :: assertEvents :: line 244
[task 2021-09-27T21:17:35.696Z] 21:17:35     INFO - Stack trace:
[task 2021-09-27T21:17:35.696Z] 21:17:35     INFO - resource://testing-common/TelemetryTestUtils.jsm:assertEvents:244
[task 2021-09-27T21:17:35.697Z] 21:17:35     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js:test:276
[task 2021-09-27T21:17:35.697Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | Expected key numChars must be in actual extra. Actual keys: [elapsed,numChars,numWords]. - true == true - 
[task 2021-09-27T21:17:35.698Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | extra[numChars] must match in event urlbar#abandonment#blur. - "1" matches "1" - 
[task 2021-09-27T21:17:35.699Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | Expected key numWords must be in actual extra. Actual keys: [elapsed,numChars,numWords]. - true == true - 
[task 2021-09-27T21:17:35.700Z] 21:17:35     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_urlbar_event_telemetry_abandonment.js | extra[numWords] must match in event urlbar#abandonment#blur. - "1" matches "1" - 
[task 2021-09-27T21:17:35.700Z] 21:17:35     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: 1361}]
[task 2021-09-27T21:17:35.701Z] 21:17:35     INFO - Running test at index 1
[task 2021-09-27T21:17:35.701Z] 21:17:35     INFO - Open the panel with DOWN, don't type, blur it.
[task 2021-09-27T21:17:36.312Z] 21:17:36     INFO - Awaiting for the urlbar panel to open
[task 2021-09-27T21:17:36.374Z] 21:17:36     INFO - Urlbar panel opened
```