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

containers/docker/TestMemoryWithCgroupV1.java fails on linux ppc64le machine with missing Memory and Swap Limit output

    XMLWordPrintable

Details

    • b05
    • ppc
    • linux

    Backports

      Description

        On a SLES12 Linux ppc64le machine , the test fails with

         stderr: [WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
        ]
         exitValue = 0

        java.lang.RuntimeException: 'Memory and Swap Limit is: 157286400' missing from stdout/stderr

        at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
        at TestMemoryWithCgroupV1.testMemoryLimitWithSwappiness(TestMemoryWithCgroupV1.java:84)
        at TestMemoryWithCgroupV1.main(TestMemoryWithCgroupV1.java:61)
        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:1596)


        Could this be related to "kernel does not support swap limit capabilities",
        we've seen similar issues on other Linux ppc64 lle machines in some tests before?

        Attachments

          Issue Links

            Activity

              People

                mbaesken Matthias Baesken
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: