[ https://issues.apache.org/jira/browse/FLINK-24821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454144#comment-17454144 ]
Arvid Heise commented on FLINK-24821: ------------------------------------- https://github.com/apache/flink/pull/16108 is currently addressing the issue by introducing file locks. > FlinkKafkaProducerMigrationOperatorTest.testRestoreProducer fails on AZP > ------------------------------------------------------------------------ > > Key: FLINK-24821 > URL: https://issues.apache.org/jira/browse/FLINK-24821 > Project: Flink > Issue Type: Bug > Components: Connectors / Kafka > Affects Versions: 1.14.0, 1.15.0 > Reporter: Till Rohrmann > Priority: Critical > Labels: test-stability > Fix For: 1.15.0, 1.14.1 > > > The test {{FlinkKafkaProducerMigrationOperatorTest.testRestoreProducer}} > fails on AZP with > {code} > Nov 07 23:02:14 [ERROR] testRestoreProducer[Migration Savepoint: 1.8] Time > elapsed: 2.008 s <<< ERROR! > Nov 07 23:02:14 java.net.BindException: Address already in use > Nov 07 23:02:14 at sun.nio.ch.Net.bind0(Native Method) > Nov 07 23:02:14 at sun.nio.ch.Net.bind(Net.java:461) > Nov 07 23:02:14 at sun.nio.ch.Net.bind(Net.java:453) > Nov 07 23:02:14 at > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) > Nov 07 23:02:14 at > sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85) > Nov 07 23:02:14 at > sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:78) > Nov 07 23:02:14 at > org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:90) > Nov 07 23:02:14 at > org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:120) > Nov 07 23:02:14 at > org.apache.curator.test.TestingZooKeeperMain.runFromConfig(TestingZooKeeperMain.java:93) > Nov 07 23:02:14 at > org.apache.curator.test.TestingZooKeeperServer$1.run(TestingZooKeeperServer.java:148) > Nov 07 23:02:14 at java.lang.Thread.run(Thread.java:748) > {code} > https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=26096&view=logs&j=72d4811f-9f0d-5fd0-014a-0bc26b72b642&t=e424005a-b16e-540f-196d-da062cc19bdf&l=7302 > It looks that there is a race condition for avaiable ports. -- This message was sent by Atlassian Jira (v8.20.1#820001)