RFR: 8273216: JCMD does not work across container boundaries with Podman

Mikhailo Seledtsov mseledtsov at openjdk.java.net
Tue Sep 28 21:38:30 UTC 2021


On Tue, 28 Sep 2021 16:05:15 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Please review this test fix so as to make it work with podman too. I've tested this with podman 3.3.1 when running as regular user and when running as root. Also tested it with docker on cgroups v1 with root. I don't know how to do rootless docker testing.
> 
> Thoughts?

Also, I checked a Podman version on our test systems: it is earlier/below 3.3.1. Perhaps the conditional guard in the test should check for that as well, and if version is below 3.3.1, we should check if user is root, and throw SkippedException if not?

-------------

PR: https://git.openjdk.java.net/jdk/pull/5740


More information about the hotspot-runtime-dev mailing list