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

[jira] [Commented] (FLINK-16411) Maven central connection timeouts on Azure Pipelines

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

Robert Metzger commented on FLINK-16411:
----------------------------------------

I have set up a Maven Cache, my results:
- Out of 8 builds (each build has 11 jobs), 0 jobs failed
- I analyzed the time of one build, it is 22% faster (93 minutes)

I have two concerns against introducing a Maven Cache:
1. we introduce a single point of failure
2. Because the cache is only accessible for the CI machines, we will need to add a few conditions to our build logic (disable the cache on ali machines + configure a different maven repository). This will make the build config files more complicated.

[~chesnay] what do you think? I tend to give the maven cache a try, because of the much improved build times.



> Maven central connection timeouts on Azure Pipelines
> ----------------------------------------------------
>
>                 Key: FLINK-16411
>                 URL: https://issues.apache.org/jira/browse/FLINK-16411
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System / Azure Pipelines
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Some test stages invoke maven again, where additional dependencies are downloaded, sometimes failing the build.
> This ticket is about using the Google mirror wherever possible.
> Examples of failing tests:
> - https://dev.azure.com/rmetzger/Flink/_build/results?buildId=5882&view=logs&j=636f54dd-dda5-5b4b-f495-2d92ec493b6c&t=6c30efdf-a92a-5da3-9a6a-004c8552b2df
> A failure looks like this:
> {code}
> [ERROR] Failed to execute goal on project flink-hadoop-fs: Could not resolve dependencies for project org.apache.flink:flink-hadoop-fs:jar:1.11-SNAPSHOT: Could not transfer artifact org.apache.flink:flink-shaded-hadoop-2:jar:2.8.3-10.0 from/to central (https://repo.maven.apache.org/maven2): GET request of: org/apache/flink/flink-shaded-hadoop-2/2.8.3-10.0/flink-shaded-hadoop-2-2.8.3-10.0.jar from central failed: Connection reset -> [Help 1]
> {code}



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