eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 722 forks source link

jdk_container_0_FAILED jdk/internal/platform/docker/TestUseContainerSupport.java 'TEST PASSED!!!' missing from stdout/stderr #16602

Open JasonFengJ9 opened 1 year ago

JasonFengJ9 commented 1 year ago

Failure link

From an internal build(ub18-aarch64-1):

java version "17.0.6" 2023-01-17
IBM Semeru Runtime Certified Edition 17.0.6.0-rc1 (build 17.0.6+10)
Eclipse OpenJ9 VM 17.0.6.0-rc1 (build v0.36.0-release-e68fb241f, JRE 17 Linux aarch64-64-Bit Compressed References 20230117_316 (JIT enabled, AOT enabled)
OpenJ9   - e68fb241f
OMR      - f491bbf6f
JCL      - e248569a781 based on jdk-17.0.6+10)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

[2023-01-20T06:19:36.747Z] variation: NoOptions
[2023-01-20T06:19:36.747Z] JVM_OPTIONS:  

[2023-01-20T06:22:27.986Z] TEST: jdk/internal/platform/docker/TestUseContainerSupport.java

[2023-01-20T06:22:28.045Z]  stderr: []
[2023-01-20T06:22:28.045Z]  exitValue = 0
[2023-01-20T06:22:28.045Z] 
[2023-01-20T06:22:28.045Z] java.lang.RuntimeException: 'TEST PASSED!!!' missing from stdout/stderr 
[2023-01-20T06:22:28.045Z] 
[2023-01-20T06:22:28.045Z]  at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
[2023-01-20T06:22:28.045Z]  at TestUseContainerSupport.testUseContainerSupport(TestUseContainerSupport.java:71)
[2023-01-20T06:22:28.045Z]  at TestUseContainerSupport.main(TestUseContainerSupport.java:51)
[2023-01-20T06:22:28.045Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-01-20T06:22:28.045Z]  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2023-01-20T06:22:28.045Z]  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-01-20T06:22:28.045Z]  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2023-01-20T06:22:28.045Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2023-01-20T06:22:28.045Z]  at java.base/java.lang.Thread.run(Thread.java:857)
[2023-01-20T06:22:28.045Z] 
[2023-01-20T06:22:28.045Z] JavaTest Message: Test threw exception: java.lang.RuntimeException

[2023-01-20T06:22:47.656Z] jdk_container_0_FAILED

Similar issue

JasonFengJ9 commented 1 year ago

JDK8 aarch64_linux/ 0.36

[2023-01-23T17:54:23.906Z] STDERR:
[2023-01-23T17:54:23.906Z]  stdout: [-XX:-UseContainerSupport, but got Metrics.systemMetrics() == non-null
[2023-01-23T17:54:23.906Z] TEST FAILED!!!
[2023-01-23T17:54:23.906Z] ];
[2023-01-23T17:54:23.906Z]  stderr: []
[2023-01-23T17:54:23.907Z]  exitValue = 0
[2023-01-23T17:54:23.907Z] 
[2023-01-23T17:54:23.907Z] java.lang.RuntimeException: 'TEST PASSED!!!' missing from stdout/stderr 
[2023-01-23T17:54:23.907Z] 
[2023-01-23T17:54:23.907Z]  at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:150)
[2023-01-23T17:54:23.907Z]  at TestUseContainerSupport.testUseContainerSupport(TestUseContainerSupport.java:68)
[2023-01-23T17:54:23.907Z]  at TestUseContainerSupport.main(TestUseContainerSupport.java:49)
[2023-01-23T17:54:23.907Z]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-01-23T17:54:23.907Z]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-01-23T17:54:23.907Z]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-01-23T17:54:23.907Z]  at java.lang.reflect.Method.invoke(Method.java:498)
[2023-01-23T17:54:23.907Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2023-01-23T17:54:23.907Z]  at java.lang.Thread.run(Thread.java:826)
[2023-01-23T17:54:23.907Z] 
[2023-01-23T17:54:23.907Z] JavaTest Message: Test threw exception: java.lang.RuntimeException