Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10903

beam_Release_NightlySnapshot - failing to publish to apache.snapshot.https

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.26.0
    • Component/s: test-failures
    • Labels:
      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)
      

        Attachments

          Activity

            People

            • Assignee:
              tysonjh Tyson Hamilton
              Reporter:
              danoliveira Daniel Oliveira
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: