Bug: Intermittent browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_try_again_button_init_failure.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-06-15 09:05:01+00:00
Resolved: 2024-08-26 06:52:08+00:00

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

---
```
[task 2024-06-15T08:43:33.377Z] 08:43:33     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_try_again_button_init_failure.js | element is visible. - 
[task 2024-06-15T08:43:33.377Z] 08:43:33     INFO - Waiting for SelectTranslationsPanel to change state from "closed" to "translated"
[task 2024-06-15T08:43:33.378Z] 08:43:33     INFO - Resolving 1 mocked downloads for "test-translation-wasm-1"
[task 2024-06-15T08:43:33.379Z] 08:43:33     INFO - Buffered messages finished
[task 2024-06-15T08:43:33.381Z] 08:43:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_try_again_button_init_failure.js | Uncaught exception in test bound test_select_translations_panel_invoke_init_failure_try_again_button_with_enter_key - at chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:879 - Error: An unexpected download was found, only expected 1 downloads
[task 2024-06-15T08:43:33.381Z] 08:43:33     INFO - Stack trace:
[task 2024-06-15T08:43:33.381Z] 08:43:33     INFO - downloadHandler@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:879:13
[task 2024-06-15T08:43:33.382Z] 08:43:33     INFO - async*resolvePendingDownloads@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:841:12
[task 2024-06-15T08:43:33.382Z] 08:43:33     INFO - resolveDownloads@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:691:44
[task 2024-06-15T08:43:33.382Z] 08:43:33     INFO - test_select_translations_panel_invoke_init_failure_try_again_button_with_enter_key@chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_try_again_button_init_failure.js:32:11
[task 2024-06-15T08:43:33.386Z] 08:43:33     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-06-15T08:43:33.386Z] 08:43:33     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-06-15T08:43:33.387Z] 08:43:33     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-06-15T08:43:33.387Z] 08:43:33     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-06-15T08:43:33.387Z] 08:43:33     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-06-15T08:43:33.388Z] 08:43:33     INFO - Leaving test bound test_select_translations_panel_invoke_init_failure_try_again_button_with_enter_key
[task 2024-06-15T08:43:33.389Z] 08:43:33     INFO - Entering test bound test_select_translations_panel_invoke_init_failure_try_again_button_with_space_bar
[task 2024-06-15T08:43:33.390Z] 08:43:33     INFO - Loading test page starting at url: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-select.html
[task 2024-06-15T08:43:33.391Z] 08:43:33     INFO - GECKO(6632) | console.log: Translations: "Force shutdown of the engine \"es,en\""
[task 2024-06-15T08:43:34.518Z] 08:43:34     INFO - GECKO(6632) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f2cb36c5400 == 1 [pid = 6732] [id = 123] [url = about:blank]
[task 2024-06-15T08:43:34.549Z] 08:43:34     INFO - GECKO(6632) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7f2cb4b725c0) [pid = 6732] [serial = 332] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:35.801Z] 08:43:35     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (7fabda6f5400) [pid = 6632] [serial = 473] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-06-15T08:43:35.803Z] 08:43:35     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (7fabdcc93800) [pid = 6632] [serial = 480] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:35.804Z] 08:43:35     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (7fabdcc8f800) [pid = 6632] [serial = 479] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:35.849Z] 08:43:35     INFO - GECKO(6632) | [Child 6789: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (7f3fca1ba000) [pid = 6789] [serial = 305] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:35.849Z] 08:43:35     INFO - GECKO(6632) | [Child 6789: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7f3fca1bd000) [pid = 6789] [serial = 303] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:35.849Z] 08:43:35     INFO - GECKO(6632) | [Child 6789: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7f3fca1bdc00) [pid = 6789] [serial = 306] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2024-06-15T08:43:35.849Z] 08:43:35     INFO - GECKO(6632) | [Child 6789: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f3fca1bcc00) [pid = 6789] [serial = 309] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2024-06-15T08:43:35.849Z] 08:43:35     INFO - GECKO(6632) | [Child 6789: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f3fca1bb400) [pid = 6789] [serial = 308] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:36.270Z] 08:43:36     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (7fabeea69d40) [pid = 6632] [serial = 474] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-06-15T08:43:36.272Z] 08:43:36     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (7fabe034dc40) [pid = 6632] [serial = 478] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-06-15T08:43:36.684Z] 08:43:36     INFO - GECKO(6632) | [Child 6900: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 187 (7f2126e31c00) [pid = 6900] [serial = 278] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:38.602Z] 08:43:38     INFO - GECKO(6632) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f2cb36c6000) [pid = 6732] [serial = 333] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:38.603Z] 08:43:38     INFO - GECKO(6632) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f2cb36bf000) [pid = 6732] [serial = 335] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:40.355Z] 08:43:40     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (7fabd2f3c800) [pid = 6632] [serial = 481] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-06-15T08:43:40.356Z] 08:43:40     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (7fabe01d8c00) [pid = 6632] [serial = 477] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-06-15T08:43:40.356Z] 08:43:40     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7fabdcc8ac00) [pid = 6632] [serial = 484] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:40.359Z] 08:43:40     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7fabdcc90c00) [pid = 6632] [serial = 487] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:40.360Z] 08:43:40     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7fabdcc93400) [pid = 6632] [serial = 488] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:40.989Z] 08:43:40     INFO - GECKO(6632) | [Child 6900: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 186 (7f2126e34400) [pid = 6900] [serial = 281] [outer = 0] [url = about:blank]
[task 2024-06-15T08:43:43.679Z] 08:43:43     INFO - GECKO(6632) | [Child 13693: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f058e66a800) [pid = 13693] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-06-15T08:44:36.865Z] 08:44:36     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7fabeea6aa60) [pid = 6632] [serial = 482] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-06-15T08:44:40.913Z] 08:44:40     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7fabd9bc5000) [pid = 6632] [serial = 485] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-06-15T08:44:40.914Z] 08:44:40     INFO - GECKO(6632) | [Parent 6632: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7fabdcc95000) [pid = 6632] [serial = 483] [outer = 0] [url = about:blank]
[task 2024-06-15T08:45:00.981Z] 08:45:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-15T08:45:00.981Z] 08:45:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_try_again_button_init_failure.js | Test timed out - 
[task 2024-06-15T08:45:00.992Z] 08:45:00     INFO - GECKO(6632) | Completed ShutdownLeaks collections in process 6632
[task 2024-06-15T08:45:00.994Z] 08:45:00     INFO - TEST-START | Shutdown
```