forked from mtusi2026/mtusi2026lab5
- раздел «Внешний аудит»: замечание -> исправление -> доказательство, что сознательно не сделано - исправлены опровергнутые утверждения (draft и память, метаданные, лимиты) - evidence/ из полного прогона run_all.sh в чистом clone: 30 проверок, overall=0; before-fix/ — воспроизведения дефектов до исправления
14 lines
1.5 KiB
Plaintext
14 lines
1.5 KiB
Plaintext
# 2026-11-13T18:05:31Z python3 student-tests/worker_outage.py --output evidence/worker-outage.json
|
|
[ 1.48s] worker stopped {"running": []}
|
|
[ 2.45s] upload while worker is down {"http": 202, "attachment_id": "67a8fe5e-5c9d-4193-a09f-c2b3aa50962a", "status": "queued"}
|
|
[ 2.46s] metadata and content while queued {"status": "queued", "content": 409, "thumbnail": 409, "error_code": "conflict"}
|
|
[ 2.47s] messages while worker is down {"with_queued_attachment": true, "plain_message_id": "859feea3-e045-420b-906a-a2d71239abe6"}
|
|
[ 5.40s] job is durable in broker {"queue": {"messages": 1, "messages_ready": 1, "messages_unacknowledged": 0, "consumers": 0}, "outbox_published": true, "job_id": "4eb87124-ca0c-462b-a04d-09e558406474", "job_status": "queued"}
|
|
[ 14.16s] api restarted {"status": "queued"}
|
|
[ 22.35s] broker restarted with volume {"queue": {"messages": 1, "messages_ready": 1, "messages_unacknowledged": 0, "consumers": 0}, "status": "queued"}
|
|
[ 28.18s] worker started
|
|
[ 28.21s] ready after worker start {"variants": [["thumbnail", 256, 160], ["crop", 128, 128], ["optimized", 320, 200]], "original_sha256_ok": true, "thumbnail_bytes": 4679}
|
|
[ 29.98s] redelivery of the same job is a no-op {"events": ["enqueued", "claimed", "ready", "staging_deleted", "duplicate_ignored"], "invariants": {"variants": ["crop", "optimized", "thumbnail"], "variants_ok": true, "final_objects": 4, "final_objects_ok": true, "staging_left": false, "job_status": "ready", "attempt": 1}}
|
|
PASS: worker outage, api+broker restart, ready, duplicate delivery no-op
|
|
exit=0
|