Agents are not picking up builds even when they are eligible and idle

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 9.3.0
    • Affects Version/s: 9.2.22
    • Component/s: Agents
    • None
    • Severity 2 - Major

      Issue Summary

      Agent stops picking up jobs after recovering from heartbeat timeout (RequestTimedOutIOException).

      Steps to Reproduce

      Agent needs to experience heartbeat timeout and recover from it.

      Expected Results

      Bamboo agent to continue accepting builds.

      Actual Results

      Bamboo agent logs showing checking the queue works until JmsException. After recovery bamboo agent does not continue to check the queue(no log messages)

      Feb 12 22:31:51 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:31:51,648 INFO [remoteEventRebroadcasterMessageListenerContainerLongLived-1] [RemoteEventRebroadcasterMessageListener] ExecutableQueueUpdate: addToQueue, agents known to be affected: []
      Feb 12 22:31:51 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:31:51,648 INFO [3-BAM::xxxx::Agent:pool-8-thread-1] [BuildAgentControllerImpl] Agent 387612674 checking build queue for executables...
      Feb 12 22:32:05 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:32:05,359 INFO [remoteEventRebroadcasterMessageListenerContainerLongLived-1] [RemoteEventRebroadcasterMessageListener] ExecutableQueueUpdate: addToQueue, agents known to be affected: []
      :34:25 dla251030082951 bamboo-agent[1451]: #011at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) ~[atlassian-bamboo-api-9.2.22.jar:?]
      Feb 12 22:34:25 dla251030082951 bamboo-agent[1451]: #011at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.3.2.jar:?]
      Feb 12 22:34:25 dla251030082951 bamboo-agent[1451]: Caused by: javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOException
      Feb 12 22:34:25 dla251030082951 bamboo-agent[1451]: #011at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:80) ~[activemq-client-5.16.7.jar:5.16.7]
      Feb 12 22Feb 12 22:32:05 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:32:05,359 INFO [3-BAM::::Agent:pool-8-thread-1] [BuildAgentControllerImpl] Agent 387612674 checking build queue for executables...
      Feb 12 22:32:40 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:32:40,484 INFO [remoteEventRebroadcasterMessageListenerContainerLongLived-1] [RemoteEventRebroadcasterMessageListener] ExecutableQueueUpdate: addToQueue, agents known to be affected: []
      Feb 12 22:32:40 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:32:40,484 INFO [3-BAM::agent1:Agent:pool-8-thread-1] [BuildAgentControllerImpl] Agent 387612674 checking build queue for executables...
      Feb 12 22:34:17 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:34:17,043 INFO [remoteEventRebroadcasterMessageListenerContainerLongLived-1] [RemoteEventRebroadcasterMessageListener] ExecutableQueueUpdate: addToQueue, agents known to be affected: []
      Feb 12 22:34:17 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:34:17,281 INFO [remoteEventRebroadcasterMessageListenerContainerLongLived-1] [RemoteEventRebroadcasterMessageListener] ExecutableQueueUpdate: addToQueue, agents known to be affected: []
      Feb 12 22:34:25 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:34:25,383 WARN [scheduler_Worker-2] [JmsTemplateMessageSender] JmsException when trying to send message com.atlassian.bamboo.v2.build.agent.messages.UpdateHeartbeatMessage@4857a4f3. Retrying...
      Feb 12 22:34:25 dla251030082951 bamboo-agent[1451]: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occurred during JMS processing; nested exception is javax.jms.JMSException: org.apache.activemq.transport.RequestTimedOutIOException
      Feb 12 22:34:25 dla251030082951 bamboo-agent[1451]: #011at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:311) ~[spring-jms-5.3.39.jar:5.3.39]
      Feb 12 22:36:20 dla251030082951 bamboo-agent[1451]: 2026-02-12 22:36:20,579 INFO [scheduler_Worker-2] [RetryingTaskExecutor] Task 'Sending message com.atlassian.bamboo.v2.build.agent.messages.UpdateHeartbeatMessage@4857a4f3' finished successfully during retry number 1 

      ...

      Workaround

      Restart the Bamboo remote agent application if you see a RequestTimedOutIOException, followed by the agent not picking up any builds. 

              Assignee:
              Marcin Gardias
              Reporter:
              Alex (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: