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

[TESTBUG] runtime/containers/docker/TestMemoryAwareness.java test fails on SLES12

    XMLWordPrintable

Details

    • b13
    • generic
    • linux

    Backports

      Description

        The docker related test
        runtime/containers/docker/TestMemoryAwareness.java
        fails on SLES12 with the following exception :

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

        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
        at TestMemoryAwareness.testOOM(TestMemoryAwareness.java:106)
        at TestMemoryAwareness.main(TestMemoryAwareness.java:63)
        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:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:834)

        Some discussion about the issue suggested that additionally setting —memory-swappiness=0 in the test should solve the issue observed.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: