Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1833 fix windows build
  3. ZOOKEEPER-1904

WatcherTest#testWatchAutoResetWithPending is failing

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.7, 3.5.0
    • tests
    • None

    Description

      Following is the stacktrace taken from Build : ZooKeeper-3.4-WinVS2008_java/465

          [junit] 2014-03-19 09:28:50,020 [myid:] - INFO  [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@975] - Opening socket connection to server 127.0.0.1/127.0.0.1:11278. Will not attempt to authenticate using SASL (unknown error)
          [junit] 2014-03-19 09:28:51,025 [myid:] - WARN  [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@1102] - Session 0x144d9ab1f9e0000 for server null, unexpected error, closing socket connection and attempting reconnect
          [junit] java.net.ConnectException: Connection refused: no further information
          [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
          [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701)
          [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
          [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
          [junit] 2014-03-19 09:28:52,661 [myid:] - INFO  [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@975] - Opening socket connection to server 127.0.0.1/127.0.0.1:11278. Will not attempt to authenticate using SASL (unknown error)
          [junit] 2014-03-19 09:28:53,640 [myid:] - WARN  [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@1102] - Session 0x144d9ab1f9e0000 for server null, unexpected error, closing socket connection and attempting reconnect
          [junit] java.net.ConnectException: Connection refused: no further information
          [junit] 	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
          [junit] 	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:701)
          [junit] 	at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
          [junit] 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
          [junit] 2014-03-19 09:28:55,435 [myid:] - INFO  [main-SendThread(127.0.0.1:11278):ClientCnxn$SendThread@975] - Opening socket connection to server 127.0.0.1/127.0.0.1:11278. Will not attempt to authenticate using SASL (unknown error)
          [junit] 2014-03-19 09:28:56,111 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@62] - TEST METHOD FAILED testWatchAutoResetWithPending
          [junit] java.util.concurrent.TimeoutException: Did not disconnect
          [junit] 	at org.apache.zookeeper.test.ClientBase$CountdownWatcher.waitForDisconnected(ClientBase.java:145)
          [junit] 	at org.apache.zookeeper.test.WatcherTest.testWatchAutoResetWithPending(WatcherTest.java:202)
          [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

      Attachments

        1. ZOOKEEPER-1904.patch
          2 kB
          Rakesh Radhakrishnan
        2. ZOOKEEPER-1904.patch
          2 kB
          Rakesh Radhakrishnan
        3. ZOOKEEPER-1904.patch
          2 kB
          Rakesh Radhakrishnan

        Activity

          People

            rakeshr Rakesh Radhakrishnan
            rakeshr Rakesh Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: