Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1580

org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.22.0
    • Fix Version/s: None
    • Component/s: Maven Surefire Plugin
    • Labels:
    • Environment:
      Windows 10

      Description

      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]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              avijain64 Aviral Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 72h
                72h
                Logged:
                Time Spent - Not Specified
                Not Specified