You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2023/04/09 05:37:00 UTC
[jira] [Created] (FLINK-31756) KafkaTableITCase.testStartFromGroupOffsetsNone fails due to UnknownTopicOrPartitionException
Sergey Nuyanzin created FLINK-31756:
---------------------------------------
Summary: KafkaTableITCase.testStartFromGroupOffsetsNone fails due to UnknownTopicOrPartitionException
Key: FLINK-31756
URL: https://issues.apache.org/jira/browse/FLINK-31756
Project: Flink
Issue Type: Bug
Components: Connectors / Kafka
Affects Versions: 1.17.0
Reporter: Sergey Nuyanzin
The following build fails with {{UnknownTopicOrPartitionException}}
{noformat}
Dec 03 01:10:59 Multiple Failures (1 failure)
Dec 03 01:10:59 -- failure 1 --
Dec 03 01:10:59 [Any cause is instance of class 'class org.apache.kafka.clients.consumer.NoOffsetForPartitionException']
Dec 03 01:10:59 Expecting any element of:
Dec 03 01:10:59 [java.lang.IllegalStateException: Fail to create topic [groupOffset_json_dc640086-d1f1-48b8-ad7a-f83d33b6a03c partitions: 4 replication factor: 1].
Dec 03 01:10:59 at org.apache.flink.streaming.connectors.kafka.table.KafkaTableTestBase.createTestTopic(KafkaTableTestBase.java:143)
Dec 03 01:10:59 at org.apache.flink.streaming.connectors.kafka.table.KafkaTableITCase.startFromGroupOffset(KafkaTableITCase.java:881)
Dec 03 01:10:59 at org.apache.flink.streaming.connectors.kafka.table.KafkaTableITCase.testStartFromGroupOffsetsWithNoneResetStrategy(KafkaTableITCase.java:981)
Dec 03 01:10:59 ...(64 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed),
Dec 03 01:10:59 java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: The request timed out.
Dec 03 01:10:59 at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
Dec 03 01:10:59 at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
Dec 03 01:10:59 at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:165)
Dec 03 01:10:59 ...(67 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed),
Dec 03 01:10:59 org.apache.kafka.common.errors.TimeoutException: The request timed out.
Dec 03 01:10:59 ]
Dec 03 01:10:59 to satisfy the given assertions requirements but none did:
Dec 03 01:10:59
Dec 03 01:10:59 java.lang.IllegalStateException: Fail to create topic [groupOffset_json_dc640086-d1f1-48b8-ad7a-f83d33b6a03c partitions: 4 replication factor: 1].
Dec 03 01:10:59 at org.apache.flink.streaming.connectors.kafka.table.KafkaTableTestBase.createTestTopic(KafkaTableTestBase.java:143)
Dec 03 01:10:59 at org.apache.flink.streaming.connectors.kafka.table.KafkaTableITCase.startFromGroupOffset(KafkaTableITCase.java:881)
Dec 03 01:10:59 at org.apache.flink.streaming.connectors.kafka.table.KafkaTableITCase.testStartFromGroupOffsetsWithNoneResetStrategy(KafkaTableITCase.java:981)
Dec 03 01:10:59 ...(64 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
Dec 03 01:10:59 error:
Dec 03 01:10:59 Expecting actual throwable to be an instance of:
Dec 03 01:10:59 org.apache.kafka.clients.consumer.NoOffsetForPartitionException
Dec 03 01:10:59 but was:
Dec 03 01:10:59 java.lang.IllegalStateException: Fail to create topic [groupOffset_json_dc640086-d1f1-48b8-ad7a-f83d33b6a03c partitions: 4 replication factor: 1].
[...]
{noformat}
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=47892&view=logs&j=aa18c3f6-13b8-5f58-86bb-c1cffb239496&t=502fb6c0-30a2-5e49-c5c2-a00fa3acb203&l=36657
--
This message was sent by Atlassian Jira
(v8.20.10#820010)