Guowei Ma created FLINK-22756:
---------------------------------

             Summary: DispatcherTest.testJobStatusIsShownDuringTermination fail
                 Key: FLINK-22756
                 URL: https://issues.apache.org/jira/browse/FLINK-22756
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
    Affects Versions: 1.12.4
            Reporter: Guowei Ma


https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=18255&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1&t=05b74a19-4ee4-5036-c46f-ada307df6cf0&l=7871


{code:java}
2021-05-21T21:11:09.4635978Z java.util.concurrent.ExecutionException: 
org.apache.flink.util.FlinkException: JobMaster has been shut down.
2021-05-21T21:11:09.4637019Z    at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
2021-05-21T21:11:09.4637464Z    at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
2021-05-21T21:11:09.4637981Z    at 
org.apache.flink.runtime.dispatcher.DispatcherTest.lambda$testJobStatusIsShownDuringTermination$4(DispatcherTest.java:883)
2021-05-21T21:11:09.4638553Z    at 
org.apache.flink.runtime.testutils.CommonTestUtils.waitUntilCondition(CommonTestUtils.java:145)
2021-05-21T21:11:09.4639055Z    at 
org.apache.flink.runtime.testutils.CommonTestUtils.waitUntilCondition(CommonTestUtils.java:129)
2021-05-21T21:11:09.4639610Z    at 
org.apache.flink.runtime.dispatcher.DispatcherTest.testJobStatusIsShownDuringTermination(DispatcherTest.java:878)
2021-05-21T21:11:09.4640216Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2021-05-21T21:11:09.4640602Z    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2021-05-21T21:11:09.4641247Z    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2021-05-21T21:11:09.4641741Z    at 
java.lang.reflect.Method.invoke(Method.java:498)
2021-05-21T21:11:09.4642140Z    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
2021-05-21T21:11:09.4642614Z    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2021-05-21T21:11:09.4643071Z    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
2021-05-21T21:11:09.4643542Z    at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
2021-05-21T21:11:09.4644005Z    at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
2021-05-21T21:11:09.4644439Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2021-05-21T21:11:09.4644856Z    at 
org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
2021-05-21T21:11:09.4645262Z    at 
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
2021-05-21T21:11:09.4645791Z    at 
org.apache.flink.runtime.util.TestingFatalErrorHandlerResource$CloseableStatement.evaluate(TestingFatalErrorHandlerResource.java:91)
2021-05-21T21:11:09.4646462Z    at 
org.apache.flink.runtime.util.TestingFatalErrorHandlerResource$CloseableStatement.access$200(TestingFatalErrorHandlerResource.java:83)
2021-05-21T21:11:09.4647082Z    at 
org.apache.flink.runtime.util.TestingFatalErrorHandlerResource$1.evaluate(TestingFatalErrorHandlerResource.java:55)
2021-05-21T21:11:09.4647575Z    at 
org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
2021-05-21T21:11:09.4654167Z    at 
org.junit.rules.RunRules.evaluate(RunRules.java:20)
2021-05-21T21:11:09.4654899Z    at 
org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
2021-05-21T21:11:09.4655596Z    at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
2021-05-21T21:11:09.4656331Z    at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
2021-05-21T21:11:09.4657027Z    at 
org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
2021-05-21T21:11:09.4657627Z    at 
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
2021-05-21T21:11:09.4658233Z    at 
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
2021-05-21T21:11:09.4658829Z    at 
org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
2021-05-21T21:11:09.4659467Z    at 
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
2021-05-21T21:11:09.4660188Z    at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
2021-05-21T21:11:09.4660863Z    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2021-05-21T21:11:09.4661874Z    at 
org.junit.runners.ParentRunner.run(ParentRunner.java:363)
2021-05-21T21:11:09.4662519Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
2021-05-21T21:11:09.4663240Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
2021-05-21T21:11:09.4664297Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
2021-05-21T21:11:09.4665029Z    at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
2021-05-21T21:11:09.4665782Z    at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
2021-05-21T21:11:09.4666612Z    at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
2021-05-21T21:11:09.4667311Z    at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
2021-05-21T21:11:09.4667949Z    at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
2021-05-21T21:11:09.4668793Z Caused by: org.apache.flink.util.FlinkException: 
JobMaster has been shut down.
2021-05-21T21:11:09.4669512Z    at 
org.apache.flink.runtime.jobmaster.JobManagerRunnerImpl.closeAsync(JobManagerRunnerImpl.java:204)
2021-05-21T21:11:09.4670398Z    at 
org.apache.flink.runtime.dispatcher.DispatcherTest$BlockingTerminationJobMangerService.closeAsync(DispatcherTest.java:1073)
2021-05-21T21:11:09.4671409Z    at 
java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:995)
2021-05-21T21:11:09.4672199Z    at 
java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137)
2021-05-21T21:11:09.4672950Z    at 
org.apache.flink.runtime.dispatcher.DispatcherJob.lambda$closeAsync$7(DispatcherJob.java:253)
2021-05-21T21:11:09.4673662Z    at 
java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:836)
2021-05-21T21:11:09.4674426Z    at 
java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:811)
2021-05-21T21:11:09.4675124Z    at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
2021-05-21T21:11:09.4675810Z    at 
java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1609)
2021-05-21T21:11:09.4676528Z    at 
java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
2021-05-21T21:11:09.4677229Z    at 
java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
2021-05-21T21:11:09.4677922Z    at 
java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
2021-05-21T21:11:09.4678648Z    at 
java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
2021-05-21T21:11:09.4679341Z    at 
java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)

{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to