[ 
https://issues.apache.org/jira/browse/FLINK-19158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192689#comment-17192689
 ] 

Robert Metzger commented on FLINK-19158:
----------------------------------------

{code}
java.io.IOException: Process ([wget, -q, -P, 
/tmp/junit8647684728286487692/downloads/-1930370649, 
https://github.com/prometheus/prometheus/releases/download/v2.4.3/prometheus-2.4.3.linux-amd64.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.LolCache.getOrDownload(LolCache.java:31)
        at 
org.apache.flink.metrics.prometheus.tests.PrometheusReporterEndToEndITCase.testReporter(PrometheusReporterEndToEndITCase.java:194)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=6356&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=2b7514ee-e706-5046-657b-3430666e7bd9

> 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
>            Priority: Major
>              Labels: test-stability
>
> 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 example is from: 
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=6267&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=ff888d9b-cd34-53cc-d90f-3e446d355529



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

Reply via email to