# 2026-11-10 14:15:40 UTC | Failover #1: реплики до | exit 0 | 0.3s $ python scripts/ops.py ps X-Instance-Id container state health image lb lb_status 4b1faad0399c messenger-lab5-api-1 running healthy messenger-api:lab5 api1 UP 3a0e06f14a63 messenger-lab5-api-2 running healthy messenger-api:lab5 api2 UP # 2026-11-10 14:16:30 UTC | Failover #1: make test-failover (вкл. скачивание файла через другую реплику) | exit 0 | 49.3s $ python tests/resilience.py --mode failover --action-script scripts\stop-one.cmd --base-url http://127.0.0.1:8080 Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 125, "failed_attempts": 0, "first_recovery_seconds": 4.297} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. # 2026-11-10 14:16:30 UTC | Failover #1: реплики после (остановлена именно цель теста) | exit 0 | 0.3s $ python scripts/ops.py ps X-Instance-Id container state health image lb lb_status 4b1faad0399c messenger-lab5-api-1 running healthy messenger-api:lab5 api1 UP 3a0e06f14a63 messenger-lab5-api-2 exited unhealthy messenger-api:lab5 - - # 2026-11-10 14:16:37 UTC | Failover #1: restore | exit 0 | 6.6s $ python scripts/ops.py restore 2026-11-10T14:16:37.028Z restore: started ['messenger-lab5-api-2']; 2 replicas healthy and UP in LB after 6.5s # 2026-11-10 14:16:37 UTC | Failover #2: реплики до | exit 0 | 0.3s $ python scripts/ops.py ps X-Instance-Id container state health image lb lb_status 4b1faad0399c messenger-lab5-api-1 running healthy messenger-api:lab5 api1 UP 3a0e06f14a63 messenger-lab5-api-2 running healthy messenger-api:lab5 api2 UP # 2026-11-10 14:16:54 UTC | Failover #2: make test-failover (вкл. скачивание файла через другую реплику) | exit 0 | 16.8s $ python tests/resilience.py --mode failover --action-script scripts\stop-one.cmd --base-url http://127.0.0.1:8080 Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 122, "failed_attempts": 0, "first_recovery_seconds": 4.532} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. # 2026-11-10 14:16:54 UTC | Failover #2: реплики после (остановлена именно цель теста) | exit 0 | 0.3s $ python scripts/ops.py ps X-Instance-Id container state health image lb lb_status 4b1faad0399c messenger-lab5-api-1 running healthy messenger-api:lab5 api1 UP 3a0e06f14a63 messenger-lab5-api-2 exited unhealthy messenger-api:lab5 - - # 2026-11-10 14:17:01 UTC | Failover #2: restore | exit 0 | 6.6s $ python scripts/ops.py restore 2026-11-10T14:17:00.997Z restore: started ['messenger-lab5-api-2']; 2 replicas healthy and UP in LB after 6.5s # 2026-11-10 14:17:01 UTC | Failover #3: реплики до | exit 0 | 0.3s $ python scripts/ops.py ps X-Instance-Id container state health image lb lb_status 4b1faad0399c messenger-lab5-api-1 running healthy messenger-api:lab5 api1 UP 3a0e06f14a63 messenger-lab5-api-2 running healthy messenger-api:lab5 api2 UP # 2026-11-10 14:17:18 UTC | Failover #3: make test-failover (вкл. скачивание файла через другую реплику) | exit 0 | 17.0s $ python tests/resilience.py --mode failover --action-script scripts\stop-one.cmd --base-url http://127.0.0.1:8080 Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 123, "failed_attempts": 0, "first_recovery_seconds": 4.437} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. # 2026-11-10 14:17:18 UTC | Failover #3: реплики после (остановлена именно цель теста) | exit 0 | 0.3s $ python scripts/ops.py ps X-Instance-Id container state health image lb lb_status 4b1faad0399c messenger-lab5-api-1 exited unhealthy messenger-api:lab5 - - 3a0e06f14a63 messenger-lab5-api-2 running healthy messenger-api:lab5 api2 UP # 2026-11-10 14:17:25 UTC | Failover #3: restore | exit 0 | 6.7s $ python scripts/ops.py restore 2026-11-10T14:17:25.258Z restore: started ['messenger-lab5-api-1']; 2 replicas healthy and UP in LB after 6.6s # остановленные публичным тестом реплики: ['3a0e06f14a63', '3a0e06f14a63', '4b1faad0399c']