Files
mtusi2026lab7/evidence/jobs-retry.txt
T

16 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# jobs-retry: lab5: backoff+jitter, retry_exhausted, replay, permanent errors, DLQ
# date: 2026-11-07 19:36:41, commit: 20afc2c + uncommitted changes
# command: python.exe student-tests/test_jobs.py retry exhausted-replay permanent dlq
# exit code: 0, 78.5 s
--- retry: Временные ошибки S3: backoff с jitter, затем ready; задержки видны в журнале.
2 x storage_unavailable -> retries after 1.70 s and 2.50 s (equal jitter: 1..2 s, 2..4 s), attempt 3 ready
--- exhausted-replay: Исчерпание попыток -> failed/retry_exhausted, реестр failed, явный replay; replay ready — отказ.
5 temporary errors -> failed/retry_exhausted (public error_code), content 409, attach 409, listed by ops.py failed (replayable)
ops replay -> same job_id 3d109dba-1036-482a-a6fb-8116c7894b6d attempt 6 ready; second replay refused: "job is ready, replay is only for failed jobs"
--- permanent: Постоянная ошибка (битое изображение в worker) -> failed сразу, без повторов.
invalid image in the worker -> failed/invalid_image at attempt 1, no retry (permanent error)
--- dlq: Невалидные сообщения и сообщения о неизвестной job -> DLQ; dlq-replay их не исполняет.
schema-invalid message and unknown job_id -> reject -> DLQ (4 message(s)); dlq-replay kept them: ['unknown job', 'unknown job']
4 passed, 0 failed