Uploaded image for project: 'Community Support - Open Source Project Repository Hosting'
  1. Community Support - Open Source Project Repository Hosting
  2. OSSRH-40445

Staging rules failure during spark-solr release

    XMLWordPrintable

    Details

      Description

      I am trying to publish a release of spark-solr 3.5.1 https://github.com/lucidworks/spark-solr/tree/3.5.x and running to stage rules failure. past releases worked fine without problems and we haven't changed anything with maven or nexus settings during the meantime.

      Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comlucidworks-1066/com/lucidworks/spark/spark-solr/3.5.1/spark-solr-3.5.1.jar.asc
      Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comlucidworks-1066/com/lucidworks/spark/spark-solr/3.5.1/spark-solr-3.5.1.jar.asc (473 B at 0.6 KB/sec)
      Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comlucidworks-1066/com/lucidworks/spark/spark-solr/3.5.1/spark-solr-3.5.1.pom.asc
      Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comlucidworks-1066/com/lucidworks/spark/spark-solr/3.5.1/spark-solr-3.5.1.pom.asc (473 B at 0.6 KB/sec)
      [INFO]  * Upload of locally staged artifacts finished.
      [INFO]  * Closing staging repository with ID "comlucidworks-1066".
      
      Waiting for operation to complete...
      ........
      
      [ERROR] Rule failure while trying to close staging repository with ID "comlucidworks-1066".
      [ERROR] 
      [ERROR] Nexus Staging Rules Failure Report
      [ERROR] ==================================
      [ERROR] 
      [ERROR] Repository "comlucidworks-1066" failures
      [ERROR]   Rule "no-traversal-paths-in-archive-file" failures
      [ERROR]     * Rule evaluation unexpectedly failed: org.sonatype.nexus.proxy.walker.WalkerException: Aborted walking on repository ID='comlucidworks-1066' from path='/'.
      [ERROR] 
      [ERROR] 
      [ERROR] Cleaning up local stage directory after a Rule failure during close of staging repositories: [comlucidworks-1066]
      [ERROR]  * Deleting context 7defc0cf9bc13.properties
      [ERROR] Cleaning up remote stage repositories after a Rule failure during close of staging repositories: [comlucidworks-1066]
      [ERROR]  * Dropping failed staging repository with ID "comlucidworks-1066" (Rule failure during close of staging repositories: [comlucidworks-1066]).
      
      Waiting for operation to complete...
      ...
      
      [ERROR] Remote staging finished with a failure: Staging rules failure!
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8:20.145s
      [INFO] Finished at: Tue Jun 12 01:59:57 UTC 2018
      [INFO] Final Memory: 103M/792M
      [INFO] ------------------------------------------------------------------------
      Waiting for Jenkins to finish collecting data
      [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.6:deploy (injected-nexus-deploy) on project spark-solr: Remote staging failed: Staging rules failure! -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [JENKINS] Archiving /home/jenkins/jenkins-slave/workspace/Solr/spark-solr-release/pom.xml to com.lucidworks.spark/spark-solr/3.5.1/spark-solr-3.5.1.pom
      

      I am not able to figure out the reason for failure. Do you have any suggestions/hints on what could be the reason and how to fix it?

      I also ran the maven with debug command. (Attached the output to as an attachment)

        Attachments

          Activity

            People

            Assignee:
            jorlina Joel Orlina
            Reporter:
            kiran.chitturi Kiran Chitturi
            Last Updated By:
            Joel Orlina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title