[jdk11u-dev] RFR: 8347129: cpuset cgroups controller is required for no good reason
Voznia Anton
duke at openjdk.org
Fri Oct 31 15:20:45 UTC 2025
Hi all,
Clean backport of JDK-8347129
Ran test locally on Fedora 43 arm, under `test/hotspot/jtreg/containers/`
Without the fix:
containers/cgroup/CgroupSubsystemFactory.java Passed. Execution successful
containers/cgroup/PlainRead.java Passed. Execution successful
containers/docker/DockerBasicTest.java Passed. Execution successful
containers/docker/ShareTmpDir.java Passed. Execution successful
containers/docker/TestCPUAwareness.java Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'active_processor_count.*1' missing from stdout/stderr
containers/docker/TestCPUSets.java Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: assertTrue: expected true, was false
containers/docker/TestJFREvents.java Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'totalSize = 209715200' missing from stdout/stderr
containers/docker/TestJFRNetworkEvents.java Passed. Execution successful
containers/docker/TestJcmdWithSideCar.java Passed. Execution successful
containers/docker/TestMemoryAwareness.java Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Memory Limit is:.*104857600' missing from stdout/stderr
containers/docker/TestMemoryWithCgroupV1.java Passed. Execution successful
containers/docker/TestMisc.java Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'CheckContainerized: Running inside a container' missing from stdout/stderr
containers/docker/TestPids.java Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: assertTrue: expected true, was false
With the fix:
containers/cgroup/CgroupSubsystemFactory.java Passed. Execution successful
containers/cgroup/PlainRead.java Passed. Execution successful
containers/docker/DockerBasicTest.java Passed. Execution successful
containers/docker/ShareTmpDir.java Passed. Execution successful
containers/docker/TestCPUAwareness.java Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
containers/docker/TestCPUSets.java Passed. Execution successful
containers/docker/TestJFREvents.java Passed. Execution successful
containers/docker/TestJFRNetworkEvents.java Passed. Execution successful
containers/docker/TestJcmdWithSideCar.java Passed. Execution successful
containers/docker/TestMemoryAwareness.java Passed. Execution successful
containers/docker/TestMemoryWithCgroupV1.java Passed. Execution successful
containers/docker/TestMisc.java Passed. Execution successful
containers/docker/TestPids.java Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Limit value 9366 is not accepted as unlimited, log line was [0.036s][trace][os,container] Maximum number of tasks is: 9366
Test `containers/docker/TestCPUAwareness.java` fails because of JDK-8282684.
I also encountered this issue In JDK17.
Test `containers/docker/TestPids.java` fails in JDK21 and JDK17 as well where the fix persists already.
GHA Sanity Checks passed
-------------
Commit messages:
- 8347129: cpuset cgroups controller is required for no good reason
Changes: https://git.openjdk.org/jdk11u-dev/pull/3109/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3109&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8347129
Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/3109.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3109/head:pull/3109
PR: https://git.openjdk.org/jdk11u-dev/pull/3109
More information about the jdk-updates-dev
mailing list