лр7: Docker-прогон, evidence, исправления

This commit is contained in:
kalibr456
2026-11-07 20:17:11 +03:00
parent 20afc2c790
commit cb38fd5231
249 changed files with 114500 additions and 82 deletions
+11
View File
@@ -0,0 +1,11 @@
# jobs-limits: lab5: worker limits - bytes, pixels, memory (RLIMIT_AS), time (JOB_TIMEOUT_SECONDS)
# date: 2026-11-07 19:31:20, commit: 20afc2c + uncommitted changes
# command: python.exe student-tests/test_jobs.py limits
# exit code: 0, 74.8 s
--- limits: Лимиты: bytes и пиксели на API; память/пиксели/время процесса обработки на worker.
10 MiB + 8 bytes -> 413 before any job is created
imaging.py on 8000x5000 PNG: exit 0, peak RSS 225.8 MiB (RLIMIT_AS 512 MiB); same file with MAX_IMAGE_PIXELS=10M -> exit 4 (image_too_large)
memory bomb in the imaging process -> failed/resource_limit after attempt 1; worker itself survived
imaging hang -> killed after 60 s (processing_timeout, temporary), lease renewed meanwhile (no lease_expired), attempt 2 ready after 63 s
1 passed, 0 failed