Bug: Intermittent TV toolkit/components/translations/tests/browser/browser_about_translations.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2023-03-09 21:58:22+00:00
Resolved: 2023-05-22 21:18:57+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=408425117&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Orl4N-zqTFGJ0ZvQsnMArA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Orl4N-zqTFGJ0ZvQsnMArA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_about_translations.js | The text runs through the mocked translations engine. - "TEXT [en to fr]" == "TEXT [en to fr]" - 
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - Buffered messages finished
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_about_translations.js | Debounce ran once. - 2 == 1 - 
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - Stack trace:
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - resource://testing-common/content-task.js line 112 > eval:null:73
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - GECKO(2794) | console.log: Translations: "Removing language pair mocks"
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - Leaving test bound test_about_translations_debounce
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - Entering test bound test_about_translations_html
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - GECKO(2794) | [Child 2891: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f06b63f6800 == 4 [pid = 2891] [id = 11]
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - GECKO(2794) | [Child 2891: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 28 (7f06b6cb85e0) [pid = 2891] [serial = 35] [outer = 0]
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - GECKO(2794) | [Child 2891: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 29 (7f06b63f6c00) [pid = 2891] [serial = 36] [outer = 7f06b6cb85e0]
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - GECKO(2794) | [Child 2891: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 30 (7f06b63f4800) [pid = 2891] [serial = 37] [outer = 7f06b6cb85e0]
[task 2023-03-09T18:15:28.758Z] 18:15:28     INFO - GECKO(2794) | console.log: Translations: "Mocking language pairs" [{fromLang:"en", toLang:"fr"}, {fromLang:"fr", toLang:"en"}]
[task 2023-03-09T18:15:28.788Z] 18:15:28     INFO - GECKO(2794) | [Child 2891: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f06b63f7c00 == 5 [pid = 2891] [id = 12]
[task 2023-03-09T18:15:28.789Z] 18:15:28     INFO - GECKO(2794) | [Child 2891: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 31 (7f06b6cf4280) [pid = 2891] [serial = 38] [outer = 0]
[task 2023-03-09T18:15:28.790Z] 18:15:28     INFO - GECKO(2794) | [Child 2891: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 32 (7f06b63f8000) [pid = 2891] [serial = 39] [outer = 7f06b6cf4280]
[task 2023-03-09T18:15:28.838Z] 18:15:28     INFO - GECKO(2794) | [Child 2891: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 33 (7f06b63f8400) [pid = 2891] [serial = 40] [outer = 7f06b6cf4280]
[task 2023-03-09T18:15:28.949Z] 18:15:28     INFO - GECKO(2794) | console.log: Translations: "Getting remote language-identification wasm binary."
[task 2023-03-09T18:15:28.950Z] 18:15:28     INFO - GECKO(2794) | console.log: Translations: "Getting language-identification model array buffer."
[task 2023-03-09T18:15:28.961Z] 18:15:28     INFO - GECKO(2794) | console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.jsm", 407))
[task 2023-03-09T18:15:28.965Z] 18:15:28     INFO - GECKO(2794) | console.error: (new Error("Unexpected content-type \"text/plain;charset=US-ASCII\"", "resource://services-settings/Utils.jsm", 407))
[task 2023-03-09T18:15:28.981Z] 18:15:28     INFO - GECKO(2794) | JavaScript error: , line 0: Error: Unable to get language-identification wasm binary from Remote Settings.
[task 2023-03-09T18:15:28.983Z] 18:15:28     INFO - GECKO(2794) | Original stack:
[task 2023-03-09T18:15:28.983Z] 18:15:28     INFO - GECKO(2794) | #getLanguageIdWasmArrayBuffer@resource://gre/actors/TranslationsParent.sys.mjs:232:13
[task 2023-03-09T18:15:29.016Z] 18:15:29     INFO - Console message: [JavaScript Error: "Error: Unable to get language-identification wasm binary from Remote Settings.
[task 2023-03-09T18:15:29.016Z] 18:15:29     INFO - 
[task 2023-03-09T18:15:29.016Z] 18:15:29     INFO - Original stack:
[task 2023-03-09T18:15:29.016Z] 18:15:29     INFO - 
[task 2023-03-09T18:15:29.016Z] 18:15:29     INFO - #getLanguageIdWasmArrayBuffer@resource://gre/actors/TranslationsParent.sys.mjs:232:13
[task 2023-03-09T18:15:29.017Z] 18:15:29     INFO - 
[task 2023-03-09T18:15:29.017Z] 18:15:29     INFO - "]
[task 2023-03-09T18:15:29.077Z] 18:15:29     INFO - GECKO(2794) | console.log: Translations: "Rebuilding the translations worker for \"en\" to \"fr\""
[task 2023-03-09T18:15:29.143Z] 18:15:29     INFO - GECKO(2794) | console.log: Translations: "Received initialization message" ({type:"initialization-success"})
[task 2023-03-09T18:15:29.143Z] 18:15:29     INFO - GECKO(2794) | console.log: Translations: "Rebuilt the TranslationsEngine in 0.061 seconds"
[task 2023-03-09T18:15:29.145Z] 18:15:29     INFO - GECKO(2794) | [Child 2891, DOM Worker] WARNING: Console.maxLogLevelPref is not supported on workers!: file /builds/worker/checkouts/gecko/dom/console/Console.cpp:2862
[task 2023-03-09T18:15:29.146Z] 18:15:29     INFO - GECKO(2794) | console.log: "Translations:" "Received message" ({type:"translation-request", isHTML:true, messageBatch:["Text to translate."], messageId:1, innerWindowId:(void 0)})
[task 2023-03-09T18:15:29.146Z] 18:15:29     INFO - GECKO(2794) | console.log: Translations: "Translation done in 0.003 seconds"
[task 2023-03-09T18:15:29.185Z] 18:15:29     INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_about_translations.js | The text runs through the mocked translations engine. - "TEXT TO TRANSLATE. [en to fr, html]" == "TEXT TO TRANSLATE. [en to fr, html]" - 
```