You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/03/07 16:06:00 UTC

[jira] [Comment Edited] (FLINK-22040) Maven: Entry has not been leased from this pool / fix for e2e tests

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

Matthias Pohl edited comment on FLINK-22040 at 3/7/22, 4:05 PM:
----------------------------------------------------------------

I'm going to update the priority because we're experiencing a few build failures due to this issue specifically for the {{Flink : E2E Tests : Kinesis SQL tests}} e2e tests:
{code}
Mar 07 13:57:25 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (end-to-end-tests) on project flink-end-to-end-tests-aws-kinesis-streams: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Failure to transfer org.opentest4j:opentest4j:jar:1.1.1 from https://maven-central-eu.storage-download.googleapis.com/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of google-maven-central has elapsed or updates are forced. Original error: Could not transfer artifact org.opentest4j:opentest4j:jar:1.1.1 from/to google-maven-central (https://maven-central-eu.storage-download.googleapis.com/maven2/): Entry [id:27][route:{s}->https://maven-central-eu.storage-download.googleapis.com:443][state:null] has not been leased from this pool
Mar 07 13:57:25 [ERROR] org.opentest4j:opentest4j:jar:1.1.1
Mar 07 13:57:25 [ERROR] 
Mar 07 13:57:25 [ERROR] from the specified remote repositories:
Mar 07 13:57:25 [ERROR] google-maven-central (https://maven-central-eu.storage-download.googleapis.com/maven2/, releases=true, snapshots=false),
Mar 07 13:57:25 [ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true)
Mar 07 13:57:25 [ERROR] Path to dependency:
Mar 07 13:57:25 [ERROR] 1) dummy:dummy:jar:1.0
Mar 07 13:57:25 [ERROR] 2) org.apache.maven.surefire:surefire-junit-platform:jar:2.22.1
Mar 07 13:57:25 [ERROR] 3) org.junit.platform:junit-platform-launcher:jar:1.3.1
Mar 07 13:57:25 [ERROR] 4) org.junit.platform:junit-platform-engine:jar:1.3.1
Mar 07 13:57:25 [ERROR] 5) org.opentest4j:opentest4j:jar:1.1.1
Mar 07 13:57:25 [ERROR] -> [Help 1]
Mar 07 13:57:25 [ERROR] 
Mar 07 13:57:25 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Mar 07 13:57:25 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
Mar 07 13:57:25 [ERROR] 
Mar 07 13:57:25 [ERROR] For more information about the errors and possible solutions, please read the following articles:
Mar 07 13:57:25 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Mar 07 13:57:25 [ERROR] 
Mar 07 13:57:25 [ERROR] After correcting the problems, you can resume the build with the command
Mar 07 13:57:25 [ERROR]   mvn <goals> -rf :flink-end-to-end-tests-aws-kinesis-streams
{code}

https://dev.azure.com/mapohl/flink/_build/results?buildId=827&view=logs&j=0e31ee24-31a6-528c-a4bf-45cde9b2a14e&t=ff03a8fa-e84e-5199-efb2-5433077ce8e2&l=15272


was (Author: mapohl):
I'm going to update the priority because we're experiencing a few build failures due to this issue specifically for the {{Flink : E2E Tests : Kinesis SQL tests}} e2e tests:
{code}
Mar 07 13:57:25 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (end-to-end-tests) on project flink-end-to-end-tests-aws-kinesis-streams: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Failure to transfer org.opentest4j:opentest4j:jar:1.1.1 from https://maven-central-eu.storage-download.googleapis.com/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of google-maven-central has elapsed or updates are forced. Original error: Could not transfer artifact org.opentest4j:opentest4j:jar:1.1.1 from/to google-maven-central (https://maven-central-eu.storage-download.googleapis.com/maven2/): Entry [id:27][route:{s}->https://maven-central-eu.storage-download.googleapis.com:443][state:null] has not been leased from this pool
Mar 07 13:57:25 [ERROR] org.opentest4j:opentest4j:jar:1.1.1
Mar 07 13:57:25 [ERROR] 
Mar 07 13:57:25 [ERROR] from the specified remote repositories:
Mar 07 13:57:25 [ERROR] google-maven-central (https://maven-central-eu.storage-download.googleapis.com/maven2/, releases=true, snapshots=false),
Mar 07 13:57:25 [ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true)
Mar 07 13:57:25 [ERROR] Path to dependency:
Mar 07 13:57:25 [ERROR] 1) dummy:dummy:jar:1.0
Mar 07 13:57:25 [ERROR] 2) org.apache.maven.surefire:surefire-junit-platform:jar:2.22.1
Mar 07 13:57:25 [ERROR] 3) org.junit.platform:junit-platform-launcher:jar:1.3.1
Mar 07 13:57:25 [ERROR] 4) org.junit.platform:junit-platform-engine:jar:1.3.1
Mar 07 13:57:25 [ERROR] 5) org.opentest4j:opentest4j:jar:1.1.1
Mar 07 13:57:25 [ERROR] -> [Help 1]
Mar 07 13:57:25 [ERROR] 
Mar 07 13:57:25 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
Mar 07 13:57:25 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
Mar 07 13:57:25 [ERROR] 
Mar 07 13:57:25 [ERROR] For more information about the errors and possible solutions, please read the following articles:
Mar 07 13:57:25 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Mar 07 13:57:25 [ERROR] 
Mar 07 13:57:25 [ERROR] After correcting the problems, you can resume the build with the command
Mar 07 13:57:25 [ERROR]   mvn <goals> -rf :flink-end-to-end-tests-aws-kinesis-streams
{code}

> Maven: Entry has not been leased from this pool / fix for e2e tests
> -------------------------------------------------------------------
>
>                 Key: FLINK-22040
>                 URL: https://issues.apache.org/jira/browse/FLINK-22040
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Build System / Azure Pipelines
>    Affects Versions: 1.12.2, 1.13.0, 1.15.0
>            Reporter: Robert Metzger
>            Priority: Major
>              Labels: auto-unassigned
>             Fix For: 1.15.0, 1.12.8
>
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)