Closed t0yv0 closed 1 year ago
Possibly an instance of https://github.com/pulumi/pulumi-java/issues/830
Though the message is different, not this:
Staging repository is still transitioning after defined time. Consider its increment. StagingRepository(id=compulumi-1379, state=open, transitioning=true)
I'm retrying the workflow to see if a second attempt succeeds.
Attempt 2:
> Staging repository is not in desired state [released, not_found]: StagingRepository(id=compulumi-5597, state=closed, transitioning=false). It is unexpected. Please checkNexus logs using its web interface - it can be caused by validation rules violation. If not, please report it to https://github.com/gradle-nexus/publish-plugin/issues/ with '--info' logs
Logs from Nexus UI:
<div class="nx-staging-repository-ActivityView-messagePanel-head" style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px 0px 5px; padding: 0px 0px 5px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(208, 208, 208); caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: arial, tahoma, verdana, helvetica; font-size: 11px;"><img src="https://s01.oss.sonatype.org/static/icons/x32/cog_red.png" style="border: 0px; float: right; background-color: rgb(255, 255, 255); padding-left: 5px; height: 32px; width: 32px;"><div class="nx-staging-repository-ActivityView-messagePanel-title" style="margin: 0px; padding: 0px; font-style: normal; font-variant-caps: normal; font-weight: bold; font-stretch: normal; font-size: 13px; line-height: normal; font-family: arial, tahoma, verdana, helvetica; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">Event: Failed: Repository Writable</div><div class="nx-staging-repository-ActivityView-messagePanel-timestamp" style="margin: 0px; padding: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 10px; line-height: normal; font-family: arial, tahoma, verdana, helvetica; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">Friday, August 25, 2023 11:42:53 EDT (GMT-0400)</div></div><div class="nx-staging-repository-ActivityView-messagePanel-body" style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; padding: 10px 0px 0px; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: arial, tahoma, verdana, helvetica; font-size: 11px;"><div class="nx-staging-repository-ActivityView-messagePanel-properties" style="margin: 0px; padding: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: arial, tahoma, verdana, helvetica; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;">
typeId | RepositoryWritePolicy
-- | --
failureMessage | Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/pulumi/aws/6.0.2-alpha.2+9b14ba69/aws-6.0.2-alpha.2+9b14ba69-javadoc.jar'
failureMessage | Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/pulumi/aws/6.0.2-alpha.2+9b14ba69/aws-6.0.2-alpha.2+9b14ba69.module'
failureMessage | Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/pulumi/aws/6.0.2-alpha.2+9b14ba69/aws-6.0.2-alpha.2+9b14ba69.pom'
failureMessage | Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/pulumi/aws/6.0.2-alpha.2+9b14ba69/aws-6.0.2-alpha.2+9b14ba69-sources.jar'
failureMessage | Artifact updating: Repository ='releases:Releases' does not allow updating artifact='/com/pulumi/aws/6.0.2-alpha.2+9b14ba69/aws-6.0.2-alpha.2+9b14ba69.jar'
</div></div>
https://central.sonatype.com/artifact/com.pulumi/aws/6.0.2-alpha.2+9b14ba69 gives 404 not found.
ok, mvn compile can handle this dependency:
<dependency>
<groupId>com.pulumi</groupId>
<artifactId>aws</artifactId>
<version>6.0.2-alpha.2+9b14ba69</version>
</dependency>
I think this version actually got published to Maven Central in spite of the CI marking it as failing.
I will count it as another instance of https://github.com/pulumi/pulumi-java/issues/830 and it should not affect upcoming V6 release. Closing.
Cannot close issue:
resolution/
Please fix these problems and try again.
What happened?
Alpha release encountered a failure to push Java SDK to Maven Central:
Expected Behavior
Java SDK publishes successfully.
Steps to reproduce
N/A
Output of
pulumi about
N/A
Additional context
This has known to be flaky before may retry.
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).