Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8224502

[TESTBUG] JDK docker test TestSystemMetrics.java fails with access issues and OOM

    Details

    • Resolved In Build:
      b27

      Backports

        Description

        Test: jdk/internal/platform/docker/TestSystemMetrics.java
        Failure:
        =====================
         stdout: [Warning - cpuacct:cpuacct.usage, expected [443835489], got [704578427]
        Unable to open : /sys/fs/cgroup/cpuset/cpuset.memory_pressure_enabled
        Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at jdk.test.lib.containers.cgroup.MetricsTester.testMemoryUsage(MetricsTester.java:563)
        at jdk.test.lib.containers.cgroup.MetricsTester.main(MetricsTester.java:594)
        ];
         stderr: []
         exitValue = 1

        java.lang.RuntimeException: Expected to get exit value of [0]

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:430)
        at TestSystemMetrics.main(TestSystemMetrics.java:56)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:830)
        =====================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bobv Bob Vandette
                  Reporter:
                  mseledtsov Mikhailo Seledtsov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: