Bug: Intermittent browser/components/places/tests/browser/browser_library_telemetry.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-31 01:19:09+00:00
Resolved: 2025-02-24 12:02:35+00:00

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

---
```
TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | library.opened['history'] must contain the expected value - 1 == 1 - 
[task 2023-07-31T00:00:00.975Z] 00:00:00     INFO - Buffered messages finished
[task 2023-07-31T00:00:00.982Z] 00:00:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_library_telemetry.js | The Today history sidebar button is selected - "Yesterday" == "Today" - {"filename":"chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_library_telemetry.js","name":"test_library_history_telemetry","sourceId":2561,"lineNumber":121,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":544,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":544,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":544,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":544,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":572,"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":"async*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":{}},"caller":null,"formattedStack":"test_library_history_telemetry@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_library_telemetry.js:121:10\nasync*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":{}}
[task 2023-07-31T00:00:00.983Z] 00:00:00     INFO - Stack trace:
[task 2023-07-31T00:00:00.983Z] 00:00:00     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_library_telemetry.js:test_library_history_telemetry:121
[task 2023-07-31T00:00:00.983Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-07-31T00:00:00.983Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-31T00:00:00.983Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-07-31T00:00:00.983Z] 00:00:00     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-31T00:00:00.983Z] 00:00:00     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-31T00:00:00.983Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | Content tree's searchTerms should be text in search box - "mozilla" == "mozilla" - 
[task 2023-07-31T00:00:00.984Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | library.search must be recorded. - true == true - 
[task 2023-07-31T00:00:00.984Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | library.search must contain the 'history' key. - true == true - 
[task 2023-07-31T00:00:00.985Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | library.search['history'] must contain the expected value - 1 == 1 - 
[task 2023-07-31T00:00:00.986Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | Found history item in the right pane - "https://library.mozilla.org/a" == "https://library.mozilla.org/a" - 
[task 2023-07-31T00:00:00.986Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | library.link must be recorded. - true == true - 
[task 2023-07-31T00:00:00.987Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | library.link must contain the 'history' key. - true == true - 
[task 2023-07-31T00:00:00.987Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | library.link['history'] must contain the expected value - 1 == 1 - 
[task 2023-07-31T00:00:00.988Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | unexpected counts should be zero for PLACES_LIBRARY_CUMULATIVE_HISTORY_SEARCHES at index 0 - 0 == 0 - 
[task 2023-07-31T00:00:00.988Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | expected counts should match for PLACES_LIBRARY_CUMULATIVE_HISTORY_SEARCHES at index 1 - 1 == 1 - 
[task 2023-07-31T00:00:00.989Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | unexpected counts should be zero for PLACES_LIBRARY_CUMULATIVE_HISTORY_SEARCHES at index 2 - 0 == 0 - 
[task 2023-07-31T00:00:00.989Z] 00:00:00     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | Should have found an entry for PLACES_LIBRARY_CUMULATIVE_HISTORY_SEARCHES at index 1 - true == true - 
[task 2023-07-31T00:00:00.989Z] 00:00:00     INFO - Cumulative search telemetry looks right
[task 2023-07-31T00:00:00.990Z] 00:00:00     INFO - GECKO(6736) | must wait for load
[task 2023-07-31T00:00:00.990Z] 00:00:00     INFO - GECKO(6736) | must wait for focus
[task 2023-07-31T00:00:01.093Z] 00:00:01     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | Bookmark/History tree is shown - true == true - 
[task 2023-07-31T00:00:01.109Z] 00:00:01     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | Downloads are hidden - true == true - 
[task 2023-07-31T00:00:01.110Z] 00:00:01     INFO - TEST-PASS | browser/components/places/tests/browser/browser_library_telemetry.js | Current view is shown - true == true - 
[task 2023-07-31T00:00:01.115Z] 00:00:01     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-07-31T00:00:01.123Z] 00:00:01     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_library_telemetry.js | The Today history sidebar button is selected - "Yesterday" == "Today" - {"filename":"chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_library_telemetry.js","name":"test_library_history_telemetry","sourceId":2561,"lineNumber":165,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":544,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":544,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":544,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":544,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":572,"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":"async*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":{}},"caller":null,"formattedStack":"test_library_history_telemetry@chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_library_telemetry.js:165:10\nasync*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":{}}
[task 2023-07-31T00:00:01.123Z] 00:00:01     INFO - Stack trace:
[task 2023-07-31T00:00:01.123Z] 00:00:01     INFO - chrome://mochitests/content/browser/browser/components/places/tests/browser/browser_library_telemetry.js:test_library_history_telemetry:165
[task 2023-07-31T00:00:01.123Z] 00:00:01     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-07-31T00:00:01.123Z] 00:00:01     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-31T00:00:01.123Z] 00:00:01     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
```