Established TCP socket on 37343 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/pom.xml clean deploy -Durl=file:///var/www/maven [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.dataone:speedbagit:jar:1.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 64, column 13 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 73, column 13 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ line 109, column 13 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] -----------------------< org.dataone:speedbagit >----------------------- [INFO] Building speedbagit 1.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ speedbagit --- [INFO] Deleting /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target (includes = [], excludes = [**/*.jar, **/.*, **/.svn/*]) [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ speedbagit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ speedbagit --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/main-target [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ speedbagit --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ speedbagit --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/test-target [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ speedbagit --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.dataone.speedbagit.SpeedStreamTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 s - in org.dataone.speedbagit.SpeedStreamTest [INFO] Running org.dataone.speedbagit.SpeedBagItTest Aug 08, 2021 6:20:14 PM org.dataone.speedbagit.SpeedBagIt run INFO: Streaming bag at 2021.08.08.18.20.14 Aug 08, 2021 6:20:14 PM org.dataone.speedbagit.SpeedBagIt run INFO: Finished streaming bag at 2021.08.08.18.20.14 Aug 08, 2021 6:20:14 PM org.dataone.speedbagit.SpeedBagIt run INFO: Streaming bag at 2021.08.08.18.20.14 Aug 08, 2021 6:20:14 PM org.dataone.speedbagit.SpeedBagIt run INFO: Finished streaming bag at 2021.08.08.18.20.14 Aug 08, 2021 6:20:14 PM org.dataone.speedbagit.SpeedBagIt run INFO: Streaming bag at 2021.08.08.18.20.14 Aug 08, 2021 6:20:14 PM org.dataone.speedbagit.SpeedBagIt run INFO: Finished streaming bag at 2021.08.08.18.20.14 [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 s - in org.dataone.speedbagit.SpeedBagItTest [INFO] Running org.dataone.speedbagit.SpeedFileTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.dataone.speedbagit.SpeedFileTest [INFO] Running org.dataone.speedbagit.ProfilingTest [WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.004 s - in org.dataone.speedbagit.ProfilingTest [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 18, Failures: 0, Errors: 0, Skipped: 2 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ speedbagit --- [INFO] Building jar: /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0.jar [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ speedbagit --- [INFO] Building jar: /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0-tests.jar [INFO] [INFO] --- maven-source-plugin:3.1.0:jar-no-fork (attach-sources) @ speedbagit --- [INFO] Building jar: /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ speedbagit --- [INFO] Installing /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0.jar to /var/lib/jenkins/.m2/repository/org/dataone/speedbagit/1.0/speedbagit-1.0.jar [INFO] Installing /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/pom.xml to /var/lib/jenkins/.m2/repository/org/dataone/speedbagit/1.0/speedbagit-1.0.pom [INFO] Installing /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0-tests.jar to /var/lib/jenkins/.m2/repository/org/dataone/speedbagit/1.0/speedbagit-1.0-tests.jar [INFO] Installing /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0-sources.jar to /var/lib/jenkins/.m2/repository/org/dataone/speedbagit/1.0/speedbagit-1.0-sources.jar [INFO] [INFO] --- maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) @ speedbagit --- [INFO] Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/dataone/speedbagit/1.0/speedbagit-1.0.jar [INFO] Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/dataone/speedbagit/1.0/speedbagit-1.0.pom [INFO] Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/dataone/speedbagit/1.0/speedbagit-1.0-tests.jar [INFO] Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/dataone/speedbagit/1.0/speedbagit-1.0-sources.jar Notifying upstream projects of job completion Join notifier requires a CauseAction [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.390 s [INFO] Finished at: 2021-08-08T18:20:19Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) on project speedbagit: ArtifactDeployerException: Failed to deploy artifacts: Could not transfer artifact org.dataone:speedbagit:jar:1.0 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/dataone/speedbagit/1.0/speedbagit-1.0.jar. Return code is: 401, ReasonPhrase: Unauthorized. -> [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