[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file E:\github\spring-petclinic\target\surefire-reports\2021-03-18T01-10-43_732-jvmRun1.dumpstream
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.445 s
[INFO] Finished at: 2021-03-18T01:10:47+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project spring-petclinic: There are test failures.
[ERROR]
[ERROR] Please refer to E:\github\spring-petclinic\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Zulu\zulu-11\bin\java" -Dappmap.event.valueSize=1024 -Dappmap.config.file=appmap.yml -Dappmap.output.directory=tmp -Dappmap.debug=disabled "-javaagent:C:\Users\jalal sordo\.m2\repository\org\jacoco\org.jacoco.agent\0.8.4\org.jacoco.agent-0.8.4-runtime.jar=destfile=E:\github\spring-petclinic\target\jacoco.exec" -Dappmap.event.valueSize=1024 -Dappmap.config.file=appmap.yml -Dappmap.output.directory=tmp -Dappmap.debug=disabled -javaagent:C:\Users\jalal sordo\.m2\repository\com\appland\appmap-agent\1.0.1\appmap-agent-1.0.1.jar=com.appland.appmap.LoadJavaAppMapAgentMojo@3b4825f0 -javaagent:C:\Users\jalal sordo\.m2\repository\com\appland\appmap-agent\1.0.1\appmap-agent-1.0.1.jar=com.appland.appmap.LoadJavaAppMapAgentMojo@1053b20d -jar C:\Users\JALALS~1\AppData\Local\Temp\surefire3772374612519061147\surefirebooter16640378660068015831.jar "C:\Users\jalal sordo\AppData\Local\Temp\surefire3772374612519061147" 2021-03-18T01-10-43_732-jvmRun1 surefire1216108742203211029tmp surefire_012939711927601992295tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[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\Zulu\zulu-11\bin\java" -Dappmap.event.valueSize=1024 -Dappmap.config.file=appmap.yml -Dappmap.output.directory=tmp -Dappmap.debug=disabled "-javaagent:C:\Users\jalal sordo\.m2\repository\org\jacoco\org.jacoco.agent\0.8.4\org.jacoco.agent-0.8.4-runtime.jar=destfile=E:\github\spring-petclinic\target\jacoco.exec" -Dappmap.event.valueSize=1024 -Dappmap.config.file=appmap.yml -Dappmap.output.directory=tmp -Dappmap.debug=disabled -javaagent:C:\Users\jalal sordo\.m2\repository\com\appland\appmap-agent\1.0.1\appmap-agent-1.0.1.jar=com.appland.appmap.LoadJavaAppMapAgentMojo@3b4825f0 -javaagent:C:\Users\jalal sordo\.m2\repository\com\appland\appmap-agent\1.0.1\appmap-agent-1.0.1.jar=com.appland.appmap.LoadJavaAppMapAgentMojo@1053b20d -jar C:\Users\JALALS~1\AppData\Local\Temp\surefire3772374612519061147\surefirebooter16640378660068015831.jar "C:\Users\jalal sordo\AppData\Local\Temp\surefire3772374612519061147" 2021-03-18T01-10-43_732-jvmRun1 surefire1216108742203211029tmp surefire_012939711927601992295tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:670)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:283)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:246)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1149)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:991)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:837)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[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:957)
[ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
[ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR]
[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.
@JalalSordo can you please attach your appmap.yml and pom.xml to this ticket? It will help with troubleshooting / tests / future reference. Thank you!
Petr
So basic setup just while running mvn clean install on a jdk 11 zulu edition by following https://github.com/applandinc/appmap-maven-plugin#quickstart
[INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] [INFO] Results: [INFO] [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file E:\github\spring-petclinic\target\surefire-reports\2021-03-18T01-10-43_732-jvmRun1.dumpstream [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.445 s [INFO] Finished at: 2021-03-18T01:10:47+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project spring-petclinic: There are test failures. [ERROR] [ERROR] Please refer to E:\github\spring-petclinic\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was cmd.exe /X /C ""C:\Program Files\Zulu\zulu-11\bin\java" -Dappmap.event.valueSize=1024 -Dappmap.config.file=appmap.yml -Dappmap.output.directory=tmp -Dappmap.debug=disabled "-javaagent:C:\Users\jalal sordo\.m2\repository\org\jacoco\org.jacoco.agent\0.8.4\org.jacoco.agent-0.8.4-runtime.jar=destfile=E:\github\spring-petclinic\target\jacoco.exec" -Dappmap.event.valueSize=1024 -Dappmap.config.file=appmap.yml -Dappmap.output.directory=tmp -Dappmap.debug=disabled -javaagent:C:\Users\jalal sordo\.m2\repository\com\appland\appmap-agent\1.0.1\appmap-agent-1.0.1.jar=com.appland.appmap.LoadJavaAppMapAgentMojo@3b4825f0 -javaagent:C:\Users\jalal sordo\.m2\repository\com\appland\appmap-agent\1.0.1\appmap-agent-1.0.1.jar=com.appland.appmap.LoadJavaAppMapAgentMojo@1053b20d -jar C:\Users\JALALS~1\AppData\Local\Temp\surefire3772374612519061147\surefirebooter16640378660068015831.jar "C:\Users\jalal sordo\AppData\Local\Temp\surefire3772374612519061147" 2021-03-18T01-10-43_732-jvmRun1 surefire1216108742203211029tmp surefire_012939711927601992295tmp" [ERROR] Error occurred in starting fork, check output in log [ERROR] Process Exit Code: 1 [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\Zulu\zulu-11\bin\java" -Dappmap.event.valueSize=1024 -Dappmap.config.file=appmap.yml -Dappmap.output.directory=tmp -Dappmap.debug=disabled "-javaagent:C:\Users\jalal sordo\.m2\repository\org\jacoco\org.jacoco.agent\0.8.4\org.jacoco.agent-0.8.4-runtime.jar=destfile=E:\github\spring-petclinic\target\jacoco.exec" -Dappmap.event.valueSize=1024 -Dappmap.config.file=appmap.yml -Dappmap.output.directory=tmp -Dappmap.debug=disabled -javaagent:C:\Users\jalal sordo\.m2\repository\com\appland\appmap-agent\1.0.1\appmap-agent-1.0.1.jar=com.appland.appmap.LoadJavaAppMapAgentMojo@3b4825f0 -javaagent:C:\Users\jalal sordo\.m2\repository\com\appland\appmap-agent\1.0.1\appmap-agent-1.0.1.jar=com.appland.appmap.LoadJavaAppMapAgentMojo@1053b20d -jar C:\Users\JALALS~1\AppData\Local\Temp\surefire3772374612519061147\surefirebooter16640378660068015831.jar "C:\Users\jalal sordo\AppData\Local\Temp\surefire3772374612519061147" 2021-03-18T01-10-43_732-jvmRun1 surefire1216108742203211029tmp surefire_012939711927601992295tmp" [ERROR] Error occurred in starting fork, check output in log [ERROR] Process Exit Code: 1 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:670) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:283) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:246) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1149) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:991) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:837) [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [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:957) [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289) [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [ERROR] [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.