jdk/internal/platform/docker/TestSystemMetrics.java fails on Ubuntu

XMLWordPrintable

    • b22
    • generic
    • linux

        The tests runs into these errors, could it be that it does not align well to the machine setup ?

         stdout: [WARNING: java.io.tmpdir directory does not exist
        inContainer = true
        Exception in thread "main" java.lang.RuntimeException: Test failed for - unified:io.stat->rios/wios: , expected [8], got [22]
        at jdk.test.lib.containers.cgroup.CgroupMetricsTester.fail(CgroupMetricsTester.java:71)
        at jdk.test.lib.containers.cgroup.MetricsTesterCgroupV2.fail(MetricsTesterCgroupV2.java:147)
        at jdk.test.lib.containers.cgroup.MetricsTesterCgroupV2.testIOStat(MetricsTesterCgroupV2.java:451)
        at jdk.test.lib.containers.cgroup.MetricsTesterCgroupV2.testMisc(MetricsTesterCgroupV2.java:443)
        at jdk.test.lib.containers.cgroup.MetricsTester.testAll(MetricsTester.java:71)
        at jdk.test.lib.containers.cgroup.MetricsTester.main(MetricsTester.java:89)
        ];
         stderr: []
         exitValue = 1

        java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
        at TestSystemMetrics.main(TestSystemMetrics.java:59)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
        at java.base/java.lang.Thread.run(Thread.java:1583)

              Assignee:
              Casper Norrbin
              Reporter:
              Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: