Duplicate :
|
|
Relates :
|
|
Relates :
|
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.
|