Hi,
I got the following error (127 being the shell return code):

2014-06-18 23:22:58,145 [JUnit] INFO  lifecycle.AgentCommandTestBase
(?:call(?)) - command is java -Djava.net.preferIPv4Stack=true
-Djava.awt.headless=true -Xmx256m
-Djava.confdir=/home/yarn/slider/src/test/clusters/ec2/slider --classpath
"/home/yarn/slider/slider-assembly/target/slider-0.31.0-incubating-SNAPSHOT-all/slider-0.31.0-incubating-SNAPSHOT/lib/*:/home/yarn/slider/src/test/clusters/ec2/slider:"
org.apache.slider.Slider destroy agenttst
2014-06-18 23:22:58,145 [JUnit] INFO  lifecycle.AgentCommandTestBase
(?:call(?)) -
2014-06-18 23:22:58,145 [JUnit] INFO  lifecycle.AgentCommandTestBase
(?:call(?)) -
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 29.204 sec
<<< FAILURE! - in org.apache.slider.funtest.lifecycle.TestAppsThroughAgent
testCreateFlex(org.apache.slider.funtest.lifecycle.TestAppsThroughAgent)
 Time elapsed: 10.769 sec  <<< FAILURE!
java.lang.AssertionError: Old cluster either should not exist or should get
destroyed.127
        at org.junit.Assert.fail(Assert.java:88)
        at
org.apache.slider.funtest.lifecycle.TestAppsThroughAgent.cleanup(TestAppsThroughAgent.groovy:111)
        at
org.apache.slider.funtest.lifecycle.TestAppsThroughAgent.testCreateFlex(TestAppsThroughAgent.groovy:51)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
        at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

testCreateFlex(org.apache.slider.funtest.lifecycle.TestAppsThroughAgent)
 Time elapsed: 10.77 sec  <<< FAILURE!
java.lang.AssertionError: Old cluster either should not exist or should get
destroyed.127
        at org.junit.Assert.fail(Assert.java:88)
        at
org.apache.slider.funtest.lifecycle.TestAppsThroughAgent.cleanup(TestAppsThroughAgent.groovy:111)
        at
org.apache.slider.funtest.lifecycle.TestAppsThroughAgent.destroyCluster(TestAppsThroughAgent.groovy:41)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)

>From :8088/cluster UI, I don't see application for this test.

How should I debug ?

Thanks

Reply via email to