The following test failed in the JDK21 CI:
gtest/GTestWrapper.java
Here's a snippet from the log file:
[==========] 999 tests from 173 test suites ran. (73178 ms total)
[ PASSED ] 997 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] NMT.location_printing_cheap_dead_2_vm
[ FAILED ] NMT.location_printing_cheap_dead_5_vm
2 FAILED TESTS
YOU HAVE 8 DISABLED TESTS
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Java HotSpot(TM) 64-Bit Server VM warning: c1: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
Java HotSpot(TM) 64-Bit Server VM warning: c2: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
ERROR: RUN_ALL_TESTS() failed. Error 1
[2023-04-19T07:53:48.460685510Z] Waiting for completion for process 380425
[2023-04-19T07:53:48.460934149Z] Waiting for completion finished for process 380425
----------System.err:(10/633)----------
java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [NMT::location_printing_cheap_dead_2_vm, NMT::location_printing_cheap_dead_5_vm]
at GTestWrapper.main(GTestWrapper.java:98)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
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:1592)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [NMT::location_printing_cheap_dead_2_vm, NMT::location_printing_cheap_dead_5_vm]
gtest/GTestWrapper.java
Here's a snippet from the log file:
[==========] 999 tests from 173 test suites ran. (73178 ms total)
[ PASSED ] 997 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] NMT.location_printing_cheap_dead_2_vm
[ FAILED ] NMT.location_printing_cheap_dead_5_vm
2 FAILED TESTS
YOU HAVE 8 DISABLED TESTS
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Warning: asynclog is OFF.
Java HotSpot(TM) 64-Bit Server VM warning: c1: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
Java HotSpot(TM) 64-Bit Server VM warning: c2: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
ERROR: RUN_ALL_TESTS() failed. Error 1
[2023-04-19T07:53:48.460685510Z] Waiting for completion for process 380425
[2023-04-19T07:53:48.460934149Z] Waiting for completion finished for process 380425
----------System.err:(10/633)----------
java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [NMT::location_printing_cheap_dead_2_vm, NMT::location_printing_cheap_dead_5_vm]
at GTestWrapper.main(GTestWrapper.java:98)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
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:1592)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [NMT::location_printing_cheap_dead_2_vm, NMT::location_printing_cheap_dead_5_vm]
- relates to
-
JDK-8305414 gtest/NMTGtests.java is failing various sub-tests
-
- Closed
-
-
JDK-8304815 Use NMT for more precise hs_err location printing
-
- Resolved
-
-
JDK-8306654 Disable NMT location_printing_cheap_dead_xx tests again
-
- Resolved
-