javax.net.ssl.SSLPeerUnverifiedException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Stevo Slavic,
  • 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.
    via by Stevo Slavic,
    • javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:112) at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:42) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:258) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager$2.call(AbstractArtifactManager.java:251) at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:87) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:250) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:155) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:84) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:159) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:80) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:456) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    abrazenebabrazeneb
    3 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    15 more bugmates