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

FileExecutionGraphInfoStoreTest.testPutSuspendedJobOnClusterShutdown should wait until job is running

    XMLWordPrintableJSON

Details

    Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=18754&view=logs&j=77a9d8e1-d610-59b3-fc2a-4766541e0e33&t=7c61167f-30b3-5893-cc38-a9e3d057e392&l=7744

      Jun 08 00:03:01 [ERROR] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.21 s <<< FAILURE! - in org.apache.flink.runtime.dispatcher.FileExecutionGraphInfoStoreTest
      Jun 08 00:03:01 [ERROR] testPutSuspendedJobOnClusterShutdown(org.apache.flink.runtime.dispatcher.FileExecutionGraphInfoStoreTest)  Time elapsed: 2.763 s  <<< ERROR!
      Jun 08 00:03:01 org.apache.flink.util.FlinkException: Could not close resource.
      Jun 08 00:03:01 	at org.apache.flink.util.AutoCloseableAsync.close(AutoCloseableAsync.java:39)
      Jun 08 00:03:01 	at org.apache.flink.runtime.dispatcher.FileExecutionGraphInfoStoreTest.testPutSuspendedJobOnClusterShutdown(FileExecutionGraphInfoStoreTest.java:349)
      Jun 08 00:03:01 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Jun 08 00:03:01 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      Jun 08 00:03:01 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Jun 08 00:03:01 	at java.lang.reflect.Method.invoke(Method.java:498)
      Jun 08 00:03:01 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      Jun 08 00:03:01 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      Jun 08 00:03:01 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      Jun 08 00:03:01 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      Jun 08 00:03:01 	at org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45)
      Jun 08 00:03:01 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      Jun 08 00:03:01 	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      Jun 08 00:03:01 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      Jun 08 00:03:01 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      Jun 08 00:03:01 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
      Jun 08 00:03:01 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      Jun 08 00:03:01 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      Jun 08 00:03:01 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      Jun 08 00:03:01 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      Jun 08 00:03:01 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      Jun 08 00:03:01 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      Jun 08 00:03:01 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      Jun 08 00:03:01 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      Jun 08 00:03:01 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      Jun 08 00:03:01 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      Jun 08 00:03:01 Caused by: org.apache.flink.runtime.rpc.akka.exceptions.AkkaRpcException: Discard message, because the rpc endpoint akka://flink/user/rpc/resourcemanager_2 has not been started yet.
      Jun 08 00:03:01 	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:170)
      Jun 08 00:03:01 	at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26)
      Jun 08 00:03:01 	at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21)
      Jun 08 00:03:01 	at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123)
      Jun 08 00:03:01 	at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21)
      Jun 08 00:03:01 	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170)
      Jun 08 00:03:01 	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
      Jun 08 00:03:01 	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
      Jun 08 00:03:01 	at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
      Jun 08 00:03:01 	at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:225)
      Jun 08 00:03:01 	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:592)
      Jun 08 00:03:01 	at akka.actor.ActorCell.invoke(ActorCell.scala:561)
      Jun 08 00:03:01 	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)
      Jun 08 00:03:01 	at akka.dispatch.Mailbox.run(Mailbox.scala:225)
      Jun 08 00:03:01 	at akka.dispatch.Mailbox.exec(Mailbox.scala:235)
      Jun 08 00:03:01 	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      Jun 08 00:03:01 	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      Jun 08 00:03:01 	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      Jun 08 00:03:01 	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      
      

      Attachments

        Issue Links

          Activity

            People

              fpaul Fabian Paul
              xtsong Xintong Song
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: