Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SEDONA-322] Fix unstable maven build on GitHub Actions #894

Merged
merged 1 commit into from
Jul 7, 2023

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
39 checks passed
@Kontinuation Kontinuation deleted the fix-unstable-maven-build branch August 23, 2023 15:13
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.

None yet

2 participants