javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Atlassian JIRA | Stevo Slavic | 2 years ago
  1. 0

    SSL certificate of our Bamboo site expired. Since then all build plans which usually produce artifacts were passing, but were not publishing/attaching any artifacts to the build. Build log looked clean, as if there were absolutely no problems, like: {noformat} 19-Apr-2015 14:01:58 Running post build plugin 'Artifact Copier' 19-Apr-2015 14:01:58 Publishing an artifact: logs 19-Apr-2015 14:01:58 Finished publishing of artifact Shared artifact: [logs], pattern: [**/*] anchored at: [target/log] in 0s 19-Apr-2015 14:01:58 Publishing an artifact: dist 19-Apr-2015 14:01:58 Finished publishing of artifact Shared artifact: [dist], pattern: [**/*] anchored at: [target/dist] in 0s 19-Apr-2015 14:01:58 Running post build plugin 'Post Command Agent Runner' 19-Apr-2015 14:01:58 Running post build plugin 'npm Cache Cleanup' 19-Apr-2015 14:01:58 Running post build plugin 'NCover Results Collector' 19-Apr-2015 14:01:58 Running post build plugin 'Clover Results Collector' {noformat} Only in agent logs one can see something like: {noformat} INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,603 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'Artifact Copier' INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,603 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: FOO-BAR123-JOB1-456 INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,650 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [AbstractArtifactManager] Publishing [logs] for FOO-BAR123-JOB1-456: 2465 file(s) matching [**/*] in directory /home/foo/agent/agent-home/xml-data/build-dir/FOO-BAR123-JOB1/target/log INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,651 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,663 ERROR [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [HttpMessageSender] Failed to send message. INFO | jvm 4 | 2015/04/19 14:01:58 | javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) INFO | jvm 4 | 2015/04/19 14:01:58 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,663 ERROR [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [BambooPluginUtils] Unable to publish artifact Job artifact: [logs], pattern: [**/*] anchored at: [target/log] for FOO-BAR123-JOB1-456 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@491f47a3 INFO | jvm 4 | 2015/04/19 14:01:58 | java.lang.RuntimeException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:131) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) INFO | jvm 4 | 2015/04/19 14:01:58 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 4 | 2015/04/19 14:01:58 | Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | ... 17 more INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,664 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [AbstractArtifactManager] Publishing [dist] for FOO-BAR123-JOB1-456: 1 file(s) matching [**/*] in directory /home/foo/agent/agent-home/xml-data/build-dir/FOO-BAR123-JOB1/target/dist INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,665 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,674 ERROR [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [HttpMessageSender] Failed to send message. INFO | jvm 4 | 2015/04/19 14:01:58 | javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) INFO | jvm 4 | 2015/04/19 14:01:58 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,674 ERROR [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [BambooPluginUtils] Unable to publish artifact Job artifact: [dist], pattern: [**/*] anchored at: [target/dist] for FOO-BAR123-JOB1-456 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@54bb9d2c INFO | jvm 4 | 2015/04/19 14:01:58 | java.lang.RuntimeException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:131) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) INFO | jvm 4 | 2015/04/19 14:01:58 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 4 | 2015/04/19 14:01:58 | Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | ... 17 more INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,675 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'Post Command Agent Runner' INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,675 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [PostBuildCommandAgentAction] post command not set to run on agent, skipping INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,675 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'npm Cache Cleanup' INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,678 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'NCover Results Collector' INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,678 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [NCoverBuildProcessor] inside NCoverBuildProcessor.call() INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,678 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'Clover Results Collector' {noformat} I guess this silent failure is due to Bamboo design decision that artifact definitions by default can but do not have to produce any artifacts. I've created a related ticket BAM-15872 to make this behavior configurable/controllable. But even when artifact definition allows no artifacts to be published, build log should at least include a warning that artifact publishing was attempted but failed.

    Atlassian JIRA | 2 years ago | Stevo Slavic
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  2. 0

    SSL certificate of our Bamboo site expired. Since then all build plans which usually produce artifacts were passing, but were not publishing/attaching any artifacts to the build. Build log looked clean, as if there were absolutely no problems, like: {noformat} 19-Apr-2015 14:01:58 Running post build plugin 'Artifact Copier' 19-Apr-2015 14:01:58 Publishing an artifact: logs 19-Apr-2015 14:01:58 Finished publishing of artifact Shared artifact: [logs], pattern: [**/*] anchored at: [target/log] in 0s 19-Apr-2015 14:01:58 Publishing an artifact: dist 19-Apr-2015 14:01:58 Finished publishing of artifact Shared artifact: [dist], pattern: [**/*] anchored at: [target/dist] in 0s 19-Apr-2015 14:01:58 Running post build plugin 'Post Command Agent Runner' 19-Apr-2015 14:01:58 Running post build plugin 'npm Cache Cleanup' 19-Apr-2015 14:01:58 Running post build plugin 'NCover Results Collector' 19-Apr-2015 14:01:58 Running post build plugin 'Clover Results Collector' {noformat} Only in agent logs one can see something like: {noformat} INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,603 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'Artifact Copier' INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,603 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: FOO-BAR123-JOB1-456 INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,650 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [AbstractArtifactManager] Publishing [logs] for FOO-BAR123-JOB1-456: 2465 file(s) matching [**/*] in directory /home/foo/agent/agent-home/xml-data/build-dir/FOO-BAR123-JOB1/target/log INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,651 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,663 ERROR [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [HttpMessageSender] Failed to send message. INFO | jvm 4 | 2015/04/19 14:01:58 | javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) INFO | jvm 4 | 2015/04/19 14:01:58 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,663 ERROR [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [BambooPluginUtils] Unable to publish artifact Job artifact: [logs], pattern: [**/*] anchored at: [target/log] for FOO-BAR123-JOB1-456 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@491f47a3 INFO | jvm 4 | 2015/04/19 14:01:58 | java.lang.RuntimeException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:131) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) INFO | jvm 4 | 2015/04/19 14:01:58 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 4 | 2015/04/19 14:01:58 | Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | ... 17 more INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,664 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [AbstractArtifactManager] Publishing [dist] for FOO-BAR123-JOB1-456: 1 file(s) matching [**/*] in directory /home/foo/agent/agent-home/xml-data/build-dir/FOO-BAR123-JOB1/target/dist INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,665 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,674 ERROR [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [HttpMessageSender] Failed to send message. INFO | jvm 4 | 2015/04/19 14:01:58 | javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) INFO | jvm 4 | 2015/04/19 14:01:58 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,674 ERROR [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [BambooPluginUtils] Unable to publish artifact Job artifact: [dist], pattern: [**/*] anchored at: [target/dist] for FOO-BAR123-JOB1-456 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@54bb9d2c INFO | jvm 4 | 2015/04/19 14:01:58 | java.lang.RuntimeException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:131) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) INFO | jvm 4 | 2015/04/19 14:01:58 | at java.lang.Thread.run(Thread.java:745) INFO | jvm 4 | 2015/04/19 14:01:58 | Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated INFO | jvm 4 | 2015/04/19 14:01:58 | at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) INFO | jvm 4 | 2015/04/19 14:01:58 | at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) INFO | jvm 4 | 2015/04/19 14:01:58 | at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) INFO | jvm 4 | 2015/04/19 14:01:58 | ... 17 more INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,675 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'Post Command Agent Runner' INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,675 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [PostBuildCommandAgentAction] post command not set to run on agent, skipping INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,675 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'npm Cache Cleanup' INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,678 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'NCover Results Collector' INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,678 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [NCoverBuildProcessor] inside NCoverBuildProcessor.call() INFO | jvm 4 | 2015/04/19 14:01:58 | 2015-04-19 14:01:58,678 INFO [2-BAM::bambooagentx.foo.bar.com (2)::Agent:pool-5-thread-1] [ExecuteBuildTask] Running post build plugin 'Clover Results Collector' {noformat} I guess this silent failure is due to Bamboo design decision that artifact definitions by default can but do not have to produce any artifacts. I've created a related ticket BAM-15872 to make this behavior configurable/controllable. But even when artifact definition allows no artifacts to be published, build log should at least include a warning that artifact publishing was attempted but failed.

    Atlassian JIRA | 2 years ago | Stevo Slavic
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

    GitHub | 5 years ago | TimothyKlim
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

  1. abrazeneb 3 times, last 4 months ago
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.net.ssl.SSLPeerUnverifiedException

    peer not authenticated

    at sun.security.ssl.SSLSessionImpl.getPeerCertificates()
  2. Java JSSE
    SSLSessionImpl.getPeerCertificates
    1. sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421)
    1 frame
  3. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126)
    2. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437)
    3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
    4. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
    5. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
    6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
    8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
    9. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
    9 frames
  4. com.atlassian.bamboo
    ImpersonationHelper$1.run
    1. com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112)
    2. com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42)
    3. com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258)
    4. com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251)
    5. com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87)
    6. com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250)
    7. com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155)
    8. com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84)
    9. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159)
    10. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80)
    11. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
    12. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)
    13. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456)
    14. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
    15. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
    16. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
    17. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
    17 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame