CI: the unit job's worker is killed for memory in the four-times-size Markdown cases #830

Closed
opened 2026-10-10 14:13:33 +00:00 by tiagoagueda · 0 comments
Owner

The unit job runs two pytest workers in a job container capped at 2 GB (forgejo-runner, --memory 2g). Each worker grows towards 1 GB over the suite, and the 160,000-character hostile Markdown cases of tests/security/test_markdown.py tipped one over: the kernel OOM-killed it (ouranos dmesg, 2026-10-10 13:58), xdist reported a crashed worker, and coverage fell under 92 % on runs #804, #810 and #816.

Decided 2026-10-10: mark those cases heavy, leave them out of the default run, and run pytest -m heavy -p no:xdist as a step of its own after the suite.

The unit job runs two pytest workers in a job container capped at 2 GB (`forgejo-runner`, `--memory 2g`). Each worker grows towards 1 GB over the suite, and the 160,000-character hostile Markdown cases of tests/security/test_markdown.py tipped one over: the kernel OOM-killed it (ouranos dmesg, 2026-10-10 13:58), xdist reported a crashed worker, and coverage fell under 92 % on runs #804, #810 and #816. Decided 2026-10-10: mark those cases `heavy`, leave them out of the default run, and run `pytest -m heavy -p no:xdist` as a step of its own after the suite.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo#830
No description provided.