Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # dev >> Re: ZooKeeper-trunk - Build # 1239 - Still Failing


Copy link to this message
-
Re: ZooKeeper-trunk - Build # 1239 - Still Failing
Hi,

ant test-core-java is consistently failing for me.

The error seems to be either:

Testcase: testFollowersStartAfterLeader took 35.577 sec
    Caused an ERROR
Did not connect
java.util.concurrent.TimeoutException: Did not connect
    at
org.apache.zookeeper.test.ClientBase$CountdownWatcher.waitForConnected(ClientBase.java:124)
    at
org.apache.zookeeper.test.QuorumTest.testFollowersStartAfterLeader(QuorumTest.java:308)
    at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)

or

Testcase: testNoLogBeforeLeaderEstablishment took 8.831 sec
    Caused an ERROR
KeeperErrorCode = ConnectionLoss for /blah
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /blah
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
    at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
    at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:761)
    at
org.apache.zookeeper.test.QuorumTest.testNoLogBeforeLeaderEstablishment(QuorumTest.java:385)
    at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)

Looks like the reason why the tests are failing for me is similar to why the
tests failed on hudson:

2011-07-11 14:47:26,219 [myid:] - INFO  [QuorumPeer[myid=2]/0.0.0.0:11379
:Leader@425] - Shutdown called
java.lang.Exception: shutdown Leader! reason: Only 0 followers, need 1
    at org.apache.zookeeper.server.quorum.Leader.shutdown(Leader.java:425)
    at org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:400)
    at
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:729)
2011-07-11 14:47:26,220 [myid:] - INFO  [QuorumPeer[myid=2]/0.0.0.0:11379
:ZooKeeperServer@416] - shutting down

The leader is not able to ping the followers. Has anyone seen this before?

Thanks.
-Vishal

On Sun, Jul 10, 2011 at 6:52 AM, Apache Jenkins Server <
[EMAIL PROTECTED]> wrote:

> See https://builds.apache.org/job/ZooKeeper-trunk/1239/
>
>
> ###################################################################################
> ########################## LAST 60 LINES OF THE CONSOLE
> ###########################
> [...truncated 242795 lines...]
>    [junit] 2011-07-10 10:57:16,673 [myid:] - INFO
>  [main:SessionTrackerImpl@206] - Shutting down
>    [junit] 2011-07-10 10:57:16,673 [myid:] - INFO
>  [main:PrepRequestProcessor@702] - Shutting down
>    [junit] 2011-07-10 10:57:16,674 [myid:] - INFO
>  [main:SyncRequestProcessor@170] - Shutting down
>    [junit] 2011-07-10 10:57:16,674 [myid:] - INFO
>  [SyncThread:0:SyncRequestProcessor@152] - SyncRequestProcessor exited!
>    [junit] 2011-07-10 10:57:16,675 [myid:] - INFO
>  [main:FinalRequestProcessor@423] - shutdown of request processor complete
>    [junit] 2011-07-10 10:57:16,674 [myid:] - INFO  [ProcessThread(sid:0
> cport:-1)::PrepRequestProcessor@133] - PrepRequestProcessor exited loop!
>    [junit] 2011-07-10 10:57:16,676 [myid:] - INFO  [main:ClientBase@227] -
> connecting to 127.0.0.1 11221
>    [junit] ensureOnly:[]
>    [junit] 2011-07-10 10:57:16,677 [myid:] - INFO  [main:ClientBase@428] -
> STARTING server
>    [junit] 2011-07-10 10:57:16,678 [myid:] - INFO
>  [main:ZooKeeperServer@164] - Created server with tickTime 3000
> minSessionTimeout 6000 maxSessionTimeout 60000 datadir
> /grid/0/hudson/hudson-slave/workspace/ZooKeeper-trunk/trunk/build/test/tmp/test1139867753736175617.junit.dir/version-2
> snapdir
> /grid/0/hudson/hudson-slave/workspace/ZooKeeper-trunk/trunk/build/test/tmp/test1139867753736175617.junit.dir/version-2
>    [junit] 2011-07-10 10:57:16,679 [myid:] - INFO
>  [main:NIOServerCnxnFactory@94] - binding to port 0.0.0.0/0.0.0.0:11221
>    [junit] 2011-07-10 10:57:16,680 [myid:] - INFO  [main:FileSnap@83] -
> Reading snapshot
> /grid/0/hudson/hudson-slave/workspace/ZooKeeper-trunk/trunk/build/test/tmp/test1139867753736175617.junit.dir/version-2/snapshot.b
>    [junit] 2011-07-10 10:57:16,683 [myid:] - INFO  [main:FileTxnSnapLog@256]