[jdk21u-dev] RFR: 8343191: Cgroup v1 subsystem fails to set subsystem path
duke
duke at openjdk.org
Wed Oct 8 04:53:14 UTC 2025
On Mon, 29 Sep 2025 19:38:16 GMT, Sergey Chernyshev <schernyshev at openjdk.org> wrote:
> This is a clean backport of JDK-8343191 except for the only difference is in the copyright header in cgroupV1Subsystem_linux.cpp
>
> JDK-8343191 has immediate follow up fixes:
>
> 1. JDK-8351382: New test containers/docker/TestMemoryWithSubgroups.java is failing
>
> The newly added test failed in rootless docker/podman setups
> PR: #2279
>
> 2. JDK-8352926: New test TestDockerMemoryMetricsSubgroup.java fails
> 3. JDK-8360533: ContainerRuntimeVersionTestUtils fromVersionString fails with some docker versions
>
> The test failed in docker versions < 20.10 and podman < 1.5 that don't support `--cgroupns` switch. 8360533 is the direct follow up of 8352926.
> PR: #2280
>
> 4. 8354475: TestDockerMemoryMetricsSubgroup.java fails with exitValue = 1
>
> Test failed in rootless docker/podman, similar to 8351382.
> PR: #2282
>
> The following test:
> test/hotspot/jtreg/containers/docker/TestMemoryWithSubgroups.java
>
> is failing on newer Linux kernels (6.14) in Ubuntu 24, because 'required' cgroup controllers are not mounted. It is unrelated to this fix. The failure can be fixed separately for newer kernels with JDK-8347811/JDK-8349988 that is currently in the LTS release (25), it should be fine for 21.0.10. The fix works for both Cgroup v1 & v2 hosts.
>
> There are more test failures in newer kernels in
>
> test/hotspot/jtreg/containers/
> test/jdk/jdk/internal/platform/
>
> they are not related to this backport and its follow ups.
>
> In kernel 6.11 there are 2 failed tests,
>
> test/jdk/jdk/internal/platform/docker/TestPidsLimit.java
> test/hotspot/jtreg/containers/docker/TestPid.java
>
> the failures are not related to this backport.
@sercher
Your change (at version 3bb85a3f614eb97a770496f193f692da9564f4d7) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2278#issuecomment-3379558863
More information about the jdk-updates-dev
mailing list