Any ideas on how to solve this? ---------- Forwarded message --------- From: Apache Jenkins Server <jenk...@builds.apache.org> Date: Sun, Jul 8, 2018, 12:34 Subject: Build failed in Jenkins: commons-dbcp #262 To: <notificati...@commons.apache.org>
See < https://builds.apache.org/job/commons-dbcp/262/display/redirect?page=changes > Changes: [garydgregory] [DBCP-512] Avoid exceptions when closing a connection in mutli-threaded ------------------------------------------ [...truncated 51.69 KB...] 18:32:19,080 WARN [arjuna] ARJUNA012381: Action id 0:ffff0a80000d:96c3:5b4258a7:849f5 completed with multiple threads - thread main was in progress with java.lang.Thread.sleep(Native Method) org.apache.commons.dbcp2.managed.TestConnectionWithNarayana.testConnectionCommitAfterTimeout(TestConnectionWithNarayana.java:132) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) org.junit.runners.ParentRunner.run(ParentRunner.java:363) org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383) org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344) org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417) 18:32:19,080 WARN [arjuna] ARJUNA012108: CheckedAction::check - atomic action 0:ffff0a80000d:96c3:5b4258a7:849f5 aborting with 1 threads active! 18:32:19,081 WARN [arjuna] ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffff0a80000d:96c3:5b4258a7:849f5 18:32:21,079 WARN [arjuna] ARJUNA012077: Abort called on already aborted atomic action 0:ffff0a80000d:96c3:5b4258a7:849f5 18:32:22,085 WARN [arjuna] ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff0a80000d:96c3:5b4258a7:849f8 in state RUN 18:32:22,086 WARN [arjuna] ARJUNA012095: Abort of action id 0:ffff0a80000d:96c3:5b4258a7:849f8 invoked while multiple threads active within it. 18:32:22,086 WARN [arjuna] ARJUNA012381: Action id 0:ffff0a80000d:96c3:5b4258a7:849f8 completed with multiple threads - thread main was in progress with java.lang.Thread.sleep(Native Method) org.apache.commons.dbcp2.managed.TestConnectionWithNarayana.testRepeatedGetConnectionInTimeout(TestConnectionWithNarayana.java:102) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) org.junit.runners.ParentRunner.run(ParentRunner.java:363) org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383) org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344) org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417) 18:32:22,086 WARN [arjuna] ARJUNA012108: CheckedAction::check - atomic action 0:ffff0a80000d:96c3:5b4258a7:849f8 aborting with 1 threads active! 18:32:22,086 WARN [arjuna] ARJUNA012121: TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,main] successfully canceled TX 0:ffff0a80000d:96c3:5b4258a7:849f8 18:32:24,087 WARN [arjuna] ARJUNA012077: Abort called on already aborted atomic action 0:ffff0a80000d:96c3:5b4258a7:849f8 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.711 s - in org.apache.commons.dbcp2.managed.TestConnectionWithNarayana [INFO] Running org.apache.commons.dbcp2.managed.TestBasicManagedDataSource [INFO] Tests run: 67, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.586 s - in org.apache.commons.dbcp2.managed.TestBasicManagedDataSource [INFO] Running org.apache.commons.dbcp2.managed.TestPoolableManagedConnection [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.commons.dbcp2.managed.TestPoolableManagedConnection [INFO] Running org.apache.commons.dbcp2.managed.TestManagedConnection [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.apache.commons.dbcp2.managed.TestManagedConnection [INFO] Running org.apache.commons.dbcp2.managed.TestManagedDataSourceInTx [INFO] Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.847 s - in org.apache.commons.dbcp2.managed.TestManagedDataSourceInTx [INFO] Running org.apache.commons.dbcp2.managed.TestTransactionContext [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.commons.dbcp2.managed.TestTransactionContext [INFO] Running org.apache.commons.dbcp2.managed.TestManagedDataSource [INFO] Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.829 s - in org.apache.commons.dbcp2.managed.TestManagedDataSource [INFO] Running org.apache.commons.dbcp2.managed.TestDataSourceXAConnectionFactory [INFO] Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.449 s - in org.apache.commons.dbcp2.managed.TestDataSourceXAConnectionFactory [INFO] Running org.apache.commons.dbcp2.managed.TestLocalXaResource [INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.apache.commons.dbcp2.managed.TestLocalXaResource [INFO] Running org.apache.commons.dbcp2.TestBasicDataSourceMXBean [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.commons.dbcp2.TestBasicDataSourceMXBean [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 1402, Failures: 0, Errors: 0, Skipped: 4 [INFO] [JENKINS] Recording test results [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.SurefireArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.BuildInfoRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ commons-dbcp2 --- [INFO] Building jar: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT.jar > [INFO] [INFO] >>> maven-javadoc-plugin:3.0.1:javadoc (create-javadoc-jar) > generate-sources @ commons-dbcp2 >>> [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ commons-dbcp2 --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-3) @ commons-dbcp2 --- [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:parse-version (parse-version) @ commons-dbcp2 --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ commons-dbcp2 --- [INFO] Executing tasks main: [INFO] Executed tasks [WARNING] Failed to getClass for org.apache.maven.plugins.javadoc.JavadocReport [INFO] [INFO] <<< maven-javadoc-plugin:3.0.1:javadoc (create-javadoc-jar) < generate-sources @ commons-dbcp2 <<< [INFO] [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:javadoc (create-javadoc-jar) @ commons-dbcp2 --- [JENKINS] Archiving javadoc [WARNING] Attempt to (de-)serialize anonymous class hudson.FilePath$32; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] --- maven-javadoc-plugin:3.0.1:jar (create-javadoc-jar) @ commons-dbcp2 --- [INFO] Building jar: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-javadoc.jar > [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ commons-dbcp2 --- [INFO] Skipping because packaging 'jar' is not pom. [INFO] [INFO] --- maven-jar-plugin:3.1.0:test-jar (default) @ commons-dbcp2 --- [INFO] Building jar: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-tests.jar > [INFO] [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (create-source-jar) @ commons-dbcp2 --- [INFO] Building jar: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-sources.jar > [INFO] [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (create-source-jar) @ commons-dbcp2 --- [INFO] Building jar: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-test-sources.jar > [INFO] [INFO] --- maven-assembly-plugin:3.1.0:single (default) @ commons-dbcp2 --- [INFO] Reading assembly descriptor: src/main/assembly/bin.xml [INFO] Reading assembly descriptor: src/main/assembly/src-tar-gz.xml [INFO] Reading assembly descriptor: src/main/assembly/src-zip.xml [WARNING] The assembly id src is used more than once. [INFO] Building tar: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-bin.tar.gz > [INFO] Building zip: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-bin.zip > [INFO] Building tar: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-src.tar.gz > [INFO] Building zip: < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-src.zip > [INFO] [INFO] --- jacoco-maven-plugin:0.8.1:check (check) @ commons-dbcp2 --- [INFO] Loading execution data file < https://builds.apache.org/job/commons-dbcp/ws/target/jacoco.exec> [INFO] Analyzed bundle 'commons-dbcp2' with 68 classes [WARNING] Rule violated for bundle commons-dbcp2: classes covered ratio is 0.97, but expected minimum is 1.00 [WARNING] Rule violated for bundle commons-dbcp2: instructions covered ratio is 0.69, but expected minimum is 0.90 [WARNING] Rule violated for bundle commons-dbcp2: methods covered ratio is 0.91, but expected minimum is 0.95 [WARNING] Rule violated for bundle commons-dbcp2: branches covered ratio is 0.70, but expected minimum is 0.85 [WARNING] Rule violated for bundle commons-dbcp2: lines covered ratio is 0.63, but expected minimum is 0.90 [WARNING] Rule violated for bundle commons-dbcp2: complexity covered ratio is 0.77, but expected minimum is 0.85 [WARNING] Coverage checks have not been met. See log for details. [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ commons-dbcp2 --- [INFO] [INFO] --- commons-release-plugin:1.3:detach-distributions (detatch-distributions) @ commons-dbcp2 --- [INFO] Detaching Assemblies [INFO] Writting < https://builds.apache.org/job/commons-dbcp/ws/target/commons-release-plugin/sha1.properties > [INFO] Writting < https://builds.apache.org/job/commons-dbcp/ws/target/commons-release-plugin/sha256.properties > [INFO] Copying 4 detached artifacts to working directory < https://builds.apache.org/job/commons-dbcp/ws/target/commons-release-plugin> [INFO] Copying: commons-dbcp2-2.5.0-SNAPSHOT-bin.tar.gz [INFO] Copying: commons-dbcp2-2.5.0-SNAPSHOT-bin.zip [INFO] Copying: commons-dbcp2-2.5.0-SNAPSHOT-src.tar.gz [INFO] Copying: commons-dbcp2-2.5.0-SNAPSHOT-src.zip [INFO] [INFO] commons-dbcp2-2.5.0-SNAPSHOT-bin.tar.gz sha1: 5dd85539f0d478294408422cf3bb9af46a60ea42 [INFO] commons-dbcp2-2.5.0-SNAPSHOT-bin.tar.gz sha256: cdef9b8159ff95f606de6a0028569f80daa7ef500056427157b7362585728e76 [INFO] commons-dbcp2-2.5.0-SNAPSHOT-bin.zip sha1: 31e60f53188e81ce5081300697b41af35152c0fb [INFO] commons-dbcp2-2.5.0-SNAPSHOT-bin.zip sha256: 56bc62f0963b435312f380d532fca5b05a2d42c5f73984879a2897a043e6e54f [INFO] commons-dbcp2-2.5.0-SNAPSHOT-src.tar.gz sha1: 05a6fa53c907d55f660e518caa805dbd09549827 [INFO] commons-dbcp2-2.5.0-SNAPSHOT-src.tar.gz sha256: 1ad782bb0b643df235084b15850f36e5d61edc5462d1d8a357c2f9b0c814004d [INFO] commons-dbcp2-2.5.0-SNAPSHOT-src.zip sha1: f414429001eaf7ff489be78da42881e39ccb4e7b [INFO] commons-dbcp2-2.5.0-SNAPSHOT-src.zip sha256: e5474a84915642937f3eabaa367745c4f988ad57fa7437ebbbf02ed2404c2162 [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ commons-dbcp2 --- [INFO] Installing < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.jar [INFO] Installing <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom [INFO] Installing < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-javadoc.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT-javadoc.jar [INFO] Installing < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-tests.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT-tests.jar [INFO] Installing < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT-sources.jar [INFO] Installing < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-test-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT-test-sources.jar [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:56 min [INFO] Finished at: 2018-07-08T18:33:47Z [INFO] Final Memory: 66M/707M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving <https://builds.apache.org/job/commons-dbcp/ws/pom.xml> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.pom [JENKINS] Archiving < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT.jar> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT.jar [JENKINS] Archiving < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-javadoc.jar> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT-javadoc.jar [JENKINS] Archiving < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-tests.jar> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT-tests.jar [JENKINS] Archiving < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-sources.jar> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT-sources.jar [JENKINS] Archiving < https://builds.apache.org/job/commons-dbcp/ws/target/commons-dbcp2-2.5.0-SNAPSHOT-test-sources.jar> to org.apache.commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-SNAPSHOT-test-sources.jar channel stopped Maven RedeployPublisher use remote beam3 maven settings from : /home/jenkins/.m2/settings.xml [INFO] Deployment in https://repository.apache.org/content/repositories/snapshots (id=apache.snapshots.https,uniqueVersion=true) Deploying the main artifact commons-dbcp2-2.5.0-SNAPSHOT.jar Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/maven-metadata.xml Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/maven-metadata.xml (2 KB at 2.0 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-20180708.183352-29.jar Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-20180708.183352-29.pom ERROR: Failed to deploy artifacts: Could not transfer artifact org.apache.commons:commons-dbcp2:jar:2.5.0-20180708.183352-29 from/to apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-20180708.183352-29.jar. Return code is: 401, ReasonPhrase: Unauthorized. org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact org.apache.commons:commons-dbcp2:jar:2.5.0-20180708.183352-29 from/to apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-20180708.183352-29.jar. Return code is: 401, ReasonPhrase: Unauthorized. at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:143) at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:193) at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1819) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.apache.commons:commons-dbcp2:jar:2.5.0-20180708.183352-29 from/to apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-20180708.183352-29.jar. Return code is: 401, ReasonPhrase: Unauthorized. at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:317) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:245) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:420) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:139) ... 11 more Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.apache.commons:commons-dbcp2:jar:2.5.0-20180708.183352-29 from/to apache.snapshots.https ( https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-20180708.183352-29.jar. Return code is: 401, ReasonPhrase: Unauthorized. at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put(BasicRepositoryConnector.java:274) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:311) ... 14 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-dbcp2/2.5.0-SNAPSHOT/commons-dbcp2-2.5.0-20180708.183352-29.jar. Return code is: 401, ReasonPhrase: Unauthorized. at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:635) at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:557) at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:539) at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:533) at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:513) at org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run(WagonTransporter.java:644) at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427) at org.eclipse.aether.transport.wagon.WagonTransporter.put(WagonTransporter.java:410) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask(BasicRepositoryConnector.java:510) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350) ... 16 more [INFO] Deployment failed after 2.6 sec Build step 'Deploy artifacts to Maven repository' changed build result to FAILURE