[ 
https://issues.apache.org/jira/browse/SUREFIRE-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670370#comment-16670370
 ] 

Nicola edited comment on SUREFIRE-1408 at 10/31/18 4:43 PM:
------------------------------------------------------------

Hi All,

here I am on Ubuntu 18.04
{code:java}
mvn -version
Apache Maven 3.5.2
Maven home: /usr/share/maven
Java version: 10.0.2, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_IE, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-38-lowlatency", arch: "amd64", family: "unix"

{code}
I created an example project with mvn archetype:generate and accept all the 
default options.
{code:java}
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.20.1</version>
        </plugin>

{code}
mvn compile is fine but if I run mvn package
{code:java}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.nick.helloworld 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
org.nick.helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
org.nick.helloworld ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ 
org.nick.helloworld ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.129 s
[INFO] Finished at: 2018-10-31T16:38:23Z
[INFO] Final Memory: 12M/47M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on 
project org.nick.helloworld: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed.: 
NullPointerException -> [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}
I tried to switch to the 2.22.1 and it gets worst/better?
{code:java}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
com.google.inject.internal.cglib.core.$ReflectUtils$1 
(file:/usr/share/maven/lib/guice.jar) to method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of 
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.nick.helloworld 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
org.nick.helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
org.nick.helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ 
org.nick.helloworld ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.129 s
[INFO] Finished at: 2018-10-31T16:39:38Z
[INFO] Final Memory: 10M/44M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on 
project org.nick.helloworld: There are test failures.
[ERROR]
[ERROR] Please refer to 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/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 /bin/sh -c cd 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld && 
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefirebooter1410478456523097634.jar
 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire 
2018-10-31T16-39-37_765-jvmRun1 surefire9364992874320682231tmp 
surefire_09589523429278664205tmp
[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 /bin/sh -c cd 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld && 
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefirebooter1410478456523097634.jar
 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire 
2018-10-31T16-39-37_765-jvmRun1 surefire9364992874320682231tmp 
surefire_09589523429278664205tmp
[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:669)
[ERROR]     at 
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
[ERROR]     at 
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
[ERROR]     at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
[ERROR]     at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
[ERROR]     at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
[ERROR]     at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
[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:51)
[ERROR]     at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
[ERROR]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
[ERROR]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
[ERROR]     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
[ERROR]     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
[ERROR]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
[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:564)
[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]
[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/MojoExecutionException

{code}
If I switch to the 2.18.1 is the same error
{code:java}
mvn package
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
com.google.inject.internal.cglib.core.$ReflectUtils$1 
(file:/usr/share/maven/lib/guice.jar) to method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of 
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.nick.helloworld 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
org.nick.helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
org.nick.helloworld ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
org.nick.helloworld ---
[INFO] Surefire report directory: 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Error: Could not find or load main class 
org.apache.maven.surefire.booter.ForkedBooter
Caused by: java.lang.ClassNotFoundException: 
org.apache.maven.surefire.booter.ForkedBooter

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.352 s
[INFO] Finished at: 2018-10-31T16:41:15Z
[INFO] Final Memory: 13M/50M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project org.nick.helloworld: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.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/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld && 
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefirebooter11862970712520854753.jar
 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefire361667310789409934tmp
 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefire_07745358404286474312tmp
[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}
Can you help me debug this? I'm a Java novice

Thanks

Nicola Lunghi

 

 

 


was (Author: nickstomp):
Hi All,

here I am on Ubuntu 18.04
{code:java}
mvn -version
Apache Maven 3.5.2
Maven home: /usr/share/maven
Java version: 10.0.2, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_IE, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-38-lowlatency", arch: "amd64", family: "unix"

{code}
I created an example project with mvn archetype:generate and accept all the 
default options.
{code:java}
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.20.1</version>
        </plugin>

{code}
mvn compile is fine but if I run mvn package
{code:java}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.nick.helloworld 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
org.nick.helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
org.nick.helloworld ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ 
org.nick.helloworld ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.129 s
[INFO] Finished at: 2018-10-31T16:38:23Z
[INFO] Final Memory: 12M/47M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on 
project org.nick.helloworld: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed.: 
NullPointerException -> [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}
I tried to switch to the 2.22.1 and it gets worst/better?
{code:java}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
com.google.inject.internal.cglib.core.$ReflectUtils$1 
(file:/usr/share/maven/lib/guice.jar) to method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of 
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.nick.helloworld 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
org.nick.helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
org.nick.helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ 
org.nick.helloworld ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.129 s
[INFO] Finished at: 2018-10-31T16:39:38Z
[INFO] Final Memory: 10M/44M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on 
project org.nick.helloworld: There are test failures.
[ERROR]
[ERROR] Please refer to 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/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 /bin/sh -c cd 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld && 
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefirebooter1410478456523097634.jar
 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire 
2018-10-31T16-39-37_765-jvmRun1 surefire9364992874320682231tmp 
surefire_09589523429278664205tmp
[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 /bin/sh -c cd 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld && 
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefirebooter1410478456523097634.jar
 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire 
2018-10-31T16-39-37_765-jvmRun1 surefire9364992874320682231tmp 
surefire_09589523429278664205tmp
[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:669)
[ERROR]     at 
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282)
[ERROR]     at 
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
[ERROR]     at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
[ERROR]     at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
[ERROR]     at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
[ERROR]     at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
[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:51)
[ERROR]     at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
[ERROR]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
[ERROR]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
[ERROR]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
[ERROR]     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
[ERROR]     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
[ERROR]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
[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:564)
[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]
[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/MojoExecutionException

{code}
If I switch to the 2.18.1 is the same error
{code:java}
mvn package
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
com.google.inject.internal.cglib.core.$ReflectUtils$1 
(file:/usr/share/maven/lib/guice.jar) to method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of 
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building org.nick.helloworld 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
org.nick.helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
org.nick.helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
org.nick.helloworld ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
org.nick.helloworld ---
[INFO] Surefire report directory: 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Error: Could not find or load main class 
org.apache.maven.surefire.booter.ForkedBooter
Caused by: java.lang.ClassNotFoundException: 
org.apache.maven.surefire.booter.ForkedBooter

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.352 s
[INFO] Finished at: 2018-10-31T16:41:15Z
[INFO] Final Memory: 13M/50M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on 
project org.nick.helloworld: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.18.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/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld && 
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefirebooter11862970712520854753.jar
 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefire361667310789409934tmp
 
/home/nlunghiadm/tmp/java/test/test-project/org.nick.helloworld/target/surefire/surefire_07745358404286474312tmp
[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}
Can you help me debug this? I'm a Java notice

Thanks

Nicola Lunghi

 

 

 

> Surefire shows random tests failing with fork issue when one of the tests 
> hangs
> -------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1408
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1408
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.20
>            Reporter: Andrew Onischuk
>            Assignee: Tibor Digana
>            Priority: Blocker
>
> This was blocking 100% of test runs. Random tests were failing due to fork 
> issue. Which made us really confused on what is happening. We tried a lot of 
> options to fix this (fix memory,ulimits,sys.exit etc.)
> {noformat}
> [WARNING] Tests run: 4830, Failures: 0, Errors: 0, Skipped: 35
> [INFO] 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Views ...................................... SUCCESS [4.001s]
> [INFO] utility ........................................... SUCCESS [1.057s]
> [INFO] Ambari Metrics Common ............................. SUCCESS [14.892s]
> [INFO] Ambari Server ..................................... FAILURE 
> [28:40.637s]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 29:01.548s
> [INFO] Finished at: Wed Sep 06 13:53:46 EEST 2017
> [INFO] Final Memory: 49M/583M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on 
> project ambari-server: There are test failures.
> [ERROR] 
> [ERROR] Please refer to 
> /tmp/ambari_test_java/ambari-server/target/surefire-reports for the 
> individual test results.
> [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
> [date].dumpstream and [date]-jvmRun[N].dumpstream.
> [ERROR] ExecutionException The forked VM terminated without properly saying 
> goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter7964123771295668464.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3196986160626902066tmp 
> surefire_494835328994998108571tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] Crashed tests:
> [ERROR] org.apache.ambari.server.controller.AmbariServerTest
> [ERROR] ExecutionException The forked VM terminated without properly saying 
> goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter5127210523160415183.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun1 surefire5729106817171066937tmp 
> surefire_5004808314434139002513tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] ExecutionException The forked VM terminated without properly saying 
> goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter3901662057959462367.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun2 surefire1724459552574953042tmp 
> surefire_5012934123283689072947tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] Crashed tests:
> [ERROR] 
> org.apache.ambari.server.controller.metrics.ganglia.GangliaPropertyProviderTest
> [ERROR] ExecutionException The forked VM terminated without properly saying 
> goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: 
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter7964123771295668464.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3196986160626902066tmp 
> surefire_494835328994998108571tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] Crashed tests:
> [ERROR] org.apache.ambari.server.controller.AmbariServerTest
> [ERROR] ExecutionException The forked VM terminated without properly saying 
> goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter5127210523160415183.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun1 surefire5729106817171066937tmp 
> surefire_5004808314434139002513tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] ExecutionException The forked VM terminated without properly saying 
> goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter3901662057959462367.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun2 surefire1724459552574953042tmp 
> surefire_5012934123283689072947tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] Crashed tests:
> [ERROR] 
> org.apache.ambari.server.controller.metrics.ganglia.GangliaPropertyProviderTest
> [ERROR] ExecutionException The forked VM terminated without properly saying 
> goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> [ERROR] Error occurred in starting fork, check output in log
> [ERROR] Process Exit Code: 1
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:292)
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:243)
> [ERROR] at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1077)
> [ERROR] at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:907)
> [ERROR] at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:785)
> [ERROR] at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> [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:483)
> [ERROR] at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> [ERROR] at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> [ERROR] at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> [ERROR] at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [ERROR] Caused by: 
> org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM 
> terminated without properly saying goodbye. VM crash or System.exit called?
> [ERROR] Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> [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:679)
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:117)
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:429)
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:406)
> [ERROR] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [ERROR] at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [ERROR] at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [ERROR] at java.lang.Thread.run(Thread.java:745)
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) 
> on project ambari-server: There are test failures.
> Please refer to /tmp/ambari_test_java/ambari-server/target/surefire-reports 
> for the individual test results.
> Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
> [date].dumpstream and [date]-jvmRun[N].dumpstream.
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter7964123771295668464.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3196986160626902066tmp 
> surefire_494835328994998108571tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.AmbariServerTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter5127210523160415183.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun1 surefire5729106817171066937tmp 
> surefire_5004808314434139002513tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter3901662057959462367.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun2 surefire1724459552574953042tmp 
> surefire_5012934123283689072947tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.metrics.ganglia.GangliaPropertyProviderTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> org.apache.maven.surefire.booter.SurefireBooterForkException: 
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter7964123771295668464.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3196986160626902066tmp 
> surefire_494835328994998108571tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.AmbariServerTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter5127210523160415183.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun1 surefire5729106817171066937tmp 
> surefire_5004808314434139002513tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter3901662057959462367.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun2 surefire1724459552574953042tmp 
> surefire_5012934123283689072947tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.metrics.ganglia.GangliaPropertyProviderTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:292)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:243)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1077)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:907)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:785)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>       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:84)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>       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:483)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The 
> forked VM terminated without properly saying goodbye. VM crash or System.exit 
> called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:679)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:117)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:429)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:406)
>       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)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>       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:84)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>       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:483)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: There are test 
> failures.
> Please refer to /tmp/ambari_test_java/ambari-server/target/surefire-reports 
> for the individual test results.
> Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
> [date].dumpstream and [date]-jvmRun[N].dumpstream.
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter7964123771295668464.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3196986160626902066tmp 
> surefire_494835328994998108571tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.AmbariServerTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter5127210523160415183.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun1 surefire5729106817171066937tmp 
> surefire_5004808314434139002513tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter3901662057959462367.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun2 surefire1724459552574953042tmp 
> surefire_5012934123283689072947tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.metrics.ganglia.GangliaPropertyProviderTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> org.apache.maven.surefire.booter.SurefireBooterForkException: 
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter7964123771295668464.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3196986160626902066tmp 
> surefire_494835328994998108571tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.AmbariServerTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter5127210523160415183.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun1 surefire5729106817171066937tmp 
> surefire_5004808314434139002513tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter3901662057959462367.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun2 surefire1724459552574953042tmp 
> surefire_5012934123283689072947tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.metrics.ganglia.GangliaPropertyProviderTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:292)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:243)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1077)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:907)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:785)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>       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:84)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>       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:483)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The 
> forked VM terminated without properly saying goodbye. VM crash or System.exit 
> called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:679)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:117)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:429)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:406)
>       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)
>       at 
> org.apache.maven.plugin.surefire.SurefireHelper.throwException(SurefireHelper.java:199)
>       at 
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:98)
>       at 
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:334)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:937)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:785)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>       ... 19 more
> Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: 
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter7964123771295668464.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3196986160626902066tmp 
> surefire_494835328994998108571tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.AmbariServerTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter5127210523160415183.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun1 surefire5729106817171066937tmp 
> surefire_5004808314434139002513tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter3901662057959462367.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun2 surefire1724459552574953042tmp 
> surefire_5012934123283689072947tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.ambari.server.controller.metrics.ganglia.GangliaPropertyProviderTest
> ExecutionException The forked VM terminated without properly saying goodbye. 
> VM crash or System.exit called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:494)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:441)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:292)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:243)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1077)
>       at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:907)
>       ... 22 more
> Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The 
> forked VM terminated without properly saying goodbye. VM crash or System.exit 
> called?
> Command was /bin/sh -c cd /tmp/ambari_test_java/ambari-server && 
> /usr/local/java/jdk1.8.0_25/jre/bin/java -Xmx2048m -XX:MaxPermSize=1024m 
> -Xms1024m -jar 
> /tmp/ambari_test_java/ambari-server/target/surefire/surefirebooter8706425108380679609.jar
>  /tmp/ambari_test_java/ambari-server/target/surefire 
> 2017-09-06T13-25-37_978-jvmRun4 surefire3030080908304903958tmp 
> surefire_5025412729838224505067tmp
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:679)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:117)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:429)
>       at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter$2.call(ForkStarter.java:406)
>       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)
> [ERROR] 
> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :ambari-server
> {noformat}
> But the problem was plain simple. One of our tests was hanging forever. 
> And surefire showed absolutely different (random tests) as failed due to fork 
> issue. 
> I was able to see that one of the test is hanging by running it from IDE. 
> (with forkCount=1 flawed test can be found as well)
> Our config is:
> {noformat}
> forkCount=4
> reuseForks=false
> testcase groups are present.
> {noformat}
> With that configuration I think it should be easy enough to reproduce it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to