Bug: Intermittent browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-08-22 16:14:13+00:00
Resolved: 2025-02-17 07:09:48+00:00

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

---
```
[task 2024-08-22T15:28:30.960Z] 15:28:30     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | Expected full-page-translations-panel-from selection to match 'en' - 
[task 2024-08-22T15:28:30.961Z] 15:28:30     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | The label for the menulist full-page-translations-panel-to should not be empty. - 
[task 2024-08-22T15:28:30.961Z] 15:28:30     INFO - Buffered messages finished
[task 2024-08-22T15:28:30.962Z] 15:28:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | Expected full-page-translations-panel-to selection to match '' - Got "fr", expected ""
[task 2024-08-22T15:28:30.962Z] 15:28:30     INFO - Stack trace:
[task 2024-08-22T15:28:30.962Z] 15:28:30     INFO - chrome://mochikit/content/browser-test.js:test_is:1625
[task 2024-08-22T15:28:30.962Z] 15:28:30     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:_assertSelectedLanguage:409
[task 2024-08-22T15:28:30.962Z] 15:28:30     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:assertSelectedToLanguage:1017
[task 2024-08-22T15:28:30.962Z] 15:28:30     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:openPanel:1314
[task 2024-08-22T15:28:30.962Z] 15:28:30     INFO - chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js:test_always_translate_with_bad_data:16
[task 2024-08-22T15:28:30.962Z] 15:28:30     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-08-22T15:28:30.963Z] 15:28:30     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-08-22T15:28:30.963Z] 15:28:30     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-08-22T15:28:30.963Z] 15:28:30     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-08-22T15:28:30.963Z] 15:28:30     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-08-22T15:28:30.963Z] 15:28:30     INFO - Action: openTranslationsSettingsMenu()
[task 2024-08-22T15:28:30.964Z] 15:28:30     INFO - Source: browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js:22:39
[task 2024-08-22T15:28:30.964Z] 15:28:30     INFO - Open the settings menu
[task 2024-08-22T15:28:30.964Z] 15:28:30     INFO - Waiting for settings menu to open.
[task 2024-08-22T15:28:30.965Z] 15:28:30     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | The manage languages item should be visible in the settings menu. - 
[task 2024-08-22T15:28:30.965Z] 15:28:30     INFO - Checking that always-translate is disabled for "en"
[task 2024-08-22T15:28:30.966Z] 15:28:30     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | Should match expected language display name for translations-panel-settings-always-translate-language - 
[task 2024-08-22T15:28:30.967Z] 15:28:30     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | Should match expected disabled state for translations-panel-settings-always-translate-language - 
[task 2024-08-22T15:28:30.967Z] 15:28:30     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | Should match expected checkbox state for translations-panel-settings-always-translate-language - 
[task 2024-08-22T15:28:31.034Z] 15:28:31     INFO - GECKO(1235) | [Child 1246: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (127d26000) [pid = 1246] [serial = 5] [outer = 0] [url = about:blank]
[task 2024-08-22T15:28:31.034Z] 15:28:31     INFO - GECKO(1235) | [Child 1246: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (128383000) [pid = 1246] [serial = 6] [outer = 0] [url = about:newtab]
[task 2024-08-22T15:28:31.034Z] 15:28:31     INFO - GECKO(1235) | [Child 1246: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (12986b000) [pid = 1246] [serial = 8] [outer = 0] [url = about:blank]
[task 2024-08-22T15:28:31.035Z] 15:28:31     INFO - GECKO(1235) | [Child 1246: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12986ac00 == 1 [pid = 1246] [id = 2] [url = about:newtab]
[task 2024-08-22T15:28:31.125Z] 15:28:31     INFO - GECKO(1235) | [Child 1246: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (128758000) [pid = 1246] [serial = 7] [outer = 0] [url = about:newtab]
[task 2024-08-22T15:28:31.343Z] 15:28:31     INFO - Checking that the page is untranslated
[task 2024-08-22T15:28:31.387Z] 15:28:31     INFO - GECKO(1235) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/m_/g_0cj5lx2653_mq28yl3y4sm000014/T/tmpmxkjo_zd.mozrunner/runtests_leaks_tab_pid1282.log
[task 2024-08-22T15:28:31.459Z] 15:28:31     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | The page's H1 is untranslated and in the original English. - "\"The Wonderful Wizard of Oz\" by L. Frank Baum" == "\"The Wonderful Wizard of Oz\" by L. Frank Baum" - 
[task 2024-08-22T15:28:31.480Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 11e703800 == 2 [pid = 1273] [id = 1]
[task 2024-08-22T15:28:31.481Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (102a27600) [pid = 1273] [serial = 4] [outer = 0]
[task 2024-08-22T15:28:31.481Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (11e703c00) [pid = 1273] [serial = 5] [outer = 102a27600]
[task 2024-08-22T15:28:31.506Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (11e706c00) [pid = 1273] [serial = 6] [outer = 102a27600]
[task 2024-08-22T15:28:31.710Z] 15:28:31     INFO - GECKO(1235) | console.log: Translations: "Removing RemoteSettings mock for the translations engine."
[task 2024-08-22T15:28:31.761Z] 15:28:31     INFO - Leaving test bound test_always_translate_with_bad_data
[task 2024-08-22T15:28:31.794Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 11e703800 == 1 [pid = 1273] [id = 1] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2024-08-22T15:28:31.794Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 11db1c400 == 0 [pid = 1273] [id = 0] [url = https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-en.html]
[task 2024-08-22T15:28:31.817Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (11e706c00) [pid = 1273] [serial = 6] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2024-08-22T15:28:31.818Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (11db22800) [pid = 1273] [serial = 3] [outer = 0] [url = https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-en.html]
[task 2024-08-22T15:28:31.818Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (11e703c00) [pid = 1273] [serial = 5] [outer = 0] [url = about:blank]
[task 2024-08-22T15:28:31.819Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (11db1f000) [pid = 1273] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-08-22T15:28:31.819Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (102a27600) [pid = 1273] [serial = 4] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2024-08-22T15:28:31.820Z] 15:28:31     INFO - GECKO(1235) | [Child 1273: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (102a26400) [pid = 1273] [serial = 1] [outer = 0] [url = https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-en.html]
[task 2024-08-22T15:28:32.088Z] 15:28:32     INFO - GECKO(1235) | MEMORY STAT | vsize 17775MB | residentFast 509MB | heapAllocated 201MB
[task 2024-08-22T15:28:32.088Z] 15:28:32     INFO - TEST-OK | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_bad_data.js | took 2273ms
[task 2024-08-22T15:28:32.095Z] 15:28:32     INFO - GECKO(1235) | [Child 1242: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 120b29c00 == 3 [pid = 1242] [id = 23]
[task 2024-08-22T15:28:32.096Z] 15:28:32     INFO - GECKO(1235) | [Child 1242: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (105c26200) [pid = 1242] [serial = 68] [outer = 0]
[task 2024-08-22T15:28:32.096Z] 15:28:32     INFO - GECKO(1235) | [Child 1242: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (120b2ac00) [pid = 1242] [serial = 69] [outer = 105c26200]
[task 2024-08-22T15:28:32.112Z] 15:28:32     INFO - checking window state
[task 2024-08-22T15:28:32.123Z] 15:28:32     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_full_page_panel_always_translate_language_basic.js
```