From 9d8b23d5dce9cf3d3c2156237b2d78839804fa31 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 16 Mar 2026 16:12:37 +0000 Subject: [PATCH] ci: fix podman pids limit for thread-bomb test The --pids-limit=0 value does not disable the pids limit in current podman versions. The podman documentation specifies that -1 means unlimited. With --pids-limit=0, the thread-bomb test fails on the second run (after restore) because each of the 1024 threads tries to create a new thread, exceeding the container's pids limit and causing pthread_create() to return EAGAIN. Change --pids-limit=0 to --pids-limit=-1 to properly disable the pids cgroup limit. Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Adrian Reber --- scripts/ci/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/Makefile b/scripts/ci/Makefile index 6ec480e6c..e286bf5f8 100644 --- a/scripts/ci/Makefile +++ b/scripts/ci/Makefile @@ -41,7 +41,7 @@ endif ifeq ($(CONTAINER_RUNTIME),podman) # Podman limits the number of processes in a container using cgroups. # Disable it as it breaks the thread-bomb test - CONTAINER_OPTS += --pids-limit=0 + CONTAINER_OPTS += --pids-limit=-1 endif export ZDTM_OPTS