[ 
https://issues.apache.org/jira/browse/FLINK-30507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654873#comment-17654873
 ] 

Matthias Pohl commented on FLINK-30507:
---------------------------------------

[~Wencong Liu] could you share logs to support your conclusion?

I looked into the logs and found an {{BindException}} that might be the cause 
for the timeout:
{code}
05:12:28,231 [         Thread-2155] INFO  
org.apache.curator.test.TestingZooKeeperMain                 [] - Could not 
start server. Waiting and trying one more time.
java.net.BindException: Address already in use
        at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_292]
        at sun.nio.ch.Net.bind(Net.java:461) ~[?:1.8.0_292]
        at sun.nio.ch.Net.bind(Net.java:453) ~[?:1.8.0_292]
        at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) 
~[?:1.8.0_292]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85) 
~[?:1.8.0_292]
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:78) 
~[?:1.8.0_292]
        at 
org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:687)
 ~[zookeeper-3.5.9.jar:3.5.9]
        at 
org.apache.zookeeper.server.ServerCnxnFactory.configure(ServerCnxnFactory.java:76)
 ~[zookeeper-3.5.9.jar:3.5.9]
        at 
org.apache.curator.test.TestingZooKeeperMain.internalRunFromConfig(TestingZooKeeperMain.java:244)
 [curator-test-5.2.0.jar:5.2.0]
        at 
org.apache.curator.test.TestingZooKeeperMain.runFromConfig(TestingZooKeeperMain.java:136)
 [curator-test-5.2.0.jar:5.2.0]
        at 
org.apache.curator.test.TestingZooKeeperServer$1.run(TestingZooKeeperServer.java:162)
 [curator-test-5.2.0.jar:5.2.0]
{code}

We've seen several other test failures with this issue (e.g. FLINK-24505 and 
FLINK-20523). FLINK-20523 already lists the cause. It appears that there is a 
bug in curator (CURATOR-535) that causes this instability. I would close this 
issue as a duplicate of FLINK-20523 if you agree.

> EventTimeWindowCheckpointingITCase.testTumblingTimeWindowWithKVStateMinMaxParallelism
>  could not be initialized
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-30507
>                 URL: https://issues.apache.org/jira/browse/FLINK-30507
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.17.0
>            Reporter: Qingsheng Ren
>            Priority: Major
>              Labels: test-stability
>         Attachments: image-2022-12-29-15-48-55-564.png, 
> image-2022-12-29-15-51-12-230.png, image-2022-12-29-15-52-17-508.png
>
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=44245&view=logs&j=4d4a0d10-fca2-5507-8eed-c07f0bdf4887&t=7b25afdf-cc6c-566f-5459-359dc2585798&l=12367



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to