RFR: 8273216: JCMD does not work across container boundaries with Podman
Severin Gehwolf
sgehwolf at openjdk.java.net
Wed Sep 29 10:09:12 UTC 2021
On Tue, 28 Sep 2021 21:35:30 GMT, Mikhailo Seledtsov <mseledtsov 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?
@mseledts Thanks for the review and tests. I've now added a version check for podman. I've run this with 3.3.1 and it works fine in rootless mode. It should start to work for you once you upgrade. Thoughts?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5740
More information about the hotspot-runtime-dev
mailing list