Details
-
Bug
-
Status: Resolved
-
P1
-
Resolution: Fixed
-
None
-
None
Description
CI: https://ci-beam.apache.org/job/beam_Release_NightlySnapshot/
Example gradle scan: https://scans.gradle.com/s/u7djerswhtnfm
Exceptions seem to have really long stack traces and varied error messages, so I don't want to copy-paste the whole thing, but this appears repeatedly:
Caused by: org.gradle.api.artifacts.PublishException: Failed to publish publication 'mavenJava' to repository 'apache.snapshots.https'
And the errors often boil down to failing to read some resource from repository.apache.org
Actually, I spoke too soon. I found this line in some of the gradle scans too:
Caused by: org.gradle.api.artifacts.PublishException: Failed to publish publication 'mavenJava' to repository 'testPublicationLocal'
Deepest cause:
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at org.gradle.api.publish.maven.internal.publisher.AbstractMavenPublisher.publish(AbstractMavenPublisher.java:75) at org.gradle.api.publish.maven.internal.publisher.MavenRemotePublisher.publish(MavenRemotePublisher.java:61) at org.gradle.api.publish.maven.internal.publisher.ValidatingMavenPublisher.publish(ValidatingMavenPublisher.java:50) at org.gradle.api.publish.maven.tasks.PublishToMavenRepository$1.publish(PublishToMavenRepository.java:110) at org.gradle.api.publish.internal.PublishOperation.run(PublishOperation.java:43) at org.gradle.api.publish.maven.tasks.PublishToMavenRepository.doPublish(PublishToMavenRepository.java:112) at org.gradle.api.publish.maven.tasks.PublishToMavenRepository.publish(PublishToMavenRepository.java:84)