Bump golang
Description
was https://github.com/lf-edge/eve/pull/5025 - but reopen is not allowed
this bumps some packages, including golang to 1.24.4
to prevent:
GO-2025-3563
GO-2025-3749
GO-2025-3750
GO-2025-3751
OSV checker is complaining, e.g.: https://github.com/lf-edge/eve/actions/runs/15906835554/job/44863871543?pr=4992
How to test and validate this PR
run OSV checker
and
strings /containers/services/pillar/rootfs/opt/zededa/bin/zedbox | grep "1.24.4"
Changelog notes
this bumps some packages, including golang to 1.24.4
to prevent:
GO-2025-3563
GO-2025-3749
GO-2025-3750
GO-2025-3751
PR Backports
No, because it seems the vulns are not severe.
Here is the list of current LTS branches (it should be always up to date):
- 14.5-stable: No
- 13.4-stable: No
Checklist
- [x] I've provided a proper description
- [x] I've added the proper documentation
- [x] I've tested my PR on amd64 device
- [ ] I've tested my PR on arm64 device
- [x] I've written the test verification instructions
- [x] I've set the proper labels to this PR
And the last but not least:
- [x] I've checked the boxes above, or I've provided a good reason why I didn't check them.
Please, check the boxes above after submitting the PR in interactive mode.
2025-06-27T17:57:27.5226604Z #8 [build-base 9/18] ADD --chown=builder:abuild https://git.musl-libc.org/cgit/musl/snapshot/v1.2.3.tar.gz /var/cache/distfiles/musl-v1.2.3.tar.gz
2025-06-27T17:57:27.5229584Z #8 ERROR: invalid response status 502
oO
/rerun red
Is it you, @christoph-zededa, who is breaking grub? )
Error: error building "lfedge/eve-grub:4ef677a75fcd67bed78c9f84691ea78d11e1c69c": error building for arch riscv64: failed to solve: process "/bin/sh -c ./bootstrap --gnulib-srcdir=/gnulib || ./autogen.sh" did not complete successfully: exit code: 1
2025/06/28 17:11:52 error during command execution: error building "lfedge/eve-grub:4ef677a75fcd67bed78c9f84691ea78d11e1c69c": error building for arch riscv64: failed to solve: process "/bin/sh -c ./bootstrap --gnulib-srcdir=/gnulib || ./autogen.sh" did not complete successfully: exit code: 1
make: *** [Makefile:1087: eve-grub] Error 1
Or do we have a broken master again? )
Is it you, @christoph-zededa, who is breaking grub? )
Error: error building "lfedge/eve-grub:4ef677a75fcd67bed78c9f84691ea78d11e1c69c": error building for arch riscv64: failed to solve: process "/bin/sh -c ./bootstrap --gnulib-srcdir=/gnulib || ./autogen.sh" did not complete successfully: exit code: 1 2025/06/28 17:11:52 error during command execution: error building "lfedge/eve-grub:4ef677a75fcd67bed78c9f84691ea78d11e1c69c": error building for arch riscv64: failed to solve: process "/bin/sh -c ./bootstrap --gnulib-srcdir=/gnulib || ./autogen.sh" did not complete successfully: exit code: 1 make: *** [Makefile:1087: eve-grub] Error 1Or do we have a broken master again? )
it is broken only for riscv64? - I see packages (zededa-ubuntu-2204, amd64, generic) being successful...
I change gnulib to a different repository, but with the same revision: https://github.com/lf-edge/eve/pull/5027/commits/9563bdd91bd74b29cc8fe7efc844cd2d3dd46903
let's try with parallel build ...
So, let's try parallel build again.
still same error:
make: *** [Makefile:1109: eve-pillar] Error 1
Error: error building "lfedge/eve-bsp-imx:150a728740d9b696bf656f4fd99df3d11b92e428": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
2025/07/02 17:51:14 error during command execution: error building "lfedge/eve-bsp-imx:150a728740d9b696bf656f4fd99df3d11b92e428": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
------
make: *** [Makefile:1109: eve-bsp-imx] Error 1
Error: error building "lfedge/eve-fscrypt:848281b21913622ea5bd03713b08fed1c2646cc9": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
2025/07/02 17:51:14 error during command execution: error building "lfedge/eve-fscrypt:848281b21913622ea5bd03713b08fed1c2646cc9": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
make: *** [Makefile:1109: eve-fscrypt] Error 1
Error: error building "lfedge/eve-debug:bbc3dd437f72e76be9d72b2ed7d268b2108fed16": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
2025/07/02 17:51:14 error during command execution: error building "lfedge/eve-debug:bbc3dd437f72e76be9d72b2ed7d268b2108fed16": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
make: *** [Makefile:1109: eve-debug] Error 1
Error: error building "lfedge/eve-acrn:f93be016c6f30a6ea4dd89584ae667147e4a4fe7": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
------
> [internal] load metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f:
------
2025/07/02 17:51:14 error during command execution: error building "lfedge/eve-acrn:f93be016c6f30a6ea4dd89584ae667147e4a4fe7": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
make: *** [Makefile:1109: eve-acrn] Error 1
Error: error building "lfedge/eve-nvidia:e55559bfb67bf214011d7b6079992fa8ccb72f41-nvidia-jp5": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
2025/07/02 17:51:14 error during command execution: error building "lfedge/eve-nvidia:e55559bfb67bf214011d7b6079992fa8ccb72f41-nvidia-jp5": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
make: *** [Makefile:1109: eve-nvidia] Error 1
Error: error building "lfedge/eve-mkimage-raw-efi:f0436e3d57e2cb7b2328c4b2f1887e5c10989454": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
------
> [internal] load metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f:
------
2025/07/02 17:51:14 error during command execution: error building "lfedge/eve-mkimage-raw-efi:f0436e3d57e2cb7b2328c4b2f1887e5c10989454": error building for arch amd64: failed to solve: lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: failed to resolve source metadata for docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: docker.io/lfedge/eve-alpine:523254c1b0728948a16a02115eb817f27c00977f: not found
make: *** [Makefile:1109: eve-mkimage-raw-efi] Error 1
#7 extracting sha256:b6b3d4e25020aa20fc59e42e5e2bee154e89c2cb6a7badfa20e2db5185b0e702 4.0s done
https://github.com/lf-edge/eve/pull/5028#issuecomment-3022995047
Didn't we already fix that gnulib grub build failure for riscv?
Didn't we already fix that gnulib grub build failure for riscv?
Yesterday I tried to build it on my ARM Mac and I see the same issue there.
Didn't we already fix that gnulib grub build failure for riscv?
My mistake, somehow the $ in ${GNULIB_REVISION} got lost.
@christoph-zededa go tests is failing with: 2025-07-09T12:50:40.5169865Z === Failed 2025-07-09T12:50:40.5170214Z === FAIL: nireconciler TestStaticAndConnectedRoutes (0.69s)
Also there is a warning around a race condition for another test.
Details in the logs for the go tests.
@christoph-zededa go tests is failing with: 2025-07-09T12:50:40.5169865Z === Failed 2025-07-09T12:50:40.5170214Z === FAIL: nireconciler TestStaticAndConnectedRoutes (0.69s)
Also there is a warning around a race condition for another test.
Details in the logs for the go tests.
I saw the same test failing here: https://github.com/lf-edge/eve/pull/4992#issuecomment-3044920340 according to @milan-zededa it still works as expected
What is the second one? I searched for DATA RACE but only got one match.
/rerun red
It looks to me like d8f88c1 doesn't change anything... How is the golang version updated?
see discussion here https://github.com/lf-edge/eve/pull/5027#discussion_r2212620224 ;-)
short version: I just trigger apk to get the newest packages
Failed to generate URL to download logs.
@OhmSpectator any idea how to see the "Go Tests" logs?
@christoph-zededa regarding Go Tests:
System.IO.IOException: No space left on device : '/home/runner/actions-runner/cached/_diag/Worker_20250804-092626-utc.log'
I don't think this is going to work since it runs on GH runners....
@christoph-zededa regarding Go Tests:
System.IO.IOException: No space left on device : '/home/runner/actions-runner/cached/_diag/Worker_20250804-092626-utc.log'I don't think this is going to work since it runs on GH runners....
Maybe let's try to use a bigger GH runner for that? @dautovri what can we afford?
/rerun red
0.972 ERROR: Failed to create usr/include/linux/ethtool_netlink.h: No space left on device
seems like the macbook runners don't have enough space ...
0.972 ERROR: Failed to create usr/include/linux/ethtool_netlink.h: No space left on device
seems like the macbook runners don't have enough space ...
yes, I've cleaned 3 of them...
/rerun red
/rerun red
/rerun red
In the end we got 1.24.6:
[pillar] root@linuxkit-525400123456:/$ strings /opt/zededa/bin/zedbox | grep go1
.24.6
go1.24.6
go1.24.6
In the end we got 1.24.6:
[pillar] root@linuxkit-525400123456:/$ strings /opt/zededa/bin/zedbox | grep go1 .24.6 go1.24.6 go1.24.6
ok, that's the latest stable version. There was a new build for Alpine on Aug. 8th, but I think we can postpone another bump up for a bit...
https://pkgs.alpinelinux.org/packages?name=go&branch=edge&repo=community&arch=x86_64&origin=&flagged=&maintainer=
but I think we can postpone another bump up for a bit...
this did not age well: https://github.com/lf-edge/eve/pull/5171#issuecomment-3188531064 ;-)