Pcornel
Automation · Automation Troubleshooting

Pipeline Failure

Cheat sheet · https://pcornel.dk/topic.php?topic=6064

Back to the Topic

Answer

Pipeline Failure isolates CI/CD automation across trigger/ref, pipeline evaluation, variables/secrets, runner/toolchain, dependency/cache, stage/job, artifact, approval, deployment and environment acceptance boundaries.

Remember

  • Pipeline red ≠ source code is necessarily defective.
  • Pipeline green ≠ deployed service is healthy.
  • Retry job ≠ same inputs, cache, runner or environment.
  • Artifact built ≠ artifact deployed or trusted.

First checks

  • Failed job log — error
  • Re-run with debug logging — detail
  • Diff from last green run (deps, runner image) — changes

Commands

git status --short --branch
Read-only/validation observation for current branch, working-tree changes and divergence indicators.

Verify in this order

trigger → runner → job → step → error

Where it usually breaks

Pipeline status is orchestration evidence; it cannot by itself prove artifact integrity, deployment completion or service health.

Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.

Pipeline Failure troubleshooting proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Symptom / scopeTime window, immutable source/run identity, effective inputs and exact targets are explicitFloating source, changed inputs or ambiguous targets destroy reproducibility
First failed boundaryTransport/auth/dependency/render/operation evidence identifies the earliest divergenceInvestigation starts at the final error and skips earlier unproven boundaries
Effective outcomeController result is paired with target read-back and workload/service acceptanceGreen execution state or changed symptom substitutes for effective-state verification
Recovery / closureMinimal change restores the original test and regression/partial-state checks are cleanBroad retry or unrelated edits make the incident non-reproducible and hide residual state

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6064

Confirmation

Confirm action

Continue?