[
https://issues.apache.org/jira/browse/BEAM-11377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241838#comment-17241838
]
Kenneth Knowles commented on BEAM-11377:
----------------------------------------
One solution may be to simply retry more via
{{-Dmaven.wagon.http.retryHandler.count=5}}
Perhaps a better solution is to not wipe out the local repository. This means
we need {{.m2}} to live outside the wiped area of the workspace (this is safe
as it is a transparent cache of immutable things) and also need to change [this
line|https://github.com/apache/beam/blob/3de140f908295706bb3bf0e8bd42630c1ed815f1/release/src/main/groovy/TestScripts.groovy#L199]
which sets it to a subdirectory of a deleted temp dir.
> beam_PostRelease_NightlySnapshot failing (connection reset fetching deps)
> -------------------------------------------------------------------------
>
> Key: BEAM-11377
> URL: https://issues.apache.org/jira/browse/BEAM-11377
> Project: Beam
> Issue Type: Bug
> Components: test-failures
> Reporter: Kenneth Knowles
> Priority: P1
> Labels: flake
>
> https://ci-beam.apache.org/job/beam_PostRelease_NightlySnapshot/1195/
> {code}
> 03:05:12 [ERROR] Failed to execute goal on project word-count-beam: Could not
> resolve dependencies for project org.example:word-count-beam:jar:0.1: Failed
> to collect dependencies at
> org.apache.beam:beam-sdks-java-io-google-cloud-platform:jar:2.27.0-SNAPSHOT
> -> com.google.cloud:google-cloud-spanner:jar:2.0.2: Failed to read artifact
> descriptor for com.google.cloud:google-cloud-spanner:jar:2.0.2: Could not
> transfer artifact com.google.cloud:google-cloud-spanner:pom:2.0.2 from/to
> central (https://repo.maven.apache.org/maven2): Connection reset -> [Help 1]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)