Skip to content

sync_with_target_installs_missing_python can time out on Windows #2748

Open

Description

@astral-automations-bot

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

Failed job: https://github.com/astral-sh/uv-dev/actions/runs/38611322564/job/116015935222

TIMEOUT [120.090s] uv::pip pip_sync::sync_with_target_installs_missing_python
(test timed out)
TIMEOUT [120.075s] uv::python python_install::python_install_upgrade
Summary [349.701s] 1308 tests run: 1306 passed (11 slow), 2 timed out, 2646 skipped
Process completed with exit code 100.

The pip-sync test passed in 3.538s on the PR base's successful Windows shard, reported as attempt 3: https://github.com/astral-sh/uv-dev/actions/runs/38611322299/job/116039079245. The upgrade test passed there in 5.022s. #2306 changes Git benchmarks and profiling support, not these tests or their execution configuration.

In crates/uv/tests/pip/pip_sync.rs, the test exposes Python 3.11, enables managed-Python downloads, and runs uv pip sync requirements.txt --python 3.12 --target <directory> with an anyio requirement. Its source and the test configuration match the failed revision. Captured output contains only test-harness messages, so the stalled operation is unknown; network latency or I/O contention is not established.

.config/nextest.toml terminates tests after twelve 10-second intervals. The Windows I/O group introduced by astral-sh#17177 excludes this pip-sync test. Investigate stage timing and retain subprocess diagnostics on timeout to identify a targeted mitigation.

Related Windows automatic-installation timeouts are tracked by #2733 and #2734 for pip-install tests; a common cause remains unconfirmed. The independent python_install_upgrade timeout is already tracked by #1359. Its last completed snapshot reports Python 3.11 already current; the next source operation installs Python 3.9.5. The logged rejection of --upgrade 3.11.4 is an expected snapshot, not another failure. The required-jobs failure is only a rollup.

Activity

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