[ https://issues.apache.org/jira/browse/BEAM-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16637199#comment-16637199 ]
Scott Wegner commented on BEAM-3055: ------------------------------------ This is obsolete as we no longer use Maven. This could potentially still be an issue with Gradle, but I haven't seen it arise yet. Closing for now-- let's re-open if we see it pop back up. > Retry downloading required test artifacts with a backoff when download fails. > ----------------------------------------------------------------------------- > > Key: BEAM-3055 > URL: https://issues.apache.org/jira/browse/BEAM-3055 > Project: Beam > Issue Type: Improvement > Components: test-failures, testing > Reporter: Valentyn Tymofieiev > Assignee: Jason Kuster > Priority: Major > Fix For: Not applicable > > > When Maven fails to download a required artifact for a test, the test fails. > Is it possible to configure Maven to retry the download with a backoff up to > N number of attempts? > Example test failure: > https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/15004/console > 2017-10-11T19:01:21.382 [INFO] > ------------------------------------------------------------------------ > 2017-10-11T19:01:21.382 [INFO] BUILD FAILURE > 2017-10-11T19:01:21.382 [INFO] > ------------------------------------------------------------------------ > 2017-10-11T19:01:21.383 [INFO] Total time: 55:20 min > 2017-10-11T19:01:21.383 [INFO] Finished at: 2017-10-11T19:01:21+00:00 > 2017-10-11T19:01:23.807 [INFO] Final Memory: 261M/2068M > 2017-10-11T19:01:23.807 [INFO] > ------------------------------------------------------------------------ > 2017-10-11T19:01:23.836 [ERROR] Failed to execute goal on project > beam-sdks-java-io-hcatalog: Could not resolve dependencies for project > org.apache.beam:beam-sdks-java-io-hcatalog:jar:2.2.0-SNAPSHOT: The following > artifacts could not be resolved: org.apache.hive:hive-metastore:jar:2.1.0, > javolution:javolution:jar:5.5.1: Could not transfer artifact > org.apache.hive:hive-metastore:jar:2.1.0 from/to central > (https://repo.maven.apache.org/maven2): GET request of: > org/apache/hive/hive-metastore/2.1.0/hive-metastore-2.1.0.jar from central > failed: Connection reset -> [Help 1]. -- This message was sent by Atlassian JIRA (v7.6.3#76005)