Skip to content

Conversation

@vdemeester
Copy link
Member

@vdemeester vdemeester commented Oct 24, 2025

Changes

Without this, we can errors such as the following

ERROR failed to get CPU variant os=linux error="getCPUVariant for OS linux: not implemented"
could not find command for platform "linux/arm64"

The main reason for this is because we are missing the variant when getting the platform, but the oci images for arm64 have it, and thus TEKTON_PLATFORM_COMMANDS as well. It creates a mismatch, and the entrypoint cannot find the command it looks for.

Essentially it means that anyone running arm64 cluster and not using script or specifying command won't be able to run a TaskRun 😅 .

Closes #9094

/kind bug

@tektoncd/core-maintainers this will need to be cherry-pick to all LTS after 0.68.
Note: This is extracted from #9090 (which runs e2e tests on arm64 to catch things like that) so that we get it merged more quickly.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • pre-commit Passed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

Without this, we can errors such as the following

    ERROR failed to get CPU variant os=linux error="getCPUVariant for OS linux: not implemented"
    could not find command for platform "linux/arm64"

The main reason for this is because we are missing the variant when
getting the platform, but the oci images for arm64 have it, and thus
`TEKTON_PLATFORM_COMMANDS` as well. It creates a mismatch, and the
entrypoint cannot find the command it looks for.

Signed-off-by: Vincent Demeester <[email protected]>
@tekton-robot tekton-robot added kind/bug Categorizes issue or PR as related to a bug. release-note-none Denotes a PR that doesnt merit a release note. labels Oct 24, 2025
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 24, 2025
@vdemeester
Copy link
Member Author

/cherry-pick v1.0.x

@vdemeester
Copy link
Member Author

/cherry-pick v1.3.x

Copy link
Member

@twoGiants twoGiants left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 24, 2025
Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afrittoli, twoGiants

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 24, 2025
@afrittoli
Copy link
Member

/retest

@afrittoli
Copy link
Member

Hopefully you're successful in setting up arm tests so we don't risk breaking this in future.

@tekton-robot tekton-robot merged commit 25fc608 into tektoncd:main Oct 24, 2025
46 of 47 checks passed
@vdemeester vdemeester deleted the 9094-arm64-fix branch October 24, 2025 17:22
@vdemeester
Copy link
Member Author

@afrittoli the cherry-pick "bot" is not running in the infra anymore ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Unable to lookup entrypoint linux/arm64

4 participants