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

FlinkKafkaProducerITCase testScaleUpAfterScalingDown Timeout expired while initializing transactional state in 60000ms.

    XMLWordPrintableJSON

Details

    Description

      https://dev.azure.com/rmetzger/Flink/_build/results?buildId=6889&view=logs&j=c5f0071e-1851-543e-9a45-9ac140befc32&t=f66652e3-384e-5b25-be29-abfea69ea8da

      [ERROR] testScaleUpAfterScalingDown(org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerITCase)  Time elapsed: 64.353 s  <<< ERROR!
      org.apache.kafka.common.errors.TimeoutException: Timeout expired while initializing transactional state in 60000ms.
      

      After this initial error many other tests (I think all following unit tests) failed with errors like:

      [ERROR] testFailAndRecoverSameCheckpointTwice(org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerITCase)  Time elapsed: 7.895 s  <<< FAILURE!
      java.lang.AssertionError: Detected producer leak. Thread name: kafka-producer-network-thread | producer-196
      	at org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerITCase.checkProducerLeak(FlinkKafkaProducerITCase.java:675)
      	at org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerITCase.testFailAndRecoverSameCheckpointTwice(FlinkKafkaProducerITCase.java:311)
      

      Attachments

        Issue Links

          Activity

            People

              fpaul Fabian Paul
              pnowojski Piotr Nowojski
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: