# 2026-11-07T08:24:37Z round 1: make test-persistence ACTION_SCRIPT=scripts/restart.sh
## before
mtusi-lab4-api-1 StartedAt=2026-11-07T08:24:09.858075054Z
mtusi-lab4-api-2 StartedAt=2026-11-07T08:24:09.791252554Z
mtusi-lab4-db-1 StartedAt=2026-11-07T08:23:50.523803795Z
mtusi-lab4-janitor-1 StartedAt=2026-11-07T08:24:09.793362971Z
mtusi-lab4-lb-1 StartedAt=2026-11-07T08:24:09.948012971Z
mtusi-lab4-s3-1 StartedAt=2026-11-07T08:23:50.522934587Z
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080" 
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
exit=0
## after
mtusi-lab4-api-1 StartedAt=2026-11-07T08:25:18.150425752Z
mtusi-lab4-api-2 StartedAt=2026-11-07T08:25:18.130956294Z
mtusi-lab4-db-1 StartedAt=2026-11-07T08:24:38.899196554Z
mtusi-lab4-janitor-1 StartedAt=2026-11-07T08:25:25.061171964Z
mtusi-lab4-lb-1 StartedAt=2026-11-07T08:25:15.229845459Z
mtusi-lab4-s3-1 StartedAt=2026-11-07T08:24:56.087874506Z
# 2026-11-07T08:25:25Z round 1: make test-failover ACTION_SCRIPT=scripts/stop-one.sh (сразу после persistence)
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8080" 
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 129, "failed_attempts": 0, "first_recovery_seconds": 3.723}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
exit=0
mtusi-lab4-api-1 Up 22 seconds (healthy)
mtusi-lab4-api-2 Exited (0) 11 seconds ago
# 2026-11-07T08:25:50Z round 2: make test-persistence ACTION_SCRIPT=scripts/restart.sh
## before
mtusi-lab4-api-1 StartedAt=2026-11-07T08:25:18.150425752Z
mtusi-lab4-api-2 StartedAt=2026-11-07T08:25:41.189426555Z
mtusi-lab4-db-1 StartedAt=2026-11-07T08:24:38.899196554Z
mtusi-lab4-janitor-1 StartedAt=2026-11-07T08:25:25.061171964Z
mtusi-lab4-lb-1 StartedAt=2026-11-07T08:25:15.229845459Z
mtusi-lab4-s3-1 StartedAt=2026-11-07T08:24:56.087874506Z
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080" 
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
exit=0
## after
mtusi-lab4-api-1 StartedAt=2026-11-07T08:26:31.35367805Z
mtusi-lab4-api-2 StartedAt=2026-11-07T08:26:31.310593342Z
mtusi-lab4-db-1 StartedAt=2026-11-07T08:25:51.588460754Z
mtusi-lab4-janitor-1 StartedAt=2026-11-07T08:26:37.94729322Z
mtusi-lab4-lb-1 StartedAt=2026-11-07T08:26:28.08777384Z
mtusi-lab4-s3-1 StartedAt=2026-11-07T08:26:09.003885512Z
# 2026-11-07T08:26:38Z round 2: make test-failover ACTION_SCRIPT=scripts/stop-one.sh (сразу после persistence)
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8080" 
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 128, "failed_attempts": 0, "first_recovery_seconds": 3.347}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
exit=0
mtusi-lab4-api-1 Up 22 seconds (healthy)
mtusi-lab4-api-2 Exited (0) 11 seconds ago
