forked from mtusi2026/mtusi2026lab4
32 lines
2.2 KiB
Plaintext
32 lines
2.2 KiB
Plaintext
python student-tests/run_persistence.py
|
|
hook: scripts/restart.cmd
|
|
=== containers before
|
|
SERVICE CONTAINER STATE STARTED AT (UTC)
|
|
api 901d91ace549 running (healthy) 2026-10-22T14:05:30.621
|
|
api c0f257b4b378 running (healthy) 2026-10-22T14:05:52.897
|
|
lb 57f9ebc04460 running (healthy) 2026-10-22T14:01:26.528
|
|
migrate 51b3180c16d9 exited 2026-10-22T14:01:22.887
|
|
postgres b4b2a3cf061f running (healthy) 2026-10-22T13:58:38.541
|
|
s3 cf488bd53603 running (healthy) 2026-10-22T13:58:38.538
|
|
s3-init f596754a9e8b exited 2026-10-22T14:01:22.889
|
|
valkey d4851200ad55 running (healthy) 2026-10-22T13:58:38.539
|
|
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 53.7 s: hook + waiting for readiness + data checks)
|
|
SERVICE CONTAINER STATE STARTED AT (UTC)
|
|
api 901d91ace549 running (healthy) 2026-10-22T14:06:49.166
|
|
api c0f257b4b378 running (healthy) 2026-10-22T14:06:49.442
|
|
lb 57f9ebc04460 running (starting) 2026-10-22T14:06:53.419
|
|
migrate 51b3180c16d9 exited 2026-10-22T14:06:22.436
|
|
postgres b4b2a3cf061f running (healthy) 2026-10-22T14:06:06.682
|
|
s3 cf488bd53603 running (healthy) 2026-10-22T14:06:21.465
|
|
s3-init f596754a9e8b exited 2026-10-22T14:06:46.932
|
|
valkey d4851200ad55 running (healthy) 2026-10-22T14:06:06.574
|
|
api 901d91ace549: same container, start time 14:05:30 -> 14:06:49
|
|
api c0f257b4b378: same container, start time 14:05:52 -> 14:06:49
|
|
lb 57f9ebc04460: same container, start time 14:01:26 -> 14:06:53
|
|
postgres b4b2a3cf061f: same container, start time 13:58:38 -> 14:06:06
|
|
s3 cf488bd53603: same container, start time 13:58:38 -> 14:06:21
|
|
valkey d4851200ad55: same container, start time 13:58:38 -> 14:06:06
|
|
PASS: api replicas, postgres, valkey, s3 and lb were restarted (same containers and volumes, new start time); data, the attachment bytes and the existing token survived
|