Skip to content

Conversation

@Kontinuation
Copy link
Member

@Kontinuation Kontinuation commented Jul 7, 2023

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

The CI for Scala/Java build fails frequently. The failure was triggered by a failed maven artifact download:

Error:  Plugin org.apache.maven.plugins:maven-shade-plugin:3.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-shade-plugin:jar:3.4.1: Could not transfer artifact org.apache.maven.plugins:maven-shade-plugin:pom:3.4.1 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-shade-plugin/3.4.1/maven-shade-plugin-3.4.1.pom: Connection timed out (Read failed) -> [Help 1]

This is caused by a networking problem of Microsoft Azure. Please refer to actions/runner-images#1499 for details. This patch workaround the networking problem by discarding long-living TCP connections.

How was this patch tested?

Trigger the CI multiple times to see if the problem persists.

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the docs.

@Kontinuation Kontinuation changed the title [WIP] Fix unstable maven build on GitHub Actions [SEDONA-322] Fix unstable maven build on GitHub Actions Jul 7, 2023
@Kontinuation Kontinuation marked this pull request as ready for review July 7, 2023 07:22
@jiayuasu jiayuasu added this to the sedona-1.5.0 milestone Jul 7, 2023
@jiayuasu jiayuasu merged commit 11cc303 into apache:master Jul 7, 2023
@Kontinuation Kontinuation deleted the fix-unstable-maven-build branch August 23, 2023 15:13
Kontinuation added a commit to Kontinuation/sedona that referenced this pull request Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants