Closed Bug 1946901 Opened 15 days ago Closed 9 days ago

Intermittent toolkit/components/translations/tests/browser/browser_about_translations_flip_lexical_shortlist.js | single tracking bug

Categories

(Firefox :: Translations, defect, P5)

defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: nordzilla)

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

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


[task 2025-02-07T22:36:50.849Z] 22:36:50     INFO - TEST-PASS | toolkit/components/translations/tests/browser/browser_about_translations_flip_lexical_shortlist.js | "TEXT TO TRANSLATE. [en to fr]" == "TEXT TO TRANSLATE. [en to fr]" - 
[task 2025-02-07T22:36:50.849Z] 22:36:50     INFO - Flipping "browser.translations.useLexicalShortlist" to false.
[task 2025-02-07T22:36:50.850Z] 22:36:50     INFO - Ensuring re-translation is triggered.
[task 2025-02-07T22:36:50.850Z] 22:36:50     INFO - Waiting for model files to download.
[task 2025-02-07T22:36:50.850Z] 22:36:50     INFO - Resolving 1 mocked downloads for "test-translation-wasm-1"
[task 2025-02-07T22:36:50.850Z] 22:36:50     INFO - Buffered messages logged at 22:36:30
[task 2025-02-07T22:36:50.850Z] 22:36:50     INFO - Resolving 2 mocked downloads for "test-translation-models-0"
[task 2025-02-07T22:36:50.850Z] 22:36:50     INFO - Ensuring text is translated.
[task 2025-02-07T22:36:50.850Z] 22:36:50     INFO - Buffered messages finished
[task 2025-02-07T22:36:50.850Z] 22:36:50     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_about_translations_flip_lexical_shortlist.js | Uncaught exception in test bound test_about_translations_language_swap - translation from fr to en is complete - timed out after 200 tries.
[task 2025-02-07T22:36:50.851Z] 22:36:50     INFO - Leaving test bound test_about_translations_language_swap
[task 2025-02-07T22:36:50.851Z] 22:36:50     INFO - GECKO(25972) | MEMORY STAT | vsize 3236MB | residentFast 450MB | heapAllocated 235MB
[task 2025-02-07T22:36:50.852Z] 22:36:50     INFO - TEST-OK | toolkit/components/translations/tests/browser/browser_about_translations_flip_lexical_shortlist.js | took 22894ms
[task 2025-02-07T22:36:50.852Z] 22:36:50     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-07T22:36:50.853Z] 22:36:50     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/translations/tests/browser/browser_about_translations_flip_lexical_shortlist.js | Found an unexpected tab at the end of test run: about:translations - 
[task 2025-02-07T22:36:50.853Z] 22:36:50     INFO - GECKO(25972) | [Child 26147: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f4565291400 == 2 [pid = 26147] [id = 4]
[task 2025-02-07T22:36:50.854Z] 22:36:50     INFO - GECKO(25972) | [Child 26147: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f4584675a00) [pid = 26147] [serial = 11] [outer = 0]
[task 2025-02-07T22:36:50.854Z] 22:36:50     INFO - GECKO(25972) | [Child 26147: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f4565291c00) [pid = 26147] [serial = 12] [outer = 7f4584675a00]
[task 2025-02-07T22:36:50.854Z] 22:36:50     INFO - checking window state
[task 2025-02-07T22:36:50.916Z] 22:36:50     INFO - TEST-START | toolkit/components/translations/tests/browser/browser_about_translations_language_swap.js

Fixes a race condition where the about:translations page may attempt
to rebuild the translator before the active TranslationsEngine is fully
destroyed. This is likely the cause of the high-frequency intermittent
test failure associated with this bug.

Assignee: nobody → enordin
Status: NEW → ASSIGNED
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/148b9bdada0a Fix race in about:translations reacting to shortlist pref r=translations-reviewers,gregtatum
Status: ASSIGNED → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: