Files
mtusi2026lab7/evidence/test-imgproc.txt

15 lines
1.2 KiB
Plaintext
Raw Permalink 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.
# 2026-11-22T19:20:49Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
$ dc run --rm --no-deps -T -v /home/claude/work7/mtusi2026lab7/student-tests:/app/student-tests:ro --entrypoint python worker student-tests/test_imgproc.py
Container mtusi-lab7-worker-run-d20b9d82d614 Creating
Container mtusi-lab7-worker-run-d20b9d82d614 Created
PASS fixture 320×200 → thumbnail 256×160, crop 128×128, optimized WebP 320×200 0.72s
PASS rounding down and minimum 1 px: 3000×10 → 256×1, 1280×4 0.22s
PASS EXIF orientation 6 applied (400×200 stored → 128×256); orientation tag not copied 0.30s
PASS alpha composited on white for JPEG variants; WebP keeps alpha 0.39s
PASS metadata removed: EXIF/XMP/ICC of the source are not in any variant 0.31s
PASS deterministic output (same bytes on re-run) — basis of idempotent effect; v2 differs 0.96s
PASS limits: pixels by header (413-class), memory (RLIMIT_AS), undecodable → permanent 1.51s too_large / resource_limit / invalid_image
PASS worker wall-clock timeout kills the subprocess → transient (retry), not a hang 0.54s killed after 0.05s; undecodable → Permanent(invalid_image)
summary: 8 passed, 0 failed
exit=0