Bug: Intermittent [Tier 2] toolkit/components/translations/tests/browser/browser_translations_shadow_dom_mutation.js | single tracking bug
Status: NEW
Priority: P5
Created: 2025-02-11 13:22:36+00:00
Resolved: 2025-02-17 06:31:49+00:00

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

---
```
TEST-PASS | toolkit/components/translations/tests/browser/browser_translations_shadow_dom_mutation.js | The content is translated when a new node is added to the newly added shadow tree - "THIS IS MUTATED CONTENT IN NEWLY ADDED SHADOW DOM [es to en, html]" == "THIS IS MUTATED CONTENT IN NEWLY ADDED SHADOW DOM [es to en, html]" - 
[task 2025-02-11T12:16:52.069Z] 12:16:52     INFO - Console message: [JavaScript Error: "InvalidStateError: JSProcessActorParent.sendAsyncMessage: Actor 'TranslationsEngine' cannot send message 'TranslationsEngine:DiscardTranslations' during shutdown." {file: "resource://gre/actors/TranslationsEngineParent.sys.mjs" line: 137}]
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - discardTranslations@resource://gre/actors/TranslationsEngineParent.sys.mjs:137:10
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - #ensureTranslationsDiscarded@resource://gre/actors/TranslationsParent.sys.mjs:3716:24
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - didDestroy@resource://gre/actors/TranslationsParent.sys.mjs:3735:38
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - 
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Leaving test bound test_shadow_dom_mutation
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Entering test bound test_shadow_dom_mutation_nested_1
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Loading test page starting at url: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-shadow-dom-mutation-es.html
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Buffered messages finished
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_shadow_dom_mutation.js | Test timed out - 
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - GECKO(23063) | Completed ShutdownLeaks collections in process 23063
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - TEST-START | Shutdown
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Browser Chrome Test Summary
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Passed:  367
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Failed:  1
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Todo:    0
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - Mode:    e10s
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - *** End BrowserChrome Test Results ***
[task 2025-02-11T12:16:52.070Z] 12:16:52     INFO - GECKO(23063) | [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
[task 2025-02-11T12:16:52.327Z] 12:16:52     INFO - GECKO(23063) | 1739276212325	Marionette	TRACE	Received observer notification quit-application
[task 2025-02-11T12:16:52.327Z] 12:16:52     INFO - GECKO(23063) | 1739276212326	Marionette	INFO	Stopped listening on port 2828
[task 2025-02-11T12:16:52.328Z] 12:16:52     INFO - GECKO(23063) | 1739276212327	Marionette	DEBUG	Marionette stopped listening
[task 2025-02-11T12:16:52.872Z] 12:16:52     INFO - TEST-INFO | Main app process: exit 0
[task 2025-02-11T12:16:52.873Z] 12:16:52     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_translations_shadow_dom_mutation.js | Application shut down (without crashing) in the middle of a test!
[task 2025-02-11T12:16:52.873Z] 12:16:52     INFO - TEST-INFO took 45214ms
[task 2025-02-11T12:16:52.873Z] 12:16:52     INFO - runtests.py | Application ran for: 0:01:22.584265
```