Files
mtusi2026lab4/evidence/lab4/failover.txt
T

22 lines
1.4 KiB
Plaintext

# failover round 1
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": 140, "failed_attempts": 0, "first_recovery_seconds": 3.331}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
api mtusi-lab4-api-1 Up 26 seconds (healthy)
Container mtusi-lab4-api-1 Running
# failover round 2
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.359}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi-lab4-api-1 Up 50 seconds (healthy)
mtusi-lab4-api-2 Exited (0) 12 seconds ago
# failover round 3
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.328}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi-lab4-api-1 Up About a minute (healthy)
mtusi-lab4-api-2 Exited (0) 12 seconds ago
mtusi-lab4-api-1 Up About a minute (healthy)
mtusi-lab4-api-2 Up 5 seconds (healthy)