Skip to content

tool_run_verbose_hint flakes when PyPI returns HTTP 503 #2048

Open

Description

@astral-automations-bot

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

Workflow: CI
Job: test / cargo test on linux
Platform: Linux
Attempt: 2

The independent failure was:

test tool_run::tool_run_verbose_hint ... FAILED
error: Request failed after 3 retries in 10.6s
  cause: Failed to fetch: `https://pypi.org/simple/nonexistent-package-foo/`
  cause: HTTP status server error (503 Service Unavailable)

The test invokes uv tool run nonexistent-package-foo --verbose against the live default PyPI index and snapshots the normal missing-package resolution error and verbose-flag hint. A temporary PyPI 503 therefore changes the exit code and output before the behavior under test is reached.

The change in #817 only modifies crates/uv/tests/it/publish.rs, so this failure is unrelated. The required-jobs failure was a follow-on rollup.

The test should use a controlled local index or mocked Simple API response so it can validate the hint without depending on production PyPI availability. Related but distinct failures are tracked in #1460 and the closed #363. astral-sh#20602 applied the same general mitigation to a different live-PyPI test.

Activity

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

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/35844420021 on astral-sh#21937. This time the initial --verbose case passed, while the second -v case for nonexistent-package-bar received the PyPI 503.

  3. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author

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

    Another occurrence in https://github.com/astral-sh/uv/actions/runs/35849961930 on astral-sh#20689 broadened the PyPI 503 failure to both benchmark cache-prime jobs, 23 Linux tests, and three release PGO targets. Windows pip_sync::find_links also timed out during attempt 1 but passed on attempt 2; attempt 2 still reproduced the pre-commit-uv 503 in ecosystem::flask.

  4. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author

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

    This occurrence on #197 affected both benchmark cache-prime jobs, 18 Linux tests, and two Windows tool-run tests; the Windows failures persisted through nextest retries, including tool_run_python_at_version.

  5. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/35851721026 adds a macOS pip_install::cyclic_build_dependency sample where circular-one returned HTTP 503, alongside another Linux ecosystem::flask failure on pre-commit-uv.

  7. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/35871842020 adds a macOS sample: install_wheel_cache_incompatible_with_older_uv exceeded the 120-second test limit with no completed command output, while the other 4,229 tests passed. This is the current package-index-dependent version of the test that #1907 replaces with pinned release binaries.

  8. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv-dev/actions/runs/35876201433: pip_sync::find_links was the only independent failure in Windows partition 1, timing out after 120.095 seconds without exposing an HTTP status or completed command output. Unlike the broader #2048 incident, no other test failed in this run.

  9. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/35876198398 adds a Windows partition 2 sample: install_wheel_cache_incompatible_with_older_uv was the only Rust test to time out, after 120.104 seconds with no completed command output. The same test was previously recorded on macOS; #1907 removes its package-index lookup.

  10. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author
  11. astral-automations-bot commented on Sep 23, 2026

    @astral-automations-bot
    Author
  12. astral-automations-bot commented on Sep 24, 2026

    @astral-automations-bot
    Author
  13. astral-automations-bot commented on Sep 25, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/36123925458 on astral-sh#21284 affected Linux and all three Windows cargo-test jobs simultaneously. Production PyPI Simple API and TestPyPI Simple and OIDC endpoints all returned HTTP 503, causing unrelated publish, lock, pip, sync, edit, build-backend, and tool-run tests to fail after retries.

  14. astral-automations-bot commented on Sep 28, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/36399088604 adds a main-branch attempt-1 sample where production PyPI returned HTTP 503 in three cargo-test jobs simultaneously: ecosystem::jupyterlab on Linux, workspace_lock_idempotence_virtual_workspace on Windows shard 1, and packse_promote_transitive_to_direct_then_remove on Windows shard 3.

  15. astral-automations-bot commented on Sep 28, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/36399159834 adds a Windows shard 2 sample: pip_install::directory_and_group failed fetching sniffio from production PyPI with HTTP 503 after three retries. The changes in astral-sh#22036 are confined to sysconfig handling and python_install tests.

  16. 37 remaining items

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds a Windows Server 2022 x86_64 sample for publish::check_keyring_behaviours: TestPyPI /simple/ok/ returned HTTP 503 after three retries, before upload. The same shard also failed emit_index_annotation_multiple_indexes, cyclic_build_dependency, and same_version_multi_index_incompatibility on /simple/httpcore/, /simple/hatchling/, and /simple/pycparser/. Job: https://github.com/astral-sh/uv/actions/runs/39258529321/job/118080266795

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

    @astral-automations-bot
    Author

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

    Attempt 2 of https://github.com/astral-sh/uv/actions/runs/39258578921 broadens the recorded TestPyPI failures to five Linux tests and Windows shards 1 and 2, all exhausting three retries with HTTP 503. check_keyring_behaviours fails at /simple/ok/ before upload. The separate Secret Service failure recorded for attempt 1 does not appear in this attempt's failed-job logs.

  19. 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/39260921836

    Attempt 1 of https://github.com/astral-sh/uv-dev/actions/runs/39260921836 reproduces the TestPyPI hatchling HTTP 503 failure in cyclic_build_dependency on Linux and Windows shard 2. This run also contains independent unused-dependency and output-rendering failures introduced by #2291, so a retry alone cannot resolve the complete run.

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

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

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

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

    @astral-automations-bot
    Author

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

    Attempt 1 of https://github.com/astral-sh/uv/actions/runs/39259757725 adds compile_index_url_unsafe_highest failing on TestPyPI /simple/anyio/ with HTTP 503 on Linux. Independently, python_install_build_version timed out at 120.056s on macOS, extending #2749 beyond Windows; it passed in 1.016s on Windows and 1.939s on Linux in this run. The two Windows script-upgrade timeouts match #2616. Their stalled operations and any shared cause remain unknown.

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

    @astral-automations-bot
    Author

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

    The supplied attempt-2 report also reproduces #2729 and #2608 on Windows shard 3: both tests time out at 120.104 seconds, while passing on Linux in 5.241s and 5.064s respectively. The prerelease test completes two installations; preview_upgrade captures no completed command output. No common cause with the TestPyPI 503s is established. Windows job: https://github.com/astral-sh/uv/actions/runs/39258528137/job/118091778653

  25. astral-automations-bot commented on Oct 20, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 on main affected Linux, macOS, and all three Windows partitions: https://github.com/astral-sh/uv/actions/runs/39492292738. Additional samples include build_tag and sync_build_tag, whose local wheel fixtures still permit PyPI lookups, and install_deduplicated_indices, whose local mock redirects to PyPI. Windows partition 1 also reached the fourth tool_run_verbose_hint case before nonexistent-package-quux returned HTTP 503.

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

    @astral-automations-bot
    Author
  27. astral-automations-bot commented on Oct 29, 2026

    @astral-automations-bot
    Author

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

    CI attempt 1 on Windows partition 2 adds a sample with completed first-case output: preparing uv 0.11.1 took 55.13 seconds, and its local-wheel installation succeeded before the test exceeded 120.110 seconds. Unlike earlier samples with no completed command output, this shows substantial preparation time; no HTTP error was reported. Job: https://github.com/astral-sh/uv-dev/actions/runs/40790647334/job/123177047511

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

    @astral-automations-bot
    Author
  29. astral-automations-bot commented on Nov 21, 2026

    @astral-automations-bot
    Author

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

    CI attempt 2 adds timing evidence on Windows partition 2: https://github.com/astral-sh/uv/actions/runs/44850608515/job/136688062372. install_wheel_cache_incompatible_with_older_uv timed out after 120.099s despite passing in 50.108s on attempt 1 at the same revision. Its completed uv 0.11.1 invocation spent 1m 19s preparing the package before successfully installing the local wheel. No HTTP error or exact subsequent stalled operation was captured. This supports the package-index isolation mitigation in #1907.

  30. astral-automations-bot commented on Nov 21, 2026

    @astral-automations-bot
    Author

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

    Attempt 3 isolates the wheel-cache timeout as the only independent failure: https://github.com/astral-sh/uv/actions/runs/44853014357/job/136697227145. It exceeded 120.095s after a successful first invocation reported 1m 28s preparing uv 0.11.1. python_upgrade_implementation passed in 69.287s. No HTTP error or exact subsequent stalled operation was captured.

  31. astral-automations-bot commented on Dec 1, 2026

    @astral-automations-bot
    Author

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

    CI attempt 1 reproduced the timeout on Windows partition 2: https://github.com/astral-sh/uv/actions/runs/46718924866/job/142899037352. Unlike earlier samples dominated by slow initial package preparation, the completed uv 0.11.1 invocation resolved in 1.64s, prepared in 579ms, and successfully installed the local wheel before the test reached 120.094s. The subsequent stalled operation remains unidentified; no HTTP error was captured.

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