Re: Add Dockerfile for OSS Scanner

From: Noah Misch <noah(at)leadboat(dot)com>
To: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add Dockerfile for OSS Scanner
Date: 2026-10-20 02:37:04
Message-ID: 20261020023704.f0.noahmisch@microsoft.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Oct 17, 2026 at 02:09:55PM -0400, Sehrope Sarkuni wrote:
> v2 builds with tools/check fine for me on the same box with the
> expected aio test failures.
>
> I did have one random other failure but it's not really the image.
> From subscription/023_twophase_stream:
>
> 2026-10-17 17:44:48.950 UTC startup[49516] FATAL: could not
> resize shared memory segment "/PostgreSQL.3189924516" to 1048576
> bytes: No space left on device
>
> Docker's default /dev/shm is 64 MB which ends up being too small for
> meson's default parallelism (nproc, so 16 on my test box). Running it
> with --shm-size=1g or default size with MESON_TESTTHREADS=4 fixes it.
>
> I think this is the type of thing an agent like Claude would figure out
> automatically and retry. But might want to add it to a comment so it
> knows about it in advance.

Thanks for testing. I decided not to add the /dev/shm note. This dockerfile
is not for running tests, so I'd rather not accumulate test troubleshooting
advice here. Pushed as ddd468c.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-10-20 02:45:17 Re: [PATCH] initdb: map Windows' new Canadian time zone names
Previous Message David Rowley 2026-10-20 02:31:01 Re: [PATCH] initdb: map Windows' new Canadian time zone names