Skip to content

python_install_prerelease_specific can exceed 120 seconds on macOS #2729

Open

Description

@astral-automations-bot

CI attempt 1 failed in test / cargo test on macos on macOS 15 aarch64:

Run: https://github.com/astral-sh/uv/actions/runs/38607866401
Job: https://github.com/astral-sh/uv/actions/runs/38607866401/job/116003664230

TIMEOUT [120.029s] uv::python python_install::python_install_prerelease_specific
Summary [234.520s] 4483 tests run: 4482 passed (26 slow), 1 timed out, 1 skipped

The first two installation commands succeeded: Python 3.15.0rc3 took 16.50s and 3.15.0a2 took 29.23s. Source at the tested merge revision then checks the executable link and installs 3.14.5rc1; no completed third-installation output was captured. The precise stalled operation and whether download, extraction, or contention caused the delay remain unknown.

The identical test and nextest configuration passed in 36.738s on the base revision, according to its JUnit artifact: https://github.com/astral-sh/uv/actions/runs/38604145124/job/115990957211. The triggering astral-sh#22557 only relocates jiff timezone features between dependency declarations while retaining them for uv. This supports an unrelated CI runtime flake. Investigate installation/cache timing and bound the expensive fixture work rather than treating the timeout as an assertion failure.

astral-sh#22527 recently added an additional real interpreter installation to this test. #1359 tracks another macOS installation test timing out, but a shared cause is unconfirmed. astral-sh#21632 previously reduced interpreter-test costs through shared download caching.

The same attempt also timed out seven tests in test / cargo test on windows 3 of 3, on Windows Server 2022 x86_64:
https://github.com/astral-sh/uv/actions/runs/38607866401/job/116003664538

Two have no exact tracker found:

  • python_install::uninstall_highest_patch: 120.083s; passed in 1.508s on the base revision. It installs three real interpreters before testing uninstall behavior and already belongs to the serialized Windows I/O group.
  • sync::sync_active_project_environment_with_relative_managed_python_dir: 120.090s; passed in 2.501s on the base revision. It creates a managed-Python environment and checks repeated active-environment reuse. It falls outside that I/O group.

Neither captured a completed command result, so their stalled operations and any shared cause are unconfirmed. Base Windows job: https://github.com/astral-sh/uv/actions/runs/38604145124/job/115990957308.

The other Windows timeouts are already tracked: python_find_prerelease_version_specifiers by #728; abi_compatibility_on_freethreaded_python by #2604; python_script_honors_patch_requires_python by #2616; python_upgrade::python_upgrade by #397; and sync_centralized_env_survives_python_patch_upgrade by #2713. All five also passed on the base revision. In this occurrence, the basic upgrade test spent 1m50s installing Python 3.10.17; its subsequent patch-version rejection was expected by the test.

Separately, Linux bench / walltime build failed with error: no bench target named git_fetch in uv-bench package. The merge-revision workflow requests a target absent from the checked-out PR head, exactly matching #2719. That deterministic defect makes the overall run deterministic; this proposed issue concerns the untracked test flakes. The required-jobs failure is only a rollup.

Activity

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

    @astral-automations-bot
    Author

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

    Another Windows occurrence in CI attempt 1, job test / cargo test on windows 3 of 3, on Windows Server 2022 x86_64: https://github.com/astral-sh/uv-dev/actions/runs/38611322299/job/116015747585. python_install::python_install_prerelease_specific timed out after 120.113s. Python 3.15.0rc3 installed successfully in 11.70s, but no completed second installation output was captured; the next source command installs 3.15.0a2. Unlike the original macOS report, only the first installation completed visibly. The precise stalled operation remains unknown.

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

    @astral-automations-bot
    Author

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

    CI attempt 1 adds a Windows Server 2022 x86_64 occurrence: https://github.com/astral-sh/uv-dev/actions/runs/38638145789/job/116107131290. In test / cargo test on windows 3 of 3, python_install::python_install_prerelease_specific timed out at 120.083s. Unlike the previous Windows sample in #2729, both initial installations completed: 3.15.0rc3 in 38.75s and 3.15.0a2 in 39.60s. No completed third-installation output was captured; the precise stalled operation remains unknown.

  4. astral-automations-bot commented on Oct 15, 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/38840823406

    CI attempt 1 adds a slower first-installation sample on Windows x86_64, shard 3: https://github.com/astral-sh/uv-dev/actions/runs/38840823406/job/116780454582. Python 3.15.0rc3 installed successfully in 1m 37s, versus 11.70s in the earlier Windows sample in #2729. The test reached its 120.081-second timeout without completed output for the next installation, Python 3.15.0a2. The precise delayed operation remains unknown.

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

    @astral-automations-bot
    Author
  7. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author
  8. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author

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

    Attempt 3 adds a same-head pass/fail comparison for uninstall_highest_patch: it passed in 1.371 seconds in attempt 1, then timed out after 120.084 seconds in Windows shard 3: https://github.com/astral-sh/uv/actions/runs/38912471069/job/117032218697. No completed command output was captured. Shard 1's failure is carried forward from attempt 2 and is already recorded in #2607.

  9. 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/38922299135

    CI attempt 1 provides a fast-first-installation sample on Windows x86_64, shard 3: https://github.com/astral-sh/uv-dev/actions/runs/38922299135/job/117045716604. Python 3.15.0rc3 installed in just 638ms before the test timed out at 120.110 seconds. No completed output was captured for the next command, which installs 3.15.0a2; the precise stalled operation remains unknown.

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds a macOS 15 aarch64 sample where python_install_prerelease_specific timed out at 120.034s after only Python 3.15.0rc3 completed, taking 38.35s. The original macOS report completed two installations. The next source command installs 3.15.0a2, but no completed output was captured. Additional Unix variant preloading succeeded and does not cover these prereleases. Job: https://github.com/astral-sh/uv/actions/runs/38940041770/job/117105444573

  11. 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/38947910209

    CI attempt 1 adds a macOS shard-2 sample: https://github.com/astral-sh/uv-dev/actions/runs/38947910209/job/117132127955. python_install_prerelease_specific timed out at 120.052s after Python 3.15.0rc3 installed in 3.12s and 3.15.0a2 in 1m53s. The second installation alone consumed almost the entire test budget, compared with 29.23s in the original report. No completed third-installation output was captured; the precise delayed operation remains unknown.

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

    @astral-automations-bot
    Author
  13. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author
  14. 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/38949726101

    Attempt 1 adds a Windows shard-3 sample where Python 3.15.0rc3 installed in 827ms and 3.15.0a2 took 1m51s before python_install_prerelease_specific timed out at 120.111s. The second installation nearly exhausted the entire test budget; no completed third-installation output was captured. The underlying delay remains unidentified. Job: https://github.com/astral-sh/uv-dev/actions/runs/38949726101/job/117138358336. The same run also reproduced the timeouts tracked by #728, #2749, #2789, and #1359.

  15. 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/38946068125

    Attempt 2 provides a same-head pass/fail comparison: python_install_prerelease_specific passed in 79.639s and python_install_preview_upgrade in 3.181s on attempt 1, then timed out at 120.027s and 120.051s on macOS 15 arm64. This adds a macOS occurrence to #2608, with no completed installation output. The prerelease test completed Python 3.15.0rc3 in 3.27s and 3.15.0a2 in 41.10s before termination. The precise delayed operations remain unknown. Job: https://github.com/astral-sh/uv-dev/actions/runs/38946068125/job/117144086151

  16. 21 remaining items

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

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

    @astral-automations-bot
    Author
  19. 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/39300198823

    Attempt 1 combines all three tracked timeouts in one macOS 15 aarch64 job with shared archive caching enabled: https://github.com/astral-sh/uv/actions/runs/39300198823/job/118224016508. Alongside the prerelease timeout, python_install_armv7 reproduced #2742 after its expected musl diagnostic, and python_install_upgrade_version_file reproduced #2769 after installing Python 3.13.16 in 131ms and reporting it already current. A shared cause remains unconfirmed.

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

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

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

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

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

    @astral-automations-bot
    Author
  25. astral-automations-bot commented on Nov 3, 2026

    @astral-automations-bot
    Author
  26. astral-automations-bot commented on Nov 3, 2026

    @astral-automations-bot
    Author
  27. astral-automations-bot commented on Nov 3, 2026

    @astral-automations-bot
    Author
  28. astral-automations-bot commented on Nov 9, 2026

    @astral-automations-bot
    Author

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

    Attempt 2 adds a combined Windows Server 2022 x86-64 occurrence of both timeouts recorded in #2729 alongside #2713, #2715, and astral-sh#14324. All five tests passed at the identical commit in attempt 1. The prerelease test completed its first installation in 1m 16s before timing out; shard 3 eventually exhausted its 15-minute job limit: https://github.com/astral-sh/uv/actions/runs/42607580027/job/129136895425

  29. astral-automations-bot commented on Nov 9, 2026

    @astral-automations-bot
    Author
  30. astral-automations-bot commented on Nov 9, 2026

    @astral-automations-bot
    Author
  31. astral-automations-bot commented on Nov 9, 2026

    @astral-automations-bot
    Author
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