The following test failed in the JDK19 CI:
jdk/internal/platform/cgroup/TestCgroupMetrics.java
Here's a snippet from the log file:
#section:main
----------messages:(6/232)----------
command: main TestCgroupMetrics
reason: User specified action: run main TestCgroupMetrics
Mode: agentvm
Agent id: 4
Additional exports to unnamed modules from @modules: java.base/jdk.internal.platform
elapsed time (seconds): 1.709
----------configuration:(17/2159)----------
<snip>
----------System.err:(14/960)----------
java.lang.RuntimeException: Test failed for - memory:getMemoryUsage, expected [23031517184], got [22767202304]
at jdk.test.lib.containers.cgroup.CgroupMetricsTester.fail(CgroupMetricsTester.java:71)
at jdk.test.lib.containers.cgroup.MetricsTesterCgroupV1.fail(MetricsTesterCgroupV1.java:188)
at jdk.test.lib.containers.cgroup.MetricsTesterCgroupV1.testMemoryUsage(MetricsTesterCgroupV1.java:555)
at jdk.test.lib.containers.cgroup.MetricsTester.testAll(MetricsTester.java:62)
at TestCgroupMetrics.main(TestCgroupMetrics.java:47)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed for - memory:getMemoryUsage, expected [23031517184], got [22767202304]
A similar failure in this test was previously resolved:
JDK-8229284 [TESTBUG] jdk/internal/platform/cgroup/TestCgroupMetrics.java fails for - memory:getMemoryUsage