# evidence/local-stops.txt — test-failover (one replica stopped, LB routes to survivor) # env: local processes (no Docker), replicas on 8083/8084 behind local LB on 8080 === lab3 failover — BEFORE (stop one replica) === captured_utc: 2026-11-16T23:03:11Z api1 PID=36498 [up] instance=fca1efad-e515-466c-b66d-be4b7c30eca6 api2 PID=36499 [up] instance=3a7c1628-75e2-44c4-af0a-6f674079ebc7 distinct instances behind LB 8080: 3a7c1628-75e2-44c4-af0a-6f674079ebc7 --- make test-failover ACTION_SCRIPT=/tmp/lab3_stop_one.sh BASE_URL=http://127.0.0.1:8080 --- /workspace/venv-labs/bin/python tests/resilience.py --mode failover --action-script "/tmp/lab3_stop_one.sh" --base-url "http://127.0.0.1:8080" Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 102, "failed_attempts": 0, "first_recovery_seconds": 0.321} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. === lab3 failover — AFTER (one replica stopped, LB still serving on surviving one) === captured_utc: 2026-11-16T23:03:27Z api1 [up] instance=fca1efad-e515-466c-b66d-be4b7c30eca6 api2 [DOWN] instance= LB 8080 ready: 200 LB now routes to: fca1efad-e515-466c-b66d-be4b7c30eca6