Huang Xingbo created FLINK-27701: ------------------------------------ Summary: HashMapStateBackendWindowITCase. testAggregateWindowStateReader failed with Not all required tasks are currently running Key: FLINK-27701 URL: https://issues.apache.org/jira/browse/FLINK-27701 Project: Flink Issue Type: Bug Components: API / State Processor Affects Versions: 1.16.0 Reporter: Huang Xingbo
{code:java} 2022-05-19T11:04:27.4331524Z May 19 11:04:27 [ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 29.034 s <<< FAILURE! - in org.apache.flink.state.api.HashMapStateBackendWindowITCase 2022-05-19T11:04:27.4333055Z May 19 11:04:27 [ERROR] org.apache.flink.state.api.HashMapStateBackendWindowITCase.testAggregateWindowStateReader Time elapsed: 0.105 s <<< ERROR! 2022-05-19T11:04:27.4333765Z May 19 11:04:27 java.lang.RuntimeException: Failed to take savepoint 2022-05-19T11:04:27.4334405Z May 19 11:04:27 at org.apache.flink.state.api.utils.SavepointTestBase.takeSavepoint(SavepointTestBase.java:68) 2022-05-19T11:04:27.4335375Z May 19 11:04:27 at org.apache.flink.state.api.SavepointWindowReaderITCase.testAggregateWindowStateReader(SavepointWindowReaderITCase.java:149) 2022-05-19T11:04:27.4338106Z May 19 11:04:27 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-05-19T11:04:27.4339140Z May 19 11:04:27 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2022-05-19T11:04:27.4339854Z May 19 11:04:27 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2022-05-19T11:04:27.4340560Z May 19 11:04:27 at java.lang.reflect.Method.invoke(Method.java:498) 2022-05-19T11:04:27.4341746Z May 19 11:04:27 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) 2022-05-19T11:04:27.4342797Z May 19 11:04:27 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 2022-05-19T11:04:27.4343717Z May 19 11:04:27 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) 2022-05-19T11:04:27.4344909Z May 19 11:04:27 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 2022-05-19T11:04:27.4345993Z May 19 11:04:27 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 2022-05-19T11:04:27.4346981Z May 19 11:04:27 at org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45) 2022-05-19T11:04:27.4347590Z May 19 11:04:27 at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) 2022-05-19T11:04:27.4348200Z May 19 11:04:27 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) 2022-05-19T11:04:27.4348856Z May 19 11:04:27 at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) 2022-05-19T11:04:27.4349484Z May 19 11:04:27 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) 2022-05-19T11:04:27.4350118Z May 19 11:04:27 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) 2022-05-19T11:04:27.4350899Z May 19 11:04:27 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) 2022-05-19T11:04:27.4352057Z May 19 11:04:27 at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) 2022-05-19T11:04:27.4353154Z May 19 11:04:27 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) 2022-05-19T11:04:27.4354153Z May 19 11:04:27 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) 2022-05-19T11:04:27.4354936Z May 19 11:04:27 at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) 2022-05-19T11:04:27.4355560Z May 19 11:04:27 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) 2022-05-19T11:04:27.4356167Z May 19 11:04:27 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) 2022-05-19T11:04:27.4356775Z May 19 11:04:27 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) 2022-05-19T11:04:27.4357358Z May 19 11:04:27 at org.junit.rules.RunRules.evaluate(RunRules.java:20) 2022-05-19T11:04:27.4357932Z May 19 11:04:27 at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) 2022-05-19T11:04:27.4358500Z May 19 11:04:27 at org.junit.runners.ParentRunner.run(ParentRunner.java:413) 2022-05-19T11:04:27.4359055Z May 19 11:04:27 at org.junit.runner.JUnitCore.run(JUnitCore.java:137) 2022-05-19T11:04:27.4359584Z May 19 11:04:27 at org.junit.runner.JUnitCore.run(JUnitCore.java:115) 2022-05-19T11:04:27.4360174Z May 19 11:04:27 at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) 2022-05-19T11:04:27.4361027Z May 19 11:04:27 at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) 2022-05-19T11:04:27.4361782Z May 19 11:04:27 at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) 2022-05-19T11:04:27.4362698Z May 19 11:04:27 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) 2022-05-19T11:04:27.4363696Z May 19 11:04:27 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) 2022-05-19T11:04:27.4364511Z May 19 11:04:27 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) 2022-05-19T11:04:27.4365354Z May 19 11:04:27 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) 2022-05-19T11:04:27.4366227Z May 19 11:04:27 at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) 2022-05-19T11:04:27.4367109Z May 19 11:04:27 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) 2022-05-19T11:04:27.4367841Z May 19 11:04:27 at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) 2022-05-19T11:04:27.4368641Z May 19 11:04:27 at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) 2022-05-19T11:04:27.4369554Z May 19 11:04:27 at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) 2022-05-19T11:04:27.4370325Z May 19 11:04:27 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188) 2022-05-19T11:04:27.4371160Z May 19 11:04:27 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) 2022-05-19T11:04:27.4371951Z May 19 11:04:27 at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124) 2022-05-19T11:04:27.4372694Z May 19 11:04:27 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428) 2022-05-19T11:04:27.4373529Z May 19 11:04:27 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) 2022-05-19T11:04:27.4374159Z May 19 11:04:27 at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562) 2022-05-19T11:04:27.4374853Z May 19 11:04:27 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) 2022-05-19T11:04:27.4376596Z May 19 11:04:27 Caused by: java.util.concurrent.ExecutionException: org.apache.flink.runtime.checkpoint.CheckpointException: Checkpoint triggering task TumblingEventTimeWindows -> Sink: Unnamed (4/4) of job cc123103629741952fdd02bad56c2e0d is not being executed at the moment. Aborting checkpoint. Failure reason: Not all required tasks are currently running. 2022-05-19T11:04:27.4377726Z May 19 11:04:27 at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) 2022-05-19T11:04:27.4378358Z May 19 11:04:27 at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1928) 2022-05-19T11:04:27.4379038Z May 19 11:04:27 at org.apache.flink.state.api.utils.SavepointTestBase.takeSavepoint(SavepointTestBase.java:66) 2022-05-19T11:04:27.4379564Z May 19 11:04:27 ... 48 more 2022-05-19T11:04:27.4380796Z May 19 11:04:27 Caused by: org.apache.flink.runtime.checkpoint.CheckpointException: Checkpoint triggering task TumblingEventTimeWindows -> Sink: Unnamed (4/4) of job cc123103629741952fdd02bad56c2e0d is not being executed at the moment. Aborting checkpoint. Failure reason: Not all required tasks are currently running. 2022-05-19T11:04:27.4382003Z May 19 11:04:27 at org.apache.flink.runtime.checkpoint.DefaultCheckpointPlanCalculator.checkTasksStarted(DefaultCheckpointPlanCalculator.java:143) 2022-05-19T11:04:27.4383094Z May 19 11:04:27 at org.apache.flink.runtime.checkpoint.DefaultCheckpointPlanCalculator.lambda$calculateCheckpointPlan$1(DefaultCheckpointPlanCalculator.java:105) 2022-05-19T11:04:27.4384048Z May 19 11:04:27 at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) 2022-05-19T11:04:27.4384769Z May 19 11:04:27 at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.lambda$handleRunAsync$4(AkkaRpcActor.java:444) 2022-05-19T11:04:27.4385535Z May 19 11:04:27 at org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:68) 2022-05-19T11:04:27.4386300Z May 19 11:04:27 at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRunAsync(AkkaRpcActor.java:444) 2022-05-19T11:04:27.4386997Z May 19 11:04:27 at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:214) 2022-05-19T11:04:27.4387709Z May 19 11:04:27 at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:78) 2022-05-19T11:04:27.4388426Z May 19 11:04:27 at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:164) 2022-05-19T11:04:27.4389066Z May 19 11:04:27 at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) 2022-05-19T11:04:27.4389650Z May 19 11:04:27 at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) 2022-05-19T11:04:27.4390220Z May 19 11:04:27 at scala.PartialFunction.applyOrElse(PartialFunction.scala:123) 2022-05-19T11:04:27.4390801Z May 19 11:04:27 at scala.PartialFunction.applyOrElse$(PartialFunction.scala:122) 2022-05-19T11:04:27.4391530Z May 19 11:04:27 at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) 2022-05-19T11:04:27.4392129Z May 19 11:04:27 at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) 2022-05-19T11:04:27.4392741Z May 19 11:04:27 at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:172) 2022-05-19T11:04:27.4393507Z May 19 11:04:27 at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:172) 2022-05-19T11:04:27.4394069Z May 19 11:04:27 at akka.actor.Actor.aroundReceive(Actor.scala:537) 2022-05-19T11:04:27.4394592Z May 19 11:04:27 at akka.actor.Actor.aroundReceive$(Actor.scala:535) 2022-05-19T11:04:27.4395148Z May 19 11:04:27 at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:220) 2022-05-19T11:04:27.4395710Z May 19 11:04:27 at akka.actor.ActorCell.receiveMessage(ActorCell.scala:580) 2022-05-19T11:04:27.4396250Z May 19 11:04:27 at akka.actor.ActorCell.invoke(ActorCell.scala:548) 2022-05-19T11:04:27.4396988Z May 19 11:04:27 at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) 2022-05-19T11:04:27.4397524Z May 19 11:04:27 at akka.dispatch.Mailbox.run(Mailbox.scala:231) 2022-05-19T11:04:27.4398029Z May 19 11:04:27 at akka.dispatch.Mailbox.exec(Mailbox.scala:243) 2022-05-19T11:04:27.4398636Z May 19 11:04:27 at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) 2022-05-19T11:04:27.4399252Z May 19 11:04:27 at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) 2022-05-19T11:04:27.4399892Z May 19 11:04:27 at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) 2022-05-19T11:04:27.4400584Z May 19 11:04:27 at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) 2022-05-19T11:04:27.4401248Z May 19 11:04:27 2022-05-19T11:04:28.1016282Z May 19 11:04:28 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-05-19T11:04:28.4564936Z May 19 11:04:28 [INFO] Running org.apache.flink.state.api.DataSetMemoryStateBackendWindowITCase 2022-05-19T11:04:41.6169202Z May 19 11:04:41 [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.5 s - in org.apache.flink.state.api.DataSetHashMapStateBackendWindowITCase 2022-05-19T11:04:42.2871933Z May 19 11:04:42 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-05-19T11:04:43.1327751Z May 19 11:04:43 [INFO] Running org.apache.flink.state.api.WritableSavepointWindowITCase 2022-05-19T11:04:52.9166390Z May 19 11:04:52 [INFO] Tests run: 64, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.781 s - in org.apache.flink.state.api.WritableSavepointWindowITCase 2022-05-19T11:04:53.7214732Z May 19 11:04:53 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-05-19T11:04:54.0678436Z May 19 11:04:54 [INFO] Running org.apache.flink.state.api.EmbeddedRocksDBStateBackendWindowITCase 2022-05-19T11:04:59.9090464Z May 19 11:04:59 [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.448 s - in org.apache.flink.state.api.DataSetMemoryStateBackendWindowITCase 2022-05-19T11:05:00.5934003Z May 19 11:05:00 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-05-19T11:05:00.9748719Z May 19 11:05:00 [INFO] Running org.apache.flink.state.api.DataSetRocksDBStateBackendWindowITCase 2022-05-19T11:05:27.3736068Z May 19 11:05:27 [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.301 s - in org.apache.flink.state.api.EmbeddedRocksDBStateBackendWindowITCase 2022-05-19T11:05:28.0468187Z May 19 11:05:28 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-05-19T11:05:28.3838535Z May 19 11:05:28 [INFO] Running org.apache.flink.state.api.DataSetSavepointReaderITCase 2022-05-19T11:05:33.2943885Z May 19 11:05:33 [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.315 s - in org.apache.flink.state.api.DataSetRocksDBStateBackendWindowITCase 2022-05-19T11:05:33.9728501Z May 19 11:05:33 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-05-19T11:05:34.3138060Z May 19 11:05:34 [INFO] Running org.apache.flink.state.api.DataSetHashMapStateBackendReaderKeyedStateITCase 2022-05-19T11:05:35.0245739Z May 19 11:05:35 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.636 s - in org.apache.flink.state.api.DataSetSavepointReaderITCase 2022-05-19T11:05:35.6749372Z May 19 11:05:35 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-05-19T11:05:36.5561780Z May 19 11:05:36 [INFO] Running org.apache.flink.state.api.SavepointWriterWindowITCase 2022-05-19T11:05:41.0302157Z May 19 11:05:41 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.712 s - in org.apache.flink.state.api.DataSetHashMapStateBackendReaderKeyedStateITCase 2022-05-19T11:05:41.7015574Z May 19 11:05:41 [ERROR] Picked up JAVA_TOOL_OPTIONS: -XX:+HeapDumpOnOutOfMemoryError 2022-05-19T11:05:42.0966798Z May 19 11:05:42 [INFO] Running org.apache.flink.state.api.DataSetEmbeddedRocksDBStateBackendReaderKeyedStateITCase 2022-05-19T11:05:47.1005888Z May 19 11:05:47 [INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.542 s - in org.apache.flink.state.api.SavepointWriterWindowITCase 2022-05-19T11:05:48.8436308Z May 19 11:05:48 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.743 s - in org.apache.flink.state.api.DataSetEmbeddedRocksDBStateBackendReaderKeyedStateITCase 2022-05-19T11:05:49.2465009Z May 19 11:05:49 [INFO] 2022-05-19T11:05:49.2466675Z May 19 11:05:49 [INFO] Results: 2022-05-19T11:05:49.2467519Z May 19 11:05:49 [INFO] 2022-05-19T11:05:49.2467898Z May 19 11:05:49 [ERROR] Errors: 2022-05-19T11:05:49.2469382Z May 19 11:05:49 [ERROR] HashMapStateBackendWindowITCase>SavepointWindowReaderITCase.testAggregateWindowStateReader:149- {code} https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=35839&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1&t=24c3384f-1bcb-57b3-224f-51bf973bbee8 -- This message was sent by Atlassian Jira (v8.20.7#820007)