Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-17400

LocalStandaloneKafkaResource.setupKafkaDist fails due to download timeout

    XMLWordPrintableJSON

Details

    Description

      CI: https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=273&view=logs&j=68a897ab-3047-5660-245a-cce8f83859f6&t=375367d9-d72e-5c21-3be0-b45149130f6b

      [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 215.598 s <<< FAILURE! - in org.apache.flink.tests.util.kafka.SQLClientKafkaITCase
      [ERROR] testKafka[0: kafka-version:0.10 kafka-sql-version:.*kafka-0.10.jar](org.apache.flink.tests.util.kafka.SQLClientKafkaITCase)  Time elapsed: 120.023 s  <<< ERROR!
      java.io.IOException: Process ([wget, -q, -P, /tmp/junit6433813062678759117/downloads/1665795946, https://archive.apache.org/dist/kafka/0.10.2.0/kafka_2.11-0.10.2.0.tgz]) exceeded timeout (120000) or number of retries (3).
      	at org.apache.flink.tests.util.AutoClosableProcess$AutoClosableProcessBuilder.runBlockingWithRetry(AutoClosableProcess.java:132)
      	at org.apache.flink.tests.util.cache.AbstractDownloadCache.getOrDownload(AbstractDownloadCache.java:127)
      	at org.apache.flink.tests.util.cache.LolCache.getOrDownload(LolCache.java:31)
      	at org.apache.flink.tests.util.kafka.LocalStandaloneKafkaResource.setupKafkaDist(LocalStandaloneKafkaResource.java:98)
      	at org.apache.flink.tests.util.kafka.LocalStandaloneKafkaResource.before(LocalStandaloneKafkaResource.java:92)
      	at org.apache.flink.util.ExternalResource$1.evaluate(ExternalResource.java:46)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      
      

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              Unassigned Unassigned
              rmetzger Robert Metzger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: