This seems just a timeout of one of the tests. Try building the package with by passing the option "-DskipTests":
mvn package -DskipTests It should allow to build the package at least. Cheers, -- Gianmarco On Fri, Nov 18, 2016 at 6:11 PM, Jean Paul Barddal <[email protected]> wrote: > Hi Gianmarco, > > I’m using JDK v7 and the OS is Ubuntu 14. > I’ve made a clean installation of the OS to try again, and now I’m stuck > with a different problem: > > 210147 [Thread-247-disruptor-executor[8 8]-send-queue] INFO > backtype.storm.util - Async loop interrupted! > 227011 [Thread-97-org.apache.samoa.evaluation.EvaluatorCVProcessor_1] > INFO org.apache.samoa.evaluation.EvaluatorCVProcessor - 22 seconds for > 20000 instances > 227013 [Thread-97-org.apache.samoa.evaluation.EvaluatorCVProcessor_1] > INFO org.apache.samoa.evaluation.EvaluatorCVProcessor - evaluation > instances = 180.000 > [avg] classified instances = 181.526,8 > [err] classified instances = 256,496 > [avg] classifications correct (percent) = 81,513 > [err] classifications correct (percent) = 0,517 > [avg] Kappa Statistic (percent) = 62,276 > [err] Kappa Statistic (percent) = 1,091 > [avg] Kappa Temporal Statistic (percent) = 62,578 > [err] Kappa Temporal Statistic (percent) = 1,046 > Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 244.024 > sec <<< FAILURE! - in org.apache.samoa.AlgosTest > testCVPReqVHTWithStorm(org.apache.samoa.AlgosTest) Time elapsed: 120.122 > sec <<< ERROR! > java.lang.Exception: test timed out after 120000 milliseconds > > testVHTWithStorm(org.apache.samoa.AlgosTest) Time elapsed: 60.039 sec > <<< ERROR! > java.lang.Exception: test timed out after 60000 milliseconds > at java.lang.Throwable.fillInStackTrace(Native Method) > at java.lang.Throwable.fillInStackTrace(Throwable.java:783) > at java.lang.Throwable.<init>(Throwable.java:250) > at java.lang.Exception.<init>(Exception.java:54) > at java.lang.InterruptedException.<init>(InterruptedException. > java:57) > at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcqu > ireSharedInterruptibly(AbstractQueuedSynchronizer.java:996) > at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquir > eSharedInterruptibly(AbstractQueuedSynchronizer.java:1303) > at java.util.concurrent.CountDownLatch.await(CountDownLatch. > java:236) > at org.apache.samoa.TestUtils.test(TestUtils.java:88) > at org.apache.samoa.AlgosTest.testVHTWithStorm(AlgosTest.java:46) > > Running org.apache.samoa.topology.impl.StormProcessingItemTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.504 sec > - in org.apache.samoa.topology.impl.StormProcessingItemTest > > Results : > > > Tests in error: > AlgosTest.testCVPReqVHTWithStorm » test timed out after 120000 > milliseconds > AlgosTest.testVHTWithStorm:46 » test timed out after 60000 milliseconds > > > Tests run: 4, Failures: 0, Errors: 2, Skipped: 0 > > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache SAMOA ...................................... SUCCESS > [8.835s] > [INFO] samoa-instances ................................... SUCCESS > [2.953s] > [INFO] samoa-api ......................................... SUCCESS > [18.753s] > [INFO] samoa-test ........................................ SUCCESS > [3.387s] > [INFO] samoa-storm ....................................... FAILURE > [4:11.906s] > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 4:46.451s > [INFO] Finished at: Fri Nov 18 13:08:47 BRST 2016 > [INFO] Final Memory: 45M/407M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.18:test > (default-test) on project samoa-storm: There are test failures. > [ERROR] > [ERROR] Please refer to /home/projeto/samoa-0.4.0-incu > bating/samoa-storm/target/surefire-reports for the individual test > results. > [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: There are test failures. > > Please refer to /home/projeto/samoa-0.4.0-incu > bating/samoa-storm/target/surefire-reports for the individual test > results. > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj > oExecutor.java:213) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj > oExecutor.java:153) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj > oExecutor.java:145) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b > uildProject(LifecycleModuleBuilder.java:84) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b > uildProject(LifecycleModuleBuilder.java:59) > at org.apache.maven.lifecycle.internal.LifecycleStarter.singleT > hreadedBuild(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(NativeMethodAcce > ssorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe > thodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnha > nced(Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch( > Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx > itCode(Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main( > Launcher.java:356) > Caused by: org.apache.maven.plugin.MojoFailureException: There are test > failures. > > Please refer to /home/projeto/samoa-0.4.0-incu > bating/samoa-storm/target/surefire-reports for the individual test > results. > at org.apache.maven.plugin.surefire.SurefireHelper.reportExecut > ion(SurefireHelper.java:82) > at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummar > y(SurefirePlugin.java:213) > at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execut > eAfterPreconditionsChecked(AbstractSurefireMojo.java:883) > at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execut > e(AbstractSurefireMojo.java:751) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj > o(DefaultBuildPluginManager.java:101) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj > oExecutor.java:209) > ... 19 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/conflu > ence/display/MAVEN/MojoFailureException > > > Ideas? > > ATB, > > Jean > > > On Nov 16, 2016, at 7:31 AM, Gianmarco De Francisci Morales < > [email protected]> wrote: > > > > Hi Jean, > > What platform are you running on (JVM, OS, etc.)? > > It seems the JVM crashes for some reason. > > Not sure it is related directly to SAMOA. > > > > -- Gianmarco > > > > On Thu, Nov 10, 2016 at 4:10 PM, Jean Paul Barddal <[email protected] > <mailto:[email protected]>> > > wrote: > > > >> 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/ < > 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 > >
