-
Notifications
You must be signed in to change notification settings - Fork 377
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
Update Go to v1.21 #5377
Update Go to v1.21 #5377
Conversation
There is a typo in the PR message: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/test-all |
1 similar comment
/test-all |
/test-e2e |
/test-e2e |
/test-e2e |
/test-multicluster-e2e |
/test-ipv6-e2e |
/test-multicluster-e2e |
550bc92
to
4899bd4
Compare
/test-multicluster-e2e |
/test-multicluster-e2e |
/test-multicluster-e2e |
5 similar comments
/test-multicluster-e2e |
/test-multicluster-e2e |
/test-multicluster-e2e |
/test-multicluster-e2e |
/test-multicluster-e2e |
* Replace usage of "golang.org/x/exp/slices" with new "slices" package. * Remove calls to "rand.Seed": starting with Go v1.20, the generator is seeded randomly at program startup, and we no longer need to do it manually. * The codegen image has been updated to kubernetes-1.26.4-build.0 to include the updated version of Go. No changes im generated files. * Stop using "golang.org/x/exp/rand" in test/e2e/performance_test.go: this is unrelated to the Go update. Fixes antrea-io#5371 Signed-off-by: Antonin Bas <[email protected]>
After upgrading to Go v1.21, Go Windows unit tests (which we run with the race detector enabled) cannot be run: go exists immediately with `exit status 0xc0000139`. That may be caused by older mingw-w64 runtime libraries. See golang/go#61058. Signed-off-by: Antonin Bas <[email protected]>
The Dockerfile should install the latest patch release for the minor Go version currently supported by Antrea. Signed-off-by: Antonin Bas <[email protected]>
Signed-off-by: Antonin Bas <[email protected]>
Additional metrics are available with Go v1.21. Signed-off-by: Antonin Bas <[email protected]>
Signed-off-by: Antonin Bas <[email protected]>
4899bd4
to
231f509
Compare
/test-all |
/test-windows-all |
/test-ipv6-e2e |
Fixes #5371