Update cloudbuild image#224
Merged
k8s-ci-robot merged 1 commit intokubernetes-csi:masterfrom Apr 25, 2023
Merged
Conversation
Collaborator
Author
|
/release-note-none |
msau42
commented
Apr 25, 2023
| # the desired version of Go (currently defined in release-tools/prow.sh), | ||
| # but that just speeds up the build and is not required. | ||
| - name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20210917-12df099d55' | ||
| - name: 'gcr.io/k8s-testimages/gcb-docker-gcloud' |
Collaborator
Author
There was a problem hiding this comment.
The go version in the latest gcb-docker-gcloud image is 1.20 so we will skip the download and extraction step:
# go version
go version go1.20.3 linux/amd64
However, if I try to follow the steps when the version doesn't match and download and extract the go binary, I get the linking errors:
# ./go version
Error loading shared library libresolv.so.2: No such file or directory (needed by ./go)
e3b2f0ad2780:/workspace/go/go/bin# ldd ./go
/lib64/ld-linux-x86-64.so.2 (0x7f1ab8911000)
Error loading shared library libresolv.so.2: No such file or directory (needed by ./go)
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f1ab8911000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f1ab8911000)
So we are ok for now, but this will fail in the future when we update the go version again.
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msau42, pohly The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Try to fix build failures:
https://storage.googleapis.com/kubernetes-jenkins/logs/post-external-provisioner-push-images/1650605297175105536/build-log.txt
Looks like go 1.20 added a new requirement to dynamically link to libresolv.so, and our image builder is based on alpine which doesn't support it:
golang/go#59305