MiniAcc should create logs in the dir where it runs. You will probably have to modify the unit test to not delete the logs to see them. If you can do that, take a look at the master and tserver logs in the miniacc dir maybe there is clue there.
On Thu, Jun 13, 2013 at 10:14 AM, Miguel Pereira <[email protected]>wrote: > Hi guys, > > I am having an issue with the MiniAccumuloclusterTest, namely it timeouts. > This is with a fresh 1.5 checkout.The goal is to build my own continuous > integration environment with Jenkins and run changes / tests before > submitting a patch. I have turned Jenkins off and just ran mvn compile > test. Any ideas? Not enough memory? > * > * > -Miguel * > > * > *Memory:* > [blue@off-09732 1.5]$ free -t -m > total used free shared buffers cached > Mem: 2868 1788 1079 0 127 674 > -/+ buffers/cache: 986 1882 > Swap: 3007 15 2992 > Total: 5876 1804 4072 > > *Error output: > *------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.apache.accumulo.minicluster.MiniAccumuloClusterTest > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 93.111 sec > <<< FAILURE! > > testPerTableClasspath(org.apache.accumulo.minicluster.MiniAccumuloClusterTest) > Time elapsed: 60.031 sec <<< ERROR! > java.lang.Exception: test timed out after 60000 milliseconds > at sun.nio.ch.Net.connect0(Native Method) > at sun.nio.ch.Net.connect(Net.java:364) > at sun.nio.ch.Net.connect(Net.java:356) > at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623) > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:96) > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:80) > at > > org.apache.accumulo.core.util.TTimeoutTransport.create(TTimeoutTransport.java:48) > at > > org.apache.accumulo.core.client.impl.ThriftTransportPool.createNewTransport(ThriftTransportPool.java:473) > at > > org.apache.accumulo.core.client.impl.ThriftTransportPool.getAnyTransport(ThriftTransportPool.java:429) > at > > org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:152) > at > > org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:128) > at > > org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:123) > at > > org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:105) > at > > org.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:71) > at > > org.apache.accumulo.core.client.impl.ConnectorImpl.<init>(ConnectorImpl.java:64) > at > > org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:227) > at > > org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:222) > at > > org.apache.accumulo.minicluster.MiniAccumuloClusterTest.testPerTableClasspath(MiniAccumuloClusterTest.java:141) > 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:601) > 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.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) > > test(org.apache.accumulo.minicluster.MiniAccumuloClusterTest) Time > elapsed: 30.007 sec <<< ERROR! > java.lang.Exception: test timed out after 30000 milliseconds > at sun.nio.ch.Net.connect0(Native Method) > at sun.nio.ch.Net.connect(Net.java:364) > at sun.nio.ch.Net.connect(Net.java:356) > at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:623) > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:96) > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:80) > at > > org.apache.accumulo.core.util.TTimeoutTransport.create(TTimeoutTransport.java:48) > at > > org.apache.accumulo.core.client.impl.ThriftTransportPool.createNewTransport(ThriftTransportPool.java:473) > at > > org.apache.accumulo.core.client.impl.ThriftTransportPool.getAnyTransport(ThriftTransportPool.java:429) > at > > org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:152) > at > > org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:128) > at > > org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:123) > at > > org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:105) > at > > org.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:71) > at > > org.apache.accumulo.core.client.impl.ConnectorImpl.<init>(ConnectorImpl.java:64) > at > > org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:227) > at > > org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:222) > at > > org.apache.accumulo.minicluster.MiniAccumuloClusterTest.test(MiniAccumuloClusterTest.java:70) > 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:601) > 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.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) > > > Results : > > Tests in error: > > > testPerTableClasspath(org.apache.accumulo.minicluster.MiniAccumuloClusterTest): > test timed out after 60000 milliseconds > test(org.apache.accumulo.minicluster.MiniAccumuloClusterTest): test timed > out after 30000 milliseconds > > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Accumulo Project ........................... SUCCESS [1.862s] > [INFO] Trace ............................................. SUCCESS [4.138s] > [INFO] Fate .............................................. SUCCESS [1.790s] > [INFO] Start ............................................. SUCCESS > [31.191s] > [INFO] Core .............................................. SUCCESS > [1:03.105s] > [INFO] Server ............................................ SUCCESS [4.000s] > [INFO] Examples .......................................... SUCCESS [0.039s] > [INFO] Simple Examples ................................... SUCCESS [8.532s] > [INFO] MiniCluster ....................................... FAILURE > [1:34.101s] > [INFO] Testing ........................................... SKIPPED > [INFO] Proxy ............................................. SKIPPED > [INFO] Assemblies ........................................ SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3:29.667s > [INFO] Finished at: Thu Jun 13 10:06:07 EDT 2013 > [INFO] Final Memory: 40M/309M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) > on project accumulo-minicluster: There are test failures. > [ERROR] > [ERROR] Please refer to /home/blue/1.5/minicluster/target/surefire-reports > for the individual test results. > [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 :accumulo-minicluster* > > * >
