You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/11/29 07:29:00 UTC

[jira] [Commented] (FLINK-30236) UpsertKafkaTableITCase failed due to timeout when creating a topic

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

Matthias Pohl commented on FLINK-30236:
---------------------------------------

There's [another stacktrace printed|https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=43566&view=logs&j=aa18c3f6-13b8-5f58-86bb-c1cffb239496&t=502fb6c0-30a2-5e49-c5c2-a00fa3acb203&l=37698] indicating the same problem:
{code:java}
[...]
	at akka.dispatch.Mailbox.run(Mailbox.scala:231)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:243)
	... 4 more
Caused by: org.apache.kafka.common.errors.TimeoutException: org.apache.kafka.common.errors.TimeoutException: Timeout expired after 60000ms while awaiting InitProducerId
Caused by: org.apache.kafka.common.errors.TimeoutException: Timeout expired after 60000ms while awaiting InitProducerId{code}

But it appears that this test strangely didn't fail. [~ym] do you have some thoughts on that?

> UpsertKafkaTableITCase failed due to timeout when creating a topic
> ------------------------------------------------------------------
>
>                 Key: FLINK-30236
>                 URL: https://issues.apache.org/jira/browse/FLINK-30236
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: 1.17.0
>            Reporter: Matthias Pohl
>            Priority: Major
>              Labels: test-stability
>
> The following build failed due to a timeout when creating the topic.
> {code:java}
> Nov 28 16:25:44 [ERROR] Tests run: 15, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 72.815 s <<< FAILURE! - in org.apache.flink.streaming.connectors.kafka.table.UpsertKafkaTableITCase
> Nov 28 16:25:44 [ERROR] UpsertKafkaTableITCase.testAggregate  Time elapsed: 31.629 s  <<< ERROR!
> Nov 28 16:25:44 java.lang.IllegalStateException: Fail to create topic [word_count_json partitions: 4 replication factor: 1].
> Nov 28 16:25:44 	at org.apache.flink.streaming.connectors.kafka.table.KafkaTableTestBase.createTestTopic(KafkaTableTestBase.java:143)
> Nov 28 16:25:44 	at org.apache.flink.streaming.connectors.kafka.table.UpsertKafkaTableITCase.testAggregate(UpsertKafkaTableITCase.java:78)
> Nov 28 16:25:44 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Nov 28 16:25:44 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [...] {code}
> I suspect this being a general issue with providing timeouts for tests.
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=43566&view=logs&j=aa18c3f6-13b8-5f58-86bb-c1cffb239496&t=502fb6c0-30a2-5e49-c5c2-a00fa3acb203&l=37623



--
This message was sent by Atlassian Jira
(v8.20.10#820010)