Bug: Intermittent browser/components/search/test/browser/telemetry/browser_search_telemetry_engagement_non_ad.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-05-05 12:58:40+00:00
Resolved: 2024-10-21 06:24:31+00:00

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

---
```
[task 2024-05-05T12:08:15.975Z] 12:08:15     INFO - TEST-PASS | browser/components/search/test/browser/telemetry/browser_search_telemetry_engagement_non_ad.js | Matching SERP impression values. - {"impression_id":"b0917cbe-f81c-4753-b42a-158234a20042","source":"unknown","is_private":"false","partner_code":"ff","shopping_tab_displayed":"false","provider":"example","is_signed_in":"false","is_shopping_page":"false","tagged":"true"} deepEqual {"provider":"example","tagged":"true","partner_code":"ff","source":"unknown","is_shopping_page":"false","is_private":"false","shopping_tab_displayed":"false","is_signed_in":"false","impression_id":"b0917cbe-f81c-4753-b42a-158234a20042"} - 
[task 2024-05-05T12:08:15.975Z] 12:08:15     INFO - Buffered messages finished
[task 2024-05-05T12:08:15.978Z] 12:08:15     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/telemetry/browser_search_telemetry_engagement_non_ad.js | Matching engagement value. - "undefined" deepEqual [{"action":"clicked","target":"non_ads_link","impression_id":"b0917cbe-f81c-4753-b42a-158234a20042"}] - {"filename":"chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/head.js","name":"assertSERPTelemetry","sourceId":975,"lineNumber":299,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/browser_search_telemetry_engagement_non_ad.js","name":"test_click_non_ads_link","sourceId":976,"lineNumber":60,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":572,"lineNumber":1139,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":572,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":572,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":572,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":599,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"test_click_non_ads_link@chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/browser_search_telemetry_engagement_non_ad.js:60:22\nasync*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertSERPTelemetry@chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/head.js:299:14\ntest_click_non_ads_link@chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/browser_search_telemetry_engagement_non_ad.js:60:22\nasync*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-05-05T12:08:15.978Z] 12:08:15     INFO - Stack trace:
[task 2024-05-05T12:08:15.979Z] 12:08:15     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/head.js:assertSERPTelemetry:299
[task 2024-05-05T12:08:15.979Z] 12:08:15     INFO - chrome://mochitests/content/browser/browser/components/search/test/browser/telemetry/browser_search_telemetry_engagement_non_ad.js:test_click_non_ads_link:60
[task 2024-05-05T12:08:15.979Z] 12:08:15     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-05-05T12:08:15.979Z] 12:08:15     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-05-05T12:08:15.979Z] 12:08:15     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-05-05T12:08:15.979Z] 12:08:15     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-05-05T12:08:15.979Z] 12:08:15     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-05-05T12:08:15.979Z] 12:08:15     INFO - Not taking screenshot here: see the one that was previously logged
```