Bug: Intermittent browser/components/translations/tests/browser/browser_translations_reader_mode.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2023-09-29 18:53:34+00:00
Resolved: 2024-02-29 18:06:59+00:00

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

---
```
[task 2023-09-29T17:48:14.501Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The translations panel header should match the expected data-l10n-id - 
[task 2023-09-29T17:48:14.502Z] 17:48:14     INFO - Clicking the translate button
[task 2023-09-29T17:48:14.503Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | Expect the translate button to be visible - 
[task 2023-09-29T17:48:14.504Z] 17:48:14     INFO - Click the translate button
[task 2023-09-29T17:48:14.504Z] 17:48:14     INFO - Waiting for the translations panel popup to be shown
[task 2023-09-29T17:48:14.505Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The icon presents the loading indicator. - 
[task 2023-09-29T17:48:14.506Z] 17:48:14     INFO - Resolving 1 mocked downloads for "test-translation-wasm-4"
[task 2023-09-29T17:48:14.507Z] 17:48:14     INFO - Resolving 3 mocked downloads for "test-translation-models-3"
[task 2023-09-29T17:48:14.508Z] 17:48:14     INFO - Checking that the page is translated
[task 2023-09-29T17:48:14.509Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The page's H1 is translated. - "DON QUIJOTE DE LA MANCHA [es to en, html]" == "DON QUIJOTE DE LA MANCHA [es to en, html]" - 
[task 2023-09-29T17:48:14.510Z] 17:48:14     INFO - Ensuring that the translations button displays the language tag "en"
[task 2023-09-29T17:48:14.511Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The icon presents the locale. - 
[task 2023-09-29T17:48:14.512Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The expected language tag "en" is shown. - 
[task 2023-09-29T17:48:14.513Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | undefined assertion name - 
[task 2023-09-29T17:48:14.514Z] 17:48:14     INFO - Buffered messages logged at 17:47:53
[task 2023-09-29T17:48:14.515Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | undefined assertion name - 
[task 2023-09-29T17:48:14.516Z] 17:48:14     INFO - Entering reader mode
[task 2023-09-29T17:48:14.517Z] 17:48:14     INFO - Clicking the reader-mode button
[task 2023-09-29T17:48:14.519Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The page's H1 is now the translated reader-mode header - "TRANSLATIONS TEST [es to en, html]" == "TRANSLATIONS TEST [es to en, html]" - 
[task 2023-09-29T17:48:14.520Z] 17:48:14     INFO - Buffered messages finished
[task 2023-09-29T17:48:14.522Z] 17:48:14     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The page's last paragraph is in Spanish. - "— PUES, AUNQUE MOVÁIS MÁS BRAZOS QUE LOS DEL GIGANTE BRIAREO, ME LO HABÉIS DE PAGAR. [es to en, html]" == "— Pues, aunque mováis más brazos que los del gigante Briareo, me lo habéis de pagar." - 
[task 2023-09-29T17:48:14.523Z] 17:48:14     INFO - Stack trace:
[task 2023-09-29T17:48:14.524Z] 17:48:14     INFO - chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/translations-test.mjs:assertTranslationResult:84
[task 2023-09-29T17:48:14.525Z] 17:48:14     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_reader_mode.js | The translations button is now hidden in reader mode. - 
[task 2023-09-29T17:48:14.526Z] 17:48:14     INFO - GECKO(13445) | console.log: Translations: "Removing RemoteSettings mock for the translations engine."
[task 2023-09-29T17:48:14.528Z] 17:48:14     INFO - GECKO(13445) | console.log: Translations: "Removing language identification mock."
[task 2023-09-29T17:48:14.529Z] 17:48:14     INFO - GECKO(13445) | console.log: Translations: "Loading wasm simd detector worker."
[task 2023-09-29T17:48:14.530Z] 17:48:14     INFO - GECKO(13445) | [Child 14981, DOM Worker] WARNING: Console.maxLogLevelPref is not supported on workers!: file /builds/worker/checkouts/gecko/dom/console/Console.cpp:2876
[task 2023-09-29T17:48:14.532Z] 17:48:14     INFO - GECKO(13445) | console.log: "Translations:" "Received message" ({type:"discard-translation-queue", innerWindowId:98784247809})
[task 2023-09-29T17:48:14.533Z] 17:48:14     INFO - Leaving test bound test_translations_persist_in_reader_mode
[task 2023-09-29T17:48:14.535Z] 17:48:14     INFO - GECKO(13445) | [Child 14981, Main Thread] WARNING: A runnable was posted to a worker that is already shutting down!: file /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:1597
[task 2023-09-29T17:48:14.536Z] 17:48:14     INFO - GECKO(13445) | [Child 14981, Main Thread] WARNING: Failed to dispatch offline status change event!: file /builds/worker/checkouts/gecko/dom/workers/WorkerPrivate.cpp:2093
[task 2023-09-29T17:48:14.560Z] 17:48:14     INFO - GECKO(13445) | [Child 14981, IPC I/O Child] WARNING: [237EDEEF70F6EC16.259DE7E334FBB82B]: GetUserData call for port '9A38B5708F7C4F70.C7BB5DFC1E3D010C' failed: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:406
[task 2023-09-29T17:48:14.603Z] 17:48:14     INFO - GECKO(13445) | [Child 14981: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd3ded22000 == 1 [pid = 14981] [id = 0] [url = https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html]
[task 2023-09-29T17:48:14.639Z] 17:48:14     INFO - GECKO(13445) | [Child 14981: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fd3de253400 == 0 [pid = 14981] [id = 1] [url = about:reader?url=https%3A%2F%2Fexample.com%2Fbrowser%2Ftoolkit%2Fcomponents%2Ftranslations%2Ftests%2Fbrowser%2Ftranslations-tester-es.html]
[task 2023-09-29T17:48:14.674Z] 17:48:14     INFO - GECKO(13445) | [Child 14981: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7fd3ded28000) [pid = 14981] [serial = 3] [outer = 0] [url = https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html]
[task 2023-09-29T17:48:14.679Z] 17:48:14     INFO - GECKO(13445) | [Child 14981: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fd3df44b5c0) [pid = 14981] [serial = 4] [outer = 0] [url = about:reader?url=https%3A%2F%2Fexample.com%2Fbrowser%2Ftoolkit%2Fcomponents%2Ftranslations%2Ftests%2Fbrowser%2Ftranslations-tester-es.html]
[task 2023-09-29T17:48:14.681Z] 17:48:14     INFO - GECKO(13445) | [Child 14981: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7fd3df44b200) [pid = 14981] [serial = 1] [outer = 0] [url = https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html]
[task 2023-09-29T17:48:14.682Z] 17:48:14     INFO - GECKO(13445) | [Child 14981: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7fd3de254800) [pid = 14981] [serial = 6] [outer = 0] [url = about:reader?url=https%3A%2F%2Fexample.com%2Fbrowser%2Ftoolkit%2Fcomponents%2Ftranslations%2Ftests%2Fbrowser%2Ftranslations-tester-es.html]
[task 2023-09-29T17:48:14.692Z] 17:48:14     INFO - GECKO(13445) | MEMORY STAT | vsize 3559MB | residentFast 582MB | heapAllocated 309MB
[task 2023-09-29T17:48:14.695Z] 17:48:14     INFO - TEST-OK | browser/components/translations/tests/browser/browser_translations_reader_mode.js | took 27230ms
[task 2023-09-29T17:48:14.712Z] 17:48:14     INFO - GECKO(13445) | [Child 13600: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f8aadf61c00 == 2 [pid = 13600] [id = 30]
[task 2023-09-29T17:48:14.715Z] 17:48:14     INFO - GECKO(13445) | [Child 13600: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f8aadf5c3e0) [pid = 13600] [serial = 80] [outer = 0]
[task 2023-09-29T17:48:14.717Z] 17:48:14     INFO - GECKO(13445) | [Child 13600: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f8aadf62000) [pid = 13600] [serial = 81] [outer = 7f8aadf5c3e0]
[task 2023-09-29T17:48:14.777Z] 17:48:14     INFO - checking window state
[task 2023-09-29T17:48:14.795Z] 17:48:14     INFO - GECKO(13445) | [Child 13600: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f8aadf61800 == 1 [pid = 13600] [id = 29] [url = data:text/html;charset=utf-8,<!DOCTYPE html><title>Blank</title>Blank page]
[task 2023-09-29T17:48:14.847Z] 17:48:14     INFO - TEST-START | browser/components/translations/tests/browser/browser_translations_telemetry_firstrun_auto_translate.js
```