Skip to content

python_no_transparent_upgrade_with_venv_patch_specification can time out on Windows #1810

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv-dev/actions/runs/35007046084
Job: https://github.com/astral-sh/uv-dev/actions/runs/35007046084/job/104509549896

The CI workflow's test / cargo test on windows 1 of 3 job failed on a Windows Server 2022 x86_64 runner, attempt 1:

TERMINATING [>120.000s] uv::python python_upgrade::python_no_transparent_upgrade_with_venv_patch_specification
TIMEOUT [120.070s] uv::python python_upgrade::python_no_transparent_upgrade_with_venv_patch_specification
(test timed out)

The other 1,219 tests in the shard passed. Captured output shows that the test installed Python 3.10.17, created the virtual environment, and verified Python 3.10.17. The source performs uv python upgrade 3.10 next, and no completed snapshot was captured for that operation, so the log does not establish why it stalled.

The originating #246 changes resolver lock/export marker handling and related tests, without changing managed-Python behavior, this test, or the workflow. The timeout therefore appears unrelated to the proposed change.

The Windows nextest profile runs 20 test threads and serializes python_install, python_update, and python_find tests, but not python_upgrade tests. I/O contention is a plausible hypothesis, not a confirmed cause. #594 tracks the same cutoff in a different python_upgrade test. The broader test-cost work in astral-sh#5939 and the mitigation in astral-sh#17177 do not currently cover this test. The all required jobs passed failure was only a rollup.

Activity

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

    @astral-automations-bot
    Author

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

    This main-branch occurrence also includes an independent Python 3.6/Debian Buster resolver assertion during pylint installation, tracked by #1733 and astral-sh#22532. That makes the overall run deterministic without changing the Windows timeout's classification as a CI flake.

  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/38797483177

    CI attempt 1 at https://github.com/astral-sh/uv/actions/runs/38797483177 adds a shard-1 occurrence with no completed command snapshots, unlike the original #1810 sample that reached the upgrade command. The same run independently reproduces #2715 on shard 3 after successful initial installation and project creation. The logs do not establish a common cause.

  4. 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/38939733336

    Attempt 2 provides a same-commit pass/fail comparison: this test passed in 41.496 seconds on attempt 1, then timed out after 120.095 seconds without completed command snapshots at https://github.com/astral-sh/uv-dev/actions/runs/38939733336/job/117109483700. All four tests that timed out on attempt 1 passed on attempt 2.

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

    Attempt 1 at https://github.com/astral-sh/uv-dev/actions/runs/38946080163 also reproduces #424 in Windows shard 1 and astral-sh#14324 in shard 2. The shard-2 test successfully installed and verified Python 3.12.11, then reached 120.094 seconds without completed output for the following Python 3.12.8 installation. Both shard-1 timeouts lack completed command output. A shared cause remains unconfirmed.

  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 19, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 reproduces both tracked timeouts together: shard 1 has no completed command output for the test tracked by #1810, while shard 3 reproduces #397 after completing all Python 3.10 operations, before completed output for uv python install 3.14.0rc2. A shared cause remains unconfirmed. Run: https://github.com/astral-sh/uv-dev/actions/runs/39186337927

  9. 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