You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Eugene Koontz (JIRA)" <ji...@apache.org> on 2011/08/04 00:37:27 UTC
[jira] [Created] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
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
Priority: Blocker
Fix For: 3.4.0
Attachments: 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
[jira] [Resolved] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar resolved ZOOKEEPER-1145.
--------------------------------------
Resolution: Duplicate
Marking it as duplicate of ZOOKEEPER-1144.
> 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
[jira] [Commented] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Vishal Kher (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Eugene Koontz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene Koontz updated ZOOKEEPER-1145:
-------------------------------------
Attachment: out.txt
test console output showing one successful run followed by one failed run.
> 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
> 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
[jira] [Commented] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Eugene Koontz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082015#comment-13082015 ]
Eugene Koontz commented on ZOOKEEPER-1145:
------------------------------------------
Hi Vishal, Good news. I tried trunk today (commit e9373536) with your patch on a EC-2 m2.xlarge. I ran ObserverTest 300 times and the whole "ant test" 3 times. No errors.
> 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
[jira] [Commented] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082109#comment-13082109 ]
Mahadev konar commented on ZOOKEEPER-1145:
------------------------------------------
thats great news!
> 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
[jira] [Updated] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Eugene Koontz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene Koontz updated ZOOKEEPER-1145:
-------------------------------------
Attachment: repeat.sh
> 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
> Priority: Blocker
> Fix For: 3.4.0
>
> Attachments: 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
[jira] [Commented] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Vishal Kher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079092#comment-13079092 ]
Vishal Kher commented on ZOOKEEPER-1145:
----------------------------------------
Error looks similar to what I have been seeing. I reported the cause of the problem here: https://issues.apache.org/jira/browse/ZOOKEEPER-1144
> 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
> 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
[jira] [Assigned] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Eugene Koontz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene Koontz reassigned ZOOKEEPER-1145:
----------------------------------------
Assignee: Eugene Koontz
> 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: Eugene Koontz
> 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
[jira] [Commented] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Vishal Kher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080625#comment-13080625 ]
Vishal Kher commented on ZOOKEEPER-1145:
----------------------------------------
Eugene,
Can you please verify if patch for ZOOKEEPER-1144 works for you? Thanks.
> 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
[jira] [Assigned] (ZOOKEEPER-1145) ObserverTest.testObserver fails
at particular point after several runs of ant junt.run
-Dtestcase=ObserverTest
Posted by "Eugene Koontz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene Koontz reassigned ZOOKEEPER-1145:
----------------------------------------
Assignee: Vishal Kher (was: Eugene Koontz)
> 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