Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-18148

Beam daily snapshot publishing failed: 401, Unauthorized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Information Provided
    • Fix Version/s: None
    • Component/s: maven
    • Labels:
      None
    • Project:
      Beam

      Description

      Beam failed publishing snapshots to the Apache Maven snapshot repositories since 2/28. We've checked build script and found the credentials were read from ${user.home}/.m2/settings.xml. We wonder is there any changes on the credentials, either in the remote repo or in the settings.xml? Much appreciated.

      Example failue: https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_Release_NightlySnapshot/391/

      02:32:58 * What went wrong:
      02:32:58 Execution failed for task ':beam-examples-java:publishMavenJavaPublicationToMavenRepository'.
      02:32:58 > Failed to publish publication 'mavenJava' to repository 'maven'
      02:32:58 > Could not write to resource 'https://repository.apache.org/content/repositories/snapshots/org/apache/beam/beam-examples-java/2.13.0-SNAPSHOT/beam-examples-java-2.13.0-20190329.092240-1.jar'.
      02:32:58 > Could not PUT 'https://repository.apache.org/content/repositories/snapshots/org/apache/beam/beam-examples-java/2.13.0-SNAPSHOT/beam-examples-java-2.13.0-20190329.092240-1.jar'. Received status code 401 from server: Unauthorized

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yifanzou Yifan Zou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: