Bug: Intermittent browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-02-22 01:30:02+00:00
Resolved: 2025-01-27 12:03:27+00:00

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

---
```
[task 2024-02-21T23:59:59.309Z] 23:59:59     INFO - TEST-START | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js
[task 2024-02-22T00:00:00.056Z] 00:00:00     INFO - TEST-INFO | started process screentopng
[task 2024-02-22T00:00:00.610Z] 00:00:00     INFO - TEST-INFO | screentopng: exit 0
[task 2024-02-22T00:00:00.610Z] 00:00:00     INFO - Buffered messages logged at 23:59:59
[task 2024-02-22T00:00:00.610Z] 00:00:00     INFO - Entering setup bound 
[task 2024-02-22T00:00:00.610Z] 00:00:00     INFO - Leaving setup bound 
[task 2024-02-22T00:00:00.610Z] 00:00:00     INFO - Entering test bound test_click_multiple_history_entries
[task 2024-02-22T00:00:00.611Z] 00:00:00     INFO - withSidebarTree: waiting sidebar load
[task 2024-02-22T00:00:00.611Z] 00:00:00     INFO - Buffered messages logged at 00:00:00
[task 2024-02-22T00:00:00.611Z] 00:00:00     INFO - withSidebarTree: executing the task
[task 2024-02-22T00:00:00.611Z] 00:00:00     INFO - Buffered messages finished
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | The Today history sidebar button is selected - Got "Yesterday", expected "Today"
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - Stack trace:
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:test_click_multiple_history_entries/<:59
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js:withSidebarTree:407
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:test_click_multiple_history_entries:54
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-02-22T00:00:00.612Z] 00:00:00     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-02-22T00:00:00.613Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | sidebar.link must not be reported. - true == true - 
[task 2024-02-22T00:00:00.618Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | sidebar.link must be recorded. - true == true - 
[task 2024-02-22T00:00:00.619Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | sidebar.link must contain the 'history' key. - true == true - 
[task 2024-02-22T00:00:00.619Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | sidebar.link['history'] must contain the expected value - 4 == 4 - 
[task 2024-02-22T00:00:00.619Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | sidebar.link must not be reported. - true == true - 
[task 2024-02-22T00:00:00.619Z] 00:00:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-22T00:00:00.649Z] 00:00:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | sidebar.link must be recorded. - false == true - {"filename":"resource://testing-common/TelemetryTestUtils.sys.mjs","name":"assertKeyedScalar","sourceId":1637,"lineNumber":42,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js","name":"test_click_multiple_history_entries/<","sourceId":2911,"lineNumber":116,"columnNumber":24,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js","name":"withSidebarTree","sourceId":2910,"lineNumber":407,"columnNumber":11,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js","name":"test_click_multiple_history_entries","sourceId":2911,"lineNumber":54,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":561,"lineNumber":1139,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":561,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":561,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":561,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":589,"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":"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":"async*test_click_multiple_history_entries@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:54:9\nhandleTask@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":"async*withSidebarTree@chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js:407:11\nasync*test_click_multiple_history_entries@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:54:9\nhandleTask@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_multiple_history_entries/<@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:116:24\nasync*withSidebarTree@chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js:407:11\nasync*test_click_multiple_history_entries@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:54:9\nhandleTask@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":"assertKeyedScalar@resource://testing-common/TelemetryTestUtils.sys.mjs:42:12\ntest_click_multiple_history_entries/<@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:116:24\nasync*withSidebarTree@chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js:407:11\nasync*test_click_multiple_history_entries@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:54:9\nhandleTask@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-02-22T00:00:00.650Z] 00:00:00     INFO - Stack trace:
[task 2024-02-22T00:00:00.650Z] 00:00:00     INFO - resource://testing-common/TelemetryTestUtils.sys.mjs:assertKeyedScalar:42
[task 2024-02-22T00:00:00.652Z] 00:00:00     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:test_click_multiple_history_entries/<:116
[task 2024-02-22T00:00:00.653Z] 00:00:00     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js:withSidebarTree:407
[task 2024-02-22T00:00:00.653Z] 00:00:00     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:test_click_multiple_history_entries:54
[task 2024-02-22T00:00:00.653Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-02-22T00:00:00.653Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-02-22T00:00:00.654Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-02-22T00:00:00.654Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-02-22T00:00:00.654Z] 00:00:00     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-02-22T00:00:00.669Z] 00:00:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-22T00:00:00.700Z] 00:00:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | Uncaught exception in test bound test_click_multiple_history_entries - at resource://testing-common/TelemetryTestUtils.sys.mjs:44 - TypeError: right-hand side of 'in' should be an object, got undefined
[task 2024-02-22T00:00:00.700Z] 00:00:00     INFO - Stack trace:
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - assertKeyedScalar@resource://testing-common/TelemetryTestUtils.sys.mjs:44:14
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - test_click_multiple_history_entries/<@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:116:24
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - async*withSidebarTree@chrome://mochitests/content/browser/browser/components/places/tests/browser/head.js:407:11
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - async*test_click_multiple_history_entries@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_sidebar_history_telemetry.js:54:9
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-02-22T00:00:00.701Z] 00:00:00     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-02-22T00:00:00.702Z] 00:00:00     INFO - Leaving test bound test_click_multiple_history_entries
[task 2024-02-22T00:00:00.705Z] 00:00:00     INFO - Entering test bound test_search_and_filter
[task 2024-02-22T00:00:00.706Z] 00:00:00     INFO - withSidebarTree: waiting sidebar load
[task 2024-02-22T00:00:00.959Z] 00:00:00     INFO - GECKO(24777) | type=http, flags=0
[task 2024-02-22T00:00:01.466Z] 00:00:01     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://www.mozilla.org/d" line: 0}]
[task 2024-02-22T00:00:01.469Z] 00:00:01     INFO - withSidebarTree: executing the task
[task 2024-02-22T00:00:01.480Z] 00:00:01     INFO - Search filter was changed to bylastvisited
[task 2024-02-22T00:00:01.493Z] 00:00:01     INFO - Tree was searched with sting sidebar.mozilla
[task 2024-02-22T00:00:01.511Z] 00:00:01     INFO - Search was reset
[task 2024-02-22T00:00:01.521Z] 00:00:01     INFO - Second search was performed
[task 2024-02-22T00:00:01.585Z] 00:00:01     INFO - First link was selected and then clicked on
[task 2024-02-22T00:00:01.589Z] 00:00:01     INFO - TEST-PASS | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | sidebar.link must be recorded. - true == true - 
[task 2024-02-22T00:00:01.592Z] 00:00:01     INFO - TEST-PASS | browser/components/places/tests/browser/browser_sidebar_history_telemetry.js | sidebar.link must contain the 'history' key. - true == true - 
```