Bug: Intermittent toolkit/components/translations/tests/browser/browser_translations_full_page.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-11-14 12:02:56+00:00
Resolved: 2023-12-11 12:03:54+00:00

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

---
```
[task 2023-11-14T11:03:18.751Z] 11:03:18     INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_translations_full_page.js | The page remains untranslated after 50ms. - "\"The Wonderful Wizard of Oz\" by L. Frank Baum" == "\"The Wonderful Wizard of Oz\" by L. Frank Baum" - 
[task 2023-11-14T11:03:18.752Z] 11:03:18     INFO - Leaving test bound test_about_translations_enabled
[task 2023-11-14T11:03:18.752Z] 11:03:18     INFO - Entering test bound test_language_identification_for_page_translation
[task 2023-11-14T11:03:18.752Z] 11:03:18     INFO - Loading test page starting at url: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-no-tag.html
[task 2023-11-14T11:03:18.753Z] 11:03:18     INFO - Buffered messages logged at 11:02:58
[task 2023-11-14T11:03:18.753Z] 11:03:18     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-11-14T11:03:18.753Z] 11:03:18     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-11-14T11:03:18.753Z] 11:03:18     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-11-14T11:03:18.753Z] 11:03:18     INFO - 
[task 2023-11-14T11:03:18.754Z] 11:03:18     INFO - Buffered messages finished
[task 2023-11-14T11:03:18.754Z] 11:03:18     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_full_page.js | The main title gets translated. - "DON QUIJOTE DE LA MANCHA [es to en, html]" == "Don Quijote de La Mancha" - 
[task 2023-11-14T11:03:18.754Z] 11:03:18     INFO - Stack trace:
[task 2023-11-14T11:03:18.754Z] 11:03:18     INFO - chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/translations-test.mjs:assertTranslationResult:84
[task 2023-11-14T11:03:38.824Z] 11:03:38     INFO - GECKO(10045) | console.error: "Waiting for: \"\u2014 PUES, AUNQUE MOV\xC1IS M\xC1S BRAZOS QUE LOS DEL GIGANTE BRIAREO, ME LO HAB\xC9IS DE PAGAR. [es to en, html]\" - timed out after 200 tries."
[task 2023-11-14T11:03:38.828Z] 11:03:38     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-14T11:03:38.829Z] 11:03:38     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_full_page.js | The last paragraph gets translated. It is out of the viewport. - "— 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-11-14T11:03:38.829Z] 11:03:38     INFO - Stack trace:
[task 2023-11-14T11:03:38.829Z] 11:03:38     INFO - chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/translations-test.mjs:assertTranslationResult:84
[task 2023-11-14T11:03:59.039Z] 11:03:59     INFO - GECKO(10045) | console.error: "Waiting for: \"ESTE ES UN TITULO [es to en]\" - timed out after 200 tries."
[task 2023-11-14T11:03:59.042Z] 11:03:59     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-14T11:03:59.043Z] 11:03:59     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_full_page.js | Mutations get tracked - "ESTE ES UN TITULO [es to en]" == "Este es un titulo" - 
[task 2023-11-14T11:03:59.043Z] 11:03:59     INFO - Stack trace:
[task 2023-11-14T11:03:59.043Z] 11:03:59     INFO - chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/translations-test.mjs:assertTranslationResult:84
[task 2023-11-14T11:03:59.146Z] 11:03:59     INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_translations_full_page.js | Other languages do not get translated. - "The following is an excerpt from Don Quijote de la Mancha, which is in the public domain" == "The following is an excerpt from Don Quijote de la Mancha, which is in the public domain" - 
[task 2023-11-14T11:03:59.151Z] 11:03:59     INFO - GECKO(10045) | console.log: Translations: "Force shutdown of the engine \"es,en\""
[task 2023-11-14T11:06:57.591Z] 11:06:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-14T11:06:57.592Z] 11:06:57     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_full_page.js | Test timed out - 
[task 2023-11-14T11:06:57.617Z] 11:06:57     INFO - GECKO(10045) | MEMORY STAT | vsize 130551406MB | residentFast 1286MB
[task 2023-11-14T11:06:57.619Z] 11:06:57     INFO - TEST-OK | toolkit/components/translations/tests/browser/browser_translations_full_page.js | took 243981ms
[task 2023-11-14T11:06:57.621Z] 11:06:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-14T11:06:57.622Z] 11:06:57     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_full_page.js | Found a tab after previous test timed out: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-no-tag.html - 
[task 2023-11-14T11:06:57.799Z] 11:06:57     INFO - checking window state
[task 2023-11-14T11:06:57.875Z] 11:06:57     INFO - TEST-START | toolkit/components/translations/tests/browser/browser_translations_lang_tags.js
```