[ 
https://issues.apache.org/jira/browse/FLINK-34475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Visser reopened FLINK-34475:
------------------------------------

Reopening, this is not a one-off. Same bind failure and exit code 2, now in 
ZooKeeperLeaderElectionITCase on release-1.20, nightly 2026-10-29 
(AdaptiveScheduler, module tests, Java 8):
https://github.com/apache/flink/actions/runs/40803857827/job/123229673188

{code}
02:51:55,272 [  zkservermainrunner] INFO  
org.apache.zookeeper.server.NIOServerCnxnFactory [] - binding to port 
0.0.0.0/0.0.0.0:34757
02:51:55,273 [  zkservermainrunner] ERROR 
org.apache.zookeeper.server.embedded.ZooKeeperServerEmbeddedImpl [] - error 
during server lifecycle
java.net.BindException: Address already in use
02:51:55,284 [  zkservermainrunner] ERROR 
org.apache.zookeeper.util.ServiceUtils [] - Exiting JVM with code 2
[ERROR] ExecutionException The forked VM terminated without properly saying 
goodbye. VM crash or System.exit called?
[ERROR] Process Exit Code: 2
{code}

The fork died in the class setup, before the first test method started. 
FLINK-34920 was the same thing in 
ZooKeeperLeaderRetrievalConnectionHandlingTest on 1.19, so this is the third 
occurrence across three test classes.

> ZooKeeperLeaderElectionDriverTest failed with exit code 2
> ---------------------------------------------------------
>
>                 Key: FLINK-34475
>                 URL: https://issues.apache.org/jira/browse/FLINK-34475
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.18.1, 1.20.6
>            Reporter: Matthias Pohl
>            Priority: Major
>              Labels: test-stability
>         Attachments: FLINK-34475.log, FLINK-34475.zookeeper-client.log, 
> FLINK-34475.zookeeper-server.log
>
>
> [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=57649&view=logs&j=0e7be18f-84f2-53f0-a32d-4a5e4a174679&t=7c1d86e3-35bd-5fd5-3b7c-30c126a78702&l=8746]
> {code:java}
> Feb 20 01:20:02 01:20:02.369 [ERROR] Process Exit Code: 2
> Feb 20 01:20:02 01:20:02.369 [ERROR] Crashed tests:
> Feb 20 01:20:02 01:20:02.369 [ERROR] 
> org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionDriverTest
> Feb 20 01:20:02 01:20:02.369 [ERROR]  at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:748)
> {code}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to