Validate tRNS semantics and bind PLTE entry count to the IHDR bit depth so malformed PNGs are rejected with 415 instead of failing in the worker. Refuse replay of an older failed version while a newer pipeline job exists, preventing loss of the shared staging source, and retire version-stale queued jobs as superseded instead of republishing them forever.
16 lines
1.1 KiB
Plaintext
16 lines
1.1 KiB
Plaintext
# make test-faults 2026-10-30T22:43:58Z
|
|
env -u HTTP_PROXY -u HTTPS_PROXY -u ALL_PROXY -u http_proxy -u https_proxy -u all_proxy NO_PROXY=localhost,127.0.0.1,::1 no_proxy=localhost,127.0.0.1,::1 python3 student-tests/lab5_faults.py --base-url "http://localhost:8080"
|
|
permanent failure: failed/injected_failure, content 409, failed attachment not linkable, registry visible
|
|
replay: failed -> queued -> ready, one thumbnail
|
|
replay ready job: refused
|
|
replay older failed version while v2 queued: refused, state intact
|
|
v2 published after older replay refusal
|
|
replay of failed reprocess: queued projection restored, then ready at pipeline 2
|
|
transient exhaustion: attempts=5, retry_exhausted, four retries, DLQ message present
|
|
crash after first variant: redelivered, same three variants, attempts=2
|
|
crash after commit before ack: ready remains, redelivery is a no-op
|
|
crash after claim before side effect: requeued, attempts=2, ready
|
|
outbox gap: crash before publish recovered through the relay, outbox published, ready
|
|
lease expiry: paused worker, reaper requeued, stale attempt fenced, ready
|
|
PASS: lab5 level 4 fault injection
|