checking build queue for executables
Asked by mounika reddy:

INFO \[Agent:pool-3-thread-1\] \[BuildAgentControllerImpl\] Agent checking build queue for executables...  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| 2016-12-22 22:06:31,431 INFO \[scheduler_Worker-9\] \[AgentHeartBeatJob\] Not sending a new heartbeat since an old one is still being sent, last successful transmission time was 1 minute ago, dropping the current heartbeat...  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| 2016-12-22 22:06:31,435 WARN \[scheduler_Worker-7\] \[JmsTemplateMessageSender\] JmsException when trying to send message com.atlassian.bamboo.v2.build.agent.messages.UpdateHeartbeatMessage@1cc8d770. Retrying...  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOException  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:494)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:566)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:689)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:677)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at com.atlassian.bamboo.v2.build.agent.remote.sender.JmsTemplateMessageSender.send(JmsTemplateMessageSender.java:42)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.sendHeartbeat(AgentHeartBeatJob.java:89)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.execute(AgentHeartBeatJob.java:56)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.quartz.core.JobRunShell.run(JobRunShell.java:202)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| Caused by: javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOException  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1459)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1439)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1809)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:289)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:224)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.jms.pool.PooledProducer.send(PooledProducer.java:77)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.jms.pool.PooledProducer.send(PooledProducer.java:60)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:633)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:604)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:569)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:491)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| ... 12 more  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| Caused by: org.apache.activemq.transport.RequestTimedOutIOException  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:54)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:92)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| at org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1446)  
INFO \| jvm 60 \| 2016/12/22 22:06:31 \| ... 22 more  
INFO \| jvm 60 \| 2016/12/22 22:11:09 \| 2016-12-22 22:11:09,087 INFO \[Agent:pool-3-thread-1\] \[BuildAgentControllerImpl\] Agent 131563538 checking build queue for executables...  
I


Answers:
author: rsperafico
body: Hello mounika,

It is difficult to tell you what caused the issue by looking at the log entry provided. Based on the above, it seems there was a miscommunication between Bamboo server \<-\> Bamboo remote agent that could have been caused by:

* Bamboo server being busy handling requests coming from remote agents
* poor disk I/O has the potential to break agent connectivity and artifact transfer interrupting the entire build system

I would recommend you on raising a support request so we can investigate this issue further.

---

Kind regards,

Rafael