Closed Bug 2080077 Opened 1 month ago Closed 9 days ago

source-test-python-firefox-ci is killed by the worker memory guard on git-backed pushes (ci subsuite at the 31 GiB ceiling of t-linux-docker-amd)

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: nhadji, Assigned: nhadji)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Since bug 2066119 landed (2026-10-07), source-test-python-firefox-ci fails on every git-backed push (3/3 on staging-firefox): a heavy test process is OOM-killed (Setting retcode to -9 from taskcluster/test/test_determinism.py, once test_autoland.py) and/or the task is aborted with task aborted due to sustained memory usage above 90% and available memory less than 500.00 MiB. Peaks: 30.99 / 31.09 / 30.95 GiB of 31.34 GiB (tasks HqrXt_sQRfKrFflIKRPhoA, cGMC3YTWSKux8x42SN7iUQ, CwDvNTqvRqKyPsdp3PeQBQ).

The ci subsuite was already borderline on hg, where the task uses the fetched Python 3.10: recent green autoland runs peak at 28.56 and 30.16 GiB (J4HahsjnScyQEqtNP1LuTQ, OeZ11ZmIT7y7jkhjA6Ojew). Before bug 2066119, git-backed runs used the image's system Python 3.12 and peaked at only 27.79 GiB (UfgepAVlQbe4ivotvnWfbw, 2026-10-06, green). With run-task-git now putting the Python 3.10 toolchain on PATH as on hg, git runs land about 1 GiB above the guard.

mach python-test runs the ci subsuite files in parallel, and test_determinism.py generates the full task graph three times per params file; running the heavy files sequentially (or lowering the parallelism for this subsuite) should bring the peak well under the limit. Alternatively a larger worker for this task.

Impact on the Git migration: this task stays red on git-backed pushes regardless of how the tree is cloned; the other 12 sampled source-test-python-* tasks are green with the hg-only guards removed (bug 2058156).

The severity field is not set for this bug.
:hneiva, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(hneiva)
Severity: -- → N/A
Flags: needinfo?(hneiva)
Severity: N/A → S3
See Also: → 2029980

Deletes the clone-with: hg line of the firefox-ci task, the last
source-test python task on a Mercurial clone, and moves it to the
b-linux-docker-amd pool. The ci subsuite already peaks between 27 and
30 GB on the 32 GB test workers from a Mercurial checkout; from a Git
checkout it reaches the limit and the worker kills it with the tests
passing. The build docker workers have 64 GB.

Tested on try (push 065d0efb58f2): the task ran on b-linux-docker-amd
from a Git clone, all three test files passed (45 tests) in 10 minutes
with a peak of 45.07 GiB of the worker's 62.79 (task W5k1f8VLTvSaAZB8vlaBgQ).
The other source-test python tasks selected by the same push stayed green.

Assignee: nobody → nhadji
Status: NEW → ASSIGNED
Pushed by nhadji@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bcc0f6746924 https://hg.mozilla.org/integration/autoland/rev/1e9617c9bab5 Run the python-firefox-ci source-test task from a git checkout on a 64 GB worker, r=taskgraph-reviewers,bhearsum
See Also: → 2093700
Status: ASSIGNED → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Duplicate of this bug: 2092969
Blocks: 2093700
See Also: 2093700 →
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: