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/20 05:45:00 UTC

[jira] [Comment Edited] (FLINK-16947) ArtifactResolutionException: Could not transfer artifact. Entry [...] has not been leased from this pool

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

Robert Metzger edited comment on FLINK-16947 at 4/20/20, 5:44 AM:
------------------------------------------------------------------

This also happens with the maven mirror in the same data center:
"[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project flink-metrics-core: 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 alicloud-mvn-mirror (http://mavenmirror.alicloud.dak8s.net:8888/repository/maven-central/): Entry [id:11][route:{}->http://mavenmirror.alicloud.dak8s.net:8888][state:null] has not been leased from this pool"

It is probably a bug in the http wagon connector in maven.

https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7739&view=logs&j=8f07b2a4-809b-5b4b-72cb-057a2a4800e5&t=94d9ac6d-1d28-5d1b-a2e7-5d8447626b00
https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7739&view=logs&j=ac1ca734-b7f5-591e-e57d-c64fab7b62ae&t=809b7cd3-8495-55cd-c799-281d673c530f


was (Author: rmetzger):
This also happens with the maven mirror in the same data center:
"[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project flink-metrics-core: 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 alicloud-mvn-mirror (http://mavenmirror.alicloud.dak8s.net:8888/repository/maven-central/): Entry [id:11][route:{}->http://mavenmirror.alicloud.dak8s.net:8888][state:null] has not been leased from this pool"

It is probably a bug in the http wagon connector in maven.

https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7739&view=logs&j=8f07b2a4-809b-5b4b-72cb-057a2a4800e5&t=94d9ac6d-1d28-5d1b-a2e7-5d8447626b00

> ArtifactResolutionException: Could not transfer artifact.  Entry [...] has not been leased from this pool
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-16947
>                 URL: https://issues.apache.org/jira/browse/FLINK-16947
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System / Azure Pipelines
>            Reporter: Piotr Nowojski
>            Priority: Critical
>              Labels: test-stability
>             Fix For: 1.11.0
>
>
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=6982&view=logs&j=c88eea3b-64a0-564d-0031-9fdcd7b8abee&t=1e2bbe5b-4657-50be-1f07-d84bfce5b1f5
> Build of flink-metrics-availability-test failed with:
> {noformat}
> [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 google-maven-central (https://maven-central-eu.storage-download.googleapis.com/maven2/): Entry [id:13][route:{s}->https://maven-central-eu.storage-download.googleapis.com:443][state:null] has not been leased from this pool
> [ERROR] org.apache.maven.surefire:surefire-grouper:jar:2.22.1
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] google-maven-central (https://maven-central-eu.storage-download.googleapis.com/maven2/, releases=true, snapshots=false),
> [ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true)
> [ERROR] Path to dependency:
> [ERROR] 1) dummy:dummy:jar:1.0
> [ERROR] 2) org.apache.maven.surefire:surefire-junit47:jar:2.22.1
> [ERROR] 3) org.apache.maven.surefire:common-junit48:jar:2.22.1
> [ERROR] 4) org.apache.maven.surefire:surefire-grouper:jar:2.22.1
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :flink-metrics-availability-test
> {noformat}



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