docs(evidence,report):lab4 acceptance artifacts

This commit is contained in:
Голиков Maximillian Антон
2026-10-23 20:56:30 +03:00
parent 53aeca3653
commit 4dfaf28082
12 changed files with 351 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
=== 2026-10-23T17:26:38Z ===
--- состояние контейнеров ДО ---
SERVICE STATUS
api Up 11 minutes (healthy)
api Up 59 seconds (healthy)
lb Up 2 hours
minio Up 9 minutes (healthy)
postgres Up 11 minutes (healthy)
redis Up 11 minutes (healthy)
--- LB видит обе реплики ---
X-Instance-Id: 54992a38015c
X-Instance-Id: c0f8bc0ada76
--- запуск failover-хука через .sh ---
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": 101, "failed_attempts": 2, "first_recovery_seconds": 5.344}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
--- состояние контейнеров ПОСЛЕ ---
SERVICE STATUS
api Up 12 minutes (healthy)
api Exited (0) 11 seconds ago
lb Up 2 hours
mc-init Exited (0) About a minute ago
migrate Exited (0) About a minute ago
minio Up 10 minutes (healthy)
postgres Up 12 minutes (healthy)
redis Up 12 minutes (healthy)