[jdk8u-dev] RFR: 8292083: Detected container memory limit may exceed physical machine memory
Severin Gehwolf
sgehwolf at openjdk.org
Wed Nov 16 17:09:07 UTC 2022
On Wed, 16 Nov 2022 16:22:28 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:
> The test runs in a `oraclelinux:7.6` container which has glibc 2.17, versus my build machine which has 2.33, so I can't run it as-is. I'd previously aliased the name `oraclelinux:7.6` to something with a matching ABI (an Ubuntu image iirc) which explains the discrepancy here.
Ugh. I'd recommend running tests with ` -Djdk.test.docker.image.name=<base-image>` and `-Djdk.test.docker.image.version=<image-version>` that matches the JDK build you've done. For example on F37 I use `-Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=37`
I'm surprised this works for you at all ;-)
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/180
More information about the jdk8u-dev
mailing list