Skip to content

python_find_prerelease can time out on Windows #728

Open

Description

@astral-automations-bot

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

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

TERMINATING [>120.000s] uv::python python_install::python_find_prerelease
TIMEOUT [120.074s] uv::python python_install::python_find_prerelease
(test timed out)

The other 1,137 tests in the shard passed. Captured output shows that three Python 3.15 discovery assertions completed, but it does not establish which subsequent operation stalled. The test is already in the Windows io-bound nextest group, whose concurrency is limited to one, while the global timeout remains 120 seconds.

The originating #727 only adds cache-override validation around snapshot execution and does not change this test's managed-Python behavior or the nextest configuration. A subsequent CI run on the same pull-request branch passed this Windows shard, so the failure is intermittent and unrelated to the proposed change.

The merged astral-sh#17177 previously targeted Windows reliability for this exact test, while astral-sh#20414 tracks the same timeout class in a different managed-Python installation test. The underlying stall is not established by this log; resource or I/O contention remains a hypothesis.

Activity

  1. added
    internal:ci-flake
    on Aug 13, 2026
  2. astral-automations-bot commented on Oct 5, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/37326114256 adds a Windows 3-of-3 occurrence in the sibling test python_find_prerelease_version_specifiers, which timed out after 120.097 seconds with no completed command output. The same attempt independently reproduced install_multiple_patches in Windows 2-of-3, tracked by astral-sh#20414.

  3. astral-automations-bot commented on Oct 12, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 of https://github.com/astral-sh/uv-dev/actions/runs/38259182147 adds a useful sample: python_find_prerelease_version_specifiers completed six prerelease-discovery snapshots before its 120.073-second timeout. The next source operation installs Python 3.14.0, although the log does not conclusively identify the stalled operation. Independently, the ARM64 timeout tracked by #1783 occurred during Build after eight committed-binary tests passed; Rust-cache had consumed 5m25s and ended with 'No cache found'.

  4. astral-automations-bot commented on Oct 12, 2026

    @astral-automations-bot
    Author
  5. astral-automations-bot commented on Oct 12, 2026

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Oct 14, 2026

    @astral-automations-bot
    Author
  7. astral-automations-bot commented on Oct 14, 2026

    @astral-automations-bot
    Author
  8. astral-automations-bot commented on Oct 14, 2026

    @astral-automations-bot
    Author
  9. astral-automations-bot commented on Oct 14, 2026

    @astral-automations-bot
    Author
  10. astral-automations-bot commented on Oct 15, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 of https://github.com/astral-sh/uv-dev/actions/runs/38767095283 also reproduced the independent timeout tracked by astral-sh#14324 in Windows shard 2 at 120.085 seconds. Its last completed command printed Python 3.12.11; the next source operation installs Python 3.12.8, but no completion output was captured. This occurred alongside the prerelease-discovery timeout in Windows shard 3.

  11. 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/38897971879

    Attempt 1 of https://github.com/astral-sh/uv/actions/runs/38897971879/job/116963271619 reproduced all three tracked timeouts together on Windows shard 3. Alongside the prerelease-specifier timeout, python_upgrade::python_upgrade spent 1m58s installing Python 3.10.17 before its 120.095s timeout, and python_install_no_cache spent 1m48s on its initial installation before its 120.113s timeout. These also match #397 and #2600. Successful initial installations consumed nearly the entire test budget; a shared cause remains unconfirmed.

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

    @astral-automations-bot
    Author
  13. astral-automations-bot commented on Oct 16, 2026

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

    @astral-automations-bot
    Author
  15. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author
  16. 3 remaining items

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

    @astral-automations-bot
    Author
  18. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author
  19. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author
  20. 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/38946044322

    Run https://github.com/astral-sh/uv-dev/actions/runs/38946044322 provides another same-commit comparison: python_find_prerelease_version_specifiers passed in 63.884s in attempt 1, then timed out at 120.084s in attempt 2 on Windows shard 3. The timeout captured no completed subprocess output.

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

    @astral-automations-bot
    Author
  22. 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/38946589086

    Attempt 2 provides same-revision pass-to-timeout comparisons for both tests on Windows shard 3: python_find_prerelease_version_specifiers passed in 73.006s in attempt 1, then timed out at 120.097s; python_upgrade_transparent_from_venv, tracked by #2764, passed in 5.163s, then timed out at 120.135s. Job: https://github.com/astral-sh/uv-dev/actions/runs/38946589086/job/117142356775

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

    @astral-automations-bot
    Author
  24. astral-automations-bot commented on Oct 16, 2026

    @astral-automations-bot
    Author
  25. 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/38953362717

    Attempt 1 adds a macOS 15 aarch64 occurrence of python_find_prerelease_version_specifiers: TIMEOUT [120.042s]. Six discovery snapshots completed; the next source operation installs Python 3.14.0, but the precise stall is unconfirmed. The same test passed in 48.529s on Windows in this run. macOS also reproduced the ordering timeout tracked by #2803. Job: https://github.com/astral-sh/uv-dev/actions/runs/38953362717/job/117150377939

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

    @astral-automations-bot
    Author
  27. 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/38953439790

    Attempt 2 reproduced both tracked timeouts on Windows shard 3: https://github.com/astral-sh/uv-dev/actions/runs/38953439790/job/117154816582. The tested merge revision still installs Python 3.14.0rc2/rc3 without preloading them, so it does not include the discovery-test mitigation in astral-sh#22654. The concurrent upgrade timeout tracked by #397 spent 1m16s on its initial installation and completed all Python 3.10 checks; no completed snapshot was captured for the next command, installing 3.14.0rc2. The underlying stall remains unconfirmed.

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

    @astral-automations-bot
    Author
  29. 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/38953439790

    Attempt 3 adds a same-revision comparison: python_find_prerelease_version_specifiers passed in 23.387 seconds in attempt 1, then timed out after 120.089 seconds in attempt 3. Six discovery snapshots completed before the timeout; the underlying stall remains unconfirmed. Job: https://github.com/astral-sh/uv-dev/actions/runs/38953439790/job/117161007083

  30. 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/38958637283

    Attempt 1 of https://github.com/astral-sh/uv/actions/runs/38958637283 adds python_find_prerelease_with_patch_request on Windows shard 3: TIMEOUT [120.105s]. Its first two discovery snapshots completed, including the expected rejection of Python 3.14.0; the next source operation installs that stable release, but the log does not conclusively locate the stall. The tested revision lacks the fixture changes in astral-sh#22654. This occurred alongside python_find_prerelease_version_specifiers and the timeouts tracked by #843 and #2616.

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