Bug: Intermittent browser/components/sidebar/tests/browser/browser_customize_sidebar.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-06-21 00:53:26+00:00
Resolved: 2025-03-03 06:16:37+00:00

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

---
```
[task 2024-06-20T23:55:42.314Z] 23:55:42     INFO - TEST-START | browser/components/sidebar/tests/browser/browser_customize_sidebar.js
[task 2024-06-20T23:55:42.586Z] 23:55:42     INFO - GECKO(21247) | 1718927742585	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-06-20T23:55:43.087Z] 23:55:43     INFO - GECKO(21247) | 1718927743086	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-06-20T23:55:43.148Z] 23:55:43     INFO - GECKO(21247) | JavaScript error: chrome://browser/content/sidebar/browser-sidebar.js, line 277: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]
[task 2024-06-20T23:55:43.206Z] 23:55:43     INFO - GECKO(21247) | JavaScript error: , line 0: TypeError: error loading dynamically imported module: chrome://browser/content/sidebar/sidebar-main.mjs
[task 2024-06-20T23:55:43.211Z] 23:55:43     INFO - TEST-INFO | started process screentopng
[task 2024-06-20T23:55:43.436Z] 23:55:43     INFO - TEST-INFO | screentopng: exit 0
[task 2024-06-20T23:55:43.437Z] 23:55:43     INFO - Buffered messages logged at 23:55:42
[task 2024-06-20T23:55:43.438Z] 23:55:43     INFO - Entering setup bound 
[task 2024-06-20T23:55:43.439Z] 23:55:43     INFO - Leaving setup bound 
[task 2024-06-20T23:55:43.441Z] 23:55:43     INFO - Entering test bound test_customize_sidebar_actions
[task 2024-06-20T23:55:43.445Z] 23:55:43     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/sidebar/sidebar-customize.html" line: 0}]
[task 2024-06-20T23:55:43.445Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | 2 inputs to toggle Firefox Tools are shown in the Customize Menu. - 
[task 2024-06-20T23:55:43.446Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | Three default tools are shown in the customize menu - 
[task 2024-06-20T23:55:43.447Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The bookmarks input is unchecked initally as Bookmarks are disabled initially. - 
[task 2024-06-20T23:55:43.447Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The button for the viewHistorySidebar entrypoint has been removed. - 
[task 2024-06-20T23:55:43.452Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The button for the viewHistorySidebar entrypoint has been added. - 
[task 2024-06-20T23:55:43.453Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The button for the viewHistorySidebar entrypoint has been added back to the end of the list of tools/extensions entrypoints - 
[task 2024-06-20T23:55:43.453Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The button for the viewTabsSidebar entrypoint has been removed. - 
[task 2024-06-20T23:55:43.454Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The button for the viewTabsSidebar entrypoint has been added. - 
[task 2024-06-20T23:55:43.455Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The button for the viewTabsSidebar entrypoint has been added back to the end of the list of tools/extensions entrypoints - 
[task 2024-06-20T23:55:43.455Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The button for the viewBookmarksSidebar entrypoint has been added. - 
[task 2024-06-20T23:55:43.457Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The button for the viewBookmarksSidebar entrypoint has been removed. - 
[task 2024-06-20T23:55:43.458Z] 23:55:43     INFO - Leaving test bound test_customize_sidebar_actions
[task 2024-06-20T23:55:43.459Z] 23:55:43     INFO - Entering test bound test_customize_not_added_in_menubar
[task 2024-06-20T23:55:43.459Z] 23:55:43     INFO - Buffered messages logged at 23:55:43
[task 2024-06-20T23:55:43.460Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | The View > Sidebars menu doesn't include any option for 'customize'. - 
[task 2024-06-20T23:55:43.461Z] 23:55:43     INFO - Console message: [JavaScript Error: "NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]" {file: "chrome://browser/content/sidebar/browser-sidebar.js" line: 277}]
[task 2024-06-20T23:55:43.462Z] 23:55:43     INFO - uninit@chrome://browser/content/sidebar/browser-sidebar.js:277:18
[task 2024-06-20T23:55:43.463Z] 23:55:43     INFO - onUnload@chrome://browser/content/browser-init.js:1025:23
[task 2024-06-20T23:55:43.463Z] 23:55:43     INFO - EventHandlerNonNull*@chrome://browser/content/browser.xhtml:127:43
[task 2024-06-20T23:55:43.464Z] 23:55:43     INFO - 
[task 2024-06-20T23:55:43.465Z] 23:55:43     INFO - Console message: [JavaScript Warning: "Loading failed for the module with source “chrome://global/content/elements/moz-button.mjs”." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2024-06-20T23:55:43.466Z] 23:55:43     INFO - Buffered messages finished
[task 2024-06-20T23:55:43.468Z] 23:55:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | A promise chain failed to handle a rejection: error loading dynamically imported module: chrome://browser/content/sidebar/sidebar-main.mjs - stack: init@chrome://browser/content/sidebar/browser-sidebar.js:242:7
[task 2024-06-20T23:55:43.469Z] 23:55:43     INFO - async*onLoad@chrome://browser/content/browser-init.js:216:23
[task 2024-06-20T23:55:43.469Z] 23:55:43     INFO - EventHandlerNonNull*@chrome://browser/content/browser.xhtml:126:39
[task 2024-06-20T23:55:43.470Z] 23:55:43     INFO - Rejection date: Thu Jun 20 2024 23:55:43 GMT+0000 (Coordinated Universal Time) - false == true - 
[task 2024-06-20T23:55:43.471Z] 23:55:43     INFO - Stack trace:
[task 2024-06-20T23:55:43.471Z] 23:55:43     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-06-20T23:55:43.472Z] 23:55:43     INFO - chrome://mochikit/content/browser-test.js:handleTask:1173
[task 2024-06-20T23:55:43.473Z] 23:55:43     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-06-20T23:55:43.473Z] 23:55:43     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-06-20T23:55:43.474Z] 23:55:43     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-06-20T23:55:43.475Z] 23:55:43     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-06-20T23:55:43.476Z] 23:55:43     INFO - Leaving test bound test_customize_not_added_in_menubar
[task 2024-06-20T23:55:43.477Z] 23:55:43     INFO - Entering test bound test_manage_preferences_navigation
[task 2024-06-20T23:55:43.478Z] 23:55:43     INFO - Console message: [JavaScript Error: "TypeError: error loading dynamically imported module: chrome://browser/content/sidebar/sidebar-main.mjs"]
[task 2024-06-20T23:55:43.539Z] 23:55:43     INFO - GECKO(21247) | 1718927743538	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-06-20T23:55:43.600Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | Sidebar is shown. - 
[task 2024-06-20T23:55:43.617Z] 23:55:43     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/sidebar/sidebar-customize.html" line: 0}]
[task 2024-06-20T23:55:43.830Z] 23:55:43     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | Manage Settings link navigates to about:preferences. - 
[task 2024-06-20T23:55:43.906Z] 23:55:43     INFO - Leaving test bound test_manage_preferences_navigation
[task 2024-06-20T23:55:44.216Z] 23:55:44     INFO - GECKO(21247) | MEMORY STAT | vsize 11431MB | residentFast 441MB | heapAllocated 279MB
[task 2024-06-20T23:55:44.219Z] 23:55:44     INFO - TEST-OK | browser/components/sidebar/tests/browser/browser_customize_sidebar.js | took 1906ms
[task 2024-06-20T23:55:44.228Z] 23:55:44     INFO - checking window state
[task 2024-06-20T23:55:44.237Z] 23:55:44     INFO - TEST-START | browser/components/sidebar/tests/browser/browser_domfullscreen_sidebar.js
```