Skip to content

python_install_preview_upgrade can exceed the 120-second timeout on Windows #2608

Open

Description

@astral-automations-bot

CI failed on main at commit 6096cfa, attempt 1, in test / cargo test on windows 3 of 3, step Cargo test. The platform is Windows Server 2022 x86-64 on namespace-profile-windows-2022-x86-64-16x32.

Failed job: https://github.com/astral-sh/uv-dev/actions/runs/38285809991/job/114934075144

TIMEOUT [120.093s] uv::python python_install::python_install_preview_upgrade
Summary [340.710s] 1300 tests run: 1299 passed (12 slow), 1 timed out

Four commands completed successfully: Python 3.12.5 installed in 41.07 seconds, Python 3.12.4 installed in 50.05 seconds, its reinstall completed in 491 milliseconds, and its forced executable replacement completed in 45 milliseconds. The first two installs consumed about 91 seconds. The final command in crates/uv/tests/python/python_install.rs installs Python 3.12.6; no completed output for it appears before termination. The logs do not establish whether downloading, extraction, filesystem operations, or another operation caused the slowdown.

The unchanged test passed in 72.840 seconds on the immediate parent commit, with all 1,300 tests passing in that shard:
https://github.com/astral-sh/uv-dev/actions/runs/38285578723/job/114933287630

The intervening change, astral-sh#22496, concerns pip compile/export output files and does not modify this test or Python installation. This supports an intermittent CI failure. Investigate the installation latency and mitigate this multi-command test's timeout. The shared Python archive cache and Windows I/O serialization are already enabled; .config/nextest.toml still applies the global 120-second cutoff.

Related: #2600 and #2607 concern different Windows installation tests; a common cause is unconfirmed. astral-sh#11834 discusses historical download-bound timeouts, and the serialization from astral-sh#17177 remains active.

The run also independently fails in test-system / python3.6 on debian buster, during Validate global Python install:
https://github.com/astral-sh/uv-dev/actions/runs/38285809991/job/114936881373

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

That assertion occurs during uv pip install pylint==2.12.2 --system --verbose after repeated Python compatibility conflicts for platformdirs. Source inspection confirms the conflict-priority path asserts for nameless virtual packages; open #1733 addresses this separate deterministic defect. The skipped required-jobs rollup is only a consequence.

Activity

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

    @astral-automations-bot
    Author

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

    In attempt 1 of https://github.com/astral-sh/uv-dev/actions/runs/38428125542/job/115403277306, python_install_preview_upgrade timed out after 120.116 seconds on Windows. Unlike the original sample in #2608, only the Python 3.12.5 installation produced completed output, succeeding in 39.08 seconds; no completed output for the following Python 3.12.4 installation appeared. The exact stalled 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/38736728142

    Attempt 1 adds a slower initial-install sample for #2608: https://github.com/astral-sh/uv/actions/runs/38736728142/job/116428243190. Python 3.12.5 installed successfully in 1m 54s, compared with 41.07s in the original report, before the test reached its 120.101s timeout. No completed output appears for the subsequent Python 3.12.4 installation. The same run independently reproduced the discovery timeout tracked by #843; a shared cause remains unconfirmed.

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds a useful timing contrast for #2608: Python 3.12.5 installed in only 651ms, but no subsequent command output completed before the 120.084s timeout. Job: https://github.com/astral-sh/uv-dev/actions/runs/38788914574/job/116608475247. The same run independently reproduced #843 and #1359; the latter spent 1m45s installing Python 3.9.5. A shared cause is unconfirmed.

  5. astral-automations-bot commented on Oct 15, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds a useful timing contrast for #2608: the first four installation commands completed in 601ms, 3.26s, 535ms, and 34ms, versus roughly 91 seconds for the first two in the original report. No completed output for the final Python 3.12.6 installation appeared before the 120.094-second timeout: https://github.com/astral-sh/uv-dev/actions/runs/38807948566/job/116673971423. The same run independently reproduced #424 in Windows shard 1 at 120.090 seconds; a shared cause remains unconfirmed.

  6. 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/38808898344

    Attempt 1 adds a timing contrast for #2608: in Windows shard 3, the first two installations consumed approximately 119 seconds, versus roughly 91 seconds in the original report. The reinstall then succeeded in 692ms, but no completed output for the subsequent --force command appeared before the 120.068-second timeout. The exact delayed operation remains unknown. Job: https://github.com/astral-sh/uv/actions/runs/38808898344/job/116677333490

  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-dev/actions/runs/38929782693

    Attempt 1 adds a timing sample for #2608: Python 3.12.5 installed in 650ms, while Python 3.12.4 succeeded in 1m 59s, nearly exhausting the test's budget before its 120.107-second timeout. No completed output appears for the following reinstall. Job: https://github.com/astral-sh/uv-dev/actions/runs/38929782693/job/117070975085. Windows shard 1 independently reproduced #424 at 120.110 seconds; a shared cause remains unconfirmed.

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

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

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

    Attempt 1 combines the preview-upgrade timeout with python_upgrade::python_script_honors_patch_version_file, the shared-helper variant tracked by #2616, in Windows shard 3: https://github.com/astral-sh/uv-dev/actions/runs/38940061806/job/117105639817. Both reach 120 seconds; a shared cause remains unconfirmed. The run also has an independent deterministic Hawk failure: #909 adds an extra_middleware caller while retaining its dead_public expectation.

  12. 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/38946123707

    CI attempt 1 adds a combined occurrence: https://github.com/astral-sh/uv-dev/actions/runs/38946123707. Windows shard 3 reproduced #2608 after Python 3.12.5 installed in 1m 01s. Shard 2 simultaneously reproduced astral-sh#20414, #594, and #2742: https://github.com/astral-sh/uv-dev/actions/runs/38946123707/job/117125946070. The first two produced no completed command output, unlike their original reports. Shared archive caching was already configured; a common cause remains unconfirmed.

  13. 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/38946123707

    Attempt 2 adds two timeouts alongside the recurring preview-upgrade failure: python_find_prerelease_version_specifiers and python_script_honors_patch_version_file, tracked by #728 and #2616. Both passed on attempt 1 at the same commit in 4.699s and 54.283s. The preview-upgrade test completed its initial Python 3.12.5 installation in just 731ms before timing out without further command output. A shared cause remains unconfirmed. Job: https://github.com/astral-sh/uv-dev/actions/runs/38946123707/job/117130414811

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

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

    Attempt 1 combines all four tracked Windows timeouts: #2608, #728, and #397 in shard 3, plus #2747 in shard 2. In the preview-upgrade test, successful Python 3.12.5 and 3.12.4 installations consumed approximately 118 seconds before the 120.111-second timeout; reinstall and forced replacement also completed, but no output completed for the final 3.12.6 installation. A shared cause remains unconfirmed. Job: https://github.com/astral-sh/uv-dev/actions/runs/38950532339/job/117141059855

  16. 11 remaining items

  17. 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/39262732666

    Attempt 1 adds a macOS 15 ARM64 occurrence: python_install_preview_upgrade timed out at 120.032s after four successful commands; the final Python 3.12.6 install produced no completed output. It passed in 43.238s on the immediate parent. The same job also reproduced #2715, #2789, and #2764; a shared stall mechanism is unconfirmed. Job: https://github.com/astral-sh/uv/actions/runs/39262732666/job/118094695899. Independently, publishing reproduced the wheel-only TestPyPI readiness failure addressed by #1823.

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

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

    @astral-automations-bot
    Author

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

    Attempt 1 also independently reproduces #815 on Ubuntu 24.04: https://github.com/astral-sh/uv-dev/actions/runs/39634234959/job/119343569092. This sample combines Launchpad HTTP 503 responses for metadata and packages with IPv4 connection timeouts and unreachable IPv6 routes; installation exits 100 before uv runs. A shared cause with the Windows timeout is unconfirmed.

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

    @astral-automations-bot
    Author
  21. astral-automations-bot commented on Oct 26, 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

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

    Attempt 1 of https://github.com/astral-sh/uv/actions/runs/40376496007 reproduces both timeouts while testing the Python-upgrade grouping correction in astral-sh#22939. Both failing Python-install tests already match the old and new filters. Shard 3 reproduces #2608 at 120.098s; shard 2 independently reproduces astral-sh#20414 at 120.084s without any completed command output, unlike its original report.

  25. astral-automations-bot commented on Nov 5, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 also independently fails FreeBSD cross-compilation: mio 1.2.0 references NOTE_PCTRLMASK, removed by the libc 0.2.190 update in astral-sh#23046. Job: https://github.com/astral-sh/uv/actions/runs/42076071764/job/127416931410. This deterministic dependency incompatibility is separate from the recurring Windows timeout; rerunning the flake cannot resolve the entire run.

  26. astral-automations-bot commented on Nov 5, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds a useful timing distinction for #2608: all five installation commands exited successfully before the 120.071-second timeout, including the final Python 3.12.6 installation in 1m 04s. Unlike the original report, no installation command lacks completed output. Reported installation times total approximately 119 seconds; the operation executing at termination remains unknown. Job: https://github.com/astral-sh/uv-dev/actions/runs/42091750436/job/127471951536

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

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

    @astral-automations-bot
    Author
  29. 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 1 also reproduces astral-sh#20414 in Windows shard 2: https://github.com/astral-sh/uv/actions/runs/42607580027/job/129127823857. The initial two-interpreter installation took 1m 06s, versus 4.86s in the original report. Virtual environment creation and Python 3.12.11 version output then succeeded before the 120.094-second timeout; no completed output appears for the subsequent Python 3.10 installation. Shard 3 independently reproduces #2608; a shared cause remains unconfirmed.

  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