[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054805#comment-16054805 ] Tibor Digana commented on SUREFIRE-1295: [~dyaitskov] I think you have a problem with SUREFIRE-1302. This issue fixed printing tests which have not been yet completed. > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > Fix For: 2.20 > > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053763#comment-16053763 ] Daneel Yaitskov commented on SUREFIRE-1295: --- I have the same issue with 2.20. I down graded to 2.18.1. > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > Fix For: 2.20 > > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15716124#comment-15716124 ] ASF GitHub Bot commented on SUREFIRE-1295: -- Github user michaeltandy closed the pull request at: https://github.com/apache/maven-surefire/pull/130 > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > Fix For: 2.19.2 > > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15713923#comment-15713923 ] ASF GitHub Bot commented on SUREFIRE-1295: -- Github user Tibor17 commented on the issue: https://github.com/apache/maven-surefire/pull/130 @michaeltandy Thx for contributing. I committed your sources and included you github name in the IT class. Please close this PR. > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > Fix For: 2.19.2 > > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15710146#comment-15710146 ] Hudson commented on SUREFIRE-1295: -- SUCCESS: Integrated in Jenkins build maven-surefire #1646 (See [https://builds.apache.org/job/maven-surefire/1646/]) [SUREFIRE-1295] Attribute JVM crashes to tests (tibor17: rev 364b0c9e8ae56916f0b9aead2a26f07ed57befca) * (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java * (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > Fix For: 2.19.2 > > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15709990#comment-15709990 ] ASF GitHub Bot commented on SUREFIRE-1295: -- Github user asfgit closed the pull request at: https://github.com/apache/maven-surefire/pull/136 > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > Fix For: 2.19.2 > > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15708441#comment-15708441 ] ASF GitHub Bot commented on SUREFIRE-1295: -- Github user michaeltandy commented on the issue: https://github.com/apache/maven-surefire/pull/136 Back when I wrote my patch I didn't realise channelId was obsolete. If you want to get rid of it that's fine with me - I'm certainly not using it. > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15708122#comment-15708122 ] ASF GitHub Bot commented on SUREFIRE-1295: -- Github user Tibor17 commented on the issue: https://github.com/apache/maven-surefire/pull/136 @michaeltandy I will use your test but meanwhile I would like to avoid channelId used in ForckClient because channelId is obsolete and ForkClient is used per for/thread and therefore cannot use more than one channel. > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703484#comment-15703484 ] ASF GitHub Bot commented on SUREFIRE-1295: -- Github user michaeltandy commented on the issue: https://github.com/apache/maven-surefire/pull/136 I've checked this against my integration test, and it looks OK to me. My change reported which test method was running at the time of the crash, rather than reporting only the class but for my application that doesn't matter as most of our test classes contain a single test method. If you want to merge my integration test into this, I pushed it to https://github.com/michaeltandy/maven-surefire/tree/SUREFIRE-1295-tests-for-Tibor17 > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703343#comment-15703343 ] ASF GitHub Bot commented on SUREFIRE-1295: -- Github user Tibor17 commented on the issue: https://github.com/apache/maven-surefire/pull/130 @michaeltandy I was inspired by your PR. Can you make a code review https://github.com/apache/maven-surefire/pull/136? I would like to run all IT tests and include yours. > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703338#comment-15703338 ] ASF GitHub Bot commented on SUREFIRE-1295: -- GitHub user Tibor17 opened a pull request: https://github.com/apache/maven-surefire/pull/136 [SUREFIRE-1295] Attribute JVM crashes to tests I have 4 tests ATest.java .. DTest.java, and CTest fails like this: ``` @Test public void x() { Runtime.getRuntime().halt( 0 ); } ``` Here is the result, see "Crashed tests". ``` [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.2-SNAPSHOT:test (default-test) on project b: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.2-SNAPSHOT:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was cmd.exe /X /C ""D:\Program Files\Java\jdk1.8.0_112\jre\bin\java" -jar D:\vcs\zmaz6\target\surefire\surefirebooter8109843199172464014.jar D:\vcs\zmaz6\target\surefire\surefire4550764212193522341tmp D:\vcs\zmaz6\target\surefire\surefire_07316673656092271862tmp" [ERROR] Process Exit Code: 0 [ERROR] Crashed tests: [ERROR] pkg.CTest [ERROR] -> [Help 1] ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/Tibor17/maven-surefire SUREFIRE-1295 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-surefire/pull/136.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #136 commit 364b0c9e8ae56916f0b9aead2a26f07ed57befca Author: Tibor17 Date: 2016-11-28T22:16:20Z [SUREFIRE-1295] Attribute JVM crashes to tests > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {co
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15671978#comment-15671978 ] Michael Tandy commented on SUREFIRE-1295: - Thanks for taking the time to look at my PR, [~tibor17] The tests should be platform-independent between Windows, OS X and Linux on x86. Naturally, you'll get a different reported command line and exit code. How would you suggest I make the PR smaller? Do you mean you want fewer lines or files? I could roll the tests up into CrashDetectionIT if you prefer. > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15671678#comment-15671678 ] Tibor Digana commented on SUREFIRE-1295: [~michaeltandy] The PR is too big. I would pay an attention to the PR #130 if it could be much smaller change with single commit. Are your tests platform independent? The JVM report is not. > JVM crashes in forks do not log the name of the failing test > > > Key: SUREFIRE-1295 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1295 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin >Affects Versions: 2.19.1 >Reporter: Michael Tandy >Assignee: Tibor Digana > > I am using Surefire to test code accessed through JNI. Sometimes this code > will fail, crashing the JVM. > We run these tests in parallel ( forkCount=1C and reuseForks=false ) and it's > not always obvious from the logs, which test caused a JVM crash - and > although a command line is printed out, the booter temp files are removed > automatically. > For example: > {code} > [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ > crash-during-test --- > --- > T E S T S > --- > Running junit44.environment.BasicTest > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 1.337 s > [INFO] Finished at: 2016-10-26T21:56:45+01:00 > [INFO] Final Memory: 19M/451M > [INFO] > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project crash-during-test: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked > VM terminated without properly saying goodbye. VM crash or System.exit called? > [ERROR] Command was /bin/sh -c cd > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test > && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter5241184363018251498.jar > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire8973747106178765373tmp > > /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_01102526888161398167tmp > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > {code} > The situation could be improved if such crashes more closely resembled other > test errors - such as by logging the test that was in progress when the crash > happened. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-1295) JVM crashes in forks do not log the name of the failing test
[ https://issues.apache.org/jira/browse/SUREFIRE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15609865#comment-15609865 ] ASF GitHub Bot commented on SUREFIRE-1295: -- GitHub user michaeltandy opened a pull request: https://github.com/apache/maven-surefire/pull/130 [SUREFIRE-1295] Attribute JVM crashes to tests As explained in [SUREFIRE-1295](https://issues.apache.org/jira/browse/SUREFIRE-1295) it's a source of some inconvenience to me that, if a test crashes the forked JVM, there isn't clear logging of which test, if any, was running at the time of the crash. This change makes JVM crash handling more like the handling of other errors, adding the JVM-crashing test to the count of Errors and the list of Tests in error. Here's the log output before the patch, from version 2.19.1 ``` [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ crash-during-test --- --- T E S T S --- Running junit44.environment.BasicTest Running junit44.environment.SomeOtherTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec - in junit44.environment.SomeOtherTest Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.149 s [INFO] Finished at: 2016-10-26T23:12:07+01:00 [INFO] Final Memory: 19M/454M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project crash-during-test: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter1367113935938691280.jar /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire6487093419506274719tmp /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_04459111308039624275tmp [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException ``` Here is the log output for the same tests, after applying this patch: ``` [INFO] --- maven-surefire-plugin:2.19.2-SNAPSHOT:test (default-test) @ crash-during-test --- [INFO] [INFO] --- [INFO] T E S T S [INFO] --- [INFO] Running junit44.environment.BasicTest [WARNING] Missing goodbye handling engaged. [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.035 s <<< FAILURE! - in testCrashJvm(junit44.environment.BasicTest) [ERROR] testCrashJvm(junit44.environment.BasicTest) Time elapsed: 0.018 s <<< ERROR! null [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was /bin/sh -c cd /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test && /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefirebooter4848491891931563261.jar /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire1002822166442627824tmp /home/mtandy/Documents/surefire-vmcrash/maven-surefire/surefire-integration-tests/src/test/resources/crash-during-test/target/surefire/surefire_07708768178699511150tmp Exit code was 66 Tests were running at the time. [INFO] Running junit44.environment.SomeOtherTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s - in junit44.environment.SomeOtherTest [