Hi there guys,
I’m trying to use SAMOA on storm. I’ve cloned to github repo and tried to use
mvn to build it.
I got the following issue:
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache SAMOA ...................................... SUCCESS [7.147s]
[INFO] samoa-instances ................................... SUCCESS [3.013s]
[INFO] samoa-api ......................................... SUCCESS [18.198s]
[INFO] samoa-test ........................................ SUCCESS [2.506s]
[INFO] samoa-storm ....................................... FAILURE [9.951s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.035s
[INFO] Finished at: Thu Nov 10 11:07:04 BRST 2016
[INFO] Final Memory: 73M/1711M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on
project samoa-storm: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.18:test failed: The forked VM
terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/projeto/incubator-samoa/samoa-storm &&
/usr/lib/jvm/java-8-oracle/jre/bin/java -Xmx1G -jar
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefirebooter6959534247507703968.jar
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefire4127645624015093715tmp
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefire_03455527908185277203tmp
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on
project samoa-storm: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.18:test failed: The forked VM
terminated without properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/projeto/incubator-samoa/samoa-storm &&
/usr/lib/jvm/java-8-oracle/jre/bin/java -Xmx1G -jar
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefirebooter6959534247507703968.jar
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefire4127645624015093715tmp
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefire_03455527908185277203tmp
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
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:498)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test
failed: The forked VM terminated without properly saying goodbye. VM crash or
System.exit called?
Command was /bin/sh -c cd /home/projeto/incubator-samoa/samoa-storm &&
/usr/lib/jvm/java-8-oracle/jre/bin/java -Xmx1G -jar
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefirebooter6959534247507703968.jar
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefire4127645624015093715tmp
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefire_03455527908185277203tmp
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.RuntimeException: The forked VM terminated without
properly saying goodbye. VM crash or System.exit called?
Command was /bin/sh -c cd /home/projeto/incubator-samoa/samoa-storm &&
/usr/lib/jvm/java-8-oracle/jre/bin/java -Xmx1G -jar
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefirebooter6959534247507703968.jar
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefire4127645624015093715tmp
/home/projeto/incubator-samoa/samoa-storm/target/surefire/surefire_03455527908185277203tmp
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:513)
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:378)
at
org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:165)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1019)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:853)
at
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:751)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
[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/PluginExecutionException
<http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException>
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :samoa-storm
Any ideas?
Cheers,
Jean