Use this when failures must reach the right people.
Failure Reporting
Failure reporting tells the right people a job failed, with the step, target, error and log link, through notifications, tickets or monitoring, instead of a failure hidden in a log.
1. Report failures clearly: what failed, where, why, link to logs.
2. Notify owners.
3. Create tickets for recurring failures.
4. Track metrics.
5. Avoid noise.
failure → report → owner → fix
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Alerts without the target name or error message.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Report step, target, error and log link.
- Send to the owner, not everyone.
- Avoid duplicate notifications.
- Failure notification (chat/email/ticket) with run link — reporting
- Error summary with context — diagnosis
- Failure metrics — trends
ReferenceWhy it matters1 section · depth on demand
What it is
Failure reporting sends a clear summary (what failed, where, error, next step) to the right channel.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Failure reporting is how an automation tells people what went wrong. A good report lets someone who did not write the automation understand the problem and act without reading the code: which run, which target, which step, what error, what state was left behind and what to do next.
A useful failure message contains:
| Field | Example |
|---|---|
| Run ID / link | job 4812 with log URL |
| Target | sw-oslo-07 |
| Step | install image |
| Error | TimeoutError after 300 s |
| State left | image copied, not activated |
| Next action | re-run with --limit sw-oslo-07 |
Send summaries to where people work (chat, ticket, email) and keep full details in logs. Report successes briefly too, so silence is never mistaken for success.
Mechanics
The linked authority for bounded mechanics is Microsoft Azure Architecture Center — Retry pattern; documentation support is separate from observed lab/production Evidence.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Error Handling > Failure Reporting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/architecture/patterns/retry · confidence 94%