Xintong Song created FLINK-24203: ------------------------------------ Summary: AbstractServerTest fails due to port conflict Key: FLINK-24203 URL: https://issues.apache.org/jira/browse/FLINK-24203 Project: Flink Issue Type: Bug Components: Runtime / Queryable State Affects Versions: 1.15.0 Reporter: Xintong Song Fix For: 1.15.0
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=23718&view=logs&j=c91190b6-40ae-57b2-5999-31b869b0a7c1&t=41463ccd-0694-5d4d-220d-8f771e7d098b&l=15081 {code} Sep 08 00:18:11 [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.19 s <<< FAILURE! - in org.apache.flink.queryablestate.network.AbstractServerTest Sep 08 00:18:11 [ERROR] testServerInitializationFailure Time elapsed: 0.026 s <<< FAILURE! Sep 08 00:18:11 java.lang.AssertionError: Sep 08 00:18:11 Sep 08 00:18:11 Expected: (an instance of org.apache.flink.util.FlinkRuntimeException and exception with message a string containing "Unable to start Test Server 2. All ports in provided range are occupied.") Sep 08 00:18:11 but: exception with message a string containing "Unable to start Test Server 2. All ports in provided range are occupied." message was "Unable to start Test Server 1. All ports in provided range are occupied." Sep 08 00:18:11 Stacktrace was: org.apache.flink.util.FlinkRuntimeException: Unable to start Test Server 1. All ports in provided range are occupied. Sep 08 00:18:11 at org.apache.flink.queryablestate.network.AbstractServerBase.start(AbstractServerBase.java:209) Sep 08 00:18:11 at org.apache.flink.queryablestate.network.AbstractServerTest.testServerInitializationFailure(AbstractServerTest.java:73) {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)