lab4: evidence, REPORT.md, форматирование

This commit is contained in:
2026-10-22 22:47:48 +03:00
parent 39a6df8c09
commit f048a37df9
22 changed files with 1782 additions and 17 deletions
+21
View File
@@ -0,0 +1,21 @@
# 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)