apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Kaushal <rajeshkaush...@gmail.com>
Subject Re: mvn clean install command to build incubator-apex-core is failing for me
Date Fri, 24 Jun 2016 02:13:25 GMT
ohh.. My mistake. Thanks to point for this silly typo

-Rajesh

On Fri, Jun 24, 2016 at 5:52 AM, Munagala Ramanath <ram@datatorrent.com>
wrote:

> This may not be the only issue but you've got "-DskitTests" instead of
> "-DskipTests"
>
> Ram
>
> On Thu, Jun 23, 2016 at 4:40 PM, Rajesh Kaushal <rajeshkaushal1@gmail.com>
> wrote:
>
>> Hi,
>>
>> System Details
>> Ubuntu 16.04 LTS running on Dell Inspiron Laptop.
>> RAM: 6GB
>>
>> I cloned apex core and malhar. I am running below command inside
>> ~/workspace2/apache/dt/incubator-apex-core$ mvn clean install -DskitTests
>> -e
>>
>> Build is failing with below error message.
>>
>> ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test)
>> on project apex-engine: Execution default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The
>> forked VM terminated without saying properly goodbye. VM crash or
>> System.exit called ?
>>
>> Part of the Console message is given below.
>> Searching on net, I got this.
>>
>> Surefire does not support tests or any referenced libraries calling
>> System.exit() at any time.
>>
>> Looks like its not related to Apache Apex. Its more about some Maven
>> library issue. But no definitive answer to fix this issue.
>>
>> Could you please help me in this.
>>
>> Thanks
>> Rajesh
>>
>> =-=-=-=-=
>> Results :
>> ~
>> ~
>> Tests run: 342, Failures: 0, Errors: 0, Skipped: 9
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Apex ........................................ SUCCESS [
>>  3.264 s]
>> [INFO] Apache Apex API .................................... SUCCESS [
>> 10.745 s]
>> [INFO] Apache Apex Common Library ......................... SUCCESS [
>>  5.616 s]
>> [INFO] Apache Apex Buffer Server .......................... SUCCESS [
>>  3.848 s]
>> [INFO] Apache Apex Stream Processing Engine ............... FAILURE
>> [11:51 min]
>> [INFO] Apache Apex Application Maven Archetype ............ SKIPPED
>> [INFO] Apache Apex App Configuration Maven Archetype ...... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 12:15 min
>> [INFO] Finished at: 2016-06-23T21:51:51+05:30
>> [INFO] Final Memory: 67M/567M
>> [INFO]
>> ------------------------------------------------------------------------
>> [*ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test)
>> on project apex-engine: Execution default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The
>> forked VM terminated without saying properly goodbye. VM crash or
>> System.exit called ?*
>> [ERROR] Command was/bin/sh -c cd
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine &&
>> /usr/local/java/jdk1.8.0_65/jre/bin/java -Xmx2048m -jar
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefirebooter5194562534835762776.jar
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefire9008309865469192637tmp
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefire_32334817163502516222tmp
>> [ERROR] -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test
>> (default-test) on project apex-engine: Execution default-test of goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: The
>> forked VM terminated without saying properly goodbye. VM crash or
>> System.exit called ?
>> Command was/bin/sh -c cd
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine &&
>> /usr/local/java/jdk1.8.0_65/jre/bin/java -Xmx2048m -jar
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefirebooter5194562534835762776.jar
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefire9008309865469192637tmp
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefire_32334817163502516222tmp
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
>> 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:116)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>> at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>> 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:497)
>> 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.14.1:test failed: The
>> forked VM terminated without saying properly goodbye. VM crash or
>> System.exit called ?
>> Command was/bin/sh -c cd
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine &&
>> /usr/local/java/jdk1.8.0_65/jre/bin/java -Xmx2048m -jar
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefirebooter5194562534835762776.jar
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefire9008309865469192637tmp
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefire_32334817163502516222tmp
>> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>> ... 20 more
>> Caused by: java.lang.RuntimeException: The forked VM terminated without
>> saying properly goodbye. VM crash or System.exit called ?
>> Command was/bin/sh -c cd
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine &&
>> /usr/local/java/jdk1.8.0_65/jre/bin/java -Xmx2048m -jar
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefirebooter5194562534835762776.jar
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefire9008309865469192637tmp
>> /home/rkaushal/workspace2/apache/dt/incubator-apex-core/engine/target/surefire/surefire_32334817163502516222tmp
>> at
>> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:485)
>> at
>> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:350)
>> at
>> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:156)
>> at
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:809)
>> at
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:703)
>> at
>> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:631)
>> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>> ... 21 more
>> [ERROR]
>> =-=-=-=-=-
>>
>
>

Mime
View raw message