You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2020/09/07 12:14:00 UTC

[jira] [Created] (FLINK-19158) Revisit java e2e download timeouts

Robert Metzger created FLINK-19158:
--------------------------------------

             Summary: Revisit java e2e download timeouts
                 Key: FLINK-19158
                 URL: https://issues.apache.org/jira/browse/FLINK-19158
             Project: Flink
          Issue Type: Improvement
          Components: Build System
    Affects Versions: 1.12.0
            Reporter: Robert Metzger


Consider this failed test case

{code}
Test testHBase(org.apache.flink.tests.util.hbase.SQLClientHBaseITCase) is running.
--------------------------------------------------------------------------------
09:38:38,719 [                main] INFO  org.apache.flink.tests.util.cache.PersistingDownloadCache    [] - Downloading https://archive.apache.org/dist/hbase/1.4.3/hbase-1.4.3-bin.tar.gz.
09:40:38,732 [                main] ERROR org.apache.flink.tests.util.hbase.SQLClientHBaseITCase       [] - 
--------------------------------------------------------------------------------
Test testHBase(org.apache.flink.tests.util.hbase.SQLClientHBaseITCase) failed with:
java.io.IOException: Process ([wget, -q, -P, /home/vsts/work/1/e2e_cache/downloads/1598516010, https://archive.apache.org/dist/hbase/1.4.3/hbase-1.4.3-bin.tar.gz]) exceeded timeout (120000) or number of retries (3).
	at org.apache.flink.tests.util.AutoClosableProcess$AutoClosableProcessBuilder.runBlockingWithRetry(AutoClosableProcess.java:148)
	at org.apache.flink.tests.util.cache.AbstractDownloadCache.getOrDownload(AbstractDownloadCache.java:127)
	at org.apache.flink.tests.util.cache.PersistingDownloadCache.getOrDownload(PersistingDownloadCache.java:36)
	at org.apache.flink.tests.util.hbase.LocalStandaloneHBaseResource.setupHBaseDist(LocalStandaloneHBaseResource.java:76)
	at org.apache.flink.tests.util.hbase.LocalStandaloneHBaseResource.before(LocalStandaloneHBaseResource.java:70)
	at org.apache.flink.util.ExternalResource$1.evaluate(ExternalResource.java:46)
{code}

It seems that the download has not been retried. The download might be stuck? I would propose to set a timeout per try and increase the total time from 2 to 5 minutes.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)