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

Alexander Shraer commented on ZOOKEEPER-2080:
---------------------------------------------

I looked at the logs from two recent failures of this test on hudson. Here's 
what I see in both:

2015-08-13 12:11:05,321 [myid:3] - INFO  
[QuorumPeer[myid=3](plain=/127.0.0.1:24740)(secure=disabled):QuorumPeer@986] - 
LOOKING
2015-08-13 12:11:05,321 [myid:3] - INFO  
[QuorumPeer[myid=3](plain=/127.0.0.1:24740)(secure=disabled):FastLeaderElection@894]
 - New election. My id =  3, proposed zxid=0x0
2015-08-13 12:11:05,324 [myid:3] - INFO  
[QuorumPeerListener:QuorumCnxManager$Listener@631] - My election bind port: 
localhost/127.0.0.1:24739
2015-08-13 12:11:05,331 [myid:3] - INFO  
[localhost/127.0.0.1:24739:QuorumCnxManager$Listener@637] - Received connection 
request /127.0.0.1:50282
2015-08-13 12:11:05,331 [myid:3] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection$Messenger$WorkerReceiver@294] - 3 
Received version: 100000000 my version: 0
2015-08-13 12:11:05,337 [myid:3] - INFO  
[WorkerReceiver[myid=3]:FastLeaderElection$Messenger$WorkerReceiver@301] - 
restarting leader election
2015-08-13 12:11:05,540 [myid:3] - WARN  
[RecvWorker:0:QuorumCnxManager$RecvWorker@920] - Interrupting SendWorker
2015-08-13 12:11:05,542 [myid:3] - WARN  
[SendWorker:0:QuorumCnxManager$SendWorker@834] - Interrupted while waiting for 
message on queue
2015-08-13 12:11:05,544 [myid:3] - WARN  
[SendWorker:0:QuorumCnxManager$SendWorker@843] - Send worker leaving thread  id 
0 my id = 3
2015-08-13 12:11:06,411 [myid:3] - INFO  
[NIOServerCxnFactory.AcceptThread:localhost/127.0.0.1:24740:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:42161
2015-08-13 12:11:06,412 [myid:3] - WARN  [NIOWorkerThread-1:NIOServerCnxn@369] 
- Exception causing close of session 0x0: ZooKeeperServer not running
2015-08-13 12:11:06,412 [myid:3] - INFO  [NIOWorkerThread-1:NIOServerCnxn@606] 
- Closed socket connection for client /127.0.0.1:42161 (no se

and then the last 3 messages are basically repeated until the end of the test. 

So - after restart attempt in fast leader election, ZooKeeperServer is not 
running

> ReconfigRecoveryTest fails intermittently
> -----------------------------------------
>
>                 Key: ZOOKEEPER-2080
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2080
>             Project: ZooKeeper
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>            Assignee: Raul Gutierrez Segales
>            Priority: Minor
>
> I got the following test failure on MacBook with trunk code:
> {code}
> Testcase: testCurrentObserverIsParticipantInNewConfig took 93.628 sec
>   FAILED
> waiting for server 2 being up
> junit.framework.AssertionFailedError: waiting for server 2 being up
>   at 
> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentObserverIsParticipantInNewConfig(ReconfigRecoveryTest.java:529)
>   at 
> org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:52)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to