Skip to content

abi_compatibility_on_debug_python can exceed 120 seconds on macOS #2745

Open

Description

@astral-automations-bot

CI attempt 1 failed on main at 1d2e9df in test / cargo test on macos, step Cargo test, on macOS 15 aarch64 (namespace-profile-macos-15).

Failed job: https://github.com/astral-sh/uv-dev/actions/runs/38610584588/job/116012950478

TIMEOUT [120.024s] uv::pip_install pip_install::abi_compatibility_on_debug_python
Summary [173.760s] 4484 tests run: 4483 passed (9 slow), 1 timed out, 1 skipped

Captured output contains only the test-start and over-60-seconds messages. There is no assertion mismatch or specific network error identifying the stalled operation.

The same test passed in 5.958 seconds on the immediate parent, 5996011, where all 4,484 executed macOS tests passed:
https://github.com/astral-sh/uv-dev/actions/runs/38610348036/job/116012138514

The intervening astral-sh#22559 only replaces path clones with borrows during file-URL conversion. It leaves this test, interpreter installation, and nextest configuration unchanged. This supports an intermittent CI runtime failure.

Source confirms that the test installs managed CPython 3.14+debug, creates a virtual environment, and checks wheel compatibility. .config/nextest.toml applies a 120-second cutoff and runs 12 macOS test threads. The shared Python archive cache introduced by astral-sh#21632 is already enabled. Investigate which command stalls and add targeted timing or mitigation; downloading, extraction, cache locking, and filesystem contention remain hypotheses.

Related: #2604 tracks the free-threaded ABI test timing out on Windows, and #2729 tracks a different Python installation test on macOS. A shared cause is unconfirmed.

This run also has two independently tracked failures:

The resolver defect makes the overall run deterministic; this issue concerns the separate macOS test flake. The skipped required-jobs rollup adds no independent failure.

Activity

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

    @astral-automations-bot
    Author
  3. astral-automations-bot commented on Oct 19, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds progress information on macOS 15 aarch64: https://github.com/astral-sh/uv/actions/runs/39262512026/job/118093937215. Unlike the original #2745 sample, abi_compatibility_on_debug_python completed its non-debug wheel installation before timing out at 120.022s. Remaining source operations build and install the debug wheel; the log does not identify which stalled. The same job reproduces #2729 with the first prerelease installation taking 1m 50s, and adds a macOS occurrence of astral-sh#14324 after Python 3.12.11 was printed, without completed output for the subsequent 3.12.8 installation.

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

    @astral-automations-bot
    Author
  5. astral-automations-bot commented on Oct 26, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds timeout-coverage evidence on macOS: https://github.com/astral-sh/uv-dev/actions/runs/40370816549/job/121741183664. The 240-second override covers python_find, python_install, and python_upgrade, but excludes pip_install::abi_compatibility_on_debug_python, which timed out at 120.039s after its non-debug wheel installation succeeded. In the same job, python_install_prerelease_specific and python_upgrade_without_version passed in 156.719s and 131.073s under the longer allowance. The precise delayed operation in the ABI test remains unknown.

  6. astral-automations-bot commented on Oct 29, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds a Linux x86_64 occurrence on depot-ubuntu-24.04-16: https://github.com/astral-sh/uv/actions/runs/40904279287/job/123555618760. The debug-ABI test timed out at 120.015s with only harness output. The same job also reproduced #2746, #2729, and #397. The prerelease test completed its first two installations in 1.67s and 2.74s; the upgrade test completed all standard-version commands after a 40.04s initial installation, with no completion output for the subsequent free-threaded installation. Shared archive caching was enabled, though python_install_cached intentionally isolates its cache. A common stall mechanism remains unconfirmed.

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-flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions