Bug: Intermittent TV browser/base/content/test/sidebar/browser_sidebar_switcher.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-05-30 17:47:33+00:00
Resolved: 2023-06-05 06:29:17+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=417522617&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/I3YbLKoiQFC_2FXRaZBzNg/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/I3YbLKoiQFC_2FXRaZBzNg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-05-30T17:45:31.067Z] 17:45:31     INFO - TEST-PASS | browser/base/content/test/sidebar/browser_sidebar_switcher.js | Sidebar is open - true == true - 
[task 2023-05-30T17:45:31.067Z] 17:45:31     INFO - Buffered messages finished
[task 2023-05-30T17:45:31.074Z] 17:45:31     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sidebar/browser_sidebar_switcher.js | The sidebar switcher target button is focused - {} == [object XULElement] - {"filename":"chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js","name":"testSidebarMenuKeyToggle","sourceId":584,"lineNumber":78,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js","name":"keynav","sourceId":584,"lineNumber":251,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":534,"lineNumber":1133,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":534,"lineNumber":1205,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":534,"lineNumber":1347,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":534,"lineNumber":1116,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":560,"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:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1133:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"keynav@chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:251:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1133:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"testSidebarMenuKeyToggle@chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:78:10\nkeynav@chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:251:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1133:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-05-30T17:45:31.074Z] 17:45:31     INFO - Stack trace:
[task 2023-05-30T17:45:31.074Z] 17:45:31     INFO - chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:testSidebarMenuKeyToggle:78
[task 2023-05-30T17:45:31.074Z] 17:45:31     INFO - chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:keynav:251
[task 2023-05-30T17:45:31.074Z] 17:45:31     INFO - chrome://mochikit/content/browser-test.js:handleTask:1133
[task 2023-05-30T17:45:31.074Z] 17:45:31     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1205
[task 2023-05-30T17:45:31.074Z] 17:45:31     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1347
[task 2023-05-30T17:45:31.075Z] 17:45:31     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1116
[task 2023-05-30T17:45:31.075Z] 17:45:31     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-05-30T17:45:31.075Z] 17:45:31     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-30T17:45:31.080Z] 17:45:31     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sidebar/browser_sidebar_switcher.js | The sidebar switcher target button is focused - false == true - {"filename":"chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js","name":"testSidebarMenuKeyToggle","sourceId":584,"lineNumber":83,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js","name":"keynav","sourceId":584,"lineNumber":251,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":534,"lineNumber":1133,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":534,"lineNumber":1205,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":534,"lineNumber":1347,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":534,"lineNumber":1116,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":560,"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:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1133:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"keynav@chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:251:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1133:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"testSidebarMenuKeyToggle@chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:83:10\nkeynav@chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:251:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1133:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-05-30T17:45:31.080Z] 17:45:31     INFO - Stack trace:
[task 2023-05-30T17:45:31.080Z] 17:45:31     INFO - chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:testSidebarMenuKeyToggle:83
[task 2023-05-30T17:45:31.080Z] 17:45:31     INFO - chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_switcher.js:keynav:251
[task 2023-05-30T17:45:31.080Z] 17:45:31     INFO - chrome://mochikit/content/browser-test.js:handleTask:1133
[task 2023-05-30T17:45:31.080Z] 17:45:31     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1205
[task 2023-05-30T17:45:31.080Z] 17:45:31     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1347
[task 2023-05-30T17:45:31.081Z] 17:45:31     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1116
[task 2023-05-30T17:45:31.081Z] 17:45:31     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-05-30T17:45:31.081Z] 17:45:31     INFO - TEST-PASS | browser/base/content/test/sidebar/browser_sidebar_switcher.js | Sidebar menu popup is closed - "closed" == "closed" - 
[task 2023-05-30T17:45:31.799Z] 17:45:31     INFO - GECKO(2115) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-05-30T17:45:31.801Z] 17:45:31     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-05-30T17:45:31.801Z] 17:45:31     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-05-30T17:45:31.801Z] 17:45:31     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-05-30T17:45:31.801Z] 17:45:31     INFO - 
[task 2023-05-30T17:45:45.889Z] 17:45:45     INFO - GECKO(2115) | 2023-05-30 17:45:45.887 firefox[2115:26964] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.nightly.savedState/window_1.data: No such file or directory (2)
[task 2023-05-30T17:46:01.086Z] 17:46:01     INFO - GECKO(2115) | console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 324))
[task 2023-05-30T17:46:17.641Z] 17:46:17     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-30T17:46:17.642Z] 17:46:17     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sidebar/browser_sidebar_switcher.js | Test timed out - 
[task 2023-05-30T17:46:17.649Z] 17:46:17     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-30T17:46:17.650Z] 17:46:17     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sidebar/browser_sidebar_switcher.js | Uncaught exception received from previously timed out test bound keynav - popupshown listener on #sidebarMenu-popup not removed before the end of test
[task 2023-05-30T17:46:17.650Z] 17:46:17     INFO - Entering test bound mouse
[task 2023-05-30T17:46:17.925Z] 17:46:17     INFO - TEST-PASS | browser/base/content/test/sidebar/browser_sidebar_switcher.js | History sidebar loaded - "viewHistorySidebar" == "viewHistorySidebar" - 
[task 2023-05-30T17:46:18.043Z] 17:46:18     INFO - TEST-PASS | browser/base/content/test/sidebar/browser_sidebar_switcher.js | Tabs sidebar loaded - "viewTabsSidebar" == "viewTabsSidebar" - 
[task 2023-05-30T17:46:18.141Z] 17:46:18     INFO - TEST-PASS | browser/base/content/test/sidebar/browser_sidebar_switcher.js | Bookmarks sidebar loaded - "viewBookmarksSidebar" == "viewBookmarksSidebar" - 
[task 2023-05-30T17:46:18.142Z] 17:46:18     INFO - Leaving test bound mouse
[task 2023-05-30T17:46:18.757Z] 17:46:18     INFO - GECKO(2115) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2023-05-30T17:46:18.758Z] 17:46:18     INFO - GECKO(2115) | MEMORY STAT | vsize 16080MB | residentFast 321MB | heapAllocated 127MB
[task 2023-05-30T17:46:18.758Z] 17:46:18     INFO - TEST-OK | browser/base/content/test/sidebar/browser_sidebar_switcher.js | took 48183ms
[task 2023-05-30T17:46:18.772Z] 17:46:18     INFO - checking window state
[task 2023-05-30T17:46:18.782Z] 17:46:18     INFO - GECKO(2115) | Completed ShutdownLeaks collections in process 2115
[task 2023-05-30T17:46:18.782Z] 17:46:18     INFO - TEST-START | Shutdown
```