Skip to content

install_lower_patch_automatically can time out on Windows #2715

Open

Description

@astral-automations-bot

CI attempt 1 failed in test / cargo test on windows 3 of 3, step Cargo test, on Windows Server 2022 x86-64 (namespace-profile-windows-2022-x86-64-16x32).

Run: https://github.com/astral-sh/uv-dev/actions/runs/38586298860
Job: https://github.com/astral-sh/uv-dev/actions/runs/38586298860/job/115929555238

TIMEOUT [120.080s] uv::python python_install::install_lower_patch_automatically
exit code: 0
Installed Python 3.12.11 in 1m 59s
 + cpython-3.12.11-windows-x86_64-none (python3.12.exe)
(test timed out)
Summary [355.167s] 1302 tests run: 1301 passed, 1 timed out

The first uv python install --preview 3.12.11 invocation succeeded but consumed almost the entire test allowance. In crates/uv/tests/python/python_install.rs, subsequent commands create environments, trigger installation of Python 3.12.9, and verify that the original environment remains on 3.12.11. No completed output from those later commands appears before termination.

The same test passed in 1.412 seconds on the PR base: https://github.com/astral-sh/uv-dev/actions/runs/38586197813/job/115929171320. The intervening #2647 changes only crates/uv-installer/src/site_packages.rs, leaving this test, managed-Python installation, and CI configuration unchanged. This supports an unrelated intermittent CI failure.

.config/nextest.toml applies a 120-second cutoff and already serializes python_install:: tests through the Windows I/O group introduced by astral-sh#17177. Shared Python download caching from astral-sh#21632 is also enabled. Investigate installation-stage timing and a targeted timeout or contention mitigation. The log does not establish whether downloading, extraction, filesystem contention, or another operation caused the delay.

Related: #2608 concerns a different installation test; astral-sh#11834 discusses historical local download-bound timeouts. A common cause is unconfirmed.

The run separately fails Clippy on a prohibited symlink call inherited from #2640 and Hawk on Link member visibility and BaseClientBuilder::store_credentials visibility. Those are PR-stack lint corrections. The all required jobs passed failure only propagates these failures.

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

    Attempt 1 of https://github.com/astral-sh/uv-dev/actions/runs/38607471490 adds simultaneous Windows shard-3 timeouts for install_lower_patch_automatically, python_install_prerelease_specific, and python_install_preview_upgrade, plus a Linux allowed_transitive_git_dependency timeout. All reached 120 seconds without completed command output, unlike the initial installation samples in #2715 and #2608. The unchanged Linux test passed in 1.181s in the preceding branch run; its exact blocked operation remains unknown.

  3. 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/38736727075

    CI attempt 2 in https://github.com/astral-sh/uv/actions/runs/38736727075/job/116442002525 timed out after 120.100 seconds on Windows shard 3. Unlike the initial sample in #2715, installing Python 3.12.11 completed in 1.70s, and both the initial virtual environment and project initialization succeeded. The next source invocation is uv venv --directory proj -p 3.12.9, which triggers automatic installation of the lower patch version; no completed output from that invocation appears. The precise blocked operation remains unknown.

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

    Attempt 1 adds a combined occurrence of the timeout in #2715 with python_upgrade_transparent_from_venv from #2764 and python_install_prerelease_specific from #2729, all on Windows shard 3: https://github.com/astral-sh/uv-dev/actions/runs/38940056262/job/117105540104. The upgrade and prerelease tests captured no completed command output; the lower-patch test completed its initial installation, environment creation, and project initialization before timing out.

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

    Attempt 1 also encountered a distinct deadsnakes setup failure: metadata retrieval succeeded, but downloading Python 3.9 packages returned HTTP 503 and apt-get exited 100 before uv ran. Unlike the mirror stall in #815 and recent metadata-fetch failures, this occurrence failed during package downloads: https://github.com/astral-sh/uv-dev/actions/runs/38954859797/job/117156826388.

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

    Attempt 1 of https://github.com/astral-sh/uv/actions/runs/38955084308 combines the timeouts tracked in #2715 and #2746 on Windows shard 3: 120.097s and 120.072s respectively, with no completed subprocess output. It also adds simultaneous linux/amd64 GHCR manifest HEAD timeouts in the Python 3.15 Alpine 3.23 and trixie Docker jobs, matching #380; both arm64 paths reached cached layers. A shared cause between the test stalls and registry failures is unconfirmed.

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

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

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds simultaneous macOS 15 ARM64 occurrences of #2715 and #2600: install_lower_patch_automatically timed out at 120.030s and python_install_no_cache at 120.032s, without completed subprocess output. Job: https://github.com/astral-sh/uv-dev/actions/runs/39262726970/job/118094689704. Both passed at the identical commit in the upstream macOS job, in 24.663s and 4.225s respectively: https://github.com/astral-sh/uv/actions/runs/39262699774/job/118094593191. The stalled operations and any shared cause remain unknown.

  14. 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/42696111607

    Attempt 1 combines #2715 and #2608 in Windows shard 3: https://github.com/astral-sh/uv/actions/runs/42696111607/job/129428630729. The lower-patch test captured no completed command output. Preview-upgrade completed its first four commands, with the first two installations consuming approximately 101 seconds, before timing out without completed output for Python 3.12.6. A shared cause 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