41 lines
2.3 KiB
Plaintext
41 lines
2.3 KiB
Plaintext
# persistence: python tests/resilience.py --mode persistence --action-script scripts/restart.cmd --base-url http://127.0.0.1:8080
|
|
# date: 2026-11-12T13:12:55Z; fresh volumes; host: Windows 10, Docker Desktop 27.2.0, VM 12 CPU / 1.9 GiB; api 2 x (0.5 CPU, 320M)
|
|
|
|
$ docker compose ps -a (before)
|
|
NAME STATUS
|
|
grigoriev-lab3-api-1 Up 32 seconds (healthy)
|
|
grigoriev-lab3-api-2 Up 31 seconds (healthy)
|
|
grigoriev-lab3-lb-1 Up 24 seconds (healthy)
|
|
grigoriev-lab3-migrate-1 Exited (0) 32 seconds ago
|
|
grigoriev-lab3-postgres-1 Up 41 seconds (healthy)
|
|
grigoriev-lab3-valkey-1 Up 41 seconds (healthy)
|
|
|
|
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
|
|
$ docker compose ps -a (after)
|
|
NAME STATUS
|
|
grigoriev-lab3-api-1 Up 8 seconds (healthy)
|
|
grigoriev-lab3-api-2 Up 7 seconds (healthy)
|
|
grigoriev-lab3-lb-1 Up 49 seconds (healthy)
|
|
grigoriev-lab3-migrate-1 Exited (0) 8 seconds ago
|
|
grigoriev-lab3-postgres-1 Up 18 seconds (healthy)
|
|
grigoriev-lab3-valkey-1 Up 18 seconds (healthy)
|
|
|
|
valkey-1 | 7:M 12 Nov 2026 13:13:02.670 * User requested shutdown...
|
|
postgres-1 | 2026-11-12 13:13:02.685 UTC [1] LOG: database system is shut down
|
|
postgres-1 | 2026-11-12 13:13:03.428 UTC [29] LOG: database system was shut down at 2026-11-12 13:13:02 UTC
|
|
postgres-1 | 2026-11-12 13:13:03.439 UTC [1] LOG: database system is ready to accept connections
|
|
api-2 | 2026-11-12 13:12:58,240 INFO messenger: signal 15: readiness off, draining for 3.0s
|
|
api-1 | 2026-11-12 13:12:58,241 INFO messenger: signal 15: readiness off, draining for 3.0s
|
|
valkey-1 | 7:M 12 Nov 2026 13:13:03.287 * Ready to accept connections tcp
|
|
api-2 | 2026-11-12 13:13:01,365 INFO messenger: application stopping
|
|
api-2 | 2026-11-12 13:13:18,778 INFO uvicorn.error: Waiting for application startup.
|
|
api-1 | 2026-11-12 13:13:01,430 INFO messenger: application stopping
|
|
api-2 | 2026-11-12 13:13:18,782 INFO messenger: application started
|
|
api-1 | 2026-11-12 13:13:18,757 INFO uvicorn.error: Waiting for application startup.
|
|
api-1 | 2026-11-12 13:13:18,759 INFO messenger: application started
|
|
|
|
$ docker volume ls
|
|
grigoriev-lab3_pgdata
|