From d4363a96e409059a686fd3d42513247bd4fd4ad8 Mon Sep 17 00:00:00 2001 From: Packet Please Date: Thu, 28 Nov 2024 23:09:05 +0100 Subject: [PATCH] buildbot: work around failing git clones Some weird curl and HTTP/2 interaction, I don't know. + ./scripts/feeds update -a Updating feed 'base' from 'https://github.com/openwrt/openwrt.git;main' ... Cloning into './feeds/base'... Updating feed 'packages' from 'https://github.com/openwrt/packages.git' ... Cloning into './feeds/packages'... Updating feed 'luci' from 'https://github.com/openwrt/luci.git' ... Cloning into './feeds/luci'... error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) error: 868 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output failed. --- roles/buildbot/files/packages.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/buildbot/files/packages.py b/roles/buildbot/files/packages.py index 2a7424a..b2daf10 100644 --- a/roles/buildbot/files/packages.py +++ b/roles/buildbot/files/packages.py @@ -247,6 +247,8 @@ def packagesArchFactory(f, wwwPrefix, wwwURL, alpineVersion): podman run -i --rm --log-driver=none docker.io/library/alpine:%(kw:alpineVersion)s sh -c '\ ( \ apk add git bash wget zstd xz gzip unzip grep diffutils findutils coreutils build-base gcc abuild binutils ncurses-dev gawk bzip2 perl python3 rsync argp-standalone musl-fts-dev musl-obstack-dev musl-libintl \ + && git config --global http.version HTTP/1.1 \ + && git config --global core.compression 0 \ && git clone %(prop:repository)s /root/falter-packages \ && cd /root/falter-packages/ \ && git checkout %(prop:got_revision)s \