# 2026-11-10 14:20:18 UTC | Недоступность S3 и восстановление | exit 0 | 47.3s $ python student-tests/s3_outage.py --base-url http://127.0.0.1:8080 --output evidence/s3_outage.json PASS baseline upload 202 (lab5) — 202 $ docker compose --env-file .env stop s3 PASS readiness stays 200 while S3 is down (S3 is not a readiness dependency) — 200 PASS text message 201 during S3 outage — 201 PASS history 200 during S3 outage — 200 PASS attachment metadata 200 (PostgreSQL only) — 200 PASS message referencing existing attachment 201 — 201 PASS upload #1 -> 503 unavailable — 503 unavailable in 5.06s PASS upload #1 failed fast (<= 15s) — 5.06s PASS upload #1 has Retry-After PASS upload #2 -> 503 unavailable — 503 unavailable in 5.33s PASS upload #2 failed fast (<= 15s) — 5.33s PASS upload #2 has Retry-After PASS download -> 503 during outage — 503 in 5.01s PASS download failed fast — 5.01s PASS session still valid — 200 $ docker compose --env-file .env start s3 $ C:\Users\mrend\AppData\Local\Programs\Python\Python312\python.exe scripts/ops.py wait-s3 PASS S3 read/write warm-up after start — 19.66s PASS old file downloads byte-for-byte after recovery — 200 0.02s PASS new upload 202 after recovery (same token, no API restart) — 202 PASS