Bug: Intermittent browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-07-08 10:23:19+00:00
Resolved: 2025-03-03 06:20:28+00:00

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

---
```
[task 2024-07-08T09:42:40.304Z] 09:42:40     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js | The icon presents the locale. - 
[task 2024-07-08T09:42:40.306Z] 09:42:40     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js | The expected language tag "en" is shown. - 
[task 2024-07-08T09:42:40.307Z] 09:42:40     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js | undefined assertion name - 
[task 2024-07-08T09:42:40.309Z] 09:42:40     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js | undefined assertion name - 
[task 2024-07-08T09:42:40.311Z] 09:42:40     INFO - Action: addTab(https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-en.html)
[task 2024-07-08T09:42:40.312Z] 09:42:40     INFO - Source: browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js:39:49
[task 2024-07-08T09:42:40.314Z] 09:42:40     INFO - Buffered messages logged at 09:42:18
[task 2024-07-08T09:42:40.315Z] 09:42:40     INFO - Destroy the engine process
[task 2024-07-08T09:42:40.317Z] 09:42:40     INFO - Mutate the page's content to re-trigger a translation.
[task 2024-07-08T09:42:40.318Z] 09:42:40     INFO - Wait for a second to ensure the mutation takes.
[task 2024-07-08T09:42:40.320Z] 09:42:40     INFO - Action: switchTab(tab, spanish tab)
[task 2024-07-08T09:42:40.321Z] 09:42:40     INFO - Source: browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js:56:9
[task 2024-07-08T09:42:40.323Z] 09:42:40     INFO - The engine downloads should be requested again.
[task 2024-07-08T09:42:40.324Z] 09:42:40     INFO - Resolving 1 mocked downloads for "test-translation-wasm-1"
[task 2024-07-08T09:42:40.326Z] 09:42:40     INFO - Buffered messages logged at 09:42:20
[task 2024-07-08T09:42:40.327Z] 09:42:40     INFO - Resolving 3 mocked downloads for "test-translation-models-0"
[task 2024-07-08T09:42:40.329Z] 09:42:40     INFO - Buffered messages finished
[task 2024-07-08T09:42:40.331Z] 09:42:40     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js | The mutated content should be translated. - "NEW TEXT FOR THE H1 [es to en]" == "New text for the H1" - 
[task 2024-07-08T09:42:40.332Z] 09:42:40     INFO - Stack trace:
[task 2024-07-08T09:42:40.333Z] 09:42:40     INFO - chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/translations-test.mjs:assertTranslationResult:127
[task 2024-07-08T09:42:40.335Z] 09:42:40     INFO - GECKO(1863) | console.log: Translations: "Discarding translations, innerWindowId:" 111669149697
[task 2024-07-08T09:42:40.336Z] 09:42:40     INFO - GECKO(1863) | console.log: Translations: "Force shutdown of the engine \"es,en\""
[task 2024-07-08T09:44:12.125Z] 09:44:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-07-08T09:44:12.127Z] 09:44:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_panel_engine_destroy_pending.js | Test timed out - 
[task 2024-07-08T09:44:12.142Z] 09:44:12     INFO - GECKO(1863) | Completed ShutdownLeaks collections in process 1863
[task 2024-07-08T09:44:12.145Z] 09:44:12     INFO - TEST-START | Shutdown
[task 2024-07-08T09:44:12.148Z] 09:44:12     INFO - Browser Chrome Test Summary
[task 2024-07-08T09:44:12.149Z] 09:44:12     INFO - Passed:  2467
[task 2024-07-08T09:44:12.150Z] 09:44:12     INFO - Failed:  2
[task 2024-07-08T09:44:12.151Z] 09:44:12     INFO - Todo:    0
[task 2024-07-08T09:44:12.153Z] 09:44:12     INFO - Mode:    e10s
[task 2024-07-08T09:44:12.154Z] 09:44:12     INFO - *** End BrowserChrome Test Results ***
```