Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-12284

Flaky Test MirrorConnectorsIntegrationSSLTest#testOneWayReplicationWithAutoOffsetSync

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/kafka/pull/9997/checks?check_run_id=1820178470

       {{java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TopicExistsException: Topic 'primary.test-topic-2' already exists.
      at org.apache.kafka.connect.util.clusters.EmbeddedKafkaCluster.createTopic(EmbeddedKafkaCluster.java:366)
      at org.apache.kafka.connect.util.clusters.EmbeddedKafkaCluster.createTopic(EmbeddedKafkaCluster.java:341)
      at org.apache.kafka.connect.mirror.integration.MirrorConnectorsIntegrationBaseTest.testOneWayReplicationWithAutoOffsetSync(MirrorConnectorsIntegrationBaseTest.java:419)}}

      [...]
       
      {{Caused by: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TopicExistsException: Topic 'primary.test-topic-2' already exists.
      at org.apache.kafka.common.internals.KafkaFutureImpl.wrapAndThrow(KafkaFutureImpl.java:45)
      at org.apache.kafka.common.internals.KafkaFutureImpl.access$000(KafkaFutureImpl.java:32)
      at org.apache.kafka.common.internals.KafkaFutureImpl$SingleWaiter.await(KafkaFutureImpl.java:89)
      at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:260)
      at org.apache.kafka.connect.util.clusters.EmbeddedKafkaCluster.createTopic(EmbeddedKafkaCluster.java:364)
      ... 92 more
      Caused by: org.apache.kafka.common.errors.TopicExistsException: Topic 'primary.test-topic-2' already exists.}}

      STDOUT

       {{2021-02-03 04ː19ː15,975] ERROR [MirrorHeartbeatConnector|task-0] WorkerSourceTask{id=MirrorHeartbeatConnector-0} failed to send record to heartbeats: (org.apache.kafka.connect.runtime.WorkerSourceTask:354)
      org.apache.kafka.common.KafkaException: Producer is closed forcefully.
      at org.apache.kafka.clients.producer.internals.RecordAccumulator.abortBatches(RecordAccumulator.java:750)
      at org.apache.kafka.clients.producer.internals.RecordAccumulator.abortIncompleteBatches(RecordAccumulator.java:737)
      at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:282)
      at java.lang.Thread.run(Thread.java:748)}}

       {{[2021-02-03 04ː19ː36,767] ERROR Could not check connector state info. (org.apache.kafka.connect.util.clusters.EmbeddedConnectClusterAssertions:420)
      org.apache.kafka.connect.runtime.rest.errors.ConnectRestException: Could not read connector state. Error response: {"error_code":404,"message":"No status found for connector MirrorSourceConnector"}
      at org.apache.kafka.connect.util.clusters.EmbeddedConnectCluster.connectorStatus(EmbeddedConnectCluster.java:466)
      at org.apache.kafka.connect.util.clusters.EmbeddedConnectClusterAssertions.checkConnectorState(EmbeddedConnectClusterAssertions.java:413)
      at org.apache.kafka.connect.util.clusters.EmbeddedConnectClusterAssertions.lambda$assertConnectorAndAtLeastNumTasksAreRunning$16(EmbeddedConnectClusterAssertions.java:286)
      at org.apache.kafka.test.TestUtils.lambda$waitForCondition$3(TestUtils.java:303)
      at org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:351)
      at org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:319)
      at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:300)
      at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:290)
      at org.apache.kafka.connect.util.clusters.EmbeddedConnectClusterAssertions.assertConnectorAndAtLeastNumTasksAreRunning(EmbeddedConnectClusterAssertions.java:285)
      at org.apache.kafka.connect.mirror.integration.MirrorConnectorsIntegrationBaseTest.waitUntilMirrorMakerIsRunning(MirrorConnectorsIntegrationBaseTest.java:458)
      at org.apache.kafka.connect.mirror.integration.MirrorConnectorsIntegrationBaseTest.testReplication(MirrorConnectorsIntegrationBaseTest.java:225)}}
      {{}}

      Attachments

        Activity

          People

            showuon Luke Chen
            mjsax Matthias J. Sax
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: