[
https://issues.apache.org/jira/browse/SUREFIRE-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658491#comment-16658491
]
Tibor Digana commented on SUREFIRE-1580:
----------------------------------------
It must be written in the log.
Don't consider the exception as an error of Surefire. It is the way how Maven
Plugin tells the Maven core the build finished with error reason but error of
your test.
The dump file is in {{target/surefire-reports}}. You must attach your project
here in Jira, otherwise we won't be able to find the root cause.
> org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM
> terminated without properly saying goodbye. VM crash or System.exit called?
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SUREFIRE-1580
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1580
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 2.22.0
> Environment: Windows 10
> Reporter: Aviral Jain
> Priority: Major
> Labels: windows
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> Hi,I have been following SUREFIRE-1479 but it did't help, I am using System
> with below config .
> *Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> 2018-06-18T00:03:14+05:30)*
> *Maven home: C:\installations\apache-maven-3.5.4\bin\..*
> *Java version: 1.8.0_171, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jdk1.8.0_171\jre*
> *Default locale: en_IN, platform encoding: Cp1252*
> *OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"*
>
> +I Have updated Surefire plugin to 2.22.0 , but still getting the same error
> intermittently , could you please suggest something. Detailed error is shown
> below:+
> [ERROR] Process Exit Code: 0
> [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: 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_171\jre\bin\java"
> -javaagent:C:\\Users\\KGNM8758\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.1\\org.jacoco.agent-0.8.1-runtime.jar=destfile=C:\\Users\\KGNM8758\\Documents\\workspace-sts\\aqp\\grp-adapter\\grp-adapter-dao\\target
> jacoco.exec -jar
> C:\Users\KGNM8758\AppData\Local\Temp\surefire7645910913045597760\surefirebooter5430497550588506328.jar
> C:\Users\KGNM8758\AppData\Local\Temp\surefire7645910913045597760
> 2018-10-03T11-17-35_122-jvmRun1 surefire7524786931499094532tmp
> surefire_0864055822511437653tmp"
> [ERROR] Process Exit Code: 0
> [ERROR] at
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:671)
> [ERROR] at
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
> [ERROR] at
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
> [ERROR] at
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
> [ERROR] at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1194)
> [ERROR] at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1022)
> [ERROR] at
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:868)
> [ERROR] at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> [ERROR] at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> [ERROR] at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
> [ERROR] at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
> [ERROR] at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
> [ERROR] at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
> [ERROR] at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
> [ERROR] at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> [ERROR] at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
> [ERROR] at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
> [ERROR] at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
> [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:954)
> [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [ERROR] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
> [ERROR] at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> [ERROR] at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> [ERROR] at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> [ERROR] at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)