You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by Sumit Mohanty <sm...@hortonworks.com> on 2014/07/11 08:49:17 UTC

Any idea on how to debug this error?

The jenkins build for Slider is intermittently hitting the following issue:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.16:test
(default-test) on project slider-core: ExecutionException; nested
exception is java.util.concurrent.ExecutionException:
java.lang.RuntimeException: The forked VM terminated without saying
properly goodbye. VM crash or System.exit called ?[ERROR] Command
was/bin/sh -c cd
/x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core &&
/x1/jenkins/tools/java/jdk1.7.0_25-32/jre/bin/java -Xmx1024m
-XX:+HeapDumpOnOutOfMemoryError -jar
/x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefirebooter3146017833767639185.jar
/x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefire413464149611885538tmp
/x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefire_48770233350925390205tmp[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/MojoFailureException[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the command[ERROR]   mvn <goals> -rf :slider-core


-Sumit

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Any idea on how to debug this error?

Posted by vasanth kumar <rj...@gmail.com>.
Hi,

Info on related to this error
http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#vm-termination



On Fri, Jul 11, 2014 at 12:19 PM, Sumit Mohanty <sm...@hortonworks.com>
wrote:

> The jenkins build for Slider is intermittently hitting the following issue:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.16:test
> (default-test) on project slider-core: ExecutionException; nested
> exception is java.util.concurrent.ExecutionException:
> java.lang.RuntimeException: The forked VM terminated without saying
> properly goodbye. VM crash or System.exit called ?[ERROR] Command
> was/bin/sh -c cd
> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core &&
> /x1/jenkins/tools/java/jdk1.7.0_25-32/jre/bin/java -Xmx1024m
> -XX:+HeapDumpOnOutOfMemoryError -jar
>
> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefirebooter3146017833767639185.jar
>
> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefire413464149611885538tmp
>
> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefire_48770233350925390205tmp[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/MojoFailureException[ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command[ERROR]   mvn <goals> -rf :slider-core
>
>
> -Sumit
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>



-- 
Regards
Vasanth kumar RJ

Re: Any idea on how to debug this error?

Posted by Steve Loughran <st...@hortonworks.com>.
For exits, SliderLauncher calls Hadoop's ExitUtil, but I don't see anywhere
in the slider-core test code where we are coming in at the entry point that
does the catch/exit logic. You can disable those exits ( a switch directly
for testing), via some methods to turn off the halt() and exit()
operations. Maybe there's some library we are using (dfsClient?) which
triggers it in some circumstances. All of the Hadoop code goes through
ExitUtil.exit/halt, so will be blocked



On 11 July 2014 23:55, Sumit Mohanty <sm...@hortonworks.com> wrote:

> Thats been my experience too when I encounter this error. Also, I do not
> see any System.exit() in code but then again I have not looked at the
> libraries.
>
>
> On Fri, Jul 11, 2014 at 2:35 PM, Josh Elser <jo...@gmail.com> wrote:
>
> > Heh, I just ran into this too. I couldn't find the dump from the JVM
> > though.
> >
> >
> > On 7/11/14, 2:49 AM, Sumit Mohanty wrote:
> >
> >> The jenkins build for Slider is intermittently hitting the following
> >> issue:
> >>
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-surefire-plugin:2.16:test
> >> (default-test) on project slider-core: ExecutionException; nested
> >> exception is java.util.concurrent.ExecutionException:
> >> java.lang.RuntimeException: The forked VM terminated without saying
> >> properly goodbye. VM crash or System.exit called ?[ERROR] Command
> >> was/bin/sh -c cd
> >> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core &&
> >> /x1/jenkins/tools/java/jdk1.7.0_25-32/jre/bin/java -Xmx1024m
> >> -XX:+HeapDumpOnOutOfMemoryError -jar
> >> /x1/jenkins/jenkins-slave/workspace/Slider-develop/
> >> slider-core/target/surefire/surefirebooter3146017833767639185.jar
> >> /x1/jenkins/jenkins-slave/workspace/Slider-develop/
> >> slider-core/target/surefire/surefire413464149611885538tmp
> >> /x1/jenkins/jenkins-slave/workspace/Slider-develop/
> >> slider-core/target/surefire/surefire_48770233350925390205tmp[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/
> >> MojoFailureException[ERROR]
> >> [ERROR] After correcting the problems, you can resume the build with
> >> the command[ERROR]   mvn <goals> -rf :slider-core
> >>
> >>
> >> -Sumit
> >>
> >>
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Any idea on how to debug this error?

Posted by Sumit Mohanty <sm...@hortonworks.com>.
Thats been my experience too when I encounter this error. Also, I do not
see any System.exit() in code but then again I have not looked at the
libraries.


On Fri, Jul 11, 2014 at 2:35 PM, Josh Elser <jo...@gmail.com> wrote:

> Heh, I just ran into this too. I couldn't find the dump from the JVM
> though.
>
>
> On 7/11/14, 2:49 AM, Sumit Mohanty wrote:
>
>> The jenkins build for Slider is intermittently hitting the following
>> issue:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.16:test
>> (default-test) on project slider-core: ExecutionException; nested
>> exception is java.util.concurrent.ExecutionException:
>> java.lang.RuntimeException: The forked VM terminated without saying
>> properly goodbye. VM crash or System.exit called ?[ERROR] Command
>> was/bin/sh -c cd
>> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core &&
>> /x1/jenkins/tools/java/jdk1.7.0_25-32/jre/bin/java -Xmx1024m
>> -XX:+HeapDumpOnOutOfMemoryError -jar
>> /x1/jenkins/jenkins-slave/workspace/Slider-develop/
>> slider-core/target/surefire/surefirebooter3146017833767639185.jar
>> /x1/jenkins/jenkins-slave/workspace/Slider-develop/
>> slider-core/target/surefire/surefire413464149611885538tmp
>> /x1/jenkins/jenkins-slave/workspace/Slider-develop/
>> slider-core/target/surefire/surefire_48770233350925390205tmp[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/
>> MojoFailureException[ERROR]
>> [ERROR] After correcting the problems, you can resume the build with
>> the command[ERROR]   mvn <goals> -rf :slider-core
>>
>>
>> -Sumit
>>
>>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Any idea on how to debug this error?

Posted by Josh Elser <jo...@gmail.com>.
Heh, I just ran into this too. I couldn't find the dump from the JVM though.

On 7/11/14, 2:49 AM, Sumit Mohanty wrote:
> The jenkins build for Slider is intermittently hitting the following issue:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.16:test
> (default-test) on project slider-core: ExecutionException; nested
> exception is java.util.concurrent.ExecutionException:
> java.lang.RuntimeException: The forked VM terminated without saying
> properly goodbye. VM crash or System.exit called ?[ERROR] Command
> was/bin/sh -c cd
> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core &&
> /x1/jenkins/tools/java/jdk1.7.0_25-32/jre/bin/java -Xmx1024m
> -XX:+HeapDumpOnOutOfMemoryError -jar
> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefirebooter3146017833767639185.jar
> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefire413464149611885538tmp
> /x1/jenkins/jenkins-slave/workspace/Slider-develop/slider-core/target/surefire/surefire_48770233350925390205tmp[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/MojoFailureException[ERROR]
> [ERROR] After correcting the problems, you can resume the build with
> the command[ERROR]   mvn <goals> -rf :slider-core
>
>
> -Sumit
>