date: 2026-11-06T09:34:33Z commit: 95511002b12510178a3cc2a22566b43e2b2b6c81 environment: {"COMPOSE_PROJECT_NAME": "mtusi2026lab6", "LB_HTTP_PORT": "18086", "LB_STATS_PORT": "26085", "BASE_URL": "http://127.0.0.1:18086", "NO_PROXY": "localhost,127.0.0.1,::1"} $ env EVIDENCE_DIR=evidence/grade3/failover-first make failover-evidence SHIFT=0 sh scripts/failover-evidence.sh "http://127.0.0.1:18086" "0" date: 2026-11-06T09:34:33Z commit: 95511002b12510178a3cc2a22566b43e2b2b6c81 == before: api replicas (hostname = X-Instance-Id), state, StartedAt, FinishedAt 9af2280c8af3 running started=2026-11-06T09:33:56.602420846Z finished=2026-11-06T09:33:50.075450885Z 943813ecb712 running started=2026-11-06T09:33:56.539288471Z finished=2026-11-06T09:33:50.07508976Z $ make test-failover ACTION_SCRIPT=scripts/stop-one.sh python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://127.0.0.1:18086" Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 134, "failed_attempts": 0, "first_recovery_seconds": 3.03} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. == after: api replicas 9af2280c8af3 exited started=2026-11-06T09:33:56.602420846Z finished=2026-11-06T09:34:38.360642671Z 943813ecb712 running started=2026-11-06T09:33:56.539288471Z finished=2026-11-06T09:33:50.07508976Z == stopped replica: 9af2280c8af3; shutdown: signal, drain window with readiness 503, close, exit {"event":"Handling signal: term","level":"info","ts":"2026-11-06T09:34:35.851311Z"} {"limit":2.0,"event":"service.draining","level":"info","ts":"2026-11-06T09:34:35.864420Z"} {"limit":2.0,"event":"service.draining","level":"info","ts":"2026-11-06T09:34:35.897236Z"} {"method":"GET","route":"/health/ready","status":503,"request_id":"5818535d613b4b7a8f0607d91e58d3f5","duration_ms":0.837,"event":"request.handled","level":"info","ts":"2026-11-06T09:34:36.062326Z"} {"method":"GET","route":"/health/ready","status":503,"request_id":"4838cbd4822f4181a2e10153a41033d6","duration_ms":0.347,"event":"request.handled","level":"info","ts":"2026-11-06T09:34:36.566176Z"} {"event":"Shutting down","level":"info","ts":"2026-11-06T09:34:37.866622Z"} {"event":"Shutting down","level":"info","ts":"2026-11-06T09:34:37.900282Z"} {"event":"service.stopped","level":"info","ts":"2026-11-06T09:34:37.973761Z"} {"event":"Finished server process [26]","level":"info","ts":"2026-11-06T09:34:37.977541Z"} {"event":"Worker (pid:26) was sent SIGTERM!","level":"info","ts":"2026-11-06T09:34:37.987715Z"} {"event":"service.stopped","level":"info","ts":"2026-11-06T09:34:38.004692Z"} {"event":"Finished server process [21]","level":"info","ts":"2026-11-06T09:34:38.006586Z"} {"event":"Worker (pid:21) was sent SIGTERM!","level":"info","ts":"2026-11-06T09:34:38.093383Z"} {"event":"Shutting down: Master","level":"info","ts":"2026-11-06T09:34:38.195744Z"} $ scripts/restore.sh Container mtusi2026lab6-api-2 Running Container mtusi2026lab6-api-1 Starting Container mtusi2026lab6-api-1 Started Container mtusi2026lab6-api-2 Waiting Container mtusi2026lab6-api-1 Waiting Container mtusi2026lab6-api-2 Healthy Container mtusi2026lab6-api-1 Healthy == after restore 9af2280c8af3 running started=2026-11-06T09:34:51.34604076Z finished=2026-11-06T09:34:38.360642671Z 943813ecb712 running started=2026-11-06T09:33:56.539288471Z finished=2026-11-06T09:33:50.07508976Z exit_code: 0 elapsed_seconds: 20.584