RFR: 8351382: New test containers/docker/TestMemoryWithSubgroups.java is failing [v2]
Severin Gehwolf
sgehwolf at openjdk.org
Mon Mar 17 10:38:52 UTC 2025
On Mon, 17 Mar 2025 10:18:16 GMT, Sergey Chernyshev <schernyshev at openjdk.org> wrote:
> > Test fails:
> > ```
> > [STDERR]
> > Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
> > Error: template: info:1:2: executing "info" at <.SecurityOptions>: can't evaluate field SecurityOptions in type *define.Info
> > ```
>
> Thanks @dholmes-ora for running the test! I understand the problem - the `info` format is from Podman while the command line is `docker`. I'll see what can be done.
This looks to be a test-setup issue. If no `docker` is installed, but `podman-docker` which installs a docker shim for `podman`, then the tests should specify running with podman instead? The tests already support this by specifying `-Djdk.test.container.command=podman`. So supporting this in this particular test seems a work-around at best.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23948#issuecomment-2729012711
More information about the hotspot-runtime-dev
mailing list