[ https://issues.apache.org/jira/browse/SUREFIRE-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15657989#comment-15657989 ]
Tibor Digana commented on SUREFIRE-1303: ---------------------------------------- [~MarvinKRK] This happened to me as well but it has nothing to do with Surefire. It is Jenkins related. I had to run {{mvn clean}} to delete the {{target}} folder. In my case my Jenkins service was off for several months. After I started the jenkins service again the same happened to me and I cleaned up the projects which was okay then. I could not find any settings defining what means obsolete surefire reports. > The forked VM terminated without properly saying goodbye. VM crash or > System.exit called? > ----------------------------------------------------------------------------------------- > > Key: SUREFIRE-1303 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1303 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 2.19.1 > Reporter: Maciej Tondyra > > I have some error. I do not know what do. Can you help me? If add some other > log please let me know. > [JENKINS] Recording test results > hudson.AbortException: Test reports were found but none of them are new. Did > tests run? > For example, > c:\jenkins\workspace\automatic-tests\target\surefire-reports\TEST-TestSuite.xml > is 9 hr 49 min old > at hudson.tasks.junit.TestResult.parse(TestResult.java:216) > at > hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148) > at > hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:634) > at > hudson.maven.Maven3Builder$MavenExecutionListener.mojoFailed(Maven3Builder.java:667) > at > hudson.maven.Maven3Builder$JenkinsEventSpy.onEvent(Maven3Builder.java:311) > at > org.apache.maven.eventspy.internal.EventSpyDispatcher.onEvent(EventSpyDispatcher.java:104) > at > org.apache.maven.eventspy.internal.EventSpyExecutionListener.mojoFailed(EventSpyExecutionListener.java:138) > at > org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:90) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:219) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) > at > org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) > at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) > at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) > at hudson.remoting.UserRequest.perform(UserRequest.java:121) > at hudson.remoting.UserRequest.perform(UserRequest.java:49) > at hudson.remoting.Request$2.run(Request.java:326) > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Started calculate disk usage of build > Finished Calculation of disk usage of build in 0 seconds > Started calculate disk usage of workspace > Finished Calculation of disk usage of workspace in 56 second > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 53:31 min > [INFO] Finished at: 2016-11-10T03:17:42+01:00 > [INFO] Final Memory: 10M/98M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on > project AutomaticTests: 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 cmd.exe /X /C ""C:\Program > Files\Java\jdk1.8.0_72\jre\bin\java" -Dfile.encoding=UTF-8 -jar > c:\jenkins\workspace\automatic-tests\target\surefire\surefirebooter2529388327829288703.jar > > c:\jenkins\workspace\automatic-tests\target\surefire\surefire7512591636409553085tmp > > c:\jenkins\workspace\automatic-tests\target\surefire\surefire_08072796190414571454tmp" > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test > (default-test) on project AutomaticTests: 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? > Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_72\jre\bin\java" > -Dfile.encoding=UTF-8 -jar > c:\jenkins\workspace\automatic-tests\target\surefire\surefirebooter2529388327829288703.jar > > c:\jenkins\workspace\automatic-tests\target\surefire\surefire7512591636409553085tmp > > c:\jenkins\workspace\automatic-tests\target\surefire\surefire_08072796190414571454tmp" > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) > at > org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) > at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) > at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) > at hudson.remoting.UserRequest.perform(UserRequest.java:121) > at hudson.remoting.UserRequest.perform(UserRequest.java:49) > at hudson.remoting.Request$2.run(Request.java:326) > at > hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.maven.plugin.PluginExecutionException: 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? > Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_72\jre\bin\java" > -Dfile.encoding=UTF-8 -jar > c:\jenkins\workspace\automatic-tests\target\surefire\surefirebooter2529388327829288703.jar > > c:\jenkins\workspace\automatic-tests\target\surefire\surefire7512591636409553085tmp > > c:\jenkins\workspace\automatic-tests\target\surefire\surefire_08072796190414571454tmp" > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) > ... 31 more > Caused by: java.lang.RuntimeException: The forked VM terminated without > properly saying goodbye. VM crash or System.exit called? > Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_72\jre\bin\java" > -Dfile.encoding=UTF-8 -jar > c:\jenkins\workspace\automatic-tests\target\surefire\surefirebooter2529388327829288703.jar > > c:\jenkins\workspace\automatic-tests\target\surefire\surefire7512591636409553085tmp > > c:\jenkins\workspace\automatic-tests\target\surefire\surefire_08072796190414571454tmp" > at > org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:590) > at > org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:460) > at > org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:229) > at > org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:201) > at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1026) > at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862) > at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) > ... 32 more > [ERROR] > [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 > [JENKINS] Archiving c:\jenkins\workspace\automatic-tests\pom.xml to > AutomaticTests/AutomaticTests/1.0-SNAPSHOT/AutomaticTests-1.0-SNAPSHOT.pom -- This message was sent by Atlassian JIRA (v6.3.4#6332)