# 2026-11-13T18:14:48Z python3 student-tests/failover_bench.py --action env TARGET_INSTANCE_ID=c22f6c11ca32 scripts/stop-one.sh --target-instance c22f6c11ca32 --duration 20 --action-at 5 --concurrency 4 --output evidence/failover-bench.json
{
  "label": "",
  "concurrency": 4,
  "duration_s": 20.0,
  "request_timeout_s": 2.0,
  "action": {
    "command": "env TARGET_INSTANCE_ID=c22f6c11ca32 scripts/stop-one.sh",
    "started_s": 5.004,
    "finished_s": 8.539,
    "exit_code": 0
  },
  "baseline_ok_rps": 466.5,
  "overall_ok_rps": 243.8,
  "requests_ok": 4876,
  "errors_total": 0,
  "error_rate": 0.0,
  "errors_by_kind": {},
  "error_window_s": null,
  "recovery_s": 0.0,
  "post_action_ok_rps": 153.2,
  "capacity_ratio": 0.33,
  "latency_ok_ms": {
    "p50": 5.5,
    "p95": 78.0,
    "p99": 94.5
  },
  "target_instance": "c22f6c11ca32",
  "target_last_seen_s": 0.901,
  "lb_events": [
    {
      "t": 0.91,
      "server": "api2",
      "addr": "172.25.0.6:8080",
      "from": "UP",
      "to": "DOWN"
    },
    {
      "t": 4.62,
      "server": "api2",
      "addr": "",
      "from": "DOWN",
      "to": "MAINT"
    }
  ],
  "posts_retried_same_key": 0,
  "confirmed_messages": 2439,
  "history_messages": 2439,
  "lost_confirmed": 0,
  "duplicate_ids": 0,
  "duplicate_texts": 0,
  "pass": true
}
PASS
exit=0
