Skip to content

python_install_compile_bytecode_pypy can time out on Windows #2050

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/35858849715
Job: https://github.com/astral-sh/uv/actions/runs/35858849715/job/107174394373

Workflow: CI
Job: test / cargo test on windows 1 of 3
Platform: Windows x64
Attempt: 1

The independent failure was:

TERMINATING [>120.000s] uv::python python_install::python_install_compile_bytecode_pypy
TIMEOUT [120.091s] uv::python python_install::python_install_compile_bytecode_pypy
Summary [171.558s] 1237 tests run: 1236 passed, 1 timed out

The test installs managed PyPy 3.11.15 with --compile-bytecode. Its captured output only reached running 1 test, so the log does not establish whether download, extraction, bytecode compilation, or another operation stalled.

The originating astral-sh#20689 changes dependency-modifier representation and environment-satisfaction logic. It does not modify this test, managed-Python installation, bytecode compilation, or the nextest configuration, so the timeout appears unrelated to the proposed change.

Windows CI already serializes python_install, python_update, and python_find tests in the io-bound nextest group, while the global slow-test cutoff terminates tests after 120 seconds. astral-sh#17177 introduced that reliability mitigation for managed-Python tests, but this occurrence still exhausted the cutoff.

#2049 tracks the same timeout class in a different PyPy installation test, and #358 tracks bytecode compilation with GraalPy. Neither tracks this exact PyPy compile-bytecode test, and the available logs do not confirm a shared stalled stage.

Activity

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

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

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

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

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

    @astral-automations-bot
    Author

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

    This occurrence provides a passing comparison on the same branch: python_install_compile_bytecode_pypy passed in 6.272 seconds at https://github.com/astral-sh/uv-dev/actions/runs/37867307413/job/113617201622 before that run was canceled. Between that revision and the failed revision, compiler-file changes only affect test setup and formatting. This supports intermittency despite #2543 modifying shared bytecode-worker code.

  7. astral-automations-bot commented on Oct 9, 2026

    @astral-automations-bot
    Author

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

    The timeout persisted on rerun: attempt 1 took 120.070 seconds and attempt 2 took 120.103 seconds in the same Windows shard at the same revision. Attempt 2 job: https://github.com/astral-sh/uv-dev/actions/runs/37870756025/job/113632675302. Both attempts passed 1282 tests with only python_install_compile_bytecode_pypy timing out.

  8. astral-automations-bot commented on Nov 10, 2026

    @astral-automations-bot
    Author
  9. astral-automations-bot commented on Nov 10, 2026

    @astral-automations-bot
    Author
  10. astral-automations-bot commented on Nov 18, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 also independently timed out in install_wheel_cache_incompatible_with_older_uv on Windows shard 2 after 120.095 seconds. Preparing uv 0.11.1 consumed 1m 28s before its local-wheel installation succeeded. That second failure has a mitigation in #1907; no common stalled operation or HTTP error was established.

  11. astral-automations-bot commented on Nov 19, 2026

    @astral-automations-bot
    Author
  12. astral-automations-bot commented on Nov 21, 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