Skip to content

python_install_debug can exceed 120 seconds on macOS #2765

Open

Description

@astral-automations-bot

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

Run: https://github.com/astral-sh/uv/actions/runs/38744187526
Job: https://github.com/astral-sh/uv/actions/runs/38744187526/job/116456335797

TIMEOUT [120.042s] uv::python python_install::python_install_debug
Summary [214.843s] 4558 tests run: 4557 passed (13 slow), 1 timed out, 1 skipped

Captured commands succeeded through installation and discovery of Python 3.13.16 debug and regular builds. The initial debug installation took 1m15s; the regular installation took 754ms. In crates/uv/tests/python/python_install.rs at tested merge cd5f5b5, the next command after the last completed snapshot is uv python install 3.12d. No completed output from that installation was captured. Downloading, extraction, cache locking, and filesystem contention remain hypotheses.

The same test passed in 14.006s in the concurrent base-revision macOS job:
https://github.com/astral-sh/uv/actions/runs/38744182972/job/116456335032

The test file, Python installation command implementation, test workflow, and nextest configuration are identical between the base and tested merge. The triggering astral-sh#21962 implements packaged locks for tools. This supports an unrelated CI runtime flake. Nextest applies a 120-second aggregate limit with 12 macOS test threads. Investigate installation timing and reduce or bound the expensive fixture work; shared download caching from astral-sh#21632 is already enabled.

Related: #2747 covers the different debug-freethreaded test. A shared cause is unconfirmed. astral-sh#21628 proposes limiting macOS interpreter-test concurrency, while astral-sh#5939 tracks lighter interpreter fixtures.

The same attempt independently reproduced #2729 in test / cargo test on windows 3 of 3, on Windows Server 2022 x86_64:
https://github.com/astral-sh/uv/actions/runs/38744187526/job/116456336105

TIMEOUT [120.077s] uv::python python_install::python_install_prerelease_specific
Installed Python 3.15.0rc3 in 41.36s
Installed Python 3.15.0a2 in 25.03s

That test passed in 78.101s on the base revision. Its precise stalled operation is also unknown. The all required jobs passed failure is only a rollup of these two test failures.

Activity

  1. added
    internal:ci-flake
    on Oct 15, 2026
  2. added
    bug
    area:benchmarks
    area:authentication
    internal:ci
    and removed
    area:authentication
    bug
    area:benchmarks
    internal:ci
    on Oct 15, 2026
  3. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author

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

    Attempt 2 reproduced the timeout at 120.028 seconds on macOS 15 aarch64: https://github.com/astral-sh/uv-dev/actions/runs/38839225392/job/116777895130. This occurrence used the checkout-metadata bootstrap and additional Python 3.14 seeds from #2792; the failing test instead exercises Python 3.13 and 3.12 debug builds. Unlike the original report, no completed command output was captured, so this sample does not identify the stalled operation.

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

    @astral-automations-bot
    Author

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

    Attempt 1 also reproduces these timeouts with checkout-metadata bootstrap from #2800. On macOS, Python 3.13 debug installation completed in 28.85s and regular installation in 312ms; discovery succeeded, but no completed output from the subsequent Python 3.12d installation was captured before the 120.028s timeout: https://github.com/astral-sh/uv-dev/actions/runs/38842760665/job/116786921406. The same attempt independently reproduces #424 at 120.086s on Windows shard 1: https://github.com/astral-sh/uv-dev/actions/runs/38842760665/job/116786921445.

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

    area:authenticationbuginternal:ci-flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions