Pcornel
Automation

Automation Troubleshooting

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

Back to the Topic

Answer

Automation troubleshooting starts by capturing the exact run — code revision, inputs, target scope and logs — then finds the first step where what actually happened differs from what was expected, before rerunning or changing anything.

Remember

  • Job failed ≠ root cause is the automation engine.
  • Job succeeded ≠ effective target state or workload result is correct.
  • Retry succeeded ≠ original failure mechanism is understood or removed.
  • Changed symptom ≠ original incident is resolved.

First checks

  • Run logs and exit codes — evidence
  • Reproduce with same inputs in test — isolation
  • Recent changes (code, dependencies, targets) — likely causes

Verify in this order

symptom → logs → layer → fix → test

Where it usually breaks

Troubleshooting evidence is bounded by the captured run, targets, telemetry and acceptance test; absence of an error, a later successful retry or a green control-plane status cannot prove the original failure is explained or every target is healthy.

Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.

Automation Troubleshooting 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=6045

Confirmation

Confirm action

Continue?