opensearch-project / opensearch-ci

Enables continuous integration across OpenSearch, OpenSearch Dashboards, and plugins.
Apache License 2.0
15 stars 25 forks source link

[Bug]: Intermittent Apache Maven snapshot publication issues #480

Closed reta closed 1 month ago

reta commented 1 month ago

Describe the bug

Recently, we have been seeing intermittent Apache Maven snapshot publication issues across many repositories:

 Execution failed for task ':publishPluginZipPublicationToSnapshotsRepository'.
> Failed to publish publication 'pluginZip' to repository 'Snapshots'
   > Could not PUT 'https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/opensearch-security/2.16.0.0-SNAPSHOT/opensearch-security-2.16.0.0-20240717.154930-22.zip'. Received status code 403 from server: Forbidden
 For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
10 actionable tasks: 10 executed
   > Could not PUT 'https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/client/opensearch-java/3.0.0-SNAPSHOT/opensearch-java-3.0.0-20240717.150831-245.jar'. Received status code 403 from server: Forbidden

Sometimes retrying the workflow helps but often does not.

To reproduce

The issue is intermittent and could be observed across different repositories (see please additional context)

Expected behavior

Publication should succeed

Screenshots

If applicable, add screenshots to help explain your problem.

Host / Environment

GA worflows

Additional context

Relevant log output

No response

reta commented 1 month ago

@peterzhuamazon FYI, I am not sure this is the right repository to submit the issue, please help find the right place, thank you

peterzhuamazon commented 1 month ago

@peterzhuamazon FYI, I am not sure this is the right repository to submit the issue, please help find the right place, thank you

Hi @reta , recently sonatype is doing a series of migration. And we have worked with them yesterday to fixed bunch of publishing issues already. Let us monitor for a bit and if we still see issues arise, we can capture the logs and send them a ticket again. Sorry about it.

reta commented 1 month ago

Closing this one, thanks @peterzhuamazon !