Skip to content

Pyodide install tests flake when xbuildenv release download returns HTTP 500 #508

Open

Description

@astral-automations-bot

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

The CI workflow failed on attempt 1 in test / cargo test on linux while running python_install_compile_bytecode_pyodide and python_install_pyodide on Linux:

error: Failed to install pyodide-3.13.2-emscripten-wasm32-musl
  Caused by: Request failed after 3 retries
  Caused by: Failed to download https://github.com/pyodide/pyodide/releases/download/0.29.4/xbuildenv-0.29.4.tar.gz
  Caused by: HTTP status server error (500 Internal Server Error)

Both failures have the same underlying download error; the required-jobs failure was only the resulting rollup.

Source inspection confirms that both integration tests install the same managed Pyodide build and that its metadata points to this live GitHub release asset. The exact external cause of the HTTP 500 responses is not established, but CI can mitigate the flake by caching or mirroring the pinned xbuildenv artifact so the tests do not depend on live release-asset availability.

The triggering change in #507 only adds a lock integration test for astral-sh#20908 and does not modify Python installation, Pyodide, downloading, or CI configuration, so this failure is unrelated to the proposed change.

Related but distinct: #379 tracks a WebAssembly runtime crash in the same test after installation; #381 and #426 track similar live GitHub release-asset flakes in other components.

Activity

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

    @astral-automations-bot
    Author

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

    Another sample occurred in test-integration / pyodide on linux: pyodide xbuildenv install 0.27.5 failed while fetching release metadata with a connection reset, before the archive-download stage affected in the original report. The workflow provided no retry around this command.

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

    @astral-automations-bot
    Author

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

    Attempt 4 adds a macOS sample: both Pyodide tests failed with HTTP/2 refused-stream errors rather than the HTTP 500 originally recorded in #508, while the same job also hit the GraalPy 25.2.4 asset with HTTP 503 as tracked by #358.

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

    @astral-automations-bot
    Author

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

    This sample correlates #508 and #483 in one main-branch attempt: macOS and Windows received HTTP/2 refused-stream errors, while the Linux Pyodide integration setup received HTTP 503.

  5. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author

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

    Attempt 2 remained red: macOS again failed both Pyodide tests plus python_install_compile_bytecode_graalpy, and Windows shard 2 failed prune_cache_url_subdirectory; the GitHub-hosted downloads returned HTTP 503 or HTTP/2 REFUSED_STREAM after retries.

  6. astral-automations-bot commented on Aug 12, 2026

    @astral-automations-bot
    Author

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

    Attempt 2 adds a main-branch macOS sample where both Pyodide tests and the GraalPy test failed together after three HTTP/2 REFUSED_STREAM retries; attempt 1 of the same run was broader and is already recorded in #408.

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

    @astral-automations-bot
    Author

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

    This attempt adds a Linux sample using Pyodide 3.14.2 and xbuildenv-314.0.7; the original #508 report used Pyodide 3.13.2 and xbuildenv-0.29.4.

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

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/35613348099 attempt 2 adds a Linux sample where the Pyodide 0.29.5 xbuildenv and GraalPy 25.2.4 compile-bytecode tests failed together after three retries with HTTP 504; the GraalPy occurrence also matches #358.

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

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/35784651580 adds a main-branch Linux sample where both Pyodide install tests received HTTP 500 for xbuildenv-0.29.5. The original #508 sample used 0.29.4, while its prior 0.29.5 sample returned HTTP 504.

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

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/36762289290 attempt 1 adds an uv-dev main-branch Linux sample where only python_install_compile_bytecode_pyodide failed on xbuildenv 0.29.5 with HTTP 500; python_install_pyodide completed in the same job.

  11. astral-automations-bot commented on Sep 30, 2026

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

    @astral-automations-bot
    Author
  13. 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/37970527219

    Attempt 1 adds a failure in the standalone test-integration / pyodide on linux job: Install Pyodide with uv python exhausted three retries with HTTP 500 for xbuildenv-0.29.5. The earlier Pyodide 0.27.5 installation and NumPy smoke test both passed. Job: https://github.com/astral-sh/uv-dev/actions/runs/37970527219/job/113958796263

  14. astral-automations-bot commented on Nov 5, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds a macOS sample: both python_install_compile_bytecode_pyodide and python_install_pyodide exhausted three retries with HTTP 504 for xbuildenv-0.29.5.tar.gz. Earlier comments recorded macOS refused-stream errors and Linux HTTP 504 responses. Job: https://github.com/astral-sh/uv-dev/actions/runs/42041244028/job/127292702246

  15. astral-automations-bot commented on Nov 5, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 also encountered #657 in both Linux benchmark jobs with CodSpeed CLI 5.4.0: walltime failed fetching the installer with HTTP 504, while simulated passed installer hash verification and then failed with curl HTTP 504. These occurred alongside both Pyodide download failures. Run: https://github.com/astral-sh/uv/actions/runs/42044596213

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

    @astral-automations-bot
    Author

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

    CI attempt 1 failed both Linux Pyodide installation tests with Invalid gzip header for xbuildenv-0.29.5.tar.gz after three retries: https://github.com/astral-sh/uv/actions/runs/46534134917/job/142255837905. A fresh public range request returned HTTP 206 with a valid gzip header. Both tests share UV_PYTHON_CACHE_DIR, and the downloader reuses cached archives after extraction failure, which could prolong a malformed download; the original response body is unavailable.

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

    @astral-automations-bot
    Author

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

    Attempt 1 adds a Linux python_install_pyodide sample for Pyodide 3.14.2: xbuildenv-314.0.8.tar.gz failed extraction with Invalid gzip header after three retries in 4.9 seconds. Earlier Pyodide 3.13.2 installation and execution passed. A fresh public range request returned HTTP 206 with a valid gzip signature. Job: https://github.com/astral-sh/uv-dev/actions/runs/46627138616/job/142572089082

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

    @astral-automations-bot
    Author
  19. astral-automations-bot commented on Dec 1, 2026

    @astral-automations-bot
    Author
  20. astral-automations-bot commented on Dec 1, 2026

    @astral-automations-bot
    Author

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

    Attempt 1 adds simultaneous Linux and macOS python_install_pyodide failures extracting xbuildenv-314.0.8.tar.gz with Invalid gzip header after three retries. The macOS job also hits #483 during sync after successful locking and cache pruning, receiving HTTP 401 for the shared attachment. Fresh unauthenticated range requests to both archives returned HTTP 206 with valid gzip signatures. Run: https://github.com/astral-sh/uv-dev/actions/runs/46676244791/attempts/1

  21. 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/46668218500/attempts/2

    Attempt 2 also independently failed test uv publish on Linux: Cloudsmith accepted both uploads with HTTP 201, but all 50 refreshed index checks missed the new version before readiness failed. This adds a Cloudsmith occurrence of the readiness-window problem addressed by #1823. Run: https://github.com/astral-sh/uv/actions/runs/46668218500/attempts/2

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

    @astral-automations-bot
    Author
  23. astral-automations-bot commented on Dec 1, 2026

    @astral-automations-bot
    Author
  24. astral-automations-bot commented on Dec 1, 2026

    @astral-automations-bot
    Author
  25. astral-automations-bot commented on Dec 1, 2026

    @astral-automations-bot
    Author
  26. astral-automations-bot commented on Dec 1, 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