zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishal Kher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1145) ObserverTest.testObserver fails at particular point after several runs of ant junt.run -Dtestcase=ObserverTest
Date Wed, 10 Aug 2011 13:05:32 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082313#comment-13082313
] 

Vishal Kher commented on ZOOKEEPER-1145:
----------------------------------------


Great! Thanks for verifying the patch.

> ObserverTest.testObserver fails at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1145
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1145
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.4.0
>            Reporter: Eugene Koontz
>            Assignee: Vishal Kher
>            Priority: Blocker
>             Fix For: 3.4.0
>
>         Attachments: out.txt, repeat.sh
>
>
> Use the attached repeat.sh to run ObserverTest repeatedly by doing: 
> src/repeat.sh ObserverTest
> The test will will fail eventually after a few iterations; should be only a few minutes.
> The line that fails in the test is: 
> zk = new ZooKeeper("127.0.0.1:" + CLIENT_PORT_OBS,
>                 ClientBase.CONNECTION_TIMEOUT, this);
> Attached as out.txt is the output showing a successful run, for comparison, followed
by a failed run.
> Note that in the seconds before the test fails, in the following lines, that there is
a 24 second gap in time (between 22:13:02 and 22:13:26):
> bq.
> [junit] 2011-08-03 22:13:02,167 [myid:3] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11229:ZooKeeperServer@833]
- Client attempting to establish new session at /127.0.0.1:46929
> [junit] 2011-08-03 22:13:26,003 [myid:2] - INFO  [QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:11228:Leader@419]
- Shutting down
> [junit] 2011-08-03 22:13:26,003 [myid:2] - INFO  [QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:11228:Leader@425]
- Shutdown called
> [junit] java.lang.Exception: shutdown Leader! reason: Only 0 followers, need 1

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message