Skip to content

Commit cc2c173

Browse files
yury-sclaude
andcommitted
test_docker: set --shm-size=2g
Without --ipc=host (which was dropped in the previous commit) the container falls back to Docker's default 64 MB /dev/shm. That is well-known to cause probabilistic chromium crashes under load because the renderer/browser shared-memory regions live there. Reproduced this locally: the unified-flag run without --shm-size hit 7 SIGSEGV crashes across the suite (Errors: 5, Flakes: 2 over 1688 tests). The crash signature is uniform: kernel-originated NULL deref ("Received signal 11 SI_KERNEL000000000000"). playwright-browsers is presumably less affected because its tests don't put the same shm pressure on chrome-headless-shell, but we shouldn't rely on that. 2 GiB matches what most playwright distributions ship with. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ed1b6a3 commit cc2c173

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/test_docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
--platform linux/$ARCH \
4545
--user=pwuser \
4646
--workdir /home/pwuser \
47+
--shm-size=2g \
4748
-e CI \
4849
-e PW_MAX_RETRIES \
4950
-d -t \

0 commit comments

Comments
 (0)