Add M8.6 synthetic load driver and fault drill

A drill-only evo-server --synthetic-inputs development-v1 driver feeds
deterministic inputs from the committed head after every recovery, with
request IDs that match acknowledgements across owners (ADR-0073); it is
off in Git and the policy check keeps it off. fault-drill.sh loads dev
or stage and runs repeated forced kills (RTO, zero lost
acknowledgements), a full object volume (nothing acknowledged), an
empty volume (quarantine, never a fresh world) and an operator-driven
database outage (stale epoch never resumes), restoring the Git
configuration on exit. Process tests prove contiguous acknowledgement
across a SIGKILL and exact resumption after the committed head.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-09-30 10:52:01 -04:00
co-authored by Claude Opus 5.5
parent 4ef0fe8167
commit 3f08a1d221
16 changed files with 513 additions and 5 deletions
+22
View File
@@ -160,6 +160,28 @@ curl -s localhost:9090/api/v1/alerts # Watchdog
Record the timestamps. The rule tests in CI already prove the thresholds.
## Fault drills (M8.6, ADR-0073)
`bash tools/ops/fault-drill.sh dev all` enables synthetic load, then runs three
forced kills, a full volume and an empty volume. It restores the Git settings on
exit.
For the database outage, run `bash tools/ops/fault-drill.sh dev db-outage` and
follow its prompt. On `pg-forge-01`, block the store node for at least 30 s, then
lift the block:
```sh
sudo iptables -I INPUT -p tcp --dport 5432 -s 172.10.1.135 -j DROP # rke2-worker-1
sleep 40
sudo iptables -D INPUT -p tcp --dport 5432 -s 172.10.1.135 -j DROP
```
Record each `kill`, `full`, `empty` and `db-outage` line in VALIDATION.md. During
the drill, Prometheus should show:
- `EvoRegionObjectsFull` (full);
- `EvoRegionQuarantined` or `EvoRegionNotReady` (empty);
- `EvoRegionFenced` (db-outage).
Keep drills short: synthetic load leaves permanent history.
## Break-glass
How membership is granted is not decided yet; see docs/BACKLOG.md. Until it is,