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

JobMasterITCase fail on azure due to BindException

    XMLWordPrintableJSON

Details

    Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=19753&view=logs&j=39d5b1d5-3b41-54dc-6458-1e2ddd1cdcf3&t=a99e99c7-21cd-5a1f-7274-585e62b72f56&l=4251

      Jul 01 00:00:27 [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.272 s <<< FAILURE! - in org.apache.flink.runtime.jobmaster.JobMasterITCase
      Jul 01 00:00:27 [ERROR] testRejectionOfEmptyJobGraphs(org.apache.flink.runtime.jobmaster.JobMasterITCase)  Time elapsed: 3.009 s  <<< ERROR!
      Jul 01 00:00:27 org.apache.flink.util.FlinkException: Could not create the DispatcherResourceManagerComponent.
      Jul 01 00:00:27 	at org.apache.flink.runtime.entrypoint.component.DefaultDispatcherResourceManagerComponentFactory.create(DefaultDispatcherResourceManagerComponentFactory.java:275)
      Jul 01 00:00:27 	at org.apache.flink.runtime.minicluster.MiniCluster.createDispatcherResourceManagerComponents(MiniCluster.java:470)
      Jul 01 00:00:27 	at org.apache.flink.runtime.minicluster.MiniCluster.setupDispatcherResourceManagerComponents(MiniCluster.java:429)
      Jul 01 00:00:27 	at org.apache.flink.runtime.minicluster.MiniCluster.start(MiniCluster.java:373)
      Jul 01 00:00:27 	at org.apache.flink.runtime.jobmaster.JobMasterITCase.testRejectionOfEmptyJobGraphs(JobMasterITCase.java:56)
      Jul 01 00:00:27 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Jul 01 00:00:27 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      Jul 01 00:00:27 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Jul 01 00:00:27 	at java.lang.reflect.Method.invoke(Method.java:498)
      Jul 01 00:00:27 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      Jul 01 00:00:27 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      Jul 01 00:00:27 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      Jul 01 00:00:27 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      Jul 01 00:00:27 	at org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45)
      Jul 01 00:00:27 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      Jul 01 00:00:27 	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      Jul 01 00:00:27 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      Jul 01 00:00:27 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      Jul 01 00:00:27 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      Jul 01 00:00:27 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      Jul 01 00:00:27 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      Jul 01 00:00:27 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      Jul 01 00:00:27 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      Jul 01 00:00:27 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      Jul 01 00:00:27 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      Jul 01 00:00:27 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      Jul 01 00:00:27 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      Jul 01 00:00:27 Caused by: java.net.BindException: Could not start rest endpoint on any port in port range 8081
      Jul 01 00:00:27 	at org.apache.flink.runtime.rest.RestServerEndpoint.start(RestServerEndpoint.java:234)
      Jul 01 00:00:27 	at org.apache.flink.runtime.entrypoint.component.DefaultDispatcherResourceManagerComponentFactory.create(DefaultDispatcherResourceManagerComponentFactory.java:172)
      Jul 01 00:00:27 	... 34 more
      

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              xtsong Xintong Song
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: