forked from mtusi2026/mtusi2026lab5
38 lines
2.6 KiB
Plaintext
38 lines
2.6 KiB
Plaintext
python student-tests/run_persistence.py
|
|
hook: scripts/restart.cmd
|
|
=== containers before
|
|
SERVICE CONTAINER STATE STARTED AT (UTC)
|
|
api b0db3e40abfe running (healthy) 2026-10-25T18:30:40.428
|
|
api ef44b0d4c0a1 running (healthy) 2026-10-25T18:30:14.430
|
|
broker 9f909ed7ecea running (healthy) 2026-10-25T18:23:53.670
|
|
lb 8be67a2e86b7 running (healthy) 2026-10-25T18:20:04.043
|
|
migrate e6c2c825d38d exited 2026-10-25T18:28:07.167
|
|
postgres d2bfd48385f1 running (healthy) 2026-10-25T18:19:54.204
|
|
s3 892c7ca290f2 running (healthy) 2026-10-25T18:29:00.995
|
|
s3-init 08c2e7925d67 exited 2026-10-25T18:28:07.169
|
|
valkey 4e223cb9301e running (healthy) 2026-10-25T18:19:54.202
|
|
worker d9eced386d93 running (healthy) 2026-10-25T18:28:09.870
|
|
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 44.6 s: hook + waiting for readiness + data checks)
|
|
SERVICE CONTAINER STATE STARTED AT (UTC)
|
|
api b0db3e40abfe running (healthy) 2026-10-25T18:31:28.449
|
|
api ef44b0d4c0a1 running (healthy) 2026-10-25T18:31:28.805
|
|
broker 9f909ed7ecea running (healthy) 2026-10-25T18:30:56.986
|
|
lb 8be67a2e86b7 running (healthy) 2026-10-25T18:31:31.925
|
|
migrate e6c2c825d38d exited 2026-10-25T18:31:11.567
|
|
postgres d2bfd48385f1 running (healthy) 2026-10-25T18:30:55.983
|
|
s3 892c7ca290f2 running (healthy) 2026-10-25T18:31:10.564
|
|
s3-init 08c2e7925d67 exited 2026-10-25T18:31:26.062
|
|
valkey 4e223cb9301e running (healthy) 2026-10-25T18:30:56.073
|
|
worker d9eced386d93 running (healthy) 2026-10-25T18:31:28.448
|
|
api ef44b0d4c0a1: same container, start time 18:30:14 -> 18:31:28
|
|
api b0db3e40abfe: same container, start time 18:30:40 -> 18:31:28
|
|
broker 9f909ed7ecea: same container, start time 18:23:53 -> 18:30:56
|
|
lb 8be67a2e86b7: same container, start time 18:20:04 -> 18:31:31
|
|
postgres d2bfd48385f1: same container, start time 18:19:54 -> 18:30:55
|
|
s3 892c7ca290f2: same container, start time 18:29:00 -> 18:31:10
|
|
valkey 4e223cb9301e: same container, start time 18:19:54 -> 18:30:56
|
|
worker d9eced386d93: same container, start time 18:28:09 -> 18:31:28
|
|
PASS: api replicas, worker, postgres, valkey, s3, broker and lb were restarted (same containers and volumes, new start time); data, the attachment bytes and the existing token survived
|