Skip to content

Reason "CoundNotGetTask" Provided if TaskRun Creation Fails #1024

@adambkaplan

Description

@adambkaplan

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

Metadata

Metadata

Assignees

Labels

lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions