Details
-
Publishing Support
-
Resolution: Duplicate
-
Blocker
-
Linux
-
null
-
oss.sonatype.org
-
No
Description
I get the following timeout error while trying to upload jars to Sonatype. (This does not normally happen, I have used this same upload configuration many times before.) I have tried with both nexus-staging-maven-plugin 1.6.3 (which used to work) and 1.6.8 (which seems to be the latest version), and both fail, so I assume this is a serverside issue?
[INFO] [INFO] — nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) @ fast-classpath-scanner — [INFO] [INFO] Performing local staging (local stagingDirectory="/home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging")... [INFO] [INFO] + Using server credentials "ossrh" from Maven settings. [INFO] WARNING: An illegal reflective access operation has occurred [INFO] WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields ([file:/home/luke/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar|file:///home/luke/.m2/repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar]) to field java.util.TreeMap.comparator [INFO] WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields [INFO] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations [INFO] WARNING: All illegal access operations will be denied in a future release [INFO] [INFO] * Connected to Nexus at [https://oss.sonatype.org:443/|https://oss.sonatype.org/], is version 2.14.8-01 and edition "Professional" [INFO] [INFO] * Using staging profile ID "9b6e6e6cd8ded8" (matched by Nexus). [INFO] [INFO] Installing /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/fast-classpath-scanner-3.0.0.jar to /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging/9b6e6e6cd8ded8/io/github/lukehutch/fast-classpath-scanner/3.0.0/fast-classpath-scanner-3.0.0.jar [INFO] [INFO] Installing /home/luke/Work/fast-classpath-scanner.repo/target/checkout/pom.xml to /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging/9b6e6e6cd8ded8/io/github/lukehutch/fast-classpath-scanner/3.0.0/fast-classpath-scanner-3.0.0.pom [INFO] [INFO] Installing /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/fast-classpath-scanner-3.0.0-sources.jar to /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging/9b6e6e6cd8ded8/io/github/lukehutch/fast-classpath-scanner/3.0.0/fast-classpath-scanner-3.0.0-sources.jar [INFO] [INFO] Installing /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/fast-classpath-scanner-3.0.0-javadoc.jar to /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging/9b6e6e6cd8ded8/io/github/lukehutch/fast-classpath-scanner/3.0.0/fast-classpath-scanner-3.0.0-javadoc.jar [INFO] [INFO] Installing /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/fast-classpath-scanner-3.0.0.jar.asc to /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging/9b6e6e6cd8ded8/io/github/lukehutch/fast-classpath-scanner/3.0.0/fast-classpath-scanner-3.0.0.jar.asc [INFO] [INFO] Installing /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/fast-classpath-scanner-3.0.0.pom.asc to /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging/9b6e6e6cd8ded8/io/github/lukehutch/fast-classpath-scanner/3.0.0/fast-classpath-scanner-3.0.0.pom.asc [INFO] [INFO] Installing /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/fast-classpath-scanner-3.0.0-sources.jar.asc to /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging/9b6e6e6cd8ded8/io/github/lukehutch/fast-classpath-scanner/3.0.0/fast-classpath-scanner-3.0.0-sources.jar.asc [INFO] [INFO] Installing /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/fast-classpath-scanner-3.0.0-javadoc.jar.asc to /home/luke/Work/fast-classpath-scanner.repo/target/checkout/target/nexus-staging/staging/9b6e6e6cd8ded8/io/github/lukehutch/fast-classpath-scanner/3.0.0/fast-classpath-scanner-3.0.0-javadoc.jar.asc [INFO] [INFO] Performing remote staging... [INFO] [INFO] [INFO] [INFO] * Remote staging into staging profile ID "9b6e6e6cd8ded8" [INFO] [ERROR] Remote staging finished with a failure: 504 - Gateway Timeout [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] BUILD FAILURE [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: 06:27 min [INFO] [INFO] Finished at: 2018-06-14T02:53:33-06:00 [INFO] [INFO] Final Memory: 37M/176M [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project fast-classpath-scanner: Remote staging failed: 504 - Gateway Timeout -> [Help 1] [INFO] [ERROR] [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [INFO] [ERROR] [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles: [INFO] [ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:40 min [INFO] Finished at: 2018-06-14T02:53:33-06:00 [INFO] Final Memory: 19M/148M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project fast-classpath-scanner: Maven execution failed, exit code: '1' -> [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]
Another similar but sligthly different set of errors, from another attempt:
[INFO] [INFO] * Upload of locally staged artifacts finished. [INFO] [INFO] * Closing staging repository with ID "iogithublukehutch-1142". [INFO] [INFO] Waiting for operation to complete.................... [INFO] [WARNING] TIMEOUT [INFO] [INFO] [ERROR] Rule failure while trying to close staging repository with ID "iogithublukehutch-1142". [INFO] [ERROR] [INFO] [ERROR] Nexus Staging Rules Failure Report [INFO] [ERROR] ================================== [INFO] [ERROR] [INFO] [ERROR] [INFO] [ERROR] Cleaning up local stage directory after a Rule failure during close of staging repositories: [] [INFO] [ERROR] * Deleting context 9b6e6e6cd8ded8.properties [INFO] [ERROR] Cleaning up remote stage repositories after a Rule failure during close of staging repositories: [] [INFO] [ERROR] * Dropping failed staging repository with ID "iogithublukehutch-1142" (Rule failure during close of staging repositories: []). [INFO] [INFO] Waiting for operation to complete..... [INFO] [INFO] [ERROR] Remote staging finished with a failure: Staging rules failure! [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] BUILD FAILURE [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Total time: 10:32 min [INFO] [INFO] Finished at: 2018-06-14T03:33:52-06:00 [INFO] [INFO] Final Memory: 38M/200M [INFO] [INFO] ------------------------------------------------------------------------ [INFO] [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3:deploy (injected-nexus-deploy) on project fast-classpath-scanner: Remote staging failed: Staging rules failure! -> [Help 1] [INFO] [ERROR] [INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [INFO] [ERROR] [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles: [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:46 min [INFO] Finished at: 2018-06-14T03:33:52-06:00 [INFO] Final Memory: 18M/108M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:perform (default-cli) on project fast-classpath-scanner: Maven execution failed, exit code: '1' -> [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