Skip to content

install_no_transparent_upgrade_with_venv_patch_specification times out on Windows #2607

Open

Description

@astral-automations-bot

The CI workflow failed on attempt 1 in test / cargo test on windows 1 of 3, running Windows Server 2022 x86_64 on namespace-profile-windows-2022-x86-64-16x32.

Failed job: https://github.com/astral-sh/uv-dev/actions/runs/38281920083/job/114921274936

TIMEOUT [120.097s] uv::python python_install::install_no_transparent_upgrade_with_venv_patch_specification
Summary [211.581s] 1305 tests run: 1304 passed (4 slow), 1 timed out, 2639 skipped

The same unchanged test passed in 5.106 seconds in the concurrent base-commit job, where all 1,305 tests passed: https://github.com/astral-sh/uv-dev/actions/runs/38281834876/job/114921001267

The originating #2605 changes only tool_upgrade_settings; that test passed in this failed shard. This therefore appears to be an unrelated intermittent CI failure. The all required jobs passed failure is only a rollup.

The failing test in crates/uv/tests/python/python_install.rs installs Python 3.12.9, creates a patch-pinned virtual environment, installs 3.12.11, and checks that the environment remains on 3.12.9. Captured output contains only the test-harness timeout, so it does not identify the stalled operation or establish a network failure or deadlock.

.config/nextest.toml sets the 120-second cutoff and already serializes python_install:: tests through the Windows I/O group introduced by astral-sh#17177. Contention with other tests is a hypothesis, not a confirmed cause.

Related reports: #1810 concerns the similarly named but separate Python-upgrade test; astral-sh#14324 and astral-sh#20414 concern other managed-Python installation tests. None establishes the cause of this timeout.

Activity

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

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

    CI attempt 1 adds a macOS 15 arm64 occurrence in test / cargo test on macos: https://github.com/astral-sh/uv/actions/runs/38808898063/job/116677725955. The same test timed out after 120.029 seconds; 4,502 other tests passed. Unlike the Windows samples, ci-macos uses 12 test threads without the Windows managed-Python serialization override. No completed command output was captured, so the stalled operation remains unknown. The originating astral-sh#22610 changes only benchmark-related files.

  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/actions/runs/38912471069

    Attempt 2 provides a same-head pass/fail comparison for #2607: the test passed in 5.223 seconds during attempt 1, then timed out after 120.104 seconds without completed command output in https://github.com/astral-sh/uv/actions/runs/38912471069/job/117028623161. Shard 3 retains the attempt-1 results already reported for #2600 and #2608; those are not additional executions.

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

    Attempt 1 adds useful progress evidence for #2607: https://github.com/astral-sh/uv-dev/actions/runs/38945837146/job/117124919123. On Windows shard 1, Python 3.12.9 installation completed in 1.70 seconds, followed by successful venv creation and version verification; no completed output appeared for the next source command, uv python install --preview 3.12.11, before the 120.083-second timeout. The same job also reproduced #397 at 120.118 seconds after its initial no-op. A shared cause remains 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

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

    Attempt 1 of https://github.com/astral-sh/uv/actions/runs/38947486516 combines ten tracked timeouts across Windows shards 1 and 3. The lower-patch test spent 1m 59s installing Python 3.12.11 before creating its venv and timing out. Both patch-pinned tests completed their initial installation, venv creation, and version check before stalling on the next install/upgrade. The tested head lacks the setup/test archive-cache sharing from astral-sh#22621, so this sample does not test that mitigation. 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/actions/runs/38947486516

    Attempt 2 of https://github.com/astral-sh/uv/actions/runs/38947486516 follows the attempt-1 sample already recorded in #2607. Both patch-pinned tests now time out without completed command snapshots, unlike the earlier sample. Shard 3 additionally reproduces #2600: initial installation took 929 ms and both no-op installs succeeded before the reinstall produced no completed output. A shared cause remains unconfirmed.

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

    @astral-automations-bot
    Author
  15. 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/39272314117

    Attempt 1 provides a macOS 15 arm64 occurrence after the cache-sharing mitigation in astral-sh#22621: https://github.com/astral-sh/uv-dev/actions/runs/39272314117/job/118127936552. UV_PYTHON_CACHE_DIR was configured for setup and tests, but the test still timed out after 120.046 seconds without completed command output. Its requested Python 3.12.9 and 3.12.11 versions are absent from the setup preload list; whether downloading contributed remains unconfirmed.

  16. 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/39641343264

    Attempt 1 adds a Windows shard-1 sample with setup/test archive sharing enabled: https://github.com/astral-sh/uv-dev/actions/runs/39641343264/job/119365821225. Python 3.12.9 installed in 49.61 seconds, followed by successful venv creation and version verification; no completed output appeared for the subsequent Python 3.12.11 installation before the 120.076-second timeout. The same run also reproduces #2729 and #2608 in Windows shard 3. A shared cause remains unconfirmed.

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

    @astral-automations-bot
    Author
  18. 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/42607578018

    Attempt 2 provides same-commit pass-to-timeout comparisons for #2607 (76.858s to 120.076s), #2715 (47.026s to 120.076s), and #2729 (89.325s to 120.062s). Cancelled Windows shard 3 also reproduced #2608 before exhausting its 15-minute job limit during testing: https://github.com/astral-sh/uv/actions/runs/42607578018/job/129136745861. These failures are present in the cancelled job's logs but absent from the supplied failure-log file.

  19. 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/42610653143

    Attempt 1 also contains failures absent from the supplied failure-log file: Windows shard 1 reproduced #2607, while shard 3 reproduced #2715 and #2746. Both shards independently exhausted their 15-minute job limits. In shard 1, Python 3.12.9 installed successfully in 59.57 seconds before environment creation and version verification completed. Job: https://github.com/astral-sh/uv/actions/runs/42610653143/job/129138182301. Shard 2 additionally reproduced astral-sh#20414 and astral-sh#14324; a shared cause remains unconfirmed.

  20. 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/42621237966

    Attempt 1 also reproduces #1359 after the test reduction in astral-sh#23007: Windows shard 1 completed its first four commands, including Python 3.11.18 installation in 668 ms, then captured no completion output for the next source command, installing Python 3.9.24, before timing out at 120.086 seconds. Job: https://github.com/astral-sh/uv/actions/runs/42621237966/job/129173970034. A shared cause with the other three tracked timeouts 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