Skip to content

CI failure: Task riscv32 bare metal, static libbitcoin_consensus: submodule cloning rate limited #35853

Closed

Description

@maflcko

Not sure what to do about this. Looks like some projects blocked CI machines from cloning their repos.

🚧 At least one of the CI tasks failed.
Task riscv32 bare metal, static libbitcoin_consensus: https://github.com/bitcoin/bitcoin/actions/runs/30046119080/job/90826618769
LLM reason (✨ experimental): CI failed because submodule cloning of newlib-cygwin.git from sourceware.org was rate-limited (HTTP 429), causing the base install step to exit with code 2.

Originally posted by @DrahtBot in #35762 (comment)

Activity

  1. fanquake commented on Jul 30, 2026

    @fanquake
    Member
  2. added a commit that references this issue on Aug 4, 2026
  3. maflcko commented on Aug 4, 2026

    @maflcko
    MemberAuthor

    The CI is now failing for more than a week, and it is unclear when it will be coming back. I think it makes sense to at least temporarily remove the config from the GHA matrix.

  4. maflcko commented on Aug 4, 2026

    @maflcko
    MemberAuthor

    edit: done in #35875

  5. willcl-ark commented on Aug 4, 2026

    @willcl-ark
    Member

    I have managed (after a struggle) to mirror the sourceware repos on my own infra here: https://git.fish.foo/mirrors

    We could switch to that in CI with a rough patch like:

     ${CI_RETRY_EXE} git clone --depth=1 https://github.com/riscv-collab/riscv-gnu-toolchain -b 2026.06.06 /riscv/gcc
    +# Use a mirror for these submodules as sourceware blocks too many requests.
    +git config --global \
    +  url."https://git.fish.foo/mirrors/binutils-gdb.git".insteadOf \
    +  "https://sourceware.org/git/binutils-gdb.git"
    +
    +git config --global \
    +  url."https://git.fish.foo/mirrors/glibc.git".insteadOf \
    +  "https://sourceware.org/git/glibc.git"
    +
    +git config --global \
    +  url."https://git.fish.foo/mirrors/newlib-cygwin.git".insteadOf \
    +  "https://sourceware.org/git/newlib-cygwin.git"
    +
     ( cd /riscv/gcc;
       ./configure --prefix=/opt/riscv-ilp32 --with-arch=rv32gc --with-abi=ilp32 --disable-gdb;
       make "$MAKEJOBS"; )

    This of course only moves the potential source of flakiness from sourceware.org to myself. I have no plans to deprecate that forgejo instance and can probably be more responsive to fixing things that sourceware appear to be, but perhaps there is still another better solution...

    I have a local branch combining this with caching both the SDKs (a la #35722) and the riscv toolchain build more cleanly in CI, so I may close #35722 and open a "unified" approach, if using my mirror repos is deemed acceptable?

  6. maflcko commented on Aug 4, 2026

    @maflcko
    MemberAuthor

    Using fish foo seems fine. Should be trivial to remove the config (cherry-pick fa06ea4) if something fails again.

    Waiting a few more weeks for upstream seems also fine.

    I wouldn't combine the change with other changes, though.

  7. added 2 commits that reference this issue on Aug 9, 2026
  8. willcl-ark commented on Aug 12, 2026

    @willcl-ark
    Member

    Closing now as #35885 is merged.

    If that's not deemed a robust-enough fix we can re-open.

  9. added 2 commits that reference this issue on Aug 19, 2026
  10. fanquake commented on Aug 20, 2026

    @fanquake
    Member

    Looks like upstream has switch to mirrors: riscv-collab/riscv-gnu-toolchain@92d2391

  11. maflcko commented on Aug 20, 2026

    @maflcko
    MemberAuthor

    I guess b283e17 can be reverted, then?

  12. willcl-ark commented on Aug 20, 2026

    @willcl-ark
    Member

    great!

  13. willcl-ark commented on Aug 21, 2026

    @willcl-ark
    Member

    I can revert this, but are we happy to pin to a master commit on riscv-gnu-toolchain, or shall we wait until they cut a nightly tag?

  14. willcl-ark commented on Aug 26, 2026

    @willcl-ark
    Member

    Reverted and tag bumped in #36094

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions