FailedConsole Output

Started by an SCM change
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/speed-bagit-unstable/workspace
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/dataoneorg/speed-bagit/ # timeout=10
Fetching upstream changes from https://github.com/dataoneorg/speed-bagit/
 > git --version # timeout=10
 > git --version # 'git version 2.17.1'
 > git fetch --tags --progress -- https://github.com/dataoneorg/speed-bagit/ +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse origin/develop^{commit} # timeout=10
Checking out Revision 47406a0ef097c0a55738c5c1ba9007c96231dc74 (origin/develop)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 47406a0ef097c0a55738c5c1ba9007c96231dc74 # timeout=10
Commit message: "Remove jenkins.dataone.org from pom.xml"
 > git rev-list --no-walk c1b224be80ec9978c87c7234c9e3a62a205a496c # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 33505
[workspace] $ java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/share/maven/conf/logging jenkins.maven3.agent.Maven35Main /usr/share/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-4.5.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 33505
<===[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.051 s - in org.dataone.speedbagit.SpeedStreamTest
[INFO] Running org.dataone.speedbagit.SpeedBagItTest
Apr 16, 2021 6:50:10 PM org.dataone.speedbagit.SpeedBagIt run
INFO: Streaming bag at 2021.04.16.18.50.10
Apr 16, 2021 6:50:10 PM org.dataone.speedbagit.SpeedBagIt run
INFO: Finished streaming bag at 2021.04.16.18.50.10
Apr 16, 2021 6:50:10 PM org.dataone.speedbagit.SpeedBagIt run
INFO: Streaming bag at 2021.04.16.18.50.10
Apr 16, 2021 6:50:10 PM org.dataone.speedbagit.SpeedBagIt run
INFO: Finished streaming bag at 2021.04.16.18.50.10
Apr 16, 2021 6:50:10 PM org.dataone.speedbagit.SpeedBagIt run
INFO: Streaming bag at 2021.04.16.18.50.10
Apr 16, 2021 6:50:10 PM org.dataone.speedbagit.SpeedBagIt run
INFO: Finished streaming bag at 2021.04.16.18.50.10
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 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.003 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.003 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:  6.623 s
[INFO] Finished at: 2021-04-16T18:50:13Z
[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
[JENKINS] Archiving /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/pom.xml to org.dataone/speedbagit/1.0/speedbagit-1.0.pom
[JENKINS] Archiving /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0.jar to org.dataone/speedbagit/1.0/speedbagit-1.0.jar
[JENKINS] Archiving /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0-tests.jar to org.dataone/speedbagit/1.0/speedbagit-1.0-tests.jar
[JENKINS] Archiving /var/lib/jenkins/jobs/speed-bagit-unstable/workspace/target/speedbagit-1.0-sources.jar to org.dataone/speedbagit/1.0/speedbagit-1.0-sources.jar
channel stopped
Notifying upstream projects of job completion
Finished: FAILURE