Add Assignment 7 monitoring, tested alerts, and incident evidence
This commit is contained in:
parent
131d605c5e
commit
6605394d7a
@@ -0,0 +1,48 @@
|
||||
# Blameless review: controlled Jenkins outage
|
||||
|
||||
Status: evidence-based draft for team verification, prepared October 28, 2026. Operational source remains on the Droplet working branch; not yet committed, pushed or peer approved. This is a review of an approved exercise, not an unplanned production incident.
|
||||
|
||||
## Impact and cause
|
||||
On October 24 only the existing Jenkins service was deliberately stopped to validate HTTPS monitoring, the one-minute unavailable rule, Discord delivery and recovery. Builds were checked idle before injection. The team approved the exercise and the agent executed the known stop/start commands. The cause was intentional fault injection; no individual error or underlying application defect is established. Gitea remained healthy in recorded HTTP checks and all 20 probes of the selected window. No volumes were removed.
|
||||
|
||||
## Timeline
|
||||
All times below are October 24, 2026, America/New_York (EDT, UTC-04:00), except the explicitly dated later checks.
|
||||
|
||||
| Event | Time | Evidence/qualification |
|
||||
|---|---|---|
|
||||
| Stop requested | 17:26:45.883 | Automation event |
|
||||
| Jenkins stopped | 17:26:51.997 | Stop command completed |
|
||||
| First failed probe sample | 17:27:11.023 | Actual Prometheus sample timestamp |
|
||||
| Failure first observed by polling | 17:27:12.740 | Observer timestamp |
|
||||
| Rule firing transition | 17:28:20 | Grafana instance UI |
|
||||
| Firing first observed by polling | 17:28:34.086 | Observer timestamp |
|
||||
| Discord firing delivery | displayed 17:28 | User screenshot; no exact second |
|
||||
| Team acknowledgment | confirmed in chat | Exact clock time not supplied |
|
||||
| Restart requested | 17:29:55.087 | Automatic recovery |
|
||||
| Start command finished | 17:29:57.750 | Exit 0; not readiness |
|
||||
| HTTPS ready observed | 17:30:48.613 | HTTP 200 |
|
||||
| First successful probe after failure | 17:31:11.023 | Actual sample timestamp |
|
||||
| Rule returned Normal | 17:31:20 | Grafana instance UI |
|
||||
| Discord resolved delivery | confirmed | Screenshot lacks visible delivery time |
|
||||
|
||||
## Detection and restoration
|
||||
Stop-to-first-failed-sample: 19.026 seconds. Stop-to-rule-firing transition: 88.003 seconds. First failed sample to firing transition: 68.977 seconds. The 30-second scrape, 30-second evaluation interval and one-minute pending period explain quantization; polling first observed firing another 14.086 seconds later. Discord grouping adds configured delivery delay (10-second group wait, one-minute group interval), but exact delivery latency and acknowledgment latency cannot be calculated from the screenshots.
|
||||
|
||||
Stopped-to-restart-requested: 183.090 seconds. Restart-requested-to-observed-HTTPS-ready: 53.526 seconds. Stopped-to-observed-HTTPS-ready: 236.617 seconds (about 3 minutes 57 seconds). The injection was approximately three minutes; startup extended service unavailability. Failed-to-successful sampled transition spans 240 seconds; that is a sampled interval, not an exact downtime duration.
|
||||
|
||||
## SLI result and limits
|
||||
Fixed window: October 24 17:23:00-17:33:00 EDT; evaluation epoch 1792877580. At 30-second intervals, both services returned the expected 20 samples. Jenkins had 12 successes and 8 failures: 60% sampled availability. Gitea had 20 successes: 100%. Both ended with probe_success=1. No missing samples were observed in this window. This short exercise does not establish a full-day 99% SLO result, an SLA, or availability from every client network. Missing collection in other windows is unknown, not success.
|
||||
|
||||
## Response and recovery verification
|
||||
The automatic recovery path started only Jenkins and preserved volumes. Discord firing and resolved delivery are confirmed by team screenshots. Normal rule thresholds remain unchanged. Build #5 on October 25 passed syntax validation and two unit tests in 36.837 seconds on revision 131d605c5edb5b5080e4d54861c3c7bf7c360c9c; its log records Gitea SUCCESS notification. This was following-day validation after fresh sign-in, not an immediate recovery build. No manual/PDF build was rerun because the team explicitly deferred compilation. Earlier failed/repaired PR 11 demonstrates pipeline test failure, which differs from service unavailability: https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/11 . Build #5: https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/5/ .
|
||||
|
||||
## What worked and measurement gaps
|
||||
The isolated exercise, prechecked idle queue, explicit recovery command, automatic restart, per-service alert instances and team-controlled Discord routing worked. Polling timestamps and actual sample timestamps are retained separately. Delivery/acknowledgment timing and prompt post-recovery build validation need improvement. Manual build verification remains deferred by team instruction. Incident graph annotations have not yet been added; the fixed-window raw probe samples are preserved and must support any later figure. No claims of completed peer review or publication are made.
|
||||
|
||||
October 28 separate Prometheus/Grafana restarts retained historical readings, both resource-backed dashboards, data source, two alert rules and 18 annotations. One approximately 60-second interval between Jenkins probe samples was recorded (one missed scheduled sample). Grafana restart pauses evaluation and notifications. Persistence is not backup/restore proof.
|
||||
|
||||
## Shared failure domain and prioritized follow-up
|
||||
All monitoring shares the Droplet with its monitored services. Total host/network failure can prevent local detection and notification. P1: independent external HTTPS checks. P2: complete incident timestamps and prompt recovery-build validation. Owner for both: Gowri Das Lovely (@glovely); Gitea issues created October 28: [P1 issue 12](https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/12), [P2 issue 13](https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/13). Both assigned to glovely; author shown as jenkins-ci from the user-signed-in session. These issues authorize tracking, not a new outage, paid purchase or deployment.
|
||||
|
||||
## Evidence
|
||||
Droplet evidence directory: /home/codex/myfileagent-gitea/evidence/assignment7 . Primary records: jenkins-incident-timeline.json, jenkins-incident-probe-samples.json, jenkins-incident-sli-fixed-window.json, jenkins-recovery-build5.json, monitoring-restart-persistence.json and monitoring-restart-state-verification.json. Team screenshots: jenkins-discord-firing-team.png and jenkins-discord-resolved-team.png under screenshots/. These files have not yet been published as reviewed Git artifacts; final report integration must use verified source links.
|
||||
Reference in New Issue
Block a user