The following test failed 4 sub-tests in the JDK21 CI:
gtest/NMTGtests.java#nmt-summary
This failure started after the integration of:
JDK-8304815 Use NMT for more precise hs_err location printing
and the failing sub-tests were added byJDK-8304815.
Here's a snippet from the log file:
[ RUN ] NMT.location_printing_cheap_dead_1_vm
/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S14089/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df1c4042-c8aa-42f5-b049-5ce96b903557/runs/529764ba-a571-4b3b-9aa8-760bf25d9301/workspace/open/test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp:42: Failure
Expected equality of these values:
b
Which is: false
expected_return_code
Which is: true
[ FAILED ] NMT.location_printing_cheap_dead_1_vm (0 ms)
[ RUN ] NMT.location_printing_cheap_dead_2_vm
/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S14089/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df1c4042-c8aa-42f5-b049-5ce96b903557/runs/529764ba-a571-4b3b-9aa8-760bf25d9301/workspace/open/test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp:42: Failure
Expected equality of these values:
b
Which is: false
expected_return_code
Which is: true
[ FAILED ] NMT.location_printing_cheap_dead_2_vm (0 ms)
[ RUN ] NMT.location_printing_cheap_dead_3_vm
/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S14089/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df1c4042-c8aa-42f5-b049-5ce96b903557/runs/529764ba-a571-4b3b-9aa8-760bf25d9301/workspace/open/test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp:42: Failure
Expected equality of these values:
b
Which is: false
expected_return_code
Which is: true
[ FAILED ] NMT.location_printing_cheap_dead_3_vm (0 ms)
[ RUN ] NMT.location_printing_cheap_dead_4_vm
/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S14089/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df1c4042-c8aa-42f5-b049-5ce96b903557/runs/529764ba-a571-4b3b-9aa8-760bf25d9301/workspace/open/test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp:42: Failure
Expected equality of these values:
b
Which is: false
expected_return_code
Which is: true
[ FAILED ] NMT.location_printing_cheap_dead_4_vm (0 ms)
<snip>
[==========] 95 tests from 7 test suites ran. (2233 ms total)
[ PASSED ] 91 tests.
[ FAILED ] 4 tests, listed below:
[ FAILED ] NMT.location_printing_cheap_dead_1_vm
[ FAILED ] NMT.location_printing_cheap_dead_2_vm
[ FAILED ] NMT.location_printing_cheap_dead_3_vm
[ FAILED ] NMT.location_printing_cheap_dead_4_vm
4 FAILED TESTS
ERROR: RUN_ALL_TESTS() failed. Error 1
[2023-04-02T06:39:37.120000253Z] Waiting for completion for process 957693
[2023-04-02T06:39:37.120192007Z] Waiting for completion finished for process 957693
----------System.err:(10/713)----------
java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [NMT::location_printing_cheap_dead_1_vm, NMT::location_printing_cheap_dead_2_vm, NMT::location_printing_cheap_dead_3_vm, NMT::location_printing_cheap_dead_4_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:1623)
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_1_vm, NMT::location_printing_cheap_dead_2_vm, NMT::location_printing_cheap_dead_3_vm, NMT::location_printing_cheap_dead_4_vm]
gtest/NMTGtests.java#nmt-summary
This failure started after the integration of:
and the failing sub-tests were added by
Here's a snippet from the log file:
[ RUN ] NMT.location_printing_cheap_dead_1_vm
/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S14089/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df1c4042-c8aa-42f5-b049-5ce96b903557/runs/529764ba-a571-4b3b-9aa8-760bf25d9301/workspace/open/test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp:42: Failure
Expected equality of these values:
b
Which is: false
expected_return_code
Which is: true
[ FAILED ] NMT.location_printing_cheap_dead_1_vm (0 ms)
[ RUN ] NMT.location_printing_cheap_dead_2_vm
/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S14089/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df1c4042-c8aa-42f5-b049-5ce96b903557/runs/529764ba-a571-4b3b-9aa8-760bf25d9301/workspace/open/test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp:42: Failure
Expected equality of these values:
b
Which is: false
expected_return_code
Which is: true
[ FAILED ] NMT.location_printing_cheap_dead_2_vm (0 ms)
[ RUN ] NMT.location_printing_cheap_dead_3_vm
/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S14089/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df1c4042-c8aa-42f5-b049-5ce96b903557/runs/529764ba-a571-4b3b-9aa8-760bf25d9301/workspace/open/test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp:42: Failure
Expected equality of these values:
b
Which is: false
expected_return_code
Which is: true
[ FAILED ] NMT.location_printing_cheap_dead_3_vm (0 ms)
[ RUN ] NMT.location_printing_cheap_dead_4_vm
/opt/mach5/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S14089/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/df1c4042-c8aa-42f5-b049-5ce96b903557/runs/529764ba-a571-4b3b-9aa8-760bf25d9301/workspace/open/test/hotspot/gtest/nmt/test_nmt_locationprinting.cpp:42: Failure
Expected equality of these values:
b
Which is: false
expected_return_code
Which is: true
[ FAILED ] NMT.location_printing_cheap_dead_4_vm (0 ms)
<snip>
[==========] 95 tests from 7 test suites ran. (2233 ms total)
[ PASSED ] 91 tests.
[ FAILED ] 4 tests, listed below:
[ FAILED ] NMT.location_printing_cheap_dead_1_vm
[ FAILED ] NMT.location_printing_cheap_dead_2_vm
[ FAILED ] NMT.location_printing_cheap_dead_3_vm
[ FAILED ] NMT.location_printing_cheap_dead_4_vm
4 FAILED TESTS
ERROR: RUN_ALL_TESTS() failed. Error 1
[2023-04-02T06:39:37.120000253Z] Waiting for completion for process 957693
[2023-04-02T06:39:37.120192007Z] Waiting for completion finished for process 957693
----------System.err:(10/713)----------
java.lang.AssertionError: gtest execution failed; exit code = 2. the failed tests: [NMT::location_printing_cheap_dead_1_vm, NMT::location_printing_cheap_dead_2_vm, NMT::location_printing_cheap_dead_3_vm, NMT::location_printing_cheap_dead_4_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:1623)
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_1_vm, NMT::location_printing_cheap_dead_2_vm, NMT::location_printing_cheap_dead_3_vm, NMT::location_printing_cheap_dead_4_vm]
- relates to
-
JDK-8304815 Use NMT for more precise hs_err location printing
-
- Resolved
-
-
JDK-8306454 gtest/GTestWrapper.java fails two NMT.location_printing_cheap_dead tests
-
- Closed
-