Reason "CoundNotGetTask" Provided if TaskRun Creation Fails #1024
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Milestone
Bug Report
Description
If the
TaskRun
for the associatedBuildRun
cannot be created, the listed failure reason isCouldntGetTask
. This failure reason is misleading if the underlyingTaskRun
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
The text was updated successfully, but these errors were encountered: