[backport 9.3] Bump Go version to 1.25.8 (#10156)#13142
Conversation
* Bump Go version to 1.25.1 * Update CHANGELOG entry * Bump the version of golangci-lint * Update dev-tools/mage/otel/deps_test.go Co-authored-by: Panos Koutsovasilis <koutsobill@hotmail.com> * Remove references to the ms_tls13kdf build tag * Use mage target specifically intended for fips140=only unit testing * Download go module dependencies before GODEBUG=fips140=only is set * [Debugging] Print go test command environment right before command is run * Revert "[Debugging] Print go test command environment right before command is run" This reverts commit 079e74c. * Fix regular expression for matching panicking output * Run dependencies first * Append requirefips build tag for fips140=only unit tests * Fix policy change handler unit tests * Fix TestDownloadVersion test * Set GODEBUG=tlsmlkem=0 for test * No longer necessary * Formatting fixes * Remove pre-downloading of go modules * Revert unit test pipeline changes * Add GODEBUG=tlsmlkem=0 * s/1.25.1/1.25.2/g * Go version: s/1.25.2/1.25.4/g * Update go version in edot go.mod * s/1.24.4/1.24.5/g * Remove ms_tls13kdf from TestTagsWithFIPS * Running go mod tidy * s/1.25.5/1.25.8/g * Running go mod tidy and mage notice * Running mage otel:readme * Fixing go.mods * Bumping up beats * Running go mod tidy * Update unit tests * Use Go 1.24's RemoveAll in uninstall * Wait for fsnotify watcher to be released * Update internal/pkg/agent/application/upgrade/marker_watcher.go Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com> * Fix function signature in MarkerFileWatcher * Use the exact removaAll implementation from Go 1.24 * Add link to the new RemoveAll implementation * Revert "Use the exact removaAll implementation from Go 1.24" This reverts commit 88ece11 --------- Co-authored-by: Panos Koutsovasilis <koutsobill@hotmail.com> Co-authored-by: Mikołaj Świątek <mail@mikolajswiatek.com> Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com>
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
ebeahan
left a comment
There was a problem hiding this comment.
Holding on backporting 1.25.8 upgrade to release branches to discuss FIPS related changes.
Looks like we don't have Go 1.25.8 crossbuild images for older npcap versions. |
ebeahan
left a comment
There was a problem hiding this comment.
Removing review block. Still need to address CI failures.
When Beats was bumped to Go 1.25.8, we also bumped the npcap version to 1.87. Context: elastic/beats#46793 (comment) Not sure how we deal with it at this point in this branch. Following https://github.com/elastic/golang-crossbuild/blob/main/NPCAP.md#backports to ping I also suspect this is a side effect of not being to update Beats yet in #13123 |
…/npcap CI failures
|
I updated Beats enough to remove the CI failure due to crossbuild: 8201b11. Is this an acceptable approach? I didn't want to overload this backport by trying to update |
There's a test failure comparing monitoring metadata between beats processes and receivers. I updated to the latest beat version that doesn't include the otel update, hopefully that resolves it. |
What does this PR do?
Manual backport of #10156