[ https://issues.apache.org/jira/browse/FLINK-15327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077001#comment-17077001 ]
Robert Metzger commented on FLINK-15327: ---------------------------------------- The test failed again: https://travis-ci.org/github/apache/flink/jobs/671755595?utm_medium=notification&utm_source=slack This time with this error (on 1.10) {code} 2020-04-07 03:31:09,800 WARN org.apache.flink.streaming.runtime.tasks.StreamTask - Error while canceling task. org.apache.flink.runtime.execution.CancelTaskException: Input gate is already closed. at org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate.getNextBufferOrEvent(SingleInputGate.java:484) at org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate.pollNext(SingleInputGate.java:475) at org.apache.flink.runtime.taskmanager.InputGateWithMetrics.pollNext(InputGateWithMetrics.java:75) at org.apache.flink.streaming.runtime.io.CheckpointedInputGate.pollNext(CheckpointedInputGate.java:125) at org.apache.flink.streaming.runtime.io.StreamTaskNetworkInput.emitNext(StreamTaskNetworkInput.java:133) at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:69) at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:311) at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:187) at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:487) at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:470) at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:707) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:532) at java.lang.Thread.run(Thread.java:748) {code} I guess this exception is something we don't want to log during cancellation? > 'Walkthrough DataStream Scala nightly' sometimes fails with > InterruptedException > -------------------------------------------------------------------------------- > > Key: FLINK-15327 > URL: https://issues.apache.org/jira/browse/FLINK-15327 > Project: Flink > Issue Type: Bug > Components: Examples, Runtime / Task, Tests > Affects Versions: 1.10.0 > Reporter: Robert Metzger > Assignee: Arvid Heise > Priority: Major > Labels: pull-request-available > Fix For: 1.10.0 > > Time Spent: 40m > Remaining Estimate: 0h > > The "Walkthrough DataStream Scala nightly end-to-end test" > (test_datastream_walkthroughs.sh) failed with the following error found in > the log > > > {code:java} > 2019-12-19 12:57:03,131 WARN > org.apache.flink.streaming.runtime.tasks.StreamTask - Error while > canceling task. > java.lang.RuntimeException: java.lang.InterruptedException: sleep interrupted > at > org.apache.flink.walkthrough.common.source.TransactionSource$RateLimitedIterator.next(TransactionSource.java:60) > at > org.apache.flink.streaming.api.functions.source.FromIteratorFunction.run(FromIteratorFunction.java:43) > at > org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:100) > at > org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:63) > at > org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:196) > Caused by: java.lang.InterruptedException: sleep interrupted > at java.lang.Thread.sleep(Native Method) > at > org.apache.flink.walkthrough.common.source.TransactionSource$RateLimitedIterator.next(TransactionSource.java:58) > ... 4 more > {code} > > Run: > [https://dev.azure.com/rmetzger/Flink/_build/results?buildId=3742&view=logs&j=b1623ac9-0979-5b0d-2e5e-1377d695c991&t=48867695-c47f-5af3-2f21-7845611247b9] > I assume this error happens only rarely. > -- This message was sent by Atlassian Jira (v8.3.4#803005)