Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-31145 Stabilize Kafka-related tests
  3. FLINK-24261

KafkaSourceITCase.testMultipleSplits fails due to "Cannot create topic"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.14.0, 1.15.0, 1.16.0
    • None
    • Connectors / Kafka

    Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=23955&view=logs&j=b0097207-033c-5d9a-b48c-6d4796fbe60d&t=8338a7d2-16f7-52e5-f576-4b7b3071eb3d&l=7119

      Sep 13 01:14:27 [ERROR] Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 180.412 s <<< FAILURE! - in org.apache.flink.connector.kafka.source.KafkaSourceITCase
      Sep 13 01:14:27 [ERROR] testMultipleSplits{TestEnvironment, ExternalContext}[1]  Time elapsed: 120.244 s  <<< ERROR!
      Sep 13 01:14:27 java.lang.RuntimeException: Cannot create topic 'kafka-single-topic-7245292146378659602'
      Sep 13 01:14:27 	at org.apache.flink.connector.kafka.source.testutils.KafkaSingleTopicExternalContext.createTopic(KafkaSingleTopicExternalContext.java:100)
      Sep 13 01:14:27 	at org.apache.flink.connector.kafka.source.testutils.KafkaSingleTopicExternalContext.createSourceSplitDataWriter(KafkaSingleTopicExternalContext.java:142)
      Sep 13 01:14:27 	at org.apache.flink.connectors.test.common.testsuites.SourceTestSuiteBase.generateAndWriteTestData(SourceTestSuiteBase.java:301)
      Sep 13 01:14:27 	at org.apache.flink.connectors.test.common.testsuites.SourceTestSuiteBase.testMultipleSplits(SourceTestSuiteBase.java:142)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xtsong Xintong Song
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: