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

Tibor Digana commented on SUREFIRE-1408:
----------------------------------------

[~aonishuk]
Attach current dump files and logs as files, but not in the Jira as comments.

> Surefire tests constantly fail due to fork issue.
> -------------------------------------------------
>
>                 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
>
> Our project cannot run the tests for some reason we have this error. This is 
> blocking 100% of test runs. A big blocker for our project.
> The tests which fail with this are always random.
> {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}
> Here's how we define surefire:
> {noformat}
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <configuration>
>           <skip>${skipSurefireTests}</skip>
>           <argLine>${surefire.argLine}</argLine>
>           <!-- Each profile in the top-level pom.xml defines which test group 
> categories to run. -->
>           <groups>${testcase.groups}</groups>
>         </configuration>
>       </plugin>
> {noformat}
> I tried:
> 1. Commeting out System.exit calls we have
> 2. Increasing surefire.argLine memory settings and ulimits
> 3. Looking for *dump* files
> Nothing helped.
> You can reproduce it by
> {noformat}
> git clone https://git-wip-us.apache.org/repos/asf/ambari.git
> git checkout branch-2.6
> mvn -e -X clean test -Dcheckstyle.skip -fae -DambariVersion=1.3.0 -pl 
> ambari-admin,ambari-web,ambari-views,ambari-metrics/ambari-metrics-common,ambari-server,utility
>  -DfailIfNoTests=false
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to