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

UnalignedCheckpointITCase.execute failed with IndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    Description

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

      2020-12-18T01:01:13.7845549Z [ERROR] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 143.951 s <<< FAILURE! - in org.apache.flink.test.checkpointing.UnalignedCheckpointITCase
      2020-12-18T01:01:13.7848530Z [ERROR] execute[Parallel cogroup, p = 5](org.apache.flink.test.checkpointing.UnalignedCheckpointITCase)  Time elapsed: 12.725 s  <<< ERROR!
      2020-12-18T01:01:13.7849231Z org.apache.flink.runtime.client.JobExecutionException: Job execution failed.
      2020-12-18T01:01:13.7849788Z 	at org.apache.flink.runtime.jobmaster.JobResult.toJobExecutionResult(JobResult.java:147)
      2020-12-18T01:01:13.7872152Z 	at org.apache.flink.runtime.minicluster.MiniClusterJobClient.lambda$getJobExecutionResult$2(MiniClusterJobClient.java:119)
      2020-12-18T01:01:13.7873528Z 	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616)
      2020-12-18T01:01:13.7875322Z 	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:591)
      2020-12-18T01:01:13.7875932Z 	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
      2020-12-18T01:01:13.7876475Z 	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
      2020-12-18T01:01:13.7877098Z 	at org.apache.flink.runtime.rpc.akka.AkkaInvocationHandler.lambda$invokeRpc$0(AkkaInvocationHandler.java:229)
      2020-12-18T01:01:13.7877732Z 	at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
      2020-12-18T01:01:13.7878307Z 	at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
      2020-12-18T01:01:13.7879078Z 	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
      2020-12-18T01:01:13.7879795Z 	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1975)
      2020-12-18T01:01:13.7880333Z 	at org.apache.flink.runtime.concurrent.FutureUtils$1.onComplete(FutureUtils.java:996)
      2020-12-18T01:01:13.7880834Z 	at akka.dispatch.OnComplete.internal(Future.scala:264)
      2020-12-18T01:01:13.7881266Z 	at akka.dispatch.OnComplete.internal(Future.scala:261)
      2020-12-18T01:01:13.7881691Z 	at akka.dispatch.japi$CallbackBridge.apply(Future.scala:191)
      2020-12-18T01:01:13.7882146Z 	at akka.dispatch.japi$CallbackBridge.apply(Future.scala:188)
      2020-12-18T01:01:13.7882609Z 	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)
      2020-12-18T01:01:13.7883142Z 	at org.apache.flink.runtime.concurrent.Executors$DirectExecutionContext.execute(Executors.java:74)
      2020-12-18T01:01:13.7883726Z 	at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:44)
      2020-12-18T01:01:13.7884258Z 	at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:252)
      2020-12-18T01:01:13.7884741Z 	at akka.pattern.PromiseActorRef.$bang(AskSupport.scala:572)
      2020-12-18T01:01:13.7885279Z 	at akka.pattern.PipeToSupport$PipeableFuture$$anonfun$pipeTo$1.applyOrElse(PipeToSupport.scala:22)
      2020-12-18T01:01:13.7885901Z 	at akka.pattern.PipeToSupport$PipeableFuture$$anonfun$pipeTo$1.applyOrElse(PipeToSupport.scala:21)
      2020-12-18T01:01:13.7886455Z 	at scala.concurrent.Future$$anonfun$andThen$1.apply(Future.scala:436)
      2020-12-18T01:01:13.7886954Z 	at scala.concurrent.Future$$anonfun$andThen$1.apply(Future.scala:435)
      2020-12-18T01:01:13.7887442Z 	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)
      2020-12-18T01:01:13.7887955Z 	at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
      2020-12-18T01:01:13.7888577Z 	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
      2020-12-18T01:01:13.7889215Z 	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
      2020-12-18T01:01:13.7889816Z 	at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
      2020-12-18T01:01:13.7890388Z 	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
      2020-12-18T01:01:13.7890919Z 	at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
      2020-12-18T01:01:13.7891513Z 	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
      2020-12-18T01:01:13.7892084Z 	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44)
      2020-12-18T01:01:13.7892661Z 	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2020-12-18T01:01:13.7893166Z 	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      2020-12-18T01:01:13.7893691Z 	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      2020-12-18T01:01:13.7894219Z 	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      2020-12-18T01:01:13.7894887Z Caused by: org.apache.flink.runtime.JobException: Recovery is suppressed by FixedDelayRestartBackoffTimeStrategy(maxNumberRestartAttempts=5, backoffTimeMS=100)
      2020-12-18T01:01:13.7895687Z 	at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.handleFailure(ExecutionFailureHandler.java:116)
      2020-12-18T01:01:13.7896498Z 	at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.getFailureHandlingResult(ExecutionFailureHandler.java:78)
      2020-12-18T01:01:13.7897229Z 	at org.apache.flink.runtime.scheduler.DefaultScheduler.handleTaskFailure(DefaultScheduler.java:221)
      2020-12-18T01:01:13.7897854Z 	at org.apache.flink.runtime.scheduler.DefaultScheduler.maybeHandleTaskFailure(DefaultScheduler.java:214)
      2020-12-18T01:01:13.7898533Z 	at org.apache.flink.runtime.scheduler.DefaultScheduler.updateTaskExecutionStateInternal(DefaultScheduler.java:205)
      2020-12-18T01:01:13.7899206Z 	at org.apache.flink.runtime.scheduler.SchedulerBase.updateTaskExecutionState(SchedulerBase.java:577)
      2020-12-18T01:01:13.7899883Z 	at org.apache.flink.runtime.scheduler.SchedulerNG.updateTaskExecutionState(SchedulerNG.java:89)
      2020-12-18T01:01:13.7900474Z 	at org.apache.flink.runtime.jobmaster.JobMaster.updateTaskExecutionState(JobMaster.java:419)
      2020-12-18T01:01:13.7900974Z 	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
      2020-12-18T01:01:13.7901458Z 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2020-12-18T01:01:13.7901964Z 	at java.lang.reflect.Method.invoke(Method.java:498)
      2020-12-18T01:01:13.7902476Z 	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcInvocation(AkkaRpcActor.java:286)
      2020-12-18T01:01:13.7903067Z 	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:201)
      2020-12-18T01:01:13.7903683Z 	at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:74)
      2020-12-18T01:01:13.7904372Z 	at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:154)
      2020-12-18T01:01:13.7904886Z 	at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26)
      2020-12-18T01:01:13.7905358Z 	at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21)
      2020-12-18T01:01:13.7905841Z 	at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123)
      2020-12-18T01:01:13.7906325Z 	at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21)
      2020-12-18T01:01:13.7906825Z 	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170)
      2020-12-18T01:01:13.7907321Z 	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
      2020-12-18T01:01:13.7907799Z 	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
      2020-12-18T01:01:13.7908271Z 	at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
      2020-12-18T01:01:13.7908719Z 	at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:225)
      2020-12-18T01:01:13.7909191Z 	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:592)
      2020-12-18T01:01:13.7909633Z 	at akka.actor.ActorCell.invoke(ActorCell.scala:561)
      2020-12-18T01:01:13.7910046Z 	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)
      2020-12-18T01:01:13.7910473Z 	at akka.dispatch.Mailbox.run(Mailbox.scala:225)
      2020-12-18T01:01:13.7910869Z 	at akka.dispatch.Mailbox.exec(Mailbox.scala:235)
      2020-12-18T01:01:13.7911219Z 	... 4 more
      2020-12-18T01:01:13.7912814Z Caused by: java.io.IOException: Serializer consumed more bytes than the record had. This indicates broken serialization. If you are using custom serialization types (Value or Writable), check their serialization methods. If you are using a Kryo-serialized type, check the corresponding Kryo serializer.
      2020-12-18T01:01:13.7913827Z 	at org.apache.flink.runtime.io.network.api.serialization.NonSpanningWrapper.readInto(NonSpanningWrapper.java:341)
      2020-12-18T01:01:13.7914676Z 	at org.apache.flink.runtime.io.network.api.serialization.SpillingAdaptiveSpanningRecordDeserializer.readNonSpanningRecord(SpillingAdaptiveSpanningRecordDeserializer.java:108)
      2020-12-18T01:01:13.7915639Z 	at org.apache.flink.runtime.io.network.api.serialization.SpillingAdaptiveSpanningRecordDeserializer.getNextRecord(SpillingAdaptiveSpanningRecordDeserializer.java:85)
      2020-12-18T01:01:13.7916439Z 	at org.apache.flink.streaming.runtime.io.StreamTaskNetworkInput.emitNext(StreamTaskNetworkInput.java:145)
      2020-12-18T01:01:13.7917115Z 	at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:67)
      2020-12-18T01:01:13.7917793Z 	at org.apache.flink.streaming.runtime.io.StreamTwoInputProcessor.processInput(StreamTwoInputProcessor.java:92)
      2020-12-18T01:01:13.7918413Z 	at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:372)
      2020-12-18T01:01:13.7919049Z 	at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:186)
      2020-12-18T01:01:13.8001720Z 	at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:575)
      2020-12-18T01:01:13.8002673Z 	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:539)
      2020-12-18T01:01:13.8003199Z 	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:722)
      2020-12-18T01:01:13.8003678Z 	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:547)
      2020-12-18T01:01:13.8004071Z 	at java.lang.Thread.run(Thread.java:748)
      2020-12-18T01:01:13.8005113Z Caused by: java.lang.IndexOutOfBoundsException: Remaining = -4
      2020-12-18T01:01:13.8005456Z 	... 13 more
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hxbks2ks Huang Xingbo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: