You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2014/04/20 03:39:15 UTC

[jira] [Commented] (ZOOKEEPER-1914) TestWatchers.cc failure

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

Michi Mutsuzaki commented on ZOOKEEPER-1914:
--------------------------------------------

I can reproduce this failure pretty consistently on my setup. The problem seems to be that the client somehow starts trying to connect to port 22181, which is the standalone server port. TestWatchers.cc uses the mock server, so it's not supposed to connect to the standalone port. This failure doesn't happen if I run only TestWatchers, so I'm guessing something is not getting destroyed properly in some other test. 

{noformat}
2014-04-19 18:18:38,543:31200(0x7f0c51437740):ZOO_INFO@zookeeper_init_internal@1008: Initiating client connection, host=localhost:2121 sessionTimeout=10000 watcher=0x40b360 sessionId=0x75bcd15 sessionPasswd=<hidden> context=0x7fff1cfa30e0 flags=0
2014-04-19 18:18:38,543:31200(0x7f0c4ef8b700):ZOO_INFO@check_events@2105: initiated connection to server [127.0.0.1:2121]
2014-04-19 18:18:38,543:31200(0x7f0c4ef8b700):ZOO_INFO@check_events@2153: session establishment complete on server [127.0.0.1:2121], sessionId=0x75bcd15, negotiated timeout=10000
2014-04-19 18:18:38,543:31200(0x7f0c3dffb700):ZOO_INFO@check_events@2105: initiated connection to server [127.0.0.1:22181]
2014-04-19 18:18:38,543:31200(0x7f0c3dffb700):ZOO_ERROR@handle_socket_error_msg@2123: Socket [127.0.0.1:22181] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
{noformat}

> TestWatchers.cc failure
> -----------------------
>
>                 Key: ZOOKEEPER-1914
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1914
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: Michi Mutsuzaki
>            Assignee: Michi Mutsuzaki
>             Fix For: 3.5.0
>
>
> https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2051/console
>      [exec]      [exec] /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-Build/trunk/src/c/tests/TestWatchers.cc:667: Assertion: assertion failed [Expression: ensureCondition( deliveryTracker.deliveryCounterEquals(2),1000)<1000]



--
This message was sent by Atlassian JIRA
(v6.2#6252)