kernelci / kernelci-core

Core KernelCI tools
https://kernelci.org
GNU Lesser General Public License v2.1
107 stars 97 forks source link

Implement better handling for linux-firmware due clone errors #2732

Open nuclearcat opened 1 week ago

nuclearcat commented 1 week ago

Build process fails sometimes due git clone failure

2024-11-04 19:31:47.274966 kci-672904384fd588c32f3692f9-kbuild-gcc-12-i386-vg6sujn4-ckw9r default + git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git --depth 1
2024-11-04 19:31:47.274997 kci-672904384fd588c32f3692f9-kbuild-gcc-12-i386-vg6sujn4-ckw9r default Cloning into 'linux-firmware'...
2024-11-04 19:31:47.275027 kci-672904384fd588c32f3692f9-kbuild-gcc-12-i386-vg6sujn4-ckw9r default error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
2024-11-04 19:31:47.275061 kci-672904384fd588c32f3692f9-kbuild-gcc-12-i386-vg6sujn4-ckw9r default fatal: expected flush after ref listing
2024-11-04 19:31:47.275094 kci-672904384fd588c32f3692f9-kbuild-gcc-12-i386-vg6sujn4-ckw9r default + true
2024-11-04 19:31:47.275125 kci-672904384fd588c32f3692f9-kbuild-gcc-12-i386-vg6sujn4-ckw9r default + cd linux-firmware
2024-11-04 19:31:47.348560 kci-672904384fd588c32f3692f9-kbuild-gcc-12-i386-vg6sujn4-ckw9r default build.sh: line 53: cd: linux-firmware: No such file or directory
nuclearcat commented 1 week ago

Maybe cache on KernelCI? Or download archive? https://cdn.kernel.org/pub/linux/kernel/firmware/