You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jiangjie Qin (JIRA)" <ji...@apache.org> on 2019/07/26 16:39:00 UTC

[jira] [Commented] (FLINK-12396) KafkaITCase.testOneSourceMultiplePartitions doesn't fail properly

    [ https://issues.apache.org/jira/browse/FLINK-12396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893972#comment-16893972 ] 

Jiangjie Qin commented on FLINK-12396:
--------------------------------------

This is probably related to FLINK-13226, which has a PR to fix at this point.

> KafkaITCase.testOneSourceMultiplePartitions doesn't fail properly
> -----------------------------------------------------------------
>
>                 Key: FLINK-12396
>                 URL: https://issues.apache.org/jira/browse/FLINK-12396
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: 1.9.0
>            Reporter: Bowen Li
>            Priority: Major
>             Fix For: 1.9.0
>
>
> https://api.travis-ci.org/v3/job/527599974/log.txt
> In the log, we can see that KafkaITCase.testOneSourceMultiplePartitions failed, but it kept running and doing all the snapshot, which caused the built to timeout.
> {code:java}
> 05:00:38,896 INFO  org.apache.flink.streaming.connectors.kafka.testutils.ValidatingExactlyOnceSink  - Snapshot of counter 4800 at checkpoint 115
> 05:00:39,050 ERROR org.apache.flink.streaming.connectors.kafka.KafkaITCase       - 
> --------------------------------------------------------------------------------
> Test testOneSourceMultiplePartitions(org.apache.flink.streaming.connectors.kafka.KafkaITCase) failed with:
> org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
> 	at sun.misc.Unsafe.park(Native Method)
> 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
> 	at java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1693)
> 	at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
> 	at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1729)
> 	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
> 	at org.apache.flink.runtime.minicluster.MiniCluster.executeJobBlocking(MiniCluster.java:621)
> 	at org.apache.flink.streaming.util.TestStreamEnvironment.execute(TestStreamEnvironment.java:79)
> 	at org.apache.flink.test.util.TestUtils.tryExecute(TestUtils.java:35)
> 	at org.apache.flink.streaming.connectors.kafka.KafkaConsumerTestBase.runOneSourceMultiplePartitionsExactlyOnceTest(KafkaConsumerTestBase.java:924)
> 	at org.apache.flink.streaming.connectors.kafka.KafkaITCase.testOneSourceMultiplePartitions(KafkaITCase.java:102)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	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)
> ================================================================================
> 05:00:39,057 INFO  org.apache.flink.streaming.connectors.kafka.KafkaITCase       - 
> ================================================================================
> Test testCancelingFullTopic(org.apache.flink.streaming.connectors.kafka.KafkaITCase) is running.
> --------------------------------------------------------------------------------
> 05:00:39,396 INFO  org.apache.flink.streaming.connectors.kafka.testutils.ValidatingExactlyOnceSink  - Snapshot of counter 4800 at checkpoint 116
> 05:00:39,896 INFO  org.apache.flink.streaming.connectors.kafka.testutils.ValidatingExactlyOnceSink  - Snapshot of counter 4800 at checkpoint 117
> 05:00:40,396 INFO  org.apache.flink.streaming.connectors.kafka.testutils.ValidatingExactlyOnceSink  - Snapshot of counter 4800 at checkpoint 118
> 05:00:40,896 INFO  org.apache.flink.streaming.connectors.kafka.testutils.ValidatingExactlyOnceSink  - Snapshot of counter 4800 at checkpoint 119
> 05:00:41,396 INFO  org.apache.flink.streaming.connectors.kafka.testutils.ValidatingExactlyOnceSink  - Snapshot of counter 4800 at checkpoint 120
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)