исправление

This commit is contained in:
2026-10-26 19:40:34 +03:00
parent a591243d80
commit aaab3ac8b2
37 changed files with 1749 additions and 389 deletions
+29 -29
View File
@@ -2,36 +2,36 @@ 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
api 48dc392933dc running (healthy) 2026-10-26T16:25:57.020
api c1b7e1ab5673 running (healthy) 2026-10-26T16:26:21.371
broker 9f909ed7ecea running (healthy) 2026-10-26T16:19:00.163
lb 8be67a2e86b7 running (healthy) 2026-10-26T16:15:42.154
migrate a5a9934b4d6b exited 2026-10-26T16:23:38.842
postgres d2bfd48385f1 running (healthy) 2026-10-26T16:15:17.840
s3 892c7ca290f2 running (healthy) 2026-10-26T16:24:57.683
s3-init deab1aa2b022 exited 2026-10-26T16:23:38.843
valkey 4e223cb9301e running (healthy) 2026-10-26T16:15:17.820
worker 292a36c54a41 running (healthy) 2026-10-26T16:23:41.416
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)
=== containers after (test took 49.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
api 48dc392933dc running (healthy) 2026-10-26T16:27:12.404
api c1b7e1ab5673 running (healthy) 2026-10-26T16:27:12.751
broker 9f909ed7ecea running (healthy) 2026-10-26T16:26:35.888
lb 8be67a2e86b7 running (healthy) 2026-10-26T16:27:16.490
migrate a5a9934b4d6b exited 2026-10-26T16:26:50.586
postgres d2bfd48385f1 running (healthy) 2026-10-26T16:26:34.837
s3 892c7ca290f2 running (healthy) 2026-10-26T16:26:49.628
s3-init deab1aa2b022 exited 2026-10-26T16:27:10.098
valkey 4e223cb9301e running (healthy) 2026-10-26T16:26:34.974
worker 292a36c54a41 running (healthy) 2026-10-26T16:27:12.399
api 48dc392933dc: same container, start time 16:25:57 -> 16:27:12
api c1b7e1ab5673: same container, start time 16:26:21 -> 16:27:12
broker 9f909ed7ecea: same container, start time 16:19:00 -> 16:26:35
lb 8be67a2e86b7: same container, start time 16:15:42 -> 16:27:16
postgres d2bfd48385f1: same container, start time 16:15:17 -> 16:26:34
s3 892c7ca290f2: same container, start time 16:24:57 -> 16:26:49
valkey 4e223cb9301e: same container, start time 16:15:17 -> 16:26:34
worker 292a36c54a41: same container, start time 16:23:41 -> 16:27:12
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