Bug: Intermittent browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_cancel_button.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-07-03 10:16:33+00:00
Resolved: 2025-02-24 06:49:56+00:00

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

---
```
[task 2024-07-03T09:23:31.049Z] 09:23:31     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_cancel_button.js | The element 'translateFullPageButton should be enabled. - 
[task 2024-07-03T09:23:31.049Z] 09:23:31     INFO - Buffered messages finished
[task 2024-07-03T09:23:31.055Z] 09:23:31     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_cancel_button.js | Uncaught exception in test bound test_select_translations_panel_invoke_translation_failure_cancel_button_with_space_bar - at chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:879 - Error: An unexpected download was found, only expected 4 downloads
[task 2024-07-03T09:23:31.055Z] 09:23:31     INFO - Stack trace:
[task 2024-07-03T09:23:31.055Z] 09:23:31     INFO - downloadHandler@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:879:13
[task 2024-07-03T09:23:31.055Z] 09:23:31     INFO - async*rejectPendingDownloads@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:853:12
[task 2024-07-03T09:23:31.055Z] 09:23:31     INFO - rejectDownloads@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:701:44
[task 2024-07-03T09:23:31.055Z] 09:23:31     INFO - handleDownloads@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:2415:13
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - async*openPanel/<@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:2641:43
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - _waitForPopupEvent@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:447:13
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - async*waitForPanelPopupEvent@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:2696:39
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - openPanel@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:2633:39
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - async*test_select_translations_panel_invoke_translation_failure_cancel_button_with_space_bar@chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_cancel_button.js:132:39
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-07-03T09:23:31.056Z] 09:23:31     INFO - Leaving test bound test_select_translations_panel_invoke_translation_failure_cancel_button_with_space_bar
[task 2024-07-03T09:23:31.265Z] 09:23:31     INFO - GECKO(1062) | [Parent 1062: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (7f600cb6a400) [pid = 1062] [serial = 451] [outer = 0] [url = about:blank]
[task 2024-07-03T09:23:31.265Z] 09:23:31     INFO - GECKO(1062) | [Parent 1062: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (7f600cb6f000) [pid = 1062] [serial = 452] [outer = 0] [url = about:blank]
[task 2024-07-03T09:23:31.266Z] 09:23:31     INFO - GECKO(1062) | [Parent 1062: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f600d24a400 == 6 [pid = 1062] [id = 124] [url = chrome://global/content/win.xhtml]
[task 2024-07-03T09:23:31.713Z] 09:23:31     INFO - GECKO(1062) | [Parent 1062: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (7f600d25ad40) [pid = 1062] [serial = 450] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-07-03T09:23:32.840Z] 09:23:32     INFO - GECKO(1062) | [Child 1206: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (7ff4ac3bd000) [pid = 1206] [serial = 311] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2024-07-03T09:23:32.841Z] 09:23:32     INFO - GECKO(1062) | [Child 1206: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7ff4ac3b7c00) [pid = 1206] [serial = 314] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2024-07-03T09:23:32.841Z] 09:23:32     INFO - GECKO(1062) | [Child 1206: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7ff4ac3b5800) [pid = 1206] [serial = 313] [outer = 0] [url = about:blank]
[task 2024-07-03T09:23:35.771Z] 09:23:35     INFO - GECKO(1062) | [Parent 1062: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (7f600d24ec00) [pid = 1062] [serial = 455] [outer = 0] [url = about:blank]
[task 2024-07-03T09:23:35.773Z] 09:23:35     INFO - GECKO(1062) | [Parent 1062: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7f600d24d800) [pid = 1062] [serial = 456] [outer = 0] [url = about:blank]
[task 2024-07-03T09:23:35.774Z] 09:23:35     INFO - GECKO(1062) | [Parent 1062: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7f600cca0c00) [pid = 1062] [serial = 453] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-07-03T09:23:36.178Z] 09:23:36     INFO - GECKO(1062) | [Parent 1062: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7f600d9302e0) [pid = 1062] [serial = 454] [outer = 0] [url = chrome://global/content/win.xhtml]
[task 2024-07-03T09:23:36.227Z] 09:23:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-07-03T09:23:36.228Z] 09:23:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_cancel_button.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true - 
[task 2024-07-03T09:23:36.228Z] 09:23:36     INFO - Stack trace:
[task 2024-07-03T09:23:36.228Z] 09:23:36     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:607
[task 2024-07-03T09:23:36.229Z] 09:23:36     INFO - chrome://mochikit/content/browser-test.js:nextTest:782
[task 2024-07-03T09:23:36.229Z] 09:23:36     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1811
[task 2024-07-03T09:23:36.229Z] 09:23:36     INFO - chrome://mochikit/content/browser-test.js:run:1731
[task 2024-07-03T09:23:36.232Z] 09:23:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-07-03T09:23:36.233Z] 09:23:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_cancel_button.js | vsync remained enabled at the end of the test. Is there an animation still running? Consider talking to the performance team for tips to solve this. - false == true - 
[task 2024-07-03T09:23:36.233Z] 09:23:36     INFO - Stack trace:
[task 2024-07-03T09:23:36.234Z] 09:23:36     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:608
[task 2024-07-03T09:23:36.234Z] 09:23:36     INFO - chrome://mochikit/content/browser-test.js:nextTest:782
[task 2024-07-03T09:23:36.235Z] 09:23:36     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1811
[task 2024-07-03T09:23:36.235Z] 09:23:36     INFO - chrome://mochikit/content/browser-test.js:run:1731
[task 2024-07-03T09:23:36.260Z] 09:23:36     INFO - GECKO(1062) | MEMORY STAT | vsize 3952MB | residentFast 640MB | heapAllocated 347MB
[task 2024-07-03T09:23:36.262Z] 09:23:36     INFO - TEST-OK | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_cancel_button.js | took 17272ms
[task 2024-07-03T09:23:36.264Z] 09:23:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-07-03T09:23:36.265Z] 09:23:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_cancel_button.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-07-03T09:23:36.312Z] 09:23:36     INFO - GECKO(1062) | [Parent 1062, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1621
[task 2024-07-03T09:23:36.341Z] 09:23:36     INFO - GECKO(1062) | [Child 7774, Main Thread] WARNING: NS_ENSURE_TRUE(mDoneSetup) failed: file /builds/worker/checkouts/gecko/editor/composer/nsEditingSession.cpp:1163
[task 2024-07-03T09:23:36.356Z] 09:23:36     INFO - GECKO(1062) | [Child 1206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7ff4ac3b4400 == 2 [pid = 1206] [id = 118]
[task 2024-07-03T09:23:36.356Z] 09:23:36     INFO - GECKO(1062) | [Child 1206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7ff4ac323020) [pid = 1206] [serial = 318] [outer = 0]
[task 2024-07-03T09:23:36.358Z] 09:23:36     INFO - GECKO(1062) | [Child 1206: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (7ff4ac3b5400) [pid = 1206] [serial = 319] [outer = 7ff4ac323020]
[task 2024-07-03T09:23:36.399Z] 09:23:36     INFO - checking window state
[task 2024-07-03T09:23:36.511Z] 09:23:36     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_select_telemetry_keypresses_copy_button.js
```