Files
mtusi2026lab3/evidence/persistence.txt
T
2026-10-15 19:44:46 +03:00

27 lines
1.8 KiB
Plaintext

python student-tests/run_persistence.py
hook: scripts/restart.cmd
=== containers before
SERVICE CONTAINER STATE STARTED AT (UTC)
api 1c773748bc05 running (healthy) 2026-10-15T16:36:31.798
api aa3dac85e7ed running (healthy) 2026-10-15T16:36:08.417
lb f9c8bda9ea4c running (healthy) 2026-10-15T16:32:39.190
migrate 7420f3f1ddda exited 2026-10-15T16:32:47.434
postgres 5c16b9b684f2 running (healthy) 2026-10-15T16:35:06.670
valkey c74935587700 running (healthy) 2026-10-15T16:34:57.760
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
=== containers after (test took 19.6 s: hook + waiting for readiness + data checks)
SERVICE CONTAINER STATE STARTED AT (UTC)
api 1c773748bc05 running (healthy) 2026-10-15T16:36:52.431
api aa3dac85e7ed running (healthy) 2026-10-15T16:36:52.088
lb f9c8bda9ea4c running (healthy) 2026-10-15T16:36:56.814
migrate 7420f3f1ddda exited 2026-10-15T16:36:50.153
postgres 5c16b9b684f2 running (healthy) 2026-10-15T16:36:44.391
valkey c74935587700 running (healthy) 2026-10-15T16:36:44.221
api aa3dac85e7ed: same container, start time 16:36:08 -> 16:36:52
api 1c773748bc05: same container, start time 16:36:31 -> 16:36:52
lb f9c8bda9ea4c: same container, start time 16:32:39 -> 16:36:56
postgres 5c16b9b684f2: same container, start time 16:35:06 -> 16:36:44
valkey c74935587700: same container, start time 16:34:57 -> 16:36:44
PASS: api replicas, postgres, valkey and lb were restarted (same containers and volumes, new start time); data and the existing token survived