Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3011

Remote agent crashes with java exception

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Handled by Support
    • None
    • Agents
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      The remote agent crashes several times a week. atlassian-bamboo.log contains the following:

      2008-08-28 20:29:27,089 INFO [BAM::positron::Agent] [RemoteBuildResultProcessor] Build BIGFOOT-TRUNK-1036 completed on Bamboo agent. Sending results to server.
      2008-08-28 20:29:27,107 INFO [BAM::positron::Agent] [BuildAgentControllerImpl] Agent 'positron' ready to take build from queue...
      2008-08-28 20:29:27,107 INFO [BAM::positron::Agent] [JmsSelectorUtils] allowableSelector: allowableAgents LIKE '%[7045121]%'
      2008-08-28 23:58:06,144 WARN [ActiveMQ Session Task] [MultiplexingRequestor] Response received for unknown correlationID: 9974 request: ActiveMQTextMessage {commandId = 380532, responseRequired
       = true, messageId = ID:cherry.commstor.crossroads.com-43500-1218599726270-3:1:1:1:190263, originalDestination = null, originalTransactionId = null, producerId = ID:cherry.commstor.crossroads.c
      om-43500-1218599726270-3:1:1:1, destination = temp-queue://ID:positron-45808-1219935604069-1:1:1, transactionId = null, expiration = 1219985838112, timestamp = 1219985808112, arrival = 0, corre
      lationId = 9974, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = org.apach
      e.activemq.util.ByteSequence@7b7cedf2, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = true, readOnlyBody = true, dro
      ppable = false, text = null}
      2008-08-29 00:03:04,930 WARN [QuartzScheduler_Worker-3] [JmsClientInterceptor] Remote access error: ReflectiveMethodInvocation: public abstract boolean com.atlassian.bamboo.buildqueue.manager.R
      emoteAgentManager.updateRemoteAgentStatus(java.lang.Long,com.atlassian.bamboo.v2.build.agent.AgentStatus,com.atlassian.bamboo.configuration.SystemInfo); target is null
      javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurrent.TimeoutException
              at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.createJMSException(MultiplexingRequestor.java:205)
              at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.request(MultiplexingRequestor.java:133)
              at org.logicblaze.lingo.jms.JmsClientInterceptor.invoke(JmsClientInterceptor.java:138)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
              at $Proxy1.updateRemoteAgentStatus(Unknown Source)
              at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.updateHeartBeat(AgentHeartBeatJob.java:100)
              at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.execute(AgentHeartBeatJob.java:51)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
              at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:36)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2008-08-29 00:03:04,931 WARN [QuartzScheduler_Worker-3] [AgentHeartBeatJob] Exception occurred trying to update the heartbeat. Trying again 4 times.
      org.springframework.remoting.RemoteAccessException: Cannot access JMS invoker remote service at [null]; nested exception is javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurren
      t.TimeoutException
      Caused by: 
      javax.jms.JMSException: edu.emory.mathcs.backport.java.util.concurrent.TimeoutException
              at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.createJMSException(MultiplexingRequestor.java:205)
              at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.request(MultiplexingRequestor.java:133)
              at org.logicblaze.lingo.jms.JmsClientInterceptor.invoke(JmsClientInterceptor.java:138)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
              at $Proxy1.updateRemoteAgentStatus(Unknown Source)
              at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.updateHeartBeat(AgentHeartBeatJob.java:100)
              at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.execute(AgentHeartBeatJob.java:51)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
              at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:36)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2008-08-29 00:03:05,044 FATAL [QuartzScheduler_Worker-3] [AgentHeartBeatJob] Bamboo agent received an error from server during status update. Restarting agent...
      2008-08-29 00:03:05,044 INFO [QuartzScheduler_Worker-3] [AgentContext] Exiting Bamboo agent...
      java.lang.RuntimeException: A restart on the agent has been initiated
              at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.restartAgent(RemoteAgent.java:45)
              at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.restartAgent(AgentHeartBeatJob.java:82)
              at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.execute(AgentHeartBeatJob.java:55)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
              at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:36)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      

      Attachments

        1. logs.zip
          2.12 MB
        2. logs2.zip
          1.19 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              b123315b970f Allen Rohner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: