Bug: Intermittent browser/components/search/test/browser/browser_rich_suggestions.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-02-19 15:22:47+00:00
Resolved: 2024-05-06 12:02:48+00:00

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

---
```
[task 2024-02-19T12:48:49.103Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | Actual event urlbar#engagement#enter expected to have extra. - true == true - 
[task 2024-02-19T12:48:49.104Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | Expected key elapsed must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2024-02-19T12:48:49.104Z] 12:48:49     INFO - Buffered messages finished
[task 2024-02-19T12:48:49.108Z] 12:48:49     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_rich_suggestions.js | extra[elapsed] must match in event urlbar#engagement#enter. - "0" matches "val => parseInt(val) > 0" - {"filename":"resource://testing-common/TelemetryTestUtils.sys.mjs","name":"assertEvents","sourceId":645,"lineNumber":299,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js","name":"check_results","sourceId":952,"lineNumber":103,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js","name":"test_trending_results","sourceId":952,"lineNumber":53,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":523,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":523,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":523,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":523,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":548,"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":"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":"async*test_trending_results@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js:53:9\nhandleTask@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":"check_results@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js:103:22\nasync*test_trending_results@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js:53:9\nhandleTask@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":"assertEvents@resource://testing-common/TelemetryTestUtils.sys.mjs:299:18\ncheck_results@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js:103:22\nasync*test_trending_results@chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js:53:9\nhandleTask@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 2024-02-19T12:48:49.108Z] 12:48:49     INFO - Stack trace:
[task 2024-02-19T12:48:49.108Z] 12:48:49     INFO - resource://testing-common/TelemetryTestUtils.sys.mjs:assertEvents:299
[task 2024-02-19T12:48:49.108Z] 12:48:49     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js:check_results:103
[task 2024-02-19T12:48:49.108Z] 12:48:49     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/browser_rich_suggestions.js:test_trending_results:53
[task 2024-02-19T12:48:49.108Z] 12:48:49     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2024-02-19T12:48:49.108Z] 12:48:49     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2024-02-19T12:48:49.108Z] 12:48:49     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2024-02-19T12:48:49.108Z] 12:48:49     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | Expected key numChars must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | extra[numChars] must match in event urlbar#engagement#enter. - "0" matches "0" - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | Expected key numWords must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | extra[numWords] must match in event urlbar#engagement#enter. - "0" matches "0" - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | Expected key selIndex must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | extra[selIndex] must match in event urlbar#engagement#enter. - "0" matches "0" - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | Expected key selType must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | extra[selType] must match in event urlbar#engagement#enter. - "trending_rich" matches "trending_rich" - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | Expected key provider must be in actual extra. Actual keys: [elapsed,numChars,numWords,selIndex,selType,provider]. - true == true - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | extra[provider] must match in event urlbar#engagement#enter. - "SearchSuggestions" matches "SearchSuggestions" - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | 1 == 1 - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - Awaiting for the urlbar panel to open
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - Urlbar panel opened
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | 2 == 2 - 
[task 2024-02-19T12:48:49.109Z] 12:48:49     INFO - TEST-PASS | browser/components/search/test/browser/browser_rich_suggestions.js | "SearchSuggestions" == "SearchSuggestions" - 
```