[
https://issues.apache.org/jira/browse/FLINK-34475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818866#comment-17818866
]
Matthias Pohl commented on FLINK-34475:
---------------------------------------
There's a server-side error causing the JVM exiting with code 2:
{code}
01:16:27,812 [ zkservermainrunner] ERROR
org.apache.zookeeper.server.embedded.ZooKeeperServerEmbeddedImpl [] - error
during server lifecycle
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:662)
~[zookeeper-3.7.1.jar:3.7.1]
at
org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:160)
~[zookeeper-3.7.1.jar:3.7.1]
at
org.apache.zookeeper.server.embedded.ZooKeeperServerEmbeddedImpl$4.run(ZooKeeperServerEmbeddedImpl.java:159)
[zookeeper-3.7.1.jar:3.7.1]
01:16:27,813 [ zkservermainrunner] INFO
org.apache.zookeeper.server.ZooKeeperServerMain [] - Connection
factory did not start
01:16:27,822 [ zkservermainrunner] ERROR
org.apache.zookeeper.util.ServiceUtils [] - Exiting JVM
with code 2
01:16:27,832 [ zkservermainrunner] INFO
org.apache.zookeeper.server.embedded.ZooKeeperServerEmbeddedImpl [] - ZK server
died. Requesting stop on JVM
{code}
> 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
> Reporter: Matthias Pohl
> Priority: Critical
> Labels: test-stability
> Attachments: FLINK-34475.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
(v8.20.10#820010)