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

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

I reopened this ticket. After adding the change for centrally controlling all 
mvn invocations, we still have connection timeouts (so far it seems, that maven 
is not getting stuck anymore, so there is at least some improvement)

[~chesnay] What do you think about the connection reset issues? They mostly 
occur on the Alibaba-hosted machines. I wonder if there's some connectivity 
issues in their DC.
I see two approaches we could pursue 
1) add caching for maven artifacts for all testing jobs as well (currently we 
only cache for compile and python)
2) We use a newer maven version with proper retries for downloading missing 
dependencies, then we call our old maven version.

> 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: 20m
>  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)

Reply via email to