=== make test-persistence ACTION_SCRIPT=scripts/restart.sh captured_at 2026-10-15T18:25:20Z commit: 410e1ea3ad1b12b1bc650484c3531e6bf76479be --- контейнеры до (docker compose ps): api mtusi-lab3-api-1 Up 4 minutes (healthy) api mtusi-lab3-api-2 Up 4 minutes (healthy) haproxy mtusi-lab3-haproxy-1 Up 12 minutes postgres mtusi-lab3-postgres-1 Up 11 minutes (healthy) redis mtusi-lab3-redis-1 Up 11 minutes (healthy) --- StartedAt до: /mtusi-lab3-postgres-1 2026-10-15T18:14:09.923334614Z /mtusi-lab3-redis-1 2026-10-15T18:13:39.438121274Z /mtusi-lab3-api-1 2026-10-15T18:20:38.061888309Z /mtusi-lab3-api-2 2026-10-15T18:20:38.216722318Z /mtusi-lab3-haproxy-1 2026-10-15T18:12:52.388753254Z python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080" Executing explicit persistence hook; hook output suppressed to avoid leaking secrets. PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence. --- контейнеры после: api mtusi-lab3-api-1 Up 5 seconds (healthy) api mtusi-lab3-api-2 Up 5 seconds (healthy) haproxy mtusi-lab3-haproxy-1 Up 8 seconds postgres mtusi-lab3-postgres-1 Up 8 seconds (healthy) redis mtusi-lab3-redis-1 Up 8 seconds (healthy) --- StartedAt после (все значения должны быть новее): /mtusi-lab3-postgres-1 2026-10-15T18:25:22.182545013Z /mtusi-lab3-redis-1 2026-10-15T18:25:22.245653432Z /mtusi-lab3-api-1 2026-10-15T18:25:25.078945419Z /mtusi-lab3-api-2 2026-10-15T18:25:25.059004849Z /mtusi-lab3-haproxy-1 2026-10-15T18:25:22.115352599Z --- содержимое restart.sh: #!/usr/bin/env bash # Restart hook for `make test-persistence ACTION_SCRIPT=scripts/restart.sh`. # Semantic and evidence notes: tests/README.md ("Проверка сохранности") and REPORT.md. set -euo pipefail compose=(docker compose --env-file .env) "${compose[@]}" restart postgres redis api haproxy "${compose[@]}" up -d --no-recreate --no-deps --wait postgres redis api haproxy