Skip to content

Nightly Linux DEB/RPM packaging fails in Fetch Artifacts for all GPU families on az-linux-scale-rocm-small-prod; reruns stay pinned to the same pool #9556

Open

Description

@mganji-mounika

Priority: Urgent

The Linux multi-arch nightly fails in both native package jobs at the same step, on every attempt. All builds, tarballs, Python packages and test triggers pass, but Linux publish and the Linux PyTorch/JAX release triggers are skipped, so no Linux nightly deb/rpm repos and no Linux release wheels for 2026-10-28.

Fetch Artifacts for all GPU families
Error: failed to run script step: Error: command terminated with non-zero exit code: command terminated with exit code 1
Process completed with exit code 1.
Executing the custom container implementation failed. Please contact your self hosted runner administrator.

The container hook message is a symptom: the job container started fine and checkout, Python setup, pip and apt-get all ran in it. The failing command is artifact_manager.py fetch, which ran 8–16 minutes before exiting 1.

Failed run https://github.com/ROCm/rockrel/actions/runs/40605993317 (nightly #321, schedule, 4 attempts)
Failed jobs Build deb packages, Build rpm packages
Runner pool az-linux-scale-rocm-small-prod (scale set 822rr) on all 8 job attempts
TheRock ref main at b063323
Artifacts s3://therock-nightly-artifacts/40605993317-linux: 761 archives, 13.95 GiB compressed (4.42 GiB of it test)
Workflow multi_arch_build_native_linux_packages.yml: artifact_manager.py fetch --stage=all --expand-family-to-targets
Skipped downstream Linux Publish to Release Buckets, Trigger Release PyTorch Wheels, Trigger Release JAX Wheels, native install tests (ubuntu2404, rhel8, rhel10, sles16), amd-repo-setup staging

Every attempt failed the same way

Attempt DEB fetch RPM fetch
1 failed after 10m 9s failed after 8m 26s
2 failed after 16m 32s failed after 10m 17s
3 failed failed
4 failed after 12m 22s failed after 12m 18s

Eight different runner pods, all in az-linux-scale-rocm-small-prod-822rr.

What changed

The artifact volume did not change:

Nightly Runner for DEB/RPM Fetch time Result Artifacts
10-17 â€Ķ 10-23 aws-linux-scale-rocm-prod (default) ~2 min pass ~14.0 GiB
10-24, 10-26, 10-27 aws-linux-scale-rocm-small ~9 min pass ~14.1 GiB
10-25 az-linux-scale-rocm-small-prod-c7p8q 12–17 min pass 13.84 GiB
10-28 az-linux-scale-rocm-small-prod-822rr 8–16 min fail ×4 13.95 GiB

Why reruns could not recover

The build runner label is chosen once, at random, in release / setup / setup (amdgpu_family_matrix.py select_weighted_label). "Re-run failed jobs" reuses setup's output, so attempts 2–4 all went back to the same Azure small pool. The setup job in this run completed once, at 00:01 UTC.

Likely cause

Confirmed from the latest attempt's step logs. This fetch is the heaviest single-runner download in the release: all 761 archives for every Linux family and expanded gfx target. They download into output/artifacts/.download_cache and extract into output/artifacts, and the cache is only removed after every extraction finishes. Peak usage is therefore about 14 GiB of archives plus the full extracted tree at the same time.

Both jobs finished the downloads, then failed during extract with Errno 28 (No space left on device):

DEB (job 122675723536):

!! Failed to extract sysdeps-expat_dev_generic.tar.zst: [Errno 28] No space left on device: 'output/artifacts/sysdeps-expat_dev_generic'
ERROR: Only extracted 695/761 artifacts - 66 failed

RPM (job 122675723550):

!! Failed to extract support_dev_generic.tar.zst: [Errno 28] No space left on device: 'output/artifacts/support_dev_generic'
ERROR: Only extracted 686/761 artifacts - 75 failed

This is a disk limit on 822rr, not an S3 download or credentials failure. c7p8q and AWS small did not hit it. It is not the same problem as #8562: on this run, seven other jobs on the same 822rr pool read from and wrote to S3 successfully.

Fix

  • Unblock 10-28. "Re-run failed jobs" will keep landing on Azure small. Use "Re-run all jobs" so setup picks the pool again, or accept no Linux deb/rpm/publish for 10-28.
  • Infra. Compare az-linux-scale-rocm-small-prod-822rr with c7p8q and aws-linux-scale-rocm-small (work volume size, ephemeral storage limit, memory). Until it matches, set the Azure weight for the Linux small pool to 0 in runner-config-v2.json.
  • CI. Run build_native_deb_packages / build_native_rpm_packages on build_runs_on (default) again in multi_arch_release_linux.yml and compiler_bump.yml. Their peak disk is the full multi-arch tree, not a small-job footprint.
  • CI hardening. Have artifact_manager.py fetch delete each archive after it extracts, and log free disk before and after, as build_tarballs.py does.
  • CI hardening. Make reruns choose the runner pool again (or fall back to AWS) when a job fails on a weighted pool, so one bad scale set can't block every retry.

cc @kailash-khalasi (Azure prod ramp), @dysu-amd (#9463)

Activity

  1. mganji-mounika commented on Oct 28, 2026

    @mganji-mounika
    Author

    Priority: Urgent

    Linux nightly coverage for 2026-10-28 is blocked by this failure. Both native package jobs died while extracting artifacts (No space left on device on az-linux-scale-rocm-small-prod-822rr), so the release never published Linux packages.

    What did not run:

    • Publish to Release Buckets (Linux) — no Linux deb/rpm nightly repos for 2026-10-28
    • Trigger Release PyTorch Wheels (Linux)
    • Trigger Release JAX Wheels (Linux)
    • Native install tests on ubuntu2404, rhel8, rhel10, and sles16
    • amd-repo-setup staging

    Coverage impact:

    • Any nightly that installs from the Linux nightly apt/dnf/zypper repos, or from the Linux release bucket, has no 2026-10-28 build to run against.
    • Install-path coverage on ubuntu2404, rhel8, rhel10, and sles16 was not executed.
    • Linux PyTorch and JAX release-wheel coverage was not started.
    • Windows nightly publish and Windows PyTorch wheels in the same run were not affected. Linux builds, tarballs, and Python packages did succeed; they were not copied to the release bucket.

    "Re-run failed jobs" cannot restore today's coverage. The runner pool is chosen once in setup, and all 4 attempts stayed on 822rr. A later nightly that lands DEB/RPM on this scale set will drop the same Linux coverage again until the small-runner disk limit is fixed or these jobs move off that pool.

  2. ScottTodd commented on Oct 28, 2026

    @ScottTodd
    Member

    This was mitigated/fixed by increasing the disk size on the new azure runners, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

CICDRelated to CI/CD Infraci-nightlyIssue came from a nightly release runplatform: Linux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions