Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24505

org.apache.flink.runtime.leaderelection.ZooKeeperLeaderRetrievalConnectionHandlingTest

    XMLWordPrintableJSON

Details

    Description

      We experienced a test instability on the VVP Flink 1.14.0 fork which is caused by a port already being in used by some other test. ZooKeeperLeaderRetrievalConnectionHandlingTest.testConnectionSuspendedHandling failed due to this:

      Sep 21 11:04:28 [ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 16.018 s <<< FAILURE! - in org.apache.flink.runtime.leaderelection.ZooKeeperLeaderRetrievalConnectionHandlingTest
      Sep 21 11:04:28 [ERROR] testConnectionSuspendedHandling  Time elapsed: 4.233 s  <<< ERROR!
      Sep 21 11:04:28 java.net.BindException: Address already in use
      Sep 21 11:04:28         at sun.nio.ch.Net.bind0(Native Method)
      Sep 21 11:04:28         at sun.nio.ch.Net.bind(Net.java:461)
      Sep 21 11:04:28         at sun.nio.ch.Net.bind(Net.java:453)
      Sep 21 11:04:28         at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222)
      Sep 21 11:04:28         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
      Sep 21 11:04:28         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:78)
      Sep 21 11:04:28         at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:90)
      Sep 21 11:04:28         at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:120)
      Sep 21 11:04:28         at org.apache.curator.test.TestingZooKeeperMain.runFromConfig(TestingZooKeeperMain.java:93)
      Sep 21 11:04:28         at org.apache.curator.test.TestingZooKeeperServer$1.run(TestingZooKeeperServer.java:148)
      Sep 21 11:04:28         at java.lang.Thread.run(Thread.java:748)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: