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/05/14 16:08:54 UTC

unit test failure

Anyone else running into the following while running "mvn test". This
happens to me at the end of running slider-core unit tests?

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
/Users/smohanty/enlistments/slider/slider-core &&
/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre/bin/java
-Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -jar
/Users/smohanty/enlistments/slider/slider-core/target/surefire/surefirebooter2698554054804833067.jar
/Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire7904345317439255671tmp
/Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire_202557280023107823470tmp

-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: unit test failure

Posted by Sumit Mohanty <sm...@hortonworks.com>.
Thanks Josh. Last I checked I did not find any but I will look for one when
I run next.


On Wed, May 14, 2014 at 9:30 AM, Josh Elser <jo...@gmail.com> wrote:

> I just tried to `mvn test` over slider-core (after `mvn install`ing the
> project) with success.
>
> Is there any sort of JVM dump file in your repo (in slider-core/target
> maybe) or system tmpdir that might give some more info as to why it died?
>
>
> On 5/14/14, 10:08 AM, Sumit Mohanty wrote:
>
>> Anyone else running into the following while running "mvn test". This
>> happens to me at the end of running slider-core unit tests?
>>
>> 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
>> /Users/smohanty/enlistments/slider/slider-core &&
>> /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre/bin/
>> java
>> -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -jar
>> /Users/smohanty/enlistments/slider/slider-core/target/surefire/
>> surefirebooter2698554054804833067.jar
>> /Users/smohanty/enlistments/slider/slider-core/target/surefire/
>> surefire7904345317439255671tmp
>> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire_
>> 202557280023107823470tmp
>>
>> -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: unit test failure

Posted by Josh Elser <jo...@gmail.com>.
I just tried to `mvn test` over slider-core (after `mvn install`ing the 
project) with success.

Is there any sort of JVM dump file in your repo (in slider-core/target 
maybe) or system tmpdir that might give some more info as to why it died?

On 5/14/14, 10:08 AM, Sumit Mohanty wrote:
> Anyone else running into the following while running "mvn test". This
> happens to me at the end of running slider-core unit tests?
>
> 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
> /Users/smohanty/enlistments/slider/slider-core &&
> /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre/bin/java
> -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -jar
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefirebooter2698554054804833067.jar
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire7904345317439255671tmp
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire_202557280023107823470tmp
>
> -Sumit
>

Re: unit test failure

Posted by Sumit Mohanty <sm...@hortonworks.com>.
Just ran the same test - it did not fail. Can you try with the latest?


On Wed, May 14, 2014 at 3:18 PM, Ted Yu <yu...@gmail.com> wrote:

> I ran unit tests under slider-core and there was one test failure:
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 48.447 sec
> <<< FAILURE! - in org.apache.slider.providers.agent.TestAgentEcho
> testEchoOperation(org.apache.slider.providers.agent.TestAgentEcho)  Time
> elapsed: 47.561 sec  <<< ERROR!
> org.apache.slider.core.exceptions.BadClusterStateException: Application not
> running: application_1400103743097_0001 state=FINISHED
>         at
>
> org.apache.slider.server.appmaster.rpc.RpcBinder.getProxy(RpcBinder.java:198)
>         at
> org.apache.slider.client.SliderClient.connect(SliderClient.java:1421)
>         at
> org.apache.slider.client.SliderClient.bondToCluster(SliderClient.java:1849)
>         at
>
> org.apache.slider.client.SliderClient.createClusterOperations(SliderClient.java:1862)
>         at
>
> org.apache.slider.client.SliderClient.getClusterDescription(SliderClient.java:1748)
>         at
>
> org.apache.slider.test.SliderTestUtils.waitForRoleCount(SliderTestUtils.groovy:252)
>         at
>
> org.apache.slider.test.SliderTestUtils.waitForRoleCount(SliderTestUtils.groovy)
>         at
>
> org.apache.slider.providers.agent.TestAgentEcho.testEchoOperation(TestAgentEcho.groovy:94)
>
>
> On Wed, May 14, 2014 at 9:52 AM, Steve Loughran <stevel@hortonworks.com
> >wrote:
>
> > yeah, earlier today -while I was pulling the standalone tests out of
> > hbase-provider into slider-core and making sure everything worked
> > (SLIDER-33)
> >
> > it's the RM bailing out, and looks a bit like a race so I sent it over to
> > YARN land
> > https://issues.apache.org/jira/browse/YARN-2057
> >
> > I've seen it again about 5 minutes ago while iterating code & test
> > with TestStandaloneRegistryAM; again -goes away on a retry.
> >
> > Nice to see its more than just me -interesting that it surfaced today for
> > both of us
> >
> >
> >
> > On 14 May 2014 15:08, Sumit Mohanty <sm...@hortonworks.com> wrote:
> >
> > > Anyone else running into the following while running "mvn test". This
> > > happens to me at the end of running slider-core unit tests?
> > >
> > > 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
> > > /Users/smohanty/enlistments/slider/slider-core &&
> > >
> > >
> >
> /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre/bin/java
> > > -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -jar
> > >
> > >
> >
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefirebooter2698554054804833067.jar
> > >
> > >
> >
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire7904345317439255671tmp
> > >
> > >
> >
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire_202557280023107823470tmp
> > >
> > > -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.
> >
>

-- 
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: unit test failure

Posted by Ted Yu <yu...@gmail.com>.
I ran unit tests under slider-core and there was one test failure:

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 48.447 sec
<<< FAILURE! - in org.apache.slider.providers.agent.TestAgentEcho
testEchoOperation(org.apache.slider.providers.agent.TestAgentEcho)  Time
elapsed: 47.561 sec  <<< ERROR!
org.apache.slider.core.exceptions.BadClusterStateException: Application not
running: application_1400103743097_0001 state=FINISHED
        at
org.apache.slider.server.appmaster.rpc.RpcBinder.getProxy(RpcBinder.java:198)
        at
org.apache.slider.client.SliderClient.connect(SliderClient.java:1421)
        at
org.apache.slider.client.SliderClient.bondToCluster(SliderClient.java:1849)
        at
org.apache.slider.client.SliderClient.createClusterOperations(SliderClient.java:1862)
        at
org.apache.slider.client.SliderClient.getClusterDescription(SliderClient.java:1748)
        at
org.apache.slider.test.SliderTestUtils.waitForRoleCount(SliderTestUtils.groovy:252)
        at
org.apache.slider.test.SliderTestUtils.waitForRoleCount(SliderTestUtils.groovy)
        at
org.apache.slider.providers.agent.TestAgentEcho.testEchoOperation(TestAgentEcho.groovy:94)


On Wed, May 14, 2014 at 9:52 AM, Steve Loughran <st...@hortonworks.com>wrote:

> yeah, earlier today -while I was pulling the standalone tests out of
> hbase-provider into slider-core and making sure everything worked
> (SLIDER-33)
>
> it's the RM bailing out, and looks a bit like a race so I sent it over to
> YARN land
> https://issues.apache.org/jira/browse/YARN-2057
>
> I've seen it again about 5 minutes ago while iterating code & test
> with TestStandaloneRegistryAM; again -goes away on a retry.
>
> Nice to see its more than just me -interesting that it surfaced today for
> both of us
>
>
>
> On 14 May 2014 15:08, Sumit Mohanty <sm...@hortonworks.com> wrote:
>
> > Anyone else running into the following while running "mvn test". This
> > happens to me at the end of running slider-core unit tests?
> >
> > 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
> > /Users/smohanty/enlistments/slider/slider-core &&
> >
> >
> /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre/bin/java
> > -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -jar
> >
> >
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefirebooter2698554054804833067.jar
> >
> >
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire7904345317439255671tmp
> >
> >
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire_202557280023107823470tmp
> >
> > -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: unit test failure

Posted by Steve Loughran <st...@hortonworks.com>.
yeah, earlier today -while I was pulling the standalone tests out of
hbase-provider into slider-core and making sure everything worked
(SLIDER-33)

it's the RM bailing out, and looks a bit like a race so I sent it over to
YARN land
https://issues.apache.org/jira/browse/YARN-2057

I've seen it again about 5 minutes ago while iterating code & test
with TestStandaloneRegistryAM; again -goes away on a retry.

Nice to see its more than just me -interesting that it surfaced today for
both of us



On 14 May 2014 15:08, Sumit Mohanty <sm...@hortonworks.com> wrote:

> Anyone else running into the following while running "mvn test". This
> happens to me at the end of running slider-core unit tests?
>
> 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
> /Users/smohanty/enlistments/slider/slider-core &&
>
> /Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home/jre/bin/java
> -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -jar
>
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefirebooter2698554054804833067.jar
>
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire7904345317439255671tmp
>
> /Users/smohanty/enlistments/slider/slider-core/target/surefire/surefire_202557280023107823470tmp
>
> -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.