Bug: Intermittent browser/components/translations/tests/browser/browser_translations_full_page_panel_close_panel_never_translate_language_with_translations_inactive.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-04-04 23:50:33+00:00
Resolved: 2025-02-17 12:06:01+00:00

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

---
```
[task 2024-04-04T23:09:56.348Z] 23:09:56     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_close_panel_never_translate_language_with_translations_inactive.js | Should match expected checkbox state for translations-panel-settings-never-translate-language - 
[task 2024-04-04T23:09:56.349Z] 23:09:56     INFO - Action: clickNeverTranslateLanguage()
[task 2024-04-04T23:09:56.350Z] 23:09:56     INFO - Source: browser/components/translations/tests/browser/browser_translations_full_page_panel_close_panel_never_translate_language_with_translations_inactive.js:32:43
[task 2024-04-04T23:09:56.351Z] 23:09:56     INFO - Toggling the "translations-panel-settings-never-translate-language" settings menu item.
[task 2024-04-04T23:09:56.351Z] 23:09:56     INFO - Buffered messages finished
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_panel_close_panel_never_translate_language_with_translations_inactive.js | Uncaught exception in test bound test_panel_closes_on_toggle_never_translate_language - at chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:109 - Error: The element is not visible in the DOM: translations-panel-settings-never-translate-language
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - Stack trace:
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - getByL10nId@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:109:9
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - #clickSettingsMenuItemByL10nId@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:1054:11
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - clickNeverTranslateLanguage@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:1015:71
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - test_panel_closes_on_toggle_never_translate_language/<@chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_full_page_panel_close_panel_never_translate_language_with_translations_inactive.js:32:43
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - _waitForPopupEvent@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:408:11
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - waitForPanelPopupEvent@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:1265:39
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - test_panel_closes_on_toggle_never_translate_language@chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_full_page_panel_close_panel_never_translate_language_with_translations_inactive.js:29:39
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-04-04T23:09:56.355Z] 23:09:56     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-04-04T23:09:56.356Z] 23:09:56     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-04-04T23:09:56.356Z] 23:09:56     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-04-04T23:09:56.356Z] 23:09:56     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-04-04T23:09:56.356Z] 23:09:56     INFO - Leaving test bound test_panel_closes_on_toggle_never_translate_language
[task 2024-04-04T23:09:56.357Z] 23:09:56     INFO - Entering test bound test_panel_closes_on_toggle_never_translate_language_with_never_translate_site_enabled
[task 2024-04-04T23:09:56.358Z] 23:09:56     INFO - Loading test page starting at url: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html
[task 2024-04-04T23:09:56.358Z] 23:09:56     INFO - GECKO(3380) | [Child 3728: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1c02cfee400 == 2 [pid = 3728] [id = 9]
[task 2024-04-04T23:09:56.359Z] 23:09:56     INFO - GECKO(3380) | [Child 3728: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 21 (1c0239063e0) [pid = 3728] [serial = 28] [outer = 0]
[task 2024-04-04T23:09:56.361Z] 23:09:56     INFO - GECKO(3380) | [Child 3728: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 22 (1c02cff0800) [pid = 3728] [serial = 29] [outer = 1c0239063e0]
[task 2024-04-04T23:09:56.361Z] 23:09:56     INFO - GECKO(3380) | [Parent 7952, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, true) failed with result 0x80070057 (NS_ERROR_ILLEGAL_VALUE): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:883
[task 2024-04-04T23:09:56.362Z] 23:09:56     INFO - GECKO(3380) | [Parent 7952, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, true) failed with result 0x80070057 (NS_ERROR_ILLEGAL_VALUE): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:883
[task 2024-04-04T23:09:56.362Z] 23:09:56     INFO - GECKO(3380) | [Parent 7952, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, true) failed with result 0x80070057 (NS_ERROR_ILLEGAL_VALUE): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:883
[task 2024-04-04T23:09:56.364Z] 23:09:56     INFO - GECKO(3380) | [Child 3728: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 23 (1c02cff4000) [pid = 3728] [serial = 30] [outer = 1c0239063e0]
[task 2024-04-04T23:09:56.365Z] 23:09:56     INFO - GECKO(3380) | [Child 3728, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, true) failed with result 0x80070057 (NS_ERROR_ILLEGAL_VALUE): file /builds/worker/checkouts/gecko/toolkit/components/antitracking/AntiTrackingUtils.cpp:958
[task 2024-04-04T23:09:56.458Z] 23:09:56     INFO - GECKO(3380) | console.log: Translations: "Mocking RemoteSettings for the translations engine."
[task 2024-04-04T23:09:56.484Z] 23:09:56     INFO - GECKO(3380) | [Child 1444: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 17984d09800 == 1 [pid = 1444] [id = 0]
[task 2024-04-04T23:09:56.485Z] 23:09:56     INFO - GECKO(3380) | [Child 1444: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (179fcd06200) [pid = 1444] [serial = 1] [outer = 0]
[task 2024-04-04T23:09:56.486Z] 23:09:56     INFO - GECKO(3380) | [Child 1444: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (17984d0cc00) [pid = 1444] [serial = 2] [outer = 179fcd06200]
[task 2024-04-04T23:09:56.571Z] 23:09:56     INFO - GECKO(3380) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171227144094471\AppData\Local\Temp\tmpxlctrp76.mozrunner\runtests_leaks_tab_pid6016.log
[task 2024-04-04T23:09:56.571Z] 23:09:56     INFO - GECKO(3380) | [Child 1444: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (17984d0fc00) [pid = 1444] [serial = 3] [outer = 179fcd06200]
[task 2024-04-04T23:09:56.612Z] 23:09:56     INFO - GECKO(3380) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171227144094471\AppData\Local\Temp\tmpxlctrp76.mozrunner\runtests_leaks_tab_pid3204.log
[task 2024-04-04T23:09:56.659Z] 23:09:56     INFO - GECKO(3380) | console.log: Translations: "Getting remote language models."
[task 2024-04-04T23:09:56.668Z] 23:09:56     INFO - GECKO(3380) | console.log: Translations: "Remote language models loaded in 0.014 seconds." ({})
[task 2024-04-04T23:09:56.669Z] 23:09:56     INFO - GECKO(3380) | console.log: Translations: "maybeOfferTranslations - Do not offer translations in automation." "https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html"
[task 2024-04-04T23:09:56.777Z] 23:09:56     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_close_panel_never_translate_language_with_translations_inactive.js | The translations button is available - 
```