Skip to content

Airflow walltime benchmark aborts building oss2 with SIGBUS #2909

Open

Description

@astral-automations-bot

CI attempt 1 failed during Airflow benchmark setup on Linux x86_64, runner codspeed-macro-x64-ryzen-9950x-ubuntu-24-04.

Run: https://github.com/astral-sh/uv/actions/runs/39519253405
Job: https://github.com/astral-sh/uv/actions/runs/39519253405/job/118961315228
Workflow: CI; reusable workflow: .github/workflows/bench.yml; job: bench / walltime on x86_64 linux; step: Run benchmarks.

After resolve_warm_jupyter_universal completed, setup for resolve_warm_airflow aborted:

thread 'main' (621) panicked at crates/uv-bench/benches/uv.rs:511:14:
called `Result::unwrap()` on an `Err` value: Failed to build `oss2==2.19.0`
Caused by:
    0: The build backend returned an error
    1: Call to `setuptools.build_meta:__legacy__.get_requires_for_build_wheel` failed (signal: 7 (SIGBUS) (core dumped))

The backend signal is the first useful error; the benchmark panic and exit 101 follow from it. Source places the unwrap in online cache priming before offline measurements.

There is a concrete preparation mismatch: .github/workflows/bench.yml primes Airflow with --exclude-newer 2024-08-08, whereas crates/uv-bench/benches/uv.rs uses 2024-09-01. The successful walltime-build job resolved oss2 2.18.6; runtime setup then attempted to build 2.19.0 on the measurement runner. Aligning preparation with the actual benchmark workload would avoid leaving this build to runtime setup. It does not establish the underlying cause of SIGBUS.

The tested change, astral-sh#22786, updates managed Python metadata from python-build-standalone 20261013 to 20261020. The failed job downloaded CPython 3.14.8 from the updated metadata. The same-head simulated Airflow benchmark passed with the updated Python, and the base walltime job passed with the older build: https://github.com/astral-sh/uv/actions/runs/39508729362/job/118927212473. These comparisons do not prove either an interpreter regression or an infrastructure flake. Investigate the backend crash and align cache priming with the runtime workload; reproducibility remains unconfirmed.

Related: astral-sh#5554 previously aligned priming cutoffs. astral-sh#18487 makes measurements offline but retains online setup. astral-sh#14979 concerns a different broken-pipe download failure.

This run independently reproduces the deterministic ty 0.0.87 annotation error tracked by #2905. The all-required-jobs failure is a rollup.

Activity

  1. added
    internal:ci
    on Oct 21, 2026
  2. astral-automations-bot commented on Oct 21, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/39535719839

    Now reproduced on main after the 0.13.5 version bump in astral-sh#22787, attempt 1: https://github.com/astral-sh/uv/actions/runs/39535719839/job/119013933175. Setup uses CPython 3.14.8; walltime build and simulation both pass. The same oss2 backend SIGBUS is the sole independent failure. Because this is a main push, profile capture also runs and reports 'CodSpeed did not finish uploading its profile' after the benchmark abort.

  3. astral-automations-bot commented on Oct 21, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/39573789883

    Reproduced in CI attempt 1 for astral-sh#22720: https://github.com/astral-sh/uv/actions/runs/39573789883/job/119137318418. Although this run occurred after astral-sh#22788 merged, tested merge commit 714f1da still selects python-build-standalone 20261020, and the job downloads CPython 3.14.8. Airflow setup encounters the same oss2==2.19.0 backend SIGBUS. This occurrence therefore still uses the Python build targeted by the rollback.

  4. astral-automations-bot commented on Oct 21, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/39573790633

    Attempt 1 reproduces the oss2 SIGBUS at https://github.com/astral-sh/uv/actions/runs/39573790633/job/119137334910. Although this run started after astral-sh#22788 merged, the tested merge b80790d still selects CPython 3.14.8 from python-build-standalone 20261020 and does not contain the rollback. The walltime build and simulation passed. This occurrence therefore does not demonstrate failure of the rollback.

  5. astral-automations-bot commented on Oct 21, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/39664681809

    Attempt 2 reproduces the oss2 backend SIGBUS in https://github.com/astral-sh/uv/actions/runs/39664681809/job/119504904490. Unlike earlier samples using stale pre-rollback merges, astral-sh#22802 starts from metadata pointing CPython 3.14.8 to 20261013 and restores its 20261020 archive. The job downloads CPython 3.14.8 despite the PR adding newer releases. This occurrence therefore reintroduces the archive targeted by astral-sh#22788.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal:ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions