Skip to content

Conversation

gyutaeb
Copy link
Contributor

@gyutaeb gyutaeb commented Jan 7, 2025

Please ensure your pull request adheres to the following guidelines:

  • For first time contributors, read Submitting a pull request
  • All code is covered by unit and/or runtime tests where feasible.
  • All commits contain a well written commit description including a title,
    description and a Fixes: #XXX line if the commit addresses a particular
    GitHub issue.
  • If your commit description contains a Fixes: <commit-id> tag, then
    please add the commit author[s] as reviewer[s] to this issue.
  • All commits are signed off. See the section Developer’s Certificate of Origin
  • Provide a title or release-note blurb suitable for the release notes.
  • Are you a user of Cilium? Please add yourself to the Users doc
  • Thanks for contributing!

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. It caused exec 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.

@gyutaeb gyutaeb requested a review from a team as a code owner January 7, 2025 05:57
@gyutaeb gyutaeb requested a review from borkmann January 7, 2025 05:57
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jan 7, 2025
@gyutaeb gyutaeb temporarily deployed to release-base-images January 7, 2025 05:57 — with GitHub Actions Inactive
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Jan 7, 2025
@gyutaeb
Copy link
Contributor Author

gyutaeb commented Jan 7, 2025

https://docs.cilium.io/en/latest/contributing/development/images/#update-cilium-builder-runtime-images.

Ping one of the members of team/build to approve the build that was created by GitHub Actions here. Note that at this step cilium-builder build failure is expected since we have yet to update the runtime digest.

@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.

@aanm aanm added release-note/misc This PR makes changes that have no direct user impact. needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch labels Jan 14, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jan 14, 2025
@aanm aanm enabled auto-merge January 14, 2025 09:04
@auto-committer auto-committer bot requested review from a team as code owners January 14, 2025 09:19
@auto-committer auto-committer bot requested review from kaworu and Artyop January 14, 2025 09:19
@aanm aanm temporarily deployed to release-base-images January 14, 2025 09:29 — with GitHub Actions Inactive
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>
@aanm aanm had a problem deploying to release-base-images January 14, 2025 09:30 — with GitHub Actions Error
@aanm aanm temporarily deployed to release-base-images January 14, 2025 09:33 — with GitHub Actions Inactive
@aanm aanm had a problem deploying to release-base-images January 14, 2025 09:34 — with GitHub Actions Error
Signed-off-by: André Martins <andre@cilium.io>
@aanm
Copy link
Member

aanm commented Jan 14, 2025

/test

@aanm aanm temporarily deployed to release-base-images January 14, 2025 10:37 — with GitHub Actions Inactive
@aanm aanm temporarily deployed to release-base-images January 14, 2025 10:38 — with GitHub Actions Inactive
@aanm aanm temporarily deployed to release-base-images January 14, 2025 10:41 — with GitHub Actions Inactive
@gyutaeb
Copy link
Contributor Author

gyutaeb commented Jan 15, 2025

@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 /test again?

@aanm aanm added this pull request to the merge queue Jan 15, 2025
Merged via the queue into cilium:main with commit 04d5b57 Jan 15, 2025
67 checks passed
@rastislavs rastislavs mentioned this pull request Jan 21, 2025
45 tasks
@rastislavs rastislavs added backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. and removed needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch labels Jan 21, 2025
@github-actions github-actions bot added backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. and removed backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. kind/community-contribution This was a contribution made by a community member. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants