You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2019/07/31 14:13:00 UTC
[jira] [Commented] (FLINK-13514)
StreamTaskTest#testAsyncCheckpointingConcurrentCloseAfterAcknowledge
unstable
[ https://issues.apache.org/jira/browse/FLINK-13514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897214#comment-16897214 ]
Chesnay Schepler commented on FLINK-13514:
------------------------------------------
This is a timing issue:
{code:java}
streamTask.cancel();
// enable this to reliably reproduce the issue
// Thread.sleep(5 * 1000);
completeAcknowledge.trigger();{code}
> StreamTaskTest#testAsyncCheckpointingConcurrentCloseAfterAcknowledge unstable
> -----------------------------------------------------------------------------
>
> Key: FLINK-13514
> URL: https://issues.apache.org/jira/browse/FLINK-13514
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream, Tests
> Affects Versions: 1.10.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> Fix For: 1.10.0
>
>
> Somewhat reproducible by running the test locally a few hundred times.
> {code:java}
> org.mockito.exceptions.verification.NeverWantedButInvoked:
> keyedStateHandle.discardState();
> Never wanted here:
> -> at org.apache.flink.streaming.runtime.tasks.StreamTaskTest.testAsyncCheckpointingConcurrentCloseAfterAcknowledge(StreamTaskTest.java:543)
> But invoked here:
> -> at org.apache.flink.runtime.state.SnapshotResult.discardState(SnapshotResult.java:82)
> at org.apache.flink.streaming.runtime.tasks.StreamTaskTest.testAsyncCheckpointingConcurrentCloseAfterAcknowledge(StreamTaskTest.java:543)
> at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.lang.Thread.run(Thread.java:748){code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)