[ https://issues.apache.org/jira/browse/FLINK-24505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459382#comment-17459382 ]
Till Rohrmann commented on FLINK-24505: --------------------------------------- [~mapohl] do you know how the bind exceptions can happen? > org.apache.flink.runtime.leaderelection.ZooKeeperLeaderRetrievalConnectionHandlingTest > -------------------------------------------------------------------------------------- > > Key: FLINK-24505 > URL: https://issues.apache.org/jira/browse/FLINK-24505 > Project: Flink > Issue Type: Bug > Components: Runtime / Coordination > Affects Versions: 1.14.0 > Reporter: Matthias Pohl > Priority: Major > Labels: stale-major, test-stability > Attachments: logs-ci_build-test_ci_build_core-1632221898.zip > > > We experienced a test instability on [the VVP Flink 1.14.0 > fork|https://dev.azure.com/ververica-dev/daplatform-flink/_build/results?buildId=1475&view=logs&j=9dc1b5dc-bcfa-5f83-eaa7-0cb181ddc267&t=511d2595-ec54-5ab7-86ce-92f328796f20&l=9473] > which is caused by a port already being in used by some other test. > {{ZooKeeperLeaderRetrievalConnectionHandlingTest.testConnectionSuspendedHandling}} > failed due to this: > {code} > 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) > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)