Skip to content

install_managed_venv_allow_existing can exceed 120 seconds on Windows #2778

Open

Description

@astral-automations-bot

CI attempt 1 for #2773 timed out in python_install::install_managed_venv_allow_existing.

Run: https://github.com/astral-sh/uv-dev/actions/runs/38786597407
Failed job: https://github.com/astral-sh/uv-dev/actions/runs/38786597407/job/116600454373
Workflow: CI
Job: test / cargo test on windows 3 of 3
Platform: Windows Server 2022 x86-64, namespace-profile-windows-2022-x86-64-16x32

TIMEOUT [120.075s] uv::python python_install::install_managed_venv_allow_existing
(test timed out)
Summary [178.585s] 1308 tests run: 1307 passed, 1 timed out

The same test passed in 3.160 seconds on main earlier that day:
https://github.com/astral-sh/uv-dev/actions/runs/38757654116/job/116500692330

The test source and nextest configuration are identical between that successful commit and the failing PR head. The PR wraps existing URL parsing and does not modify these tests or workflows. This supports an intermittent CI failure.

The test in crates/uv/tests/python/python_install.rs installs managed Python 3.13, creates a virtual environment, then recreates it with --allow-existing. Windows CI already places python_install tests in the serialized io-bound group; the global timeout remains 120 seconds. Captured output does not identify which operation stalled. Investigate the blocked subprocess before attributing this to downloading, filesystem contention, or virtual-environment creation. #2774 adds relevant timeout diagnostics, and #2775 proposes sharing downloaded archives; neither establishes this timeout's cause.

Other independent failures in this run are already tracked:

Those simultaneous download failures suggest infrastructure disruption, but the logs do not connect them to this timeout. ARM matrix cancellations and the required-jobs rollup are follow-on failures.

Activity

  1. added
    internal:ci-flake
    on Oct 15, 2026
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