You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Scott Wegner (JIRA)" <ji...@apache.org> on 2018/10/03 21:24:00 UTC

[jira] [Reopened] (BEAM-3055) Retry downloading required test artifacts with a backoff when download fails.

     [ https://issues.apache.org/jira/browse/BEAM-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Wegner reopened BEAM-3055:
--------------------------------

Thanks for the correction [~tvalentyn]. Although we no longer build Beam with Maven, we still test consuming Beam from maven in our post-commit tests, specifically https://builds.apache.org/job/beam_PostRelease_NightlySnapshot/.

The test generates a project from the maven archetype and runs a sample job from it. The maven command is specified [here|https://github.com/apache/beam/blob/a2b0ad14f1525d1a645cb26f5b8ec45692d9d54e/release/src/main/groovy/QuickstartArchetype.groovy#L20]. 

> 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)