# 2026-11-21T15:30:34Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
$ python3 student-tests/test_storage_failures.py
## object storage failures (http://127.0.0.1:8080)
PASS bucket is private outside API: anonymous GET/LIST/PUT denied, API key limited   3.88s  anon GET 403; s3-check 6/6 PASS
PASS S3 down: upload/download 503 fast, text messages and readiness keep working  29.65s  503 in 0.01s/0.01s; after start: reads 4.3s, writes 23.5s
PASS interrupted upload: no object and no intent left behind          7.94s  objects 2, intents 1 — unchanged
PASS uploads rejected at the very end (truncated PNG) leave no staging object (race regression)   7.29s  30 × 415 at finish(); staging objects 2 → 2
PASS crash between staging PUT and DB COMMIT: intent recorded, janitor removes object after grace  24.42s  orphan staging/e876e2a001f6… removed 13.7s after crash (grace 10 s)
summary: 5 passed, 0 failed
exit=0
