Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo Artifacts Missing - Failure to Deserialise

Peter Kahn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2015

Since upgrading to from bamboo 4.4.2 to  5.8.1 builds sometimes fail to transfer artifacts from remote agent to bamboo server.  One out of 20 builds or so seems to exhibit the problem and I see the errors  in server/agents logs and worked with Atlassian support to change http.socket.timeout and client.timeout with not much impact.

anyone got a clue how to dig deeper and figure out a) what's going on?  b) how to fix it?   

 

Server Config Changes:

  • wrapper.java.additional.3=-Dbamboo.agent.heartbeatTimeoutSeconds=1800
  • wrapper.java.additional.4=-Dbamboo.agent.heartbeatCheckInterval=30
  • wrapper.java.additional.5=-Dbamboo.agent.http.client.timeout=600   DO NOTHING CHANGE
  • wrapper.java.additional.6=-Dbamboo.agent.http.client.retries=20 DO NOTHING CHANGE

Agent Config Changes:

  • wrapper.java.additional.7=-Dbamboo.agent.http.client.timeout=600
  • wrapper.java.additional.8=-Dbamboo.agent.http.client.retries=20

 

Server

2015-05-12 05:40:07,277 ERROR [http-bio-8085-exec-60] [DeliverMessageServlet] Failed to deserialise message sent to /agentServer/message&fingerprint=-612195218561972921 : Artifact [Logs] for FEATURE-PLAT31487-JOB1-23

java.net.SocketTimeoutException: Read timed out

Remote Agent

2015-05-12 05:39:40,288 INFO [0-BAM::linengbld36::Agent:pool-3-thread-1] [BuildArtifactPostProcessor] Copying the build artifacts for build: FEATURE-PLAT31487-JOB1-23

2015-05-12 05:39:47,091 INFO [0-BAM::linengbld36::Agent:pool-3-thread-1] [AbstractArtifactManager] Publishing [Logs] for FEATURE-PLAT31487-JOB1-23: 1343 file(s) matching [**/target/logs/**] in directory /opt/builds/build-dir/FEATURE-PLAT31487-JOB1/.

2015-05-12 05:39:47,316 INFO [0-BAM::linengbld36::Agent:pool-3-thread-1] [AbstractArtifactManager] Trying to publish the artifact with handler: com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler

2015-05-12 05:41:16,382 ERROR [0-BAM::linengbld36::Agent:pool-3-thread-1] [HttpMessageSender] Failed to send message.

java.io.IOException: Unexpected HTTP status code: HTTP/1.1 500 Internal Server Error

  at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:129)

 

 

 

3 answers

0 votes
Rachelle Gray March 17, 2016

Thanks for getting back to me, Peter. I appreciate the recommendation.

0 votes
Peter Kahn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 17, 2016

I suggest you migrate to jenkins. We spent 4 months working with atlassian getting nowhere. They can't support bamboo. Switching to jenkins with the jenkins job builder helped us migrate in about a month. Jenkins has a community of 100k installations and any problem or question we had had an easily found answer.

0 votes
Rachelle Gray March 17, 2016

Hi @Peter Kahn, my team just encountered this issue with a build archive yesterday. Have you found a solution? Did you just keep building?

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events