-
Notifications
You must be signed in to change notification settings - Fork 193
Bump Go version to 1.25.1 #10156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Bump Go version to 1.25.1 #10156
Conversation
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
The
These appear to be golang/go#75148, which should be fixable when golang/go#74630 is implemented. However, in order to upgrade to Go 1.25.1 now, we'll need to find a workaround. |
These errors are coming from Go downloading dependencies before executing the tests. The errors can be simulated like so:
So we probably just need to download the dependencies explicitly, ensuring that |
I've implemented this approach in this PR and it has helped. However, now CI is failing with this odd error which seems unrelated to FIPS in any way.
|
d8c500d
to
0b69f33
Compare
Turns out this is a change in behavior in Go 1.25: https://tip.golang.org/doc/go1.25#change-to-unhandled-panic-output. Addressed in 46cc036. |
Looking at the latest build I see a couple of strange things (maybe some of those were already there and didn't notice until now)
|
Windows build steps are failing in CI on this PR. See a lot of |
4db5a4a
to
1ceaae8
Compare
|
Co-authored-by: Panos Koutsovasilis <[email protected]>
…mmand is run" This reverts commit 079e74c.
1ceaae8
to
52d2f67
Compare
52d2f67
to
b6b1a81
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
This PR bumps up the Golang version to
1.25.1
. It also:ms_tls13kdf
Golang build tag when building in FIPS mode because this tag was only needed with Golang versions1.24.x
.GODEBUG=tlsmlkem=0
environment variable when running FIPS140-only unit tests. This prevents errors like so:Failed to connect: crypto/ecdh: use of X25519 is not allowed in FIPS 140-only mode
.