Skip to content

python_install_debug_freethreaded can exceed 120 seconds on macOS #2747

Open

Description

@astral-automations-bot

CI attempt 1 failed on main at 9a6a0d9:
https://github.com/astral-sh/uv-dev/actions/runs/38610785891

In test / cargo test on macos, step Cargo test, on macOS 15 aarch64 (namespace-profile-macos-15):
https://github.com/astral-sh/uv-dev/actions/runs/38610785891/job/116014027319

TIMEOUT [120.040s] uv::python python_install::python_install_debug_freethreaded
test python_install::python_install_debug_freethreaded has been running for over 60 seconds
(test timed out)

No completed command output was captured. The identical test passed in 9.398 seconds on the immediate parent revision, 1d2e9df:
https://github.com/astral-sh/uv-dev/actions/runs/38610584588/job/116012950478

The intervening astral-sh#22561 replaces connectivity access with equivalent offline predicates and leaves the tests and workflow configuration unchanged. This supports an intermittent CI runtime failure.

Source confirms that the test first installs managed CPython 3.13td, then exercises its executable and interpreter discovery. Nextest applies a 120-second cutoff with 12 macOS test threads. Shared archive caching from astral-sh#21632 is already enabled. Downloading, extraction, cache locking, and filesystem contention remain hypotheses; the log does not identify the stalled operation. Investigate the stall and retain subprocess diagnostics on timeout.

The same attempt also timed out python_install::python_install_freethreaded at 120.073 seconds in test / cargo test on windows 2 of 3, on Windows Server 2022 x86_64 (namespace-profile-windows-2022-x86-64-16x32):
https://github.com/astral-sh/uv-dev/actions/runs/38610785891/job/116014027332

It likewise captured no completed command output. The same test function passed in 1.782 seconds during validation of astral-sh#22561:
https://github.com/astral-sh/uv/actions/runs/38609655414/job/116009782546

Windows interpreter-test serialization from astral-sh#17177 is already active. Historical astral-sh#11834 discusses this test's local download-bound timeouts, but those reports predate the active caching mitigation. A shared cause with the macOS timeout is not established.

Other independent failures are already tracked:

panicked at crates/uv-resolver/src/pubgrub/priority.rs:167:13:
URL packages must not be involved in conflict handling

Repeated Python compatibility conflicts for platformdirs precede that assertion. Source confirms that conflict reprioritization asserts for nameless virtual packages, matching #1733; astral-sh#22532 proposes CI dependency stabilization. This separate deterministic defect makes the overall run deterministic. The skipped required-jobs rollup adds no failure.

Activity

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

    @astral-automations-bot
    Author

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

    CI attempt 1 adds useful progress information for #2747: https://github.com/astral-sh/uv/actions/runs/38737057295/job/116429271222. On macOS aarch64, python_install_debug_freethreaded timed out at 120.041 seconds after successfully installing Python 3.13.16 debug-freethreaded, regular, and freethreaded builds. Unlike the original report, completed snapshots identify the next command as uv python install 3.13d; no completed output from that command was captured. The precise stalled operation remains unknown.

  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/38909679557

    Attempt 1 recurs after the mitigations in astral-sh#22621 and astral-sh#22634: https://github.com/astral-sh/uv-dev/actions/runs/38909679557. Both jobs use the shared setup/test archive cache. Setup seeds free-threaded Python 3.14.8, but these tests request 3.13t and 3.13td, which setup does not preseed. macOS timed out at 120.038s and Windows shard 2 at 120.105s. Neither captured completed command output; a download or cache-related cause remains unconfirmed.

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

    @astral-automations-bot
    Author
  5. 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/38949371450

    CI attempt 1 also reproduces astral-sh#14324 alongside the Windows free-threaded timeout: install_transparent_patch_upgrade_uv_venv reached 120.080s after printing Python 3.12.11, with no completed output from the subsequent Python 3.12.8 installation. python_install_freethreaded reached 120.070s without completed command output. Serialization and shared archive caching were active; a shared cause remains unconfirmed. Job: https://github.com/astral-sh/uv-dev/actions/runs/38949371450/job/117137421729

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