Closed Bug 1943516 Opened 1 year ago Closed 1 year ago

Intermittent browser/components/translations/tests/browser/browser_translations_full_page_panel_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: amarc [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=491595738&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SdHVVcJ9RaGhRgc2dj4bNw/runs/0/artifacts/public/logs/live_backing.log


[task 2025-01-24T06:57:15.335Z] 06:57:15     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js | The label for the menulist full-page-translations-panel-to should not be empty. - 
[task 2025-01-24T06:57:15.335Z] 06:57:15     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js | Expected full-page-translations-panel-to selection to match 'en' - 
[task 2025-01-24T06:57:15.335Z] 06:57:15     INFO - Action: changeSelectedToLanguage(uk)
[task 2025-01-24T06:57:15.335Z] 06:57:15     INFO - Source: browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js:71:41
[task 2025-01-24T06:57:15.335Z] 06:57:15     INFO - Waiting for the full-page-translations-panel popupshown event
[task 2025-01-24T06:57:15.335Z] 06:57:15     INFO - Waiting for the full-page-translations-panel popuphidden event
[task 2025-01-24T06:57:15.335Z] 06:57:15     INFO - Action: clickTranslateButton()
[task 2025-01-24T06:57:15.335Z] 06:57:15     INFO - Source: browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js:75:41
[task 2025-01-24T06:57:15.337Z] 06:57:15     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js | translateButton is visible. - 
[task 2025-01-24T06:57:15.337Z] 06:57:15     INFO - Waiting for the full-page-translations-panel popuphidden event
[task 2025-01-24T06:57:15.337Z] 06:57:15     INFO - TEST-PASS | browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js | The icon presents the loading indicator. - 
[task 2025-01-24T06:57:15.337Z] 06:57:15     INFO - Resolving 1 mocked downloads for "test-translation-wasm-1"
[task 2025-01-24T06:57:15.337Z] 06:57:15     INFO - Buffered messages finished
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js | Uncaught exception in test bound test_full_page_translations_panel_lexical_shortlist_starting_false - at chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:1342 - Error: An unexpected download was found, only expected 1 downloads
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - Stack trace:
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - downloadHandler@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:1342:13
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - async*resolvePendingDownloads@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:1304:12
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - resolveDownloads@chrome://mochitests/content/browser/toolkit/components/translations/tests/browser/shared-head.js:1103:44
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - clickTranslateButton@chrome://mochitests/content/browser/browser/components/translations/tests/browser/head.js:1692:13
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - async*test_full_page_translations_panel_lexical_shortlist_starting_false@chrome://mochitests/content/browser/browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js:75:41
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1147:26
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1219:18
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1360:14
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1136:14
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2025-01-24T06:57:15.339Z] 06:57:15     INFO - Leaving test bound test_full_page_translations_panel_lexical_shortlist_starting_false
[task 2025-01-24T06:57:15.340Z] 06:57:15     INFO - Entering test bound test_full_page_translations_panel_lexical_shortlist_starting_true
[task 2025-01-24T06:57:15.340Z] 06:57:15     INFO - Loading test page starting at url: https://example.com/browser/toolkit/components/translations/tests/browser/translations-tester-es.html
[task 2025-01-24T06:57:15.340Z] 06:57:15     INFO - GECKO(2971) | console.log: Translations: "Force shutdown of the engine \"es,fr\""
[task 2025-01-24T06:57:15.341Z] 06:57:15     INFO - GECKO(2971) | console.log: Translations: "Force shutdown of the engine \"es,uk\""
[task 2025-01-24T06:57:56.659Z] 06:57:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-01-24T06:57:56.659Z] 06:57:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js | Test timed out - 
[task 2025-01-24T06:57:56.660Z] 06:57:56     INFO - GECKO(2971) | Completed ShutdownLeaks collections in process 2971
[task 2025-01-24T06:57:56.660Z] 06:57:56     INFO - TEST-START | Shutdown
[task 2025-01-24T06:57:56.661Z] 06:57:56     INFO - Browser Chrome Test Summary
[task 2025-01-24T06:57:56.662Z] 06:57:56     INFO - Passed:  3774
[task 2025-01-24T06:57:56.662Z] 06:57:56     INFO - Failed:  2
[task 2025-01-24T06:57:56.662Z] 06:57:56     INFO - Todo:    0
[task 2025-01-24T06:57:56.662Z] 06:57:56     INFO - Mode:    e10s
[task 2025-01-24T06:57:56.662Z] 06:57:56     INFO - *** End BrowserChrome Test Results ***
[task 2025-01-24T06:57:56.696Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.699Z] 06:57:56     INFO - GECKO(2971) | Exiting due to channel error.
[task 2025-01-24T06:57:56.708Z] 06:57:56     INFO - TEST-INFO | Main app process: exit 0
[task 2025-01-24T06:57:56.709Z] 06:57:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/translations/tests/browser/browser_translations_full_page_panel_flip_lexical_shortlist.js | Application shut down (without crashing) in the middle of a test!
[task 2025-01-24T06:57:56.709Z] 06:57:56     INFO - TEST-INFO took 44355ms
[task 2025-01-24T06:57:56.709Z] 06:57:56     INFO - runtests.py | Application ran for: 0:02:21.948330
[task 2025-01-24T06:57:56.710Z] 06:57:56     INFO - zombiecheck | Reading PID log: /tmp/tmp_490yeg6pidlog
[task 2025-01-24T06:57:56.710Z] 06:57:56     INFO - ==> process 2971 launched child process 3052
[task 2025-01-24T06:57:56.710Z] 06:57:56     INFO - zombiecheck | Checking for orphan process with PID: 3052
[task 2025-01-24T06:57:56.711Z] 06:57:56     INFO - Stopping web server
[task 2025-01-24T06:57:56.718Z] 06:57:56     INFO - Server shut down.
[task 2025-01-24T06:57:56.718Z] 06:57:56     INFO - Web server killed.
[task 2025-01-24T06:57:56.718Z] 06:57:56     INFO - Stopping web socket server
[task 2025-01-24T06:57:56.718Z] 06:57:56     INFO - Stopping ssltunnel
[task 2025-01-24T06:57:56.719Z] 06:57:56     INFO - Stopping gst for v4l2loopback
[task 2025-01-24T06:57:56.719Z] 06:57:56  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2025-01-24T06:57:56.719Z] 06:57:56     INFO - runtests.py | Running tests: end.
[task 2025-01-24T06:57:56.792Z] 06:57:56     INFO - Buffered messages finished
[task 2025-01-24T06:57:56.793Z] 06:57:56     INFO -  TEST-INFO | checking window state
[task 2025-01-24T06:57:56.793Z] 06:57:56     INFO -  Browser Chrome Test Summary
[task 2025-01-24T06:57:56.793Z] 06:57:56     INFO -  	Passed: 3774
[task 2025-01-24T06:57:56.793Z] 06:57:56     INFO -  	Failed: 2
[task 2025-01-24T06:57:56.793Z] 06:57:56     INFO -  	Todo: 0
[task 2025-01-24T06:57:56.794Z] 06:57:56     INFO -  	Mode: e10s
[task 2025-01-24T06:57:56.794Z] 06:57:56     INFO -  *** End BrowserChrome Test Results ***
[task 2025-01-24T06:57:56.794Z] 06:57:56     INFO - Buffered messages finished
[task 2025-01-24T06:57:56.794Z] 06:57:56     INFO - SUITE-END | took 142s
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Return code: 1
[task 2025-01-24T06:57:56.848Z] 06:57:56  WARNING - Got 3 unexpected statuses
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - TinderboxPrint: mochitest-mochitest-browser-translations<br/>111/<em class="testfail">3</em>/0
[task 2025-01-24T06:57:56.848Z] 06:57:56  WARNING - setting return code to 1
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - The mochitest suite: mochitest-browser-translations ran with return status: WARNING
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Running post-action listener: _package_coverage_data
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Running post-action listener: _resource_record_post_action
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Running post-action listener: process_java_coverage_data
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - [mozharness: 2025-01-24 06:57:56.847962Z] Finished run-tests step (success)
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - [mozharness: 2025-01-24 06:57:56.848009Z] Running uninstall step.
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Running pre-action listener: _resource_record_pre_action
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Running main action method: uninstall
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Skipping uninstall for non-MSIX test
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Running post-action listener: _resource_record_post_action
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - [mozharness: 2025-01-24 06:57:56.848195Z] Finished uninstall step (success)
[task 2025-01-24T06:57:56.848Z] 06:57:56     INFO - Running post-run listener: _resource_record_post_run
[task 2025-01-24T06:57:56.953Z] 06:57:56     INFO - instance_metadata.json not found; unable to determine instance type
[task 2025-01-24T06:57:56.956Z] 06:57:56     INFO - Validating Perfherder data against /task_173770155825878/mozharness/external_tools/performance-artifact-schema.json
[task 2025-01-24T06:57:56.958Z] 06:57:56     INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"name": "mochitest.mochitest-browser-translations.overall", "extraOptions": ["e10s", "buildbot-unknown"], "subtests": [{"name": "cpu_percent", "value": 60.27014075067024}, {"name": "io_write_bytes", "value": 505610240}, {"name": "io.read_bytes", "value": 13275136}, {"name": "io_write_time", "value": 106610}, {"name": "io_read_time", "value": 1488}]}, {"name": "mochitest.mochitest-browser-translations.start-pulseaudio", "subtests": [{"name": "time", "value": 0.0005318720000104804}, {"name": "cpu_percent", "value": 0}]}, {"name": "mochitest.mochitest-browser-translations.install", "subtests": [{"name": "time", "value": 5.890969587000001}, {"name": "cpu_percent", "value": 25.20301724137931}]}, {"name": "mochitest.mochitest-browser-translations.stage-files", "subtests": [{"name": "time", "value": 0.0002478870000004463}, {"name": "cpu_percent", "value": 0}]}, {"name": "mochitest.mochitest-browser-translations.run-tests", "subtests": [{"name": "time", "value": 143.37571107199997}, {"name": "cpu_percent", "value": 61.71392184228892}]}, {"name": "mochitest.mochitest-browser-translations.uninstall", "subtests": [{"name": "time", "value": 0.00012155600001051425}, {"name": "cpu_percent", "value": 0}]}]}
[task 2025-01-24T06:57:56.959Z] 06:57:56     INFO - Total resource usage - Wall time: 149s; CPU: Can't collect data; Read bytes: 13275136; Write bytes: 505610240; Read time: 1488; Write time: 106610
[task 2025-01-24T06:57:56.959Z] 06:57:56     INFO - TinderboxPrint: I/O read bytes / time<br/>13,275,136 / 1,488
[task 2025-01-24T06:57:56.959Z] 06:57:56     INFO - TinderboxPrint: I/O write bytes / time<br/>505,610,240 / 106,610
[task 2025-01-24T06:57:56.959Z] 06:57:56     INFO - TinderboxPrint: CPU idle<br/>231.1 (39.1%)
[task 2025-01-24T06:57:56.959Z] 06:57:56     INFO - TinderboxPrint: CPU system<br/>28.2 (4.8%)
[task 2025-01-24T06:57:56.959Z] 06:57:56     INFO - TinderboxPrint: CPU user<br/>328.2 (55.5%)
[task 2025-01-24T06:57:56.959Z] 06:57:56     INFO - TinderboxPrint: Swap in / out<br/>0 / 0
[task 2025-01-24T06:57:56.959Z] 06:57:56     INFO - start-pulseaudio - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2025-01-24T06:57:56.960Z] 06:57:56     INFO - install - Wall time: 6s; CPU: 25%; Read bytes: 65536; Write bytes: 561152; Read time: 4; Write time: 17
[task 2025-01-24T06:57:56.960Z] 06:57:56     INFO - stage-files - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2025-01-24T06:57:56.969Z] 06:57:56     INFO - run-tests - Wall time: 143s; CPU: 62%; Read bytes: 13209600; Write bytes: 505049088; Read time: 1484; Write time: 106593
[task 2025-01-24T06:57:56.970Z] 06:57:56     INFO - uninstall - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2025-01-24T06:57:57.235Z] 06:57:57  WARNING - returning nonzero exit status 1
[taskcluster 2025-01-24T06:57:57.278Z]    Exit Code: 1
[taskcluster 2025-01-24T06:57:57.278Z]    User Time: 3m54.759629s
[taskcluster 2025-01-24T06:57:57.278Z]  Kernel Time: 20.651786s
[taskcluster 2025-01-24T06:57:57.278Z]    Wall Time: 3m54.93164771s
[taskcluster 2025-01-24T06:57:57.278Z]       Result: FAILED
[taskcluster 2025-01-24T06:57:57.278Z] === Task Finished ===
[taskcluster 2025-01-24T06:57:57.278Z] Task Duration: 3m54.932847314s
[taskcluster 2025-01-24T06:57:57.424Z] Uploading artifact public/test_info/profile_resource-usage.json from file /task_173770155825878/build/blobber_upload_dir/profile_resource-usage.json with content encoding "gzip", mime type "application/json" and expiry 2026-01-24T06:24:38.924Z
[taskcluster 2025-01-24T06:57:57.424Z] Uploading artifact public/test_info/resource-usage.json from file /task_173770155825878/build/blobber_upload_dir/resource-usage.json with content encoding "gzip", mime type "application/json" and expiry 2026-01-24T06:24:38.924Z
[taskcluster 2025-01-24T06:57:57.425Z] Uploading artifact public/test_info/manifests.list from file /task_173770155825878/build/blobber_upload_dir/manifests.list with content encoding "gzip", mime type "application/octet-stream" and expiry 2026-01-24T06:24:38.924Z
[taskcluster 2025-01-24T06:57:57.426Z] Uploading artifact public/test_info/mochitest-browser-translations_errorsummary.log from file /task_173770155825878/build/blobber_upload_dir/mochitest-browser-translations_errorsummary.log with content encoding "gzip", mime type "text/plain" and expiry 2026-01-24T06:24:38.924Z
[taskcluster 2025-01-24T06:57:57.428Z] Uploading artifact public/logs/localconfig.json from file /task_173770155825878/logs/localconfig.json with content encoding "gzip", mime type "application/json" and expiry 2026-01-24T06:24:38.924Z
[taskcluster 2025-01-24T06:57:57.428Z] Uploading artifact public/test_info/system-info.log from file /task_173770155825878/build/blobber_upload_dir/system-info.log with content encoding "gzip", mime type "text/plain" and expiry 2026-01-24T06:24:38.924Z
[taskcluster 2025-01-24T06:57:57.548Z] Uploading artifact public/test_info/mozilla-test-fail-screenshot_7tqarxt1.png from file /task_173770155825878/build/blobber_upload_dir/mozilla-test-fail-screenshot_7tqarxt1.png with content encoding "identity", mime type "image/png" and expiry 2026-01-24T06:24:38.924Z
[taskcluster 2025-01-24T06:57:57.774Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2026-01-24T06:24:38.924Z
[taskcluster:error] exit status 1

This patch ensures that full-page translations tests await
new model downloads when the active TranslationsEngine is
rebuilt after flipping the lexical shortlist pref.

Assignee: nobody → enordin
Status: NEW → ASSIGNED
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/899f7f4564c1 Ensure Translations tests await new downloads r=translations-reviewers,gregtatum
Status: ASSIGNED → RESOLVED
Closed: 1 year 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: