Bug: Intermittent browser/components/translations/tests/browser/browser_translations_panel_always_translate_language.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-06-12 15:32:21+00:00
Resolved: 2024-04-15 12:02:52+00:00

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

---
```
[task 2023-06-12T12:41:28.497Z] 12:41:28     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_panel_always_translate_language.js
[task 2023-06-12T12:41:28.780Z] 12:41:28     INFO - GECKO(1608) | [Child 10028: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1a131c43000 == 2 [pid = 10028] [id = 1]
[task 2023-06-12T12:41:28.794Z] 12:41:28     INFO - GECKO(1608) | [Child 10028: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1a12ab7e370) [pid = 10028] [serial = 3] [outer = 0]
[task 2023-06-12T12:41:28.794Z] 12:41:28     INFO - GECKO(1608) | [Child 10028: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (1a131c43800) [pid = 10028] [serial = 4] [outer = 1a12ab7e370]
[task 2023-06-12T12:41:28.827Z] 12:41:28     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 20c604a4000 == 9 [pid = 7084] [id = 0] [url = chrome://gfxsanity/content/sanityparent.html]
[task 2023-06-12T12:41:28.845Z] 12:41:28     INFO - GECKO(1608) | [Child 10028: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (1a131c45800) [pid = 10028] [serial = 5] [outer = 1a12ab7e370]
[task 2023-06-12T12:41:29.031Z] 12:41:29     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 20c6f93a000 == 8 [pid = 7084] [id = 9] [url = about:blank]
[task 2023-06-12T12:41:29.053Z] 12:41:29     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 20c6cf67400 == 7 [pid = 7084] [id = 7] [url = about:blank]
[task 2023-06-12T12:41:29.408Z] 12:41:29     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 20c6be51000 == 6 [pid = 7084] [id = 6] [url = about:preferences]
[task 2023-06-12T12:41:29.564Z] 12:41:29     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 25 (20c51a70f90) [pid = 7084] [serial = 1] [outer = 0] [url = chrome://gfxsanity/content/sanityparent.html]
[task 2023-06-12T12:41:29.566Z] 12:41:29     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (20c6e1f6650) [pid = 7084] [serial = 24] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:29.577Z] 12:41:29     INFO - GECKO(1608) | console.log: Translations: "Mocking RemoteSettings for the translations engine."
[task 2023-06-12T12:41:29.578Z] 12:41:29     INFO - GECKO(1608) | console.log: Translations: "Mocking language identification." ({langTag:"en", confidence:0.5})
[task 2023-06-12T12:41:29.642Z] 12:41:29     INFO - GECKO(1608) | [Child 920: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 20b31439000 == 1 [pid = 920] [id = 0]
[task 2023-06-12T12:41:29.649Z] 12:41:29     INFO - GECKO(1608) | [Child 920: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (20b2a27df90) [pid = 920] [serial = 1] [outer = 0]
[task 2023-06-12T12:41:29.651Z] 12:41:29     INFO - GECKO(1608) | [Child 920: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (20b3143c400) [pid = 920] [serial = 2] [outer = 20b2a27df90]
[task 2023-06-12T12:41:29.705Z] 12:41:29     INFO - GECKO(1608) | [Child 920: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (20b3143f800) [pid = 920] [serial = 3] [outer = 20b2a27df90]
[task 2023-06-12T12:41:29.768Z] 12:41:29     INFO - GECKO(1608) | console.log: Translations: "Getting remote language models."
[task 2023-06-12T12:41:31.258Z] 12:41:31     INFO - GECKO(1608) | [Child 8520: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (274ff3f1400) [pid = 8520] [serial = 10] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2023-06-12T12:41:31.261Z] 12:41:31     INFO - GECKO(1608) | [Child 8520: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (274ff3ef800) [pid = 8520] [serial = 9] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:31.261Z] 12:41:31     INFO - GECKO(1608) | [Child 8520: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (274feb4d800) [pid = 8520] [serial = 7] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2023-06-12T12:41:31.262Z] 12:41:31     INFO - GECKO(1608) | [Child 8520: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (274feb4bc00) [pid = 8520] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:31.262Z] 12:41:31     INFO - GECKO(1608) | [Child 8520: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (274feb4a800) [pid = 8520] [serial = 4] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:31.263Z] 12:41:31     INFO - GECKO(1608) | [Child 8520: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (274feb45800) [pid = 8520] [serial = 3] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:31.264Z] 12:41:31     INFO - GECKO(1608) | [Child 8520: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (274feb44800) [pid = 8520] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:31.901Z] 12:41:31     INFO - GECKO(1608) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_168657004581744\AppData\Local\Temp\tmp39awe7aa.mozrunner\runtests_leaks_tab_pid7164.log
[task 2023-06-12T12:41:31.913Z] 12:41:31     INFO - GECKO(1608) | [7164, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:345
[task 2023-06-12T12:41:31.924Z] 12:41:31     INFO - GECKO(1608) | [Child 7164, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-06-12T12:41:31.948Z] 12:41:31     INFO - GECKO(1608) | [Child 7164, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-06-12T12:41:31.950Z] 12:41:31     INFO - GECKO(1608) | [Child 7164, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-06-12T12:41:31.973Z] 12:41:31     INFO - GECKO(1608) | [Child 7164, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-06-12T12:41:32.875Z] 12:41:32     INFO - GECKO(1608) | [Child 8100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (1e458e66400) [pid = 8100] [serial = 12] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:32.876Z] 12:41:32     INFO - GECKO(1608) | [Child 8100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (1e458e65000) [pid = 8100] [serial = 8] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:32.876Z] 12:41:32     INFO - GECKO(1608) | [Child 8100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (1e458e63c00) [pid = 8100] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:32.877Z] 12:41:32     INFO - GECKO(1608) | [Child 8100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (1e458e62c00) [pid = 8100] [serial = 4] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:32.877Z] 12:41:32     INFO - GECKO(1608) | [Child 8100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (1e458e66000) [pid = 8100] [serial = 10] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:32.878Z] 12:41:32     INFO - GECKO(1608) | [Child 8100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (1e458e61400) [pid = 8100] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:32.936Z] 12:41:32     INFO - GECKO(1608) | [Child 8100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (1e451d7e560) [pid = 8100] [serial = 5] [outer = 0] [url = moz-extension://7675cad0-a949-4d98-b42c-47bb742d1e2a/_generated_background_page.html]
[task 2023-06-12T12:41:32.940Z] 12:41:32     INFO - GECKO(1608) | [Child 8100: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1e458e63400 == 5 [pid = 8100] [id = 2] [url = moz-extension://7675cad0-a949-4d98-b42c-47bb742d1e2a/_generated_background_page.html]
[task 2023-06-12T12:41:33.171Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (20c6df66090) [pid = 7084] [serial = 18] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.376Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (20c6f93d400) [pid = 7084] [serial = 26] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.382Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (20c6f939000) [pid = 7084] [serial = 22] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.385Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (20c6eb52800) [pid = 7084] [serial = 20] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.385Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (20c6be4f800) [pid = 7084] [serial = 16] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.386Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (20c6dac7000) [pid = 7084] [serial = 19] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.387Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (20c6f93f000) [pid = 7084] [serial = 25] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.387Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (20c609a8000) [pid = 7084] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.388Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (20c60f19800) [pid = 7084] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.390Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (20c65fea800) [pid = 7084] [serial = 11] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.391Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 20c6cf64c00 == 5 [pid = 7084] [id = 8] [url = about:preferences]
[task 2023-06-12T12:41:33.422Z] 12:41:33     INFO - GECKO(1608) | [Child 10028: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1a131c3e400 == 1 [pid = 10028] [id = 0] [url = about:blank]
[task 2023-06-12T12:41:33.468Z] 12:41:33     INFO - GECKO(1608) | [Child 8224: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (2440a549400) [pid = 8224] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.531Z] 12:41:33     INFO - GECKO(1608) | [Child 10028: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (1a12ab7dda0) [pid = 10028] [serial = 1] [outer = 0] [url = about:blank]
[task 2023-06-12T12:41:33.798Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:302
[task 2023-06-12T12:41:33.805Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:302
[task 2023-06-12T12:41:33.814Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:302
[task 2023-06-12T12:41:33.815Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:302
[task 2023-06-12T12:41:33.845Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (20c660cda40) [pid = 7084] [serial = 15] [outer = 0] [url = about:preferences]
[task 2023-06-12T12:41:33.853Z] 12:41:33     INFO - GECKO(1608) | [Parent 7084: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (20c660cdc30) [pid = 7084] [serial = 21] [outer = 0] [url = about:preferences]
[task 2023-06-12T12:41:35.462Z] 12:41:35     INFO - GECKO(1608) | console.log: Translations: "Remote language models loaded in 5.682 seconds." ({})
[task 2023-06-12T12:41:35.469Z] 12:41:35     INFO - TEST-INFO | started process screenshot
[task 2023-06-12T12:41:35.603Z] 12:41:35     INFO - TEST-INFO | screenshot: exit 0
[task 2023-06-12T12:41:35.614Z] 12:41:35     INFO - Buffered messages logged at 12:41:28
[task 2023-06-12T12:41:35.615Z] 12:41:35     INFO - Entering test bound test_toggle_always_translate_language_menuitem
[task 2023-06-12T12:41:35.615Z] 12:41:35     INFO - Buffered messages finished
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_panel_always_translate_language.js | Visibility for "button" - Got false, expected true
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - Stack trace:
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - chrome://mochikit/content/browser-test.js:test_is:1608
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertTranslationsButton:45
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_panel_always_translate_language.js:test_toggle_always_translate_language_menuitem:18
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-06-12T12:41:35.617Z] 12:41:35     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-06-12T12:41:35.618Z] 12:41:35     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_panel_always_translate_language.js | Visibility for "circleArrows" - 
```