Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24203

AbstractServerTest fails due to port conflict

    XMLWordPrintableJSON

Details

    Description

      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

      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)
      

      Attachments

        Issue Links

          Activity

            People

              xmarker xmarker
              xtsong Xintong Song
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: