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

Add configurable download timeout/retry to AbstractDownloadCache

    XMLWordPrintableJSON

Details

    Description

      To alleviate issues as below where java e2e tests fail due to download issues, introduce a configurable retry/timeout for downloads.

      17:47:50.589 [INFO] Running org.apache.flink.tests.util.kafka.StreamingKafkaITCase
      17:51:35.273 [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 224.68 s <<< FAILURE! - in org.apache.flink.tests.util.kafka.StreamingKafkaITCase
      17:51:35.273 [ERROR] testKafka[2: kafka-version:2.2.0](org.apache.flink.tests.util.kafka.StreamingKafkaITCase)  Time elapsed: 120.008 s  <<< ERROR!
      java.io.IOException: Process failed due to timeout.
      
      

      Instance: https://api.travis-ci.com/v3/job/268159458/log.txt

       

      It seems logs not uploaded to transfer.sh

      Attachments

        Issue Links

          Activity

            People

              openinx Zheng Hu
              yunta Yun Tang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m