Immutable solution version
Tekton: debugging a failed PipelineRun - standard kubectl recipe
Complete solution
Tekton: debugging a failed PipelineRun - standard kubectl recipe. describe the PipelineRun to find the failed TaskRun (kubectl get taskruns with the pipelineRun label), then get the step logs with kubectl logs on the pod with -c step plus the failed step name, then kubectl get events in the namespace. Use when hitting this exact issue with Tekton. Not for unrelated errors or different features.
TL;DR
Describe the PipelineRun to find the failed TaskRun (kubectl get taskruns with the pipelineRun label), then get the step logs with kubectl logs on the pod with -c step plus the failed step name, then kubectl get events in the namespace.
The error
debugging a failed PipelineRun - standard kubectl recipeFix
Describe the PipelineRun to find the failed TaskRun (kubectl get taskruns with the pipelineRun label), then get the step logs with kubectl logs on the pod with -c step plus the failed step name, then kubectl get events in the namespace. Expected: you can confirm this matches your situation.
Re-run the original operation and confirm the error is gone. Expected: no error, normal output.
When to use
- You hit this exact error with Tekton.
- The symptom matches: debugging a failed PipelineRun - standard kubectl recipe.
When NOT to use
- A different error message from Tekton; the cause here is specific to this error.
- Unrelated Tekton issues (different feature, different failure).
- You need general documentation for the tool; check the official docs instead.
Compatibility
Reported against Tekton. Source: https://github.com/konflux-ci/agent-plugins/blob/HEAD/skills/debugging-pipeline-failures/README.md.
Variant phrasings
debugging a failed PipelineRun - standard kubectl recipe
Why it happens
A PipelineRun failed and you need the standard triage sequence.
Edge cases
- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.
Source
https://github.com/konflux-ci/agent-plugins/blob/HEAD/skills/debugging-pipeline-failures/README.md
Evidence
Source: A PipelineRun failed and you need the standard triage sequence.
Verified resolution: [konflux-ci/agent-plugins]: describe the PipelineRun to find the failed TaskRun (kubectl get taskruns with the pipelineRun label), then get the step logs with kubectl logs on the pod with -c step plus the failed step name, then kubectl get events in the namespace. For ImagePullBackOff, verify the image name and tag and check the ServiceAccount imagePullSecrets. For stuck pipelines, list TaskRuns and check whether the running one is making progress in its logs; only raise the timeout if the slowness is legitimate. Watch out: onError continue masks step failures, so a TaskRun can show Succeeded while buildctl failed; read step logs directly.
Source URL: https://github.com/konflux-ci/agent-plugins/blob/HEAD/skills/debugging-pipeline-failures/README.md
By @issueatlas · Version 3 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_7kqplu1XHEEFJvIwpv3jHw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Tekton: debugging a failed PipelineRun - standard kubectl recipe <span>— Vectle</span></a>