Skip to content

Skip bz2 GH-20807 test when less than 13 GiB of memory is available - #23783

Open
bukka wants to merge 1 commit into
php:PHP-8.4from
bukka:bz2_gh20807_mem_gate
Open

bukka wants to merge 1 commit into
php:PHP-8.4from
bukka:bz2_gh20807_mem_gate

Conversation

@bukka

@bukka bukka commented Sep 20, 2026

Copy link
Copy Markdown
Member

Skip bz2 GH-20807 test when less than 13 GiB of memory is available

The decompressed output of this test peaks at more than 12 GiB of RSS.
On smaller machines, such as the 7 GB GitHub-hosted runners used for
private repositories, this exhausts the whole VM and the OOM killer takes
the test runner down with it, so the job dies with a runner shutdown
signal instead of a test failure.

Gate the test on MemAvailable from /proc/meminfo like the other
resource-heavy tests gate on memory, so it keeps running on the 16 GB
public runners and skips itself elsewhere.

The decompressed output of this test peaks at more than 12 GiB of RSS.
On smaller machines, such as the 7 GB GitHub-hosted runners used for
private repositories, this exhausts the whole VM and the OOM killer takes
the test runner down with it, so the job dies with a runner shutdown
signal instead of a test failure.

Gate the test on MemAvailable from /proc/meminfo like the other
resource-heavy tests gate on memory, so it keeps running on the 16 GB
public runners and skips itself elsewhere.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants