Files
mtusi2026lab4/evidence/failover.txt
T
2026-10-30 16:53:49 +03:00

25 lines
1.5 KiB
Plaintext

## run 1
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://lb: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.972}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
messenger-lab4-api-2 bb5edb449d7c Up 41 seconds (healthy)
messenger-lab4-api-1 f00b790a44e9 Exited (0) 12 seconds ago
messenger-lab3-api-6 82d4e8380bcc Exited (0) 6 days ago
messenger-lab3-api-5 9478eeefc0a7 Exited (0) 6 days ago
mtusi2026lab2-api-1 01469cb1e76e Exited (137) 2 weeks ago
started api container f00b790a44e9
running api replicas: 2
## run 2
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://lb: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": 4.208}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
messenger-lab4-api-2 bb5edb449d7c Up About a minute (healthy)
messenger-lab4-api-1 f00b790a44e9 Exited (0) 11 seconds ago
messenger-lab3-api-6 82d4e8380bcc Exited (0) 6 days ago
messenger-lab3-api-5 9478eeefc0a7 Exited (0) 6 days ago
mtusi2026lab2-api-1 01469cb1e76e Exited (137) 2 weeks ago
started api container f00b790a44e9
running api replicas: 2