Skip to content
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

Reason "CoundNotGetTask" Provided if TaskRun Creation Fails #1024

Open
adambkaplan opened this issue Mar 25, 2022 · 3 comments
Open

Reason "CoundNotGetTask" Provided if TaskRun Creation Fails #1024

adambkaplan opened this issue Mar 25, 2022 · 3 comments
Assignees
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Milestone

Comments

@adambkaplan
Copy link
Member

adambkaplan commented Mar 25, 2022

Bug Report

Description

If the TaskRun for the associated BuildRun cannot be created, the listed failure reason is CouldntGetTask. This failure reason is misleading if the underlying TaskRun can't be created in the first place. This can happen, for instance, if the referenced build strategy requires additional security capabilities that are not granted to the user or service account for the build.

Expected Behavior

The failure reason more readily identifies the cause, in this case CreateTaskRunFailed

Actual Behavior

Reason provided is CouldntGetTask, which can be confusing since Shipwright does not create Tekton Tasks.

/kind bug

Notes

This issue was filed a long time ago. Help is needed to verify if this is an issue running Shipwright build on top of Tekton Pipelines v0.47.x

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Mar 25, 2022
@SaschaSchwarze0 SaschaSchwarze0 added this to the release-v0.10.0 milestone Apr 6, 2022
@SaschaSchwarze0
Copy link
Member

From Grooming: CreatePodFailed would be even a better reason because we successfully create the TaskRun and Tekton fails to create the Pod.

@qu1queee
Copy link
Contributor

From Grooming: @adambkaplan to revisit this directly with the Tekton community, as SHP relies on the Tekton status condition subresource from a TaskRun.

@qu1queee qu1queee modified the milestones: release-v0.13.0, Backlog Jan 11, 2024
@qu1queee qu1queee added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Jan 11, 2024
@qu1queee
Copy link
Contributor

From Refinement, to validate if the use case continues with the latest Tekton updates.

@qu1queee qu1queee added lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. and removed kind/bug Categorizes issue or PR as related to a bug. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
Status: No status
Development

No branches or pull requests

3 participants