Skip to content

python_install_multiple_patch can exceed 120 seconds on Windows #2789

Open

Description

@astral-automations-bot

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

Run: https://github.com/astral-sh/uv/actions/runs/38808898921/attempts/1
Job: https://github.com/astral-sh/uv/actions/runs/38808898921/job/116677623512

TIMEOUT [120.098s] uv::python python_install::python_install_multiple_patch
test python_install::python_install_multiple_patch has been running for over 60 seconds
(test timed out)
Summary: 1317 tests run: 1316 passed, 1 timed out
error: test run failed

The test at crates/uv/tests/python/python_install.rs:562 installs Python 3.12.8 and 3.12.6, checks that the executable points to the newer patch, and uninstalls 3.12.8. The captured failure contains no completed command output, so it does not establish which operation stalled.

The unchanged test passed in 79.317 seconds on Windows at the PR base, 06c4df1:
https://github.com/astral-sh/uv/actions/runs/38808898116/job/116677362789

It also passed in 1.663 seconds on Linux in the failed run:
https://github.com/astral-sh/uv/actions/runs/38808898921/job/116677623354

astral-sh#22606 changes only crates/uv-pep508/src/marker/simplify.rs, supporting an unrelated intermittent test or infrastructure delay. The Windows nextest profile already serializes this test through the io-bound group and applies the global 120-second cutoff. Investigate the stall and add diagnostics or a targeted mitigation; network delays, filesystem contention, and locking remain hypotheses. The required-jobs failure is only a rollup.

Related: astral-sh#20414 tracks the distinct install_multiple_patches scenario; a common cause is unconfirmed. The serialization mitigation from astral-sh#17177 is already active. #2774 proposes retaining Python traces that could help locate this stall.

Activity

  1. added
    internal:ci-flake
    on Oct 15, 2026
  2. 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 1 adds a macOS occurrence to #2789: python_install_multiple_patch timed out after 120.030s without completed command output in https://github.com/astral-sh/uv-dev/actions/runs/38946068125/job/117125742808. The same job also reproduced #2803. Windows shards independently reproduced #2600, #2608, and #2742; a shared cause is unconfirmed.

  3. astral-automations-bot commented on Oct 19, 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