Skip to content

python_install_armv7 can exceed the 120-second timeout on Windows #2742

Open

Description

@astral-automations-bot

CI attempt 1 failed on main at 5996011 in test / cargo test on windows 2 of 3, step Cargo test, on the Windows Server 2022 x86-64 runner namespace-profile-windows-2022-x86-64-16x32.

Failed job: https://github.com/astral-sh/uv-dev/actions/runs/38610348036/job/116012138486

TIMEOUT [120.096s] uv::python python_install::python_install_armv7
TIMEOUT [120.097s] uv::python python_install::python_install_emulated_windows_x86_on_x64
TIMEOUT [120.086s] uv::python python_find::python_find_freethreaded_314
Summary [392.352s] 1298 tests run: 1295 passed (3 slow), 3 timed out

For python_install_armv7, the captured error: uv does not yet provide musl Python distributions on armv7. is an expected snapshot. Source inspection at the failed revision shows that the next command installs cpython-3.12.12-linux-armv7-gnueabi using the non-legacy extraction backend; no completed output for that command appears before termination.

The same job has another untracked timeout in python_install_emulated_windows_x86_on_x64. Its initial python list succeeds, but no completed output appears for the following python install 3.13-x86. These are separate observations; a shared underlying cause is not established.

Both tests passed shortly beforehand in the PR validation for astral-sh#22558: ARMv7 installation took 4.853 seconds and Windows x86 installation took 1.840 seconds. That job checked out 605f54f, whose Git tree is identical to the failed main commit. All 1,298 tests passed there:
https://github.com/astral-sh/uv/actions/runs/38609343373/job/116008707996

This supports intermittent CI failures rather than a deterministic regression from the change. The Windows nextest profile already serializes these tests in its io-bound group and applies a 120-second cutoff. The test helper also enables the shared Python archive cache. Investigate installation latency or stalls and add targeted diagnostics or mitigation; downloading, extraction, filesystem contention, and locking remain hypotheses.

Related: astral-sh#17177 introduced the active serialization mitigation. astral-sh#11834 discusses historical download-bound timeouts and archive caching. The free-threaded discovery timeout is already tracked by #843; its captured missing-interpreter diagnostic is also expected.

The run independently fails in test-system / python3.6 on debian buster, during Validate global Python install:
https://github.com/astral-sh/uv-dev/actions/runs/38610348036/job/116014698384

panicked at crates/uv-resolver/src/pubgrub/priority.rs:167:13:
URL packages must not be involved in conflict handling

This occurs during uv pip install pylint==2.12.2 --system --verbose, following repeated Python compatibility conflicts for platformdirs. Source confirms that conflict reprioritization asserts for nameless virtual packages. This separate deterministic failure is already addressed by open #1733, with CI dependency stabilization proposed in astral-sh#22532. The skipped required-jobs rollup is consequential.

Activity

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

    CI attempt 2 reproduces the x86-install timeout alone: python_install_emulated_windows_x86_on_x64 exceeded 120 seconds, while the ARMv7 and free-threaded discovery tests passed. This exact test passed in 27.278 seconds in attempt 1 of the same run, providing additional evidence of intermittency. Job: https://github.com/astral-sh/uv/actions/runs/38737483765/job/116436772389

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

    CI attempt 1 adds evidence from Windows x86-64 shard 2: the non-legacy ARMv7 installation exited successfully with "Installed Python 3.12.12 in 1m 59s" before the test timed out at 120.102s. Unlike the original report, completed installation output is available; almost no timeout budget remained for uninstall and legacy-backend reinstallation. The exact subsequent stop point is unknown. The x86-install and free-threaded discovery tests both passed. Job: https://github.com/astral-sh/uv-dev/actions/runs/38784420847/job/116593180469

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

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

    @astral-automations-bot
    Author
  6. 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/38934785068

    Attempt 2 provides same-revision evidence of intermittency: python_install_armv7 passed in 27.559s in attempt 1, then timed out at 120.097s. Conversely, python_reinstall_patch timed out in attempt 1 and passed in 1.455s in attempt 2; that earlier failure is tracked by #2764. Attempt 2 job: https://github.com/astral-sh/uv-dev/actions/runs/38934785068/job/117113476544

  7. 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/38940389449

    Attempt 1 also reproduces astral-sh#14324 in Windows shard 2 and the version-file variant tracked by #2616 in shard 3. The transparent-upgrade test installed Python 3.12.9 and 3.12.11 in 919ms and 938ms, then reached 120 seconds without completed output for the subsequent 3.12.8 installation—earlier than the original report. A shared cause is unconfirmed. Run: https://github.com/astral-sh/uv-dev/actions/runs/38940389449

  8. 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/38946389644

    Same-revision evidence: python_install_armv7 passed in 1.875s in attempt 1, then timed out at 120.103s in attempt 2. Conversely, install_transparent_patch_upgrade_uv_venv timed out in attempt 1 and passed in 5.722s in attempt 2; that separate flake is tracked by astral-sh#14324. Attempt 2 job: https://github.com/astral-sh/uv-dev/actions/runs/38946389644/job/117131450812

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

    @astral-automations-bot
    Author
  10. 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/38948193482

    This occurrence extends #2742 to macOS 15 ARM64: CI attempt 1 timed out at 120.029s after the non-legacy ARMv7 installation succeeded with 'Installed Python 3.12.12 in 1m 59s'. The macOS profile uses 12 test threads without the Windows-only managed-Python serialization. The exact subsequent stopping point remains unknown; all other 4,547 tests passed. Job: https://github.com/astral-sh/uv/actions/runs/38948193482/job/117133448727

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

    @astral-automations-bot
    Author
  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 19, 2026

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

    @astral-automations-bot
    Author
  16. 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/39268413532

    Attempt 1 adds a combined macOS 15 ARM64 sample: python_install_armv7 timed out after its expected musl diagnostic, and python_install_no_cache timed out without completed command output. Job: https://github.com/astral-sh/uv-dev/actions/runs/39268413532/job/118114358238. Separately, the ARM64 release-wheel upload reproduced #482: 'Upload progress stalled.' preceded later byte-progress messages, but the step still failed. Job: https://github.com/astral-sh/uv-dev/actions/runs/39268413532/job/118114359136. A shared cause is unconfirmed.

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

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

    @astral-automations-bot
    Author

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

    Attempt 1 of https://github.com/astral-sh/uv/actions/runs/42666199219 combines nine tracked test timeouts across all three Windows shards. Shards 1 and 3 then exceeded their own 15-minute job limits, rather than being cancelled by fail-fast. The installation-upgrade timeout persists after astral-sh#23007. A shared cause remains unconfirmed.

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