You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/09/25 02:22:00 UTC

[jira] [Updated] (BEAM-10903) beam_Release_NightlySnapshot - failing to publish to apache.snapshot.https

     [ https://issues.apache.org/jira/browse/BEAM-10903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles updated BEAM-10903:
-----------------------------------
    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: 
{noformat}
Caused by: org.gradle.api.artifacts.PublishException: Failed to publish publication 'mavenJava' to repository 'apache.snapshots.https'
{noformat}
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:
{noformat}
Caused by: org.gradle.api.artifacts.PublishException: Failed to publish publication 'mavenJava' to repository 'testPublicationLocal'
{noformat}

Deepest cause:

{noformat}
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)
{noformat}

  was:
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: 
{noformat}
Caused by: org.gradle.api.artifacts.PublishException: Failed to publish publication 'mavenJava' to repository 'apache.snapshots.https'
{noformat}
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:
{noformat}
Caused by: org.gradle.api.artifacts.PublishException: Failed to publish publication 'mavenJava' to repository 'testPublicationLocal'
{noformat}



> beam_Release_NightlySnapshot - failing to publish to apache.snapshot.https
> --------------------------------------------------------------------------
>
>                 Key: BEAM-10903
>                 URL: https://issues.apache.org/jira/browse/BEAM-10903
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Daniel Oliveira
>            Assignee: Tyson Hamilton
>            Priority: P1
>
> 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: 
> {noformat}
> Caused by: org.gradle.api.artifacts.PublishException: Failed to publish publication 'mavenJava' to repository 'apache.snapshots.https'
> {noformat}
> 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:
> {noformat}
> Caused by: org.gradle.api.artifacts.PublishException: Failed to publish publication 'mavenJava' to repository 'testPublicationLocal'
> {noformat}
> Deepest cause:
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)