Bug: Intermittent toolkit/components/translations/tests/browser/browser_about_translations_translations.js | single tracking bug
Status: NEW
Priority: P5
Created: 2023-05-18 19:32:12+00:00
Resolved: 2024-11-18 07:02:16+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=416275652&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OO8MMvK6R8yM6zyd23gC-A/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/OO8MMvK6R8yM6zyd23gC-A/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-05-18T18:31:16.039Z] 18:31:16     INFO - TEST-START | toolkit/components/translations/tests/browser/browser_about_translations_translations.js
[task 2023-05-18T18:31:16.101Z] 18:31:16     INFO - GECKO(5920) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
[task 2023-05-18T18:31:16.108Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Loading wasm simd detector worker."
[task 2023-05-18T18:31:16.383Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Mocking RemoteSettings for the translations engine."
[task 2023-05-18T18:31:16.390Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Mocking language identification." ({langTag:"en", confidence:0.5})
[task 2023-05-18T18:31:16.424Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Getting language-identification model array buffer."
[task 2023-05-18T18:31:16.430Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Getting remote language-identification wasm binary."
[task 2023-05-18T18:31:16.431Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Getting remote language models."
[task 2023-05-18T18:31:16.436Z] 18:31:16     INFO - GECKO(5920) | console.log: Download requested: test-language-id-models lid.176.ftz
[task 2023-05-18T18:31:16.436Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Remote language-identification model loaded in 0.006 seconds."
[task 2023-05-18T18:31:16.437Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Remote language models loaded in 0.007 seconds." ({})
[task 2023-05-18T18:31:16.448Z] 18:31:16     INFO - GECKO(5920) | console.log: Download requested: test-translations-wasm fasttext-wasm
[task 2023-05-18T18:31:16.456Z] 18:31:16     INFO - GECKO(5920) | console.log: Translations: "Remote language-identification wasm binary loaded in 0.025 seconds."
[task 2023-05-18T18:31:21.264Z] 18:31:21     INFO - GECKO(5920) | console.log: Translations: "Rebuilding the translations worker for \"en\" to \"fr\""
[task 2023-05-18T18:31:21.280Z] 18:31:21     INFO - GECKO(5920) | console.log: Translations: "Getting remote bergamot-translator wasm records."
[task 2023-05-18T18:31:21.285Z] 18:31:21     INFO - GECKO(5920) | console.log: Translations: "Beginning model downloads: \"en\" to \"fr\""
[task 2023-05-18T18:31:21.285Z] 18:31:21     INFO - GECKO(5920) | console.log: Download requested: test-translation-models lex.50.50.enfr.s2t.bin
[task 2023-05-18T18:31:21.286Z] 18:31:21     INFO - GECKO(5920) | console.log: Download requested: test-translation-models vocab.enfr.spm
[task 2023-05-18T18:31:21.286Z] 18:31:21     INFO - GECKO(5920) | console.log: Download requested: test-translation-models model.enfr.intgemm.alphas.bin
[task 2023-05-18T18:31:21.287Z] 18:31:21     INFO - GECKO(5920) | console.log: Translations: "Translation model fetched in 0.001 seconds:" "en" "fr" "lex"
[task 2023-05-18T18:31:21.288Z] 18:31:21     INFO - GECKO(5920) | console.log: Translations: "Translation model fetched in 0.002 seconds:" "en" "fr" "vocab"
[task 2023-05-18T18:31:21.288Z] 18:31:21     INFO - GECKO(5920) | console.log: Translations: "Translation model fetched in 0.002 seconds:" "en" "fr" "model"
[task 2023-05-18T18:31:26.772Z] 18:31:26     INFO - GECKO(5920) | console.error: "Waiting for: \"TEXT TO TRANSLATE. [en to fr]\" - timed out after 50 tries."
[task 2023-05-18T18:31:26.775Z] 18:31:26     INFO - TEST-INFO | started process screenshot
[task 2023-05-18T18:31:26.866Z] 18:31:26     INFO - TEST-INFO | screenshot: exit 0
[task 2023-05-18T18:31:26.873Z] 18:31:26     INFO - Buffered messages logged at 18:31:16
[task 2023-05-18T18:31:26.873Z] 18:31:26     INFO - Entering test bound test_about_translations_translations
[task 2023-05-18T18:31:26.874Z] 18:31:26     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-05-18T18:31:26.874Z] 18:31:26     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-05-18T18:31:26.874Z] 18:31:26     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-05-18T18:31:26.874Z] 18:31:26     INFO - 
[task 2023-05-18T18:31:26.875Z] 18:31:26     INFO - Resolving 1 mocked downloads for "test-language-id-models"
[task 2023-05-18T18:31:26.875Z] 18:31:26     INFO - Buffered messages logged at 18:31:17
[task 2023-05-18T18:31:26.875Z] 18:31:26     INFO - Resolving 2 mocked downloads for "test-translations-wasm"
[task 2023-05-18T18:31:26.876Z] 18:31:26     INFO - Buffered messages logged at 18:31:19
[task 2023-05-18T18:31:26.876Z] 18:31:26     INFO - Resolving 9 mocked downloads for "test-translation-models"
[task 2023-05-18T18:31:26.876Z] 18:31:26     INFO - Buffered messages finished
[task 2023-05-18T18:31:26.877Z] 18:31:26     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_about_translations_translations.js | The text runs through the mocked translations engine. - "TEXT TO TRANSLATE. [en to fr]" == "" - 
[task 2023-05-18T18:31:26.877Z] 18:31:26     INFO - Stack trace:
[task 2023-05-18T18:31:26.877Z] 18:31:26     INFO - resource://testing-common/content-task.js line 112 > eval:assertTranslationResult:35
[task 2023-05-18T18:31:26.878Z] 18:31:26     INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_about_translations_translations.js | The result is listed as in French. - "fr" == "fr" - 
[task 2023-05-18T18:31:26.878Z] 18:31:26     INFO - GECKO(5920) | console.log: Translations: "Rebuilding the translations worker for \"is\" to \"en\""
[task 2023-05-18T18:31:26.878Z] 18:31:26     INFO - GECKO(5920) | console.log: Translations: "Getting remote bergamot-translator wasm records."
[task 2023-05-18T18:31:26.879Z] 18:31:26     INFO - GECKO(5920) | console.log: Translations: "Beginning model downloads: \"is\" to \"en\""
[task 2023-05-18T18:31:26.880Z] 18:31:26     INFO - GECKO(5920) | console.log: Download requested: test-translation-models lex.50.50.isen.s2t.bin
[task 2023-05-18T18:31:26.880Z] 18:31:26     INFO - GECKO(5920) | console.log: Download requested: test-translation-models vocab.isen.spm
[task 2023-05-18T18:31:26.880Z] 18:31:26     INFO - GECKO(5920) | console.log: Download requested: test-translation-models model.isen.intgemm.alphas.bin
[task 2023-05-18T18:31:26.881Z] 18:31:26     INFO - GECKO(5920) | console.log: Translations: "Translation model fetched in 0.002 seconds:" "is" "en" "lex"
[task 2023-05-18T18:31:26.881Z] 18:31:26     INFO - GECKO(5920) | console.log: Translations: "Translation model fetched in 0.001 seconds:" "is" "en" "vocab"
[task 2023-05-18T18:31:26.882Z] 18:31:26     INFO - GECKO(5920) | console.log: Translations: "Translation model fetched in 0.001 seconds:" "is" "en" "model"
[task 2023-05-18T18:31:32.266Z] 18:31:32     INFO - GECKO(5920) | console.error: "Waiting for: \"THIS IS THE SECOND TRANSLATION. [is to en]\" - timed out after 50 tries."
[task 2023-05-18T18:31:32.269Z] 18:31:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-18T18:31:32.270Z] 18:31:32     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_about_translations_translations.js | The text runs through the mocked translations engine. - "THIS IS THE SECOND TRANSLATION. [is to en]" == "" - 
[task 2023-05-18T18:31:32.270Z] 18:31:32     INFO - Stack trace:
[task 2023-05-18T18:31:32.270Z] 18:31:32     INFO - resource://testing-common/content-task.js line 112 > eval:assertTranslationResult:35
[task 2023-05-18T18:31:32.272Z] 18:31:32     INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_about_translations_translations.js | The result is listed as in English. - "en" == "en" - 
```