lhotari commented on issue #11690: URL: https://github.com/apache/pulsar/issues/11690#issuecomment-905766899
the solution in #11771 doesn't seem to help. The issue persists. Here's logs from a failed test run: https://gist.github.com/lhotari/5f0176f52a409795ae9134c34efc0f7a . There are logs for the cleanup taking place, but the log gets filled up with lines such as ``` 17:49:56.812 WARN [TestNG-method=revalidateLockOnDifferentSession-1-SendThread(127.0.0.1:39133)] o.a.z.ClientCnxn@1294 - An exception was thrown while closing send thread for session 0x1000007f30d0003. org.apache.zookeeper.ClientCnxn$EndOfStreamException: Unable to read additional data from server sessionid 0x1000007f30d0003, likely server has closed socket at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77) ~[zookeeper-3.6.3.jar:3.6.3] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) ~[zookeeper-3.6.3.jar:3.6.3] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1290) [zookeeper-3.6.3.jar:3.6.3] 17:49:56.913 INFO [TestNG-method=revalidateLockOnDifferentSession-1-EventThread] o.a.p.m.i.ZKSessionWatcher@120 - Got ZK session watch event: WatchedEvent state:Closed type:None path:null 17:49:56.921 WARN [TestNG-method=revalidateLockOnDifferentSession-1-SendThread(127.0.0.1:39133)] o.a.z.ClientCnxn@1294 - An exception was thrown while closing send thread for session 0x1000007f30d0002. org.apache.zookeeper.ClientCnxn$EndOfStreamException: Unable to read additional data from server sessionid 0x1000007f30d0002, likely server has closed socket at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:77) ~[zookeeper-3.6.3.jar:3.6.3] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) ~[zookeeper-3.6.3.jar:3.6.3] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1290) [zookeeper-3.6.3.jar:3.6.3] 17:49:57.022 INFO [TestNG-method=revalidateLockOnDifferentSession-1-EventThread] o.a.p.m.i.ZKSessionWatcher@120 - Got ZK session watch event: WatchedEvent state:Closed type:None path:null ~~~~~~~~~ SKIPPED -- [TestClass name=class org.apache.pulsar.metadata.LockManagerTest].revalidateLockOnDifferentSession([ZooKeeper, 127.0.0.1:39133])------- 17:49:57.024 INFO [main] o.a.p.t.TestRetrySupport@70 - Detected test failure in test LockManagerTest.revalidateLockOnDifferentSession, currentSetupNumber=1 17:49:57.025 INFO [main] o.a.p.t.TestRetrySupport@53 - Previous test run has failed before LockManagerTest.revalidateLockOnDifferentSession, failedSetupNumber=1. Running cleanup and setup. 17:49:57.038 INFO [main] o.a.p.m.TestZKServer@81 - Stopped test ZK server 17:49:57.062 WARN [main] o.a.z.s.ServerCnxnFactory@309 - maxCnxns is not configured, using default value 0. 17:49:57.067 INFO [main] o.a.p.m.TestZKServer@65 - Started test ZK server on port 44143 17:49:57.081 INFO [main] o.a.p.m.TestZKServer@134 - ZK Server UP 17:49:57.081 INFO [main] o.a.p.t.TestRetrySupport@61 - State cleanup finished. ------- Starting test [TestClass name=class org.apache.pulsar.metadata.LockManagerTest].revalidateLockOnDifferentSession([ZooKeeper, 127.0.0.1:39133])------- 17:49:57.092 WARN [TestNG-method=revalidateLockOnDifferentSession-1-SendThread(127.0.0.1:39133)] o.a.z.ClientCnxn@1300 - Session 0x0 for sever localhost/127.0.0.1:39133, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:?] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777) ~[?:?] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:344) ~[zookeeper-3.6.3.jar:3.6.3] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1290) [zookeeper-3.6.3.jar:3.6.3] 17:49:58.195 WARN [TestNG-method=revalidateLockOnDifferentSession-1-SendThread(127.0.0.1:39133)] o.a.z.ClientCnxn@1300 - Session 0x0 for sever localhost/127.0.0.1:39133, Closing socket connection. Attempting reconnect except it is a SessionExpiredException. java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:?] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:777) ~[?:?] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:344) ~[zookeeper-3.6.3.jar:3.6.3] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1290) [zookeeper-3.6.3.jar:3.6.3] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org