jtreg tries to get test result from logStatus and exitCode.
See: https://github.com/openjdk/jtreg/blob/master/src/share/classes/com/sun/javatest/regtest/exec/ProcessCommand.java#L393
The logStatus is read from the log by finding "STATUS:..." line and parsing it.
So, the test might be reported as passed if failure happens after test completed during exiting.
See: https://github.com/openjdk/jtreg/blob/master/src/share/classes/com/sun/javatest/regtest/exec/ProcessCommand.java#L393
The logStatus is read from the log by finding "STATUS:..." line and parsing it.
So, the test might be reported as passed if failure happens after test completed during exiting.
- duplicates
-
CODETOOLS-7901445 JVM crash or assert during System.exit() does not cause jtreg to fail test
- Closed
-
CODETOOLS-7903710 Jtreg test execution passes with a VM crash
- Closed
- relates to
-
JDK-8327743 JVM crash in hotspot/share/runtime/javaThread.cpp - failed: held monitor count should be equal to jni: 0 != 1
- Resolved
-
JDK-8327741 JVM crash in hotspot/share/opto/compile.cpp - failed: missing inlining msg
- Resolved
-
CODETOOLS-7901445 JVM crash or assert during System.exit() does not cause jtreg to fail test
- Closed
(2 links to)