Details
-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 18
-
b14
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8274712 | 17.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
Description
$ CONF=linux-x86_64-server-fastdebug make run-test TEST=containers/docker/TestJFREvents.java
STDERR:
stdout: [];
stderr: [WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
]
exitValue = 137
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at TestJFREvents.testContainerInfo(TestJFREvents.java:110)
at TestJFREvents.containerInfoTestCase(TestJFREvents.java:89)
at TestJFREvents.main(TestJFREvents.java:74)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
exitValue = 137 suggests the container was killed by OOM killer. The failing configuration is with 64m, it is apparently too low.
STDERR:
stdout: [];
stderr: [WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
]
exitValue = 137
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at TestJFREvents.testContainerInfo(TestJFREvents.java:110)
at TestJFREvents.containerInfoTestCase(TestJFREvents.java:89)
at TestJFREvents.main(TestJFREvents.java:74)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
exitValue = 137 suggests the container was killed by OOM killer. The failing configuration is with 64m, it is apparently too low.
Attachments
Issue Links
- backported by
-
JDK-8274712 Some containers/docker/TestJFREvents.java configs are running out of memory
- Resolved
- relates to
-
JDK-8203359 Container level resources events
- Resolved
-
JDK-8273314 Add tier4 test groups
- Resolved
- links to
-
Commit openjdk/jdk17u/2a4b0425
-
Commit openjdk/jdk/7d24a334
-
Review openjdk/jdk17u/125
-
Review openjdk/jdk/5359
(2 links to)