Builds using the After Deployment Trigger for Bamboo add-on fail to Queue and Run
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Build triggered by the After Deployment Trigger for Bamboo fails with the message "Build XXXXX had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds." if running on remote agents.
Environment
- Bamboo 7+
- After Deployment Trigger for Bamboo on version 0.7
Diagnosis
When starting the remote agent, we can see that it fails to load the add-on
INFO | jvm 999 | 2021/03/30 02:07:58 | 2021-03-30 02:07:57,970 ERROR [Spring DM Context Creation Timer] [OsgiPlugin] Unable to start the plugin container for plugin 'com.atlassianlab.bamboo.plugins.bamboo-after-deployment-trigger-plugin'
INFO | jvm 999 | 2021/03/30 02:07:58 | org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.bamboo.plugins.bamboo-after-deployment-trigger-plugin' has timed out waiting for (|(&(objectClass=com.atlassian.bamboo.build.BuildDetectionActionFactory)(objectClass=com.atlassian.bamboo.build.BuildDetectionActionFactory))(&(objectClass=com.atlassian.bamboo.deployments.environments.service.EnvironmentService)(objectClass=com.atlassian.bamboo.deployments.environments.service.EnvironmentService))(&(objectClass=com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService)(objectClass=com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService))(&(objectClass=com.atlassian.bamboo.deployments.results.service.DeploymentResultService)(objectClass=com.atlassian.bamboo.deployments.results.service.DeploymentResultService))(&(objectClass=com.atlassian.bamboo.plan.NonBlockingPlanExecutionService)(objectClass=com.atlassian.bamboo.plan.NonBlockingPlanExecutionService))(&(objectClass=com.atlassian.bamboo.plan.cache.CachedPlanManager)(objectClass=com.atlassian.bamboo.plan.cache.CachedPlanManager))(&(objectClass=com.atlassian.bamboo.plan.trigger.TriggerManager)(objectClass=com.atlassian.bamboo.plan.trigger.TriggerManager))(&(objectClass=com.atlassian.bamboo.template.TemplateRenderer)(objectClass=com.atlassian.bamboo.template.TemplateRenderer))(&(objectClass=com.atlassian.bamboo.v2.trigger.ChangeDetectionManager)(objectClass=com.atlassian.bamboo.v2.trigger.ChangeDetectionManager))(&(objectClass=com.atlassian.event.api.EventPublisher)(objectClass=com.atlassian.event.api.EventPublisher)))
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)
INFO | jvm 999 | 2021/03/30 02:07:58 | at java.util.TimerThread.mainLoop(Timer.java:555)
INFO | jvm 999 | 2021/03/30 02:07:58 | at java.util.TimerThread.run(Timer.java:505)
INFO | jvm 999 | 2021/03/30 02:07:58 | 2021-03-30 02:07:58,003 ERROR [Spring DM Context Creation Timer] [ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.bamboo.plugins.bamboo-after-deployment-trigger-plugin, config=osgibundle:/META-INF/spring/*.xml))
INFO | jvm 999 | 2021/03/30 02:07:58 | org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.bamboo.plugins.bamboo-after-deployment-trigger-plugin' has timed out waiting for (|(&(objectClass=com.atlassian.bamboo.build.BuildDetectionActionFactory)(objectClass=com.atlassian.bamboo.build.BuildDetectionActionFactory))(&(objectClass=com.atlassian.bamboo.deployments.environments.service.EnvironmentService)(objectClass=com.atlassian.bamboo.deployments.environments.service.EnvironmentService))(&(objectClass=com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService)(objectClass=com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService))(&(objectClass=com.atlassian.bamboo.deployments.results.service.DeploymentResultService)(objectClass=com.atlassian.bamboo.deployments.results.service.DeploymentResultService))(&(objectClass=com.atlassian.bamboo.plan.NonBlockingPlanExecutionService)(objectClass=com.atlassian.bamboo.plan.NonBlockingPlanExecutionService))(&(objectClass=com.atlassian.bamboo.plan.cache.CachedPlanManager)(objectClass=com.atlassian.bamboo.plan.cache.CachedPlanManager))(&(objectClass=com.atlassian.bamboo.plan.trigger.TriggerManager)(objectClass=com.atlassian.bamboo.plan.trigger.TriggerManager))(&(objectClass=com.atlassian.bamboo.template.TemplateRenderer)(objectClass=com.atlassian.bamboo.template.TemplateRenderer))(&(objectClass=com.atlassian.bamboo.v2.trigger.ChangeDetectionManager)(objectClass=com.atlassian.bamboo.v2.trigger.ChangeDetectionManager))(&(objectClass=com.atlassian.event.api.EventPublisher)(objectClass=com.atlassian.event.api.EventPublisher)))
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)
INFO | jvm 999 | 2021/03/30 02:07:58 | at java.util.TimerThread.mainLoop(Timer.java:555)
INFO | jvm 999 | 2021/03/30 02:07:58 | at java.util.TimerThread.run(Timer.java:505)
INFO | jvm 999 | 2021/03/30 02:07:58 | 2021-03-30 02:07:58,003 ERROR [Spring DM Context Creation Timer] [DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.bamboo.plugins.bamboo-after-deployment-trigger-plugin], unsatisfied dependencies: Dependency on [(&(objectClass=com.atlassian.bamboo.v2.trigger.ChangeDetectionManager)(objectClass=com.atlassian.bamboo.v2.trigger.ChangeDetectionManager))] (from bean [&changeDetectionManager]), Dependency on [(&(objectClass=com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService)(objectClass=com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService))] (from bean [&deploymentProjectService]), Dependency on [(&(objectClass=com.atlassian.bamboo.deployments.results.service.DeploymentResultService)(objectClass=com.atlassian.bamboo.deployments.results.service.DeploymentResultService))] (from bean [&deploymentResultService]), Dependency on [(&(objectClass=com.atlassian.bamboo.deployments.environments.service.EnvironmentService)(objectClass=com.atlassian.bamboo.deployments.environments.service.EnvironmentService))] (from bean [&environmentService]), Dependency on [(&(objectClass=com.atlassian.bamboo.plan.NonBlockingPlanExecutionService)(objectClass=com.atlassian.bamboo.plan.NonBlockingPlanExecutionService))] (from bean [&nonBlockingPlanExecutionService]), Dependency on [(&(objectClass=com.atlassian.event.api.EventPublisher)(objectClass=com.atlassian.event.api.EventPublisher))] (from bean [&eventPublisher]), Dependency on [(&(objectClass=com.atlassian.bamboo.plan.trigger.TriggerManager)(objectClass=com.atlassian.bamboo.plan.trigger.TriggerManager))] (from bean [&triggerManager]), Dependency on [(&(objectClass=com.atlassian.bamboo.plan.cache.CachedPlanManager)(objectClass=com.atlassian.bamboo.plan.cache.CachedPlanManager))] (from bean [&cachedPlanManager]), Dependency on [(&(objectClass=com.atlassian.bamboo.template.TemplateRenderer)(objectClass=com.atlassian.bamboo.template.TemplateRenderer))] (from bean [&templateRenderer]), Dependency on [(&(objectClass=com.atlassian.bamboo.build.BuildDetectionActionFactory)(objectClass=com.atlassian.bamboo.build.BuildDetectionActionFactory))] (from bean [&buildDetectionActionFactory])
INFO | jvm 999 | 2021/03/30 02:07:58 | org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.bamboo.plugins.bamboo-after-deployment-trigger-plugin' has timed out waiting for (|(&(objectClass=com.atlassian.bamboo.build.BuildDetectionActionFactory)(objectClass=com.atlassian.bamboo.build.BuildDetectionActionFactory))(&(objectClass=com.atlassian.bamboo.deployments.environments.service.EnvironmentService)(objectClass=com.atlassian.bamboo.deployments.environments.service.EnvironmentService))(&(objectClass=com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService)(objectClass=com.atlassian.bamboo.deployments.projects.service.DeploymentProjectService))(&(objectClass=com.atlassian.bamboo.deployments.results.service.DeploymentResultService)(objectClass=com.atlassian.bamboo.deployments.results.service.DeploymentResultService))(&(objectClass=com.atlassian.bamboo.plan.NonBlockingPlanExecutionService)(objectClass=com.atlassian.bamboo.plan.NonBlockingPlanExecutionService))(&(objectClass=com.atlassian.bamboo.plan.cache.CachedPlanManager)(objectClass=com.atlassian.bamboo.plan.cache.CachedPlanManager))(&(objectClass=com.atlassian.bamboo.plan.trigger.TriggerManager)(objectClass=com.atlassian.bamboo.plan.trigger.TriggerManager))(&(objectClass=com.atlassian.bamboo.template.TemplateRenderer)(objectClass=com.atlassian.bamboo.template.TemplateRenderer))(&(objectClass=com.atlassian.bamboo.v2.trigger.ChangeDetectionManager)(objectClass=com.atlassian.bamboo.v2.trigger.ChangeDetectionManager))(&(objectClass=com.atlassian.event.api.EventPublisher)(objectClass=com.atlassian.event.api.EventPublisher)))
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)
INFO | jvm 999 | 2021/03/30 02:07:58 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)
INFO | jvm 999 | 2021/03/30 02:07:58 | at java.util.TimerThread.mainLoop(Timer.java:555)
INFO | jvm 999 | 2021/03/30 02:07:58 | at java.util.TimerThread.run(Timer.java:505)
At the Bamboo server logs, we can see that the build is being picked up by the agents:
2021-04-05 11:16:32,805 INFO [ActiveMQ Session Task-7740] [BuildQueueManagerImpl] Sending PROJ-PLAN-JOB1-16 to agent REMOTE-AGENT-01 (id: 242333361, REMOTE, online, enabled)
But nothing can be found related to this build at the remote agent logs, only the following message:
INFO | jvm 999 | 2021/04/02 10:54:29 | 2021-04-02 10:54:29,710 ERROR [0-BAM::REMOTE-AGENT-01::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on 'REMOTE-AGENT-01'. Agent will attempt to recover its normal operation...
INFO | jvm 999 | 2021/04/02 10:54:29 | com.thoughtworks.xstream.converters.ConversionException:
INFO | jvm 999 | 2021/04/02 10:54:29 | ---- Debugging information ----
INFO | jvm 999 | 2021/04/02 10:54:29 | cause-exception : com.atlassian.bamboo.serialization.xstream.OwningPluginNotInstalledException
INFO | jvm 999 | 2021/04/02 10:54:29 | cause-message : Could not resolve class 'com.atlassianlab.bamboo.plugins.afterdeploymenttrigger.DeploymentResultDependencyTriggerReason' from plugin 'com.atlassian.bamboo.plugins.bamboo-after-deployment-trigger-plugin': Plugin not installed
INFO | jvm 999 | 2021/04/02 10:54:29 | class : com.atlassian.bamboo.v2.build.BuildContextImpl
INFO | jvm 999 | 2021/04/02 10:54:29 | required-type : com.atlassian.bamboo.v2.build.BuildContextImpl
INFO | jvm 999 | 2021/04/02 10:54:29 | converter-type : com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter
INFO | jvm 999 | 2021/04/02 10:54:29 | path : /org.springframework.remoting.support.RemoteInvocationResult/value/context/parentBuildContext/triggerReason
INFO | jvm 999 | 2021/04/02 10:54:29 | line number : 32
INFO | jvm 999 | 2021/04/02 10:54:29 | class[1] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
INFO | jvm 999 | 2021/04/02 10:54:29 | required-type[1] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
INFO | jvm 999 | 2021/04/02 10:54:29 | converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
INFO | jvm 999 | 2021/04/02 10:54:29 | class[2] : org.springframework.remoting.support.RemoteInvocationResult
INFO | jvm 999 | 2021/04/02 10:54:29 | required-type[2] : org.springframework.remoting.support.RemoteInvocationResult
INFO | jvm 999 | 2021/04/02 10:54:29 | version : not available
INFO | jvm 999 | 2021/04/02 10:54:29 | -------------------------------
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:77)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1329)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromXML(SpringRemotingMessageConverter.java:56)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:52)
INFO | jvm 999 | 2021/04/02 10:54:29 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:374)
INFO | jvm 999 | 2021/04/02 10:54:29 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:256)
INFO | jvm 999 | 2021/04/02 10:54:29 | at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:204)
INFO | jvm 999 | 2021/04/02 10:54:29 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
INFO | jvm 999 | 2021/04/02 10:54:29 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.sun.proxy.$Proxy24.takeContext(Unknown Source)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:203)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:110)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:110)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
INFO | jvm 999 | 2021/04/02 10:54:29 | at java.lang.Thread.run(Thread.java:748)
INFO | jvm 999 | 2021/04/02 10:54:29 | Caused by: com.atlassian.bamboo.serialization.xstream.OwningPluginNotInstalledException: Could not resolve class 'com.atlassianlab.bamboo.plugins.afterdeploymenttrigger.DeploymentResultDependencyTriggerReason' from plugin 'com.atlassian.bamboo.plugins.bamboo-after-deployment-trigger-plugin': Plugin not installed
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.realClass(PluginsAwareMapper.java:98)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:420)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
INFO | jvm 999 | 2021/04/02 10:54:29 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
INFO | jvm 999 | 2021/04/02 10:54:29 | ... 44 more
After some time, the build will be identified as an orphan build and will get cancelled by Bamboo:
2021-04-05 11:19:27,272 ERROR [scheduler_Worker-5] [OrphanedBuildMonitorJob] Build PROJ-PLAN-JOB1-16 had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.
Cause
This is a know issue with the version 0.7 for the After Deployment Trigger for Bamboo add-on.
Solution
Upgrade the add-on to the most recent version, and restart the remote agents.