Started by user administrator Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/bookkeep-api-stable/workspace 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/bookkeeper-api # timeout=10 Fetching upstream changes from https://github.com/dataoneorg/bookkeeper-api > git --version # timeout=10 > git fetch --tags --progress https://github.com/dataoneorg/bookkeeper-api +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/1.0^{commit} # timeout=10 Checking out Revision 4f434f42e1366b9e60d04b9b755df155ae12d475 (origin/1.0) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f434f42e1366b9e60d04b9b755df155ae12d475 Commit message: "Change the distro management to work with Jenkins." > git rev-list --no-walk 4f434f42e1366b9e60d04b9b755df155ae12d475 # timeout=10 Parsing POMs Established TCP socket on 34001 [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.3.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 34001 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/pom.xml clean deploy -Durl=file:///var/www/maven [INFO] Scanning for projects... [INFO] [INFO] ---------------------< org.dataone:bookkeeper-api >--------------------- [INFO] Building bookkeeper-api 1.0.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ bookkeeper-api --- [INFO] Deleting /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bookkeeper-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ bookkeeper-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 15 source files to /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bookkeeper-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ bookkeeper-api --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ bookkeeper-api --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.dataone.bookkeeper.api.OrderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.436 s - in org.dataone.bookkeeper.api.OrderTest [INFO] Running org.dataone.bookkeeper.api.UsageTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.dataone.bookkeeper.api.UsageTest [INFO] Running org.dataone.bookkeeper.api.OrderItemTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.dataone.bookkeeper.api.OrderItemTest [INFO] Running org.dataone.bookkeeper.api.CustomerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.dataone.bookkeeper.api.CustomerTest [INFO] Running org.dataone.bookkeeper.api.FeatureTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.dataone.bookkeeper.api.FeatureTest [INFO] Running org.dataone.bookkeeper.api.AddressTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.dataone.bookkeeper.api.AddressTest [INFO] Running org.dataone.bookkeeper.api.QuotaTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.dataone.bookkeeper.api.QuotaTest [INFO] Running org.dataone.bookkeeper.api.ProductTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 s - in org.dataone.bookkeeper.api.ProductTest [INFO] Running org.dataone.bookkeeper.api.UsageStatusTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.dataone.bookkeeper.api.UsageStatusTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ bookkeeper-api --- [INFO] Building jar: /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/target/bookkeeper-api-1.0.0.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ bookkeeper-api --- [INFO] Installing /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/target/bookkeeper-api-1.0.0.jar to /var/lib/jenkins/.m2/repository/org/dataone/bookkeeper-api/1.0.0/bookkeeper-api-1.0.0.jar [INFO] Installing /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/pom.xml to /var/lib/jenkins/.m2/repository/org/dataone/bookkeeper-api/1.0.0/bookkeeper-api-1.0.0.pom [INFO] [INFO] --- maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) @ bookkeeper-api --- [INFO] Uploading to jenkins.dataone.org: file:///var/www/maven/org/dataone/bookkeeper-api/1.0.0/bookkeeper-api-1.0.0.jar [INFO] Uploading to jenkins.dataone.org: file:///var/www/maven/org/dataone/bookkeeper-api/1.0.0/bookkeeper-api-1.0.0.pom Notifying upstream projects of job completion Join notifier requires a CauseAction [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.514 s [INFO] Finished at: 2020-10-30T19:06:32Z [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 bookkeeper-api: ArtifactDeployerException: Failed to deploy artifacts: Could not transfer artifact org.dataone:bookkeeper-api:jar:1.0.0 from/to jenkins.dataone.org (file:///var/www/maven): PUT request to: org/dataone/bookkeeper-api/1.0.0/bookkeeper-api-1.0.0.jar in jenkins.dataone.org failed: /var/www/maven/org/dataone/bookkeeper-api/1.0.0/bookkeeper-api-1.0.0.jar (Permission denied) -> [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] [JENKINS] Archiving /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/pom.xml to org.dataone/bookkeeper-api/1.0.0/bookkeeper-api-1.0.0.pom [JENKINS] Archiving /var/lib/jenkins/jobs/bookkeep-api-stable/workspace/target/bookkeeper-api-1.0.0.jar to org.dataone/bookkeeper-api/1.0.0/bookkeeper-api-1.0.0.jar [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 channel stopped Notifying upstream projects of job completion Finished: FAILURE