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/03/08 09:27:00 UTC

[jira] [Commented] (FLINK-16411) Use google maven mirrors in all maven invocations on AZP

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

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

A similar example: https://dev.azure.com/rmetzger/Flink/_build/results?buildId=6051&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=2b7514ee-e706-5046-657b-3430666e7bd9

{code}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (end-to-end-tests) on project flink-metrics-availability-test: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Could not transfer artifact org.apache.maven.surefire:surefire-grouper:jar:2.22.1 from/to central (https://repo.maven.apache.org/maven2): Entry [id:41][route:{s}->https://repo.maven.apache.org:443][state:null] has not been leased from this pool
{code}

> Use google maven mirrors in all maven invocations on AZP
> --------------------------------------------------------
>
>                 Key: FLINK-16411
>                 URL: https://issues.apache.org/jira/browse/FLINK-16411
>             Project: Flink
>          Issue Type: Task
>          Components: Build System / Azure Pipelines
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  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)