Skip to content

python_install_emulated_macos can exceed 120 seconds on macOS #2843

Open

Description

@astral-automations-bot

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

Run: https://github.com/astral-sh/uv-dev/actions/runs/38951200974/attempts/1
Job: https://github.com/astral-sh/uv-dev/actions/runs/38951200974/job/117143260409

TIMEOUT [120.040s] uv::python python_install::python_install_emulated_macos
(test timed out)
Summary [223.572s] 4544 tests run: 4543 passed (11 slow), 1 timed out, 1 skipped
error: test run failed

The only completed command output is the successful initial listing:

exit status: 0
cpython-3.13.16-macos-aarch64-none    <download available>

In crates/uv/tests/python/python_install.rs, the next invocation is uv python install 3.13-x86_64. No completed output from that invocation appears. The test had already passed its Rosetta availability check. The logs do not identify whether downloading, extraction, locking, or another installation operation caused the delay.

This appears intermittent and unrelated to #2805. That pull request changes only the cache-lifecycle tests; both passed here in 1.248 and 0.401 seconds. The affected test passed on the exact base revision, 565c9b4, in 6.571 seconds in https://github.com/astral-sh/uv-dev/actions/runs/38951157075/job/117143020908 and 99.465 seconds in https://github.com/astral-sh/uv/actions/runs/38951135277/job/117142956108.

Nextest runs 12 test threads on macOS and enforces the 120-second limit. Shared archive caching from astral-sh#22621 is active, but setup does not explicitly prewarm the x86_64 distribution. Investigate the installation stall, retain subprocess diagnostics on timeout, and evaluate prewarming that archive as a possible mitigation.

Related: #1359 tracks a different managed-Python timeout; a common cause is unconfirmed. astral-sh#5939 discusses reducing real-distribution test costs. The platform/Rosetta fix in astral-sh#16687 is already present and addresses a different failure.

The all required jobs passed failure only propagates this timeout.

Activity

  1. added
    internal:ci-flake
    on Oct 16, 2026
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