-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add GOARCH to go install dlv command #36853
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
Conversation
@borkmann I discovered this issue while working on tasks piggy-backing #31213. Could you please approve the image build? Once it is completed, I will add add a commit to update the image hash. |
If BUILDPLATFORM and TARGETPLATFORM are different, the dlv command will be copied for the wrong architecture. Because of debug cilium images are just copy the dlv command from the builder image. This change adds GOARCH to the go install command to ensure the dlv command is built for the correct architecture. Signed-off-by: Gyutae Bae <gyu.8ae@gmail.com>
Signed-off-by: André Martins <andre@cilium.io>
/test |
@Artyop @aanm @kaworu Thank you for the review. An error occurred in job 6 during the Cilium E2E Upgrade test. It seems to be a temporary issue as it failed to find the lvh images. Could you please trigger |
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.
If
BUILDPLATFORM
andTARGETPLATFORM
are different, the dlv command will be copied for the wrong architecture. Because of debug cilium images are just copy the dlv command from the builder image. It causedexec format error
while running debug cilium image. This change adds GOARCH to the go install command to ensure the dlv command is built for the correct architecture.