Bug: Perma browser/components/sidebar/tests/browser/browser_glean_sidebar.js | A promise chain failed to handle a rejection: [fluent] Couldn't find a message: passwords-section-label - stack: (No stack available.) - when Gecko 137 merges to beta on 2025-03-03
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2025-02-15 13:16:01+00:00
Resolved: 2025-02-20 17:12:10+00:00

[Central-as-beta-simulation](https://treeherder.mozilla.org/jobs?repo=try&duplicate_jobs=visible&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=38f6b0a2ef5a963d329f400e4e8ccfa0fb7e0bc1&selectedTaskRun=e4qU88tlQuC15g-DTjZ9FQ.0&test_paths=browser%2Fcomponents%2Fsidebar%2Ftests%2Fbrowser)

[How to run these simulations](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)


[Failure log](https://treeherder.mozilla.org/logviewer?job_id=495124964&repo=try&lineNumber=5817)
* Failure snippet:
```
[task 2025-02-15T12:17:16.733Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event has the correct sidebar version. - "new" == "new" - 
[task 2025-02-15T12:17:16.733Z] 12:17:16     INFO - Leaving test bound test_bookmarks_sidebar_toggle
[task 2025-02-15T12:17:16.733Z] 12:17:16     INFO - Entering test bound test_extension_sidebar_toggle
[task 2025-02-15T12:17:16.733Z] 12:17:16     INFO - Load an extension.
[task 2025-02-15T12:17:16.734Z] 12:17:16     INFO - Extension loaded
[task 2025-02-15T12:17:16.734Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | One event was reported. - 1 == 1 - 
[task 2025-02-15T12:17:16.734Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates the panel was opened. - "true" == true - 
[task 2025-02-15T12:17:16.734Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event has the extension's ID. - "cc8b5a7237d67436473464f30d141dfc1d958113@temporary-addon" == true - 
[task 2025-02-15T12:17:16.734Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event has the extension's name. - "Generated extension" == true - 
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event has the correct sidebar version. - "new" == "new" - 
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - Unload the extension.
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Two events were reported. - 2 == 2 - 
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - Leaving test bound test_extension_sidebar_toggle
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - Entering test bound test_review_checker_sidebar_toggle
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - Load the viewReviewCheckerSidebar panel.
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | One event was reported. - 1 == 1 - 
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates that the panel was opened. - "true" == "true" - 
[task 2025-02-15T12:17:16.735Z] 12:17:16     INFO - Unload the viewReviewCheckerSidebar panel.
[task 2025-02-15T12:17:16.736Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Two events were reported. - 2 == 2 - 
[task 2025-02-15T12:17:16.736Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates that the panel was closed. - "false" == "false" - 
[task 2025-02-15T12:17:16.736Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event has the correct sidebar version. - "new" == "new" - 
[task 2025-02-15T12:17:16.736Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event has the correct sidebar version. - "new" == "new" - 
[task 2025-02-15T12:17:16.736Z] 12:17:16     INFO - Leaving test bound test_review_checker_sidebar_toggle
[task 2025-02-15T12:17:16.736Z] 12:17:16     INFO - Entering test bound test_contextual_manager_toggle
[task 2025-02-15T12:17:16.736Z] 12:17:16     INFO - Load the viewCPMSidebar panel.
[task 2025-02-15T12:17:16.737Z] 12:17:16     INFO - Console message: [JavaScript Warning: "Missing resource in locale en-US: preview/megalist.ftl"]
[task 2025-02-15T12:17:16.737Z] 12:17:16     INFO - Console message: [JavaScript Warning: "Missing resource in locale en-US: preview/megalist.ftl"]
[task 2025-02-15T12:17:16.737Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | One event was reported. - 1 == 1 - 
[task 2025-02-15T12:17:16.737Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates that the panel was opened. - "true" == "true" - 
[task 2025-02-15T12:17:16.737Z] 12:17:16     INFO - Unload the viewCPMSidebar panel.
[task 2025-02-15T12:17:16.737Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Two events were reported. - 2 == 2 - 
[task 2025-02-15T12:17:16.737Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates that the panel was closed. - "false" == "false" - 
[task 2025-02-15T12:17:16.737Z] 12:17:16     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: create-login-button"]
[task 2025-02-15T12:17:16.738Z] 12:17:16     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: sidebar-menu-cpm-header"]
[task 2025-02-15T12:17:16.738Z] 12:17:16     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: sidebar-panel-header-close-button"]
[task 2025-02-15T12:17:16.738Z] 12:17:16     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: sidebar-panel-header-close-button"]
[task 2025-02-15T12:17:16.738Z] 12:17:16     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: passwords-section-label"]
[task 2025-02-15T12:17:16.738Z] 12:17:16     INFO - Buffered messages finished
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | A promise chain failed to handle a rejection: [fluent] Couldn't find a message: create-login-button - stack: (No stack available.)
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - Rejection date: Sat Feb 15 2025 12:17:16 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - Stack trace:
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:handleTask:1175
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | A promise chain failed to handle a rejection: [fluent] Couldn't find a message: sidebar-menu-cpm-header - stack: (No stack available.)
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - Rejection date: Sat Feb 15 2025 12:17:16 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - Stack trace:
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2025-02-15T12:17:16.739Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:handleTask:1175
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | A promise chain failed to handle a rejection: [fluent] Couldn't find a message: sidebar-panel-header-close-button - stack: (No stack available.)
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - Rejection date: Sat Feb 15 2025 12:17:16 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - Stack trace:
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:handleTask:1175
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | A promise chain failed to handle a rejection: [fluent] Couldn't find a message: sidebar-panel-header-close-button - stack: (No stack available.)
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - Rejection date: Sat Feb 15 2025 12:17:16 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - Stack trace:
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:handleTask:1175
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-15T12:17:16.740Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | A promise chain failed to handle a rejection: [fluent] Couldn't find a message: passwords-section-label - stack: (No stack available.)
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - Rejection date: Sat Feb 15 2025 12:17:16 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - Stack trace:
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:handleTask:1175
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-15T12:17:16.741Z] 12:17:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | A promise chain failed to handle a rejection: [fluent] Couldn't find a message: sidebar-menu-cpm-header - stack: (No stack available.)
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - Rejection date: Sat Feb 15 2025 12:17:16 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - Stack trace:
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:handleTask:1175
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - Leaving test bound test_contextual_manager_toggle
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - Entering test bound test_customize_panel_toggle
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - Load the viewCustomizeSidebar panel.
[task 2025-02-15T12:17:16.742Z] 12:17:16     INFO - Console message: [JavaScript Error: "InvalidStateError: [fluent] Couldn't find a message: sidebar-menu-cpm-header"]
[task 2025-02-15T12:17:16.742Z] 12:17:16     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 2025-02-15T12:17:16.742Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | One event was reported. - 1 == 1 - 
[task 2025-02-15T12:17:16.743Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates that the panel was opened. - "true" == "true" - 
[task 2025-02-15T12:17:16.743Z] 12:17:16     INFO - Unload the viewCustomizeSidebar panel.
[task 2025-02-15T12:17:16.743Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Two events were reported. - 2 == 2 - 
[task 2025-02-15T12:17:16.743Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates that the panel was closed. - "false" == "false" - 
[task 2025-02-15T12:17:16.743Z] 12:17:16     INFO - Leaving test bound test_customize_panel_toggle
[task 2025-02-15T12:17:16.743Z] 12:17:16     INFO - Entering test bound test_customize_icon_click
[task 2025-02-15T12:17:16.743Z] 12:17:16     INFO - Click on the gear icon.
[task 2025-02-15T12:17:16.743Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | One event was reported. - 1 == 1 - 
[task 2025-02-15T12:17:16.744Z] 12:17:16     INFO - Leaving test bound test_customize_icon_click
[task 2025-02-15T12:17:16.744Z] 12:17:16     INFO - Entering test bound test_customize_chatbot_enabled
[task 2025-02-15T12:17:16.744Z] 12:17:16     INFO - Toggle viewGenaiChatSidebar.
[task 2025-02-15T12:17:16.744Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Checkbox is unchecked. - false == false - 
[task 2025-02-15T12:17:16.744Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | One event was reported. - 1 == 1 - 
[task 2025-02-15T12:17:16.745Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates that the box was unchecked. - {"checked":"false"} deepEqual {"checked":"false"} - 
[task 2025-02-15T12:17:16.745Z] 12:17:16     INFO - Re-toggle viewGenaiChatSidebar.
[task 2025-02-15T12:17:16.745Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Checkbox is checked. - true == true - 
[task 2025-02-15T12:17:16.745Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Two events were reported. - 2 == 2 - 
[task 2025-02-15T12:17:16.745Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Event indicates that the box was checked. - {"checked":"true"} deepEqual {"checked":"true"} - 
[task 2025-02-15T12:17:16.745Z] 12:17:16     INFO - Leaving test bound test_customize_chatbot_enabled
[task 2025-02-15T12:17:16.745Z] 12:17:16     INFO - Entering test bound test_customize_synced_tabs_enabled
[task 2025-02-15T12:17:16.746Z] 12:17:16     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 2025-02-15T12:17:16.746Z] 12:17:16     INFO - Toggle viewTabsSidebar.
[task 2025-02-15T12:17:16.746Z] 12:17:16     INFO - TEST-PASS | browser/components/sidebar/tests/browser/browser_glean_sidebar.js | Checkbox is unchecked. - false == false - 
```