[jdk8u-dev] RFR: 8293540: [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts [v2]

Jonathan Dowland jdowland at openjdk.org
Mon Jan 23 11:29:46 UTC 2023


On Fri, 20 Jan 2023 11:10:53 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> jdk/test/jdk/internal/platform/cgroup/TestCgroupSubsystemFactory.java line 368:
>> 
>>> 366:         assertEquals("/", cpuSetInfo.getMountRoot());
>>> 367:         // Ensure controllers at /sys/fs/cgroup will be used
>>> 368:         String[] ctrlNames = new String[] { "memory", "cpu", "cpuacct", "blkio", "pids" };
>> 
>> The `pids` controller is not present in 8u ([JDK-8266490](https://bugs.openjdk.org/browse/JDK-8266490)). This results in a test failure (NPE). Please remove it.
>
> @jmtd This would also need fixing --^ :)

> The pids controller is not present in 8u ([JDK-8266490](https://bugs.openjdk.org/browse/JDK-8266490)). This results in a test failure (NPE). Please remove it.

Thanks for catching. Confirmed, removed, re-tested, pushed.

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

PR: https://git.openjdk.org/jdk8u-dev/pull/221


More information about the jdk8u-dev mailing list