Bug: Intermittent browser/components/translations/tests/browser/browser_translations_select_panel_fallback_to_doc_language.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-24 10:42:04+00:00
Resolved: 2025-03-03 12:02:39+00:00

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

---
```
[task 2024-05-24T10:02:27.125Z] 10:02:27     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_select_panel_fallback_to_doc_language.js | The label for the menulist select-translations-panel-to should not be empty. - 
[task 2024-05-24T10:02:27.125Z] 10:02:27     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_select_panel_fallback_to_doc_language.js | Expected select-translations-panel-to selection to match 'en' - 
[task 2024-05-24T10:02:27.126Z] 10:02:27     INFO - Action: clickDoneButton()
[task 2024-05-24T10:02:27.127Z] 10:02:27     INFO - Source: browser/components/translations/tests/browser/browser_translations_select_panel_fallback_to_doc_language.js:34:39
[task 2024-05-24T10:02:27.127Z] 10:02:27     INFO - Buffered messages finished
[task 2024-05-24T10:02:27.129Z] 10:02:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_panel_fallback_to_doc_language.js | Uncaught exception in test bound test_select_translations_panel_translate_sentence_on_open - at chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:2045 - Error: Expected either the primary or secondary done button to be visible.
[task 2024-05-24T10:02:27.130Z] 10:02:27     INFO - Stack trace:
[task 2024-05-24T10:02:27.130Z] 10:02:27     INFO - clickDoneButton@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:2045:13
[task 2024-05-24T10:02:27.130Z] 10:02:27     INFO - test_select_translations_panel_translate_sentence_on_open@chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_select_panel_fallback_to_doc_language.js:34:39
[task 2024-05-24T10:02:27.130Z] 10:02:27     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-05-24T10:02:27.130Z] 10:02:27     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-05-24T10:02:27.130Z] 10:02:27     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-05-24T10:02:27.130Z] 10:02:27     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-05-24T10:02:27.130Z] 10:02:27     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-05-24T10:02:27.131Z] 10:02:27     INFO - Leaving test bound test_select_translations_panel_translate_sentence_on_open
[task 2024-05-24T10:02:27.132Z] 10:02:27     INFO - GECKO(4764) | [Child 9704: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL fc36a00 == 2 [pid = 9704] [id = 33] [url = chrome://global/content/translations/translations-engine.html]
[task 2024-05-24T10:02:27.133Z] 10:02:27     INFO - GECKO(4764) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171654434896119\AppData\Local\Temp\tmp8vfauak6.mozrunner\runtests_leaks_tab_pid9724.log
[task 2024-05-24T10:02:27.134Z] 10:02:27     INFO - GECKO(4764) | [Child 9704: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL d1d9400 == 1 [pid = 9704] [id = 34] [url = chrome://global/content/translations/translations-engine.html]
[task 2024-05-24T10:02:27.135Z] 10:02:27     INFO - GECKO(4764) | [Child 9704: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 75 (fc39700) [pid = 9704] [serial = 101] [outer = 0] [url = about:blank]
[task 2024-05-24T10:02:27.136Z] 10:02:27     INFO - GECKO(4764) | [Child 9704: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 74 (d1dbc00) [pid = 9704] [serial = 92] [outer = 0] [url = about:blank]
[task 2024-05-24T10:02:27.136Z] 10:02:27     INFO - GECKO(4764) | [Child 9704: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 73 (fc38500) [pid = 9704] [serial = 95] [outer = 0] [url = about:blank]
[task 2024-05-24T10:02:27.137Z] 10:02:27     INFO - GECKO(4764) | [Child 9704: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 72 (fc39400) [pid = 9704] [serial = 98] [outer = 0] [url = about:blank]
[task 2024-05-24T10:02:27.154Z] 10:02:27     INFO - GECKO(4764) | MEMORY STAT | vsize 1148MB | vsizeMaxContiguous 1293MB | residentFast 359MB | heapAllocated 139MB
[task 2024-05-24T10:02:27.156Z] 10:02:27     INFO - TEST-OK | browser/components/translations/tests/browser/browser_translations_select_panel_fallback_to_doc_language.js | took 2061ms
[task 2024-05-24T10:02:27.157Z] 10:02:27     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-24T10:02:27.158Z] 10:02:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_panel_fallback_to_doc_language.js | Found an unexpected tab at the end of test run: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-select.html - 
[task 2024-05-24T10:02:27.184Z] 10:02:27     INFO - GECKO(4764) | [Child 3648, Main Thread] WARNING: NS_ENSURE_TRUE(mDoneSetup) failed: file /builds/worker/checkouts/gecko/editor/composer/nsEditingSession.cpp:1163
[task 2024-05-24T10:02:27.194Z] 10:02:27     INFO - GECKO(4764) | [Child 3868: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL abbb300 == 1 [pid = 3868] [id = 2]
[task 2024-05-24T10:02:27.196Z] 10:02:27     INFO - GECKO(4764) | [Child 3868: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (568c160) [pid = 3868] [serial = 7] [outer = 0]
[task 2024-05-24T10:02:27.198Z] 10:02:27     INFO - GECKO(4764) | [Child 3868: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (abbce00) [pid = 3868] [serial = 8] [outer = 568c160]
[task 2024-05-24T10:02:27.217Z] 10:02:27     INFO - checking window state
[task 2024-05-24T10:02:27.243Z] 10:02:27     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_select_panel_init_failure.js
```