[
https://issues.apache.org/jira/browse/IGNITE-29383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Amelchev updated IGNITE-29383:
-------------------------------------
Fix Version/s: 2.20
> Fix ZooKeeper discovery test suite startup failures
> ---------------------------------------------------
>
> Key: IGNITE-29383
> URL: https://issues.apache.org/jira/browse/IGNITE-29383
> Project: Ignite
> Issue Type: Bug
> Reporter: Nikita Amelchev
> Assignee: Nikita Amelchev
> Priority: Major
> Fix For: 2.20
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> ZooKeeper discovery test suites can terminate before running any tests
> because the embedded ZooKeeper cluster selects the same port for different
> server endpoints. Ensure unique client, election, and quorum ports across the
> test cluster to prevent these startup failures.
>
> {{java.net.BindException: Address already in use at
> java.base/sun.nio.ch.Net.bind0(Native Method) at
> java.base/sun.nio.ch.Net.bind(Net.java:567) at
> java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337)
> at
> java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294)
> at
> java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:89) at
> java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:81) at
> org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:662)
> at
> org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:169)
> at
> org.apache.zookeeper.server.embedded.ZooKeeperServerEmbeddedImpl$2.run(ZooKeeperServerEmbeddedImpl.java:129)
> [ERROR][zkservermainrunner][ServiceUtils] Exiting JVM with code 2}}
>
> Related test port allocation issue: ZOOKEEPER-2183 — Concurrent Testing
> Processes and Port Assignments.
> CI example:
> [https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_ZooKeeperDiscovery3/9538793?logFilter=debug&logView=flowAware]
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)