Build was marked as queued but was not present in the queue for (at least) the past 720 seconds
Asked by Gerald Schneider:

Since upgrading Bamboo and its connected agents to 8.0 the following error shows up a lot:
> Build ... had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.

It happens for a lot of jobs, but not all. It seems to only appear when a job should be started automatically from a commit, jobs that are started manually run normally.

I went through [this KB article](https://confluence.atlassian.com/bamkb/builds-cancelled-due-to-marked-as-queued-but-not-present-in-the-queue-for-720-seconds-385912033.html):

A) I can rule that out, there weren't multiple commits  
B) Group Agent Plugin is not installed  
C) is not set, the agent is installed from scratch with version 8.0

I tried Resolution A, but that didn't help.

This is the only exception that shows up now and then:

```
com.thoughtworks.xstream.converters.ConversionException: Failed calling method
---- Debugging information ----
message : Failed calling method
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : default
method : org.tmatesoft.svn.core.internal.util.SVNDate.readObject()
class : org.tmatesoft.svn.core.internal.util.SVNDate
required-type : org.tmatesoft.svn.core.internal.util.SVNDate
converter-type : com.thoughtworks.xstream.converters.reflection.SerializableConverter
path : /org.springframework.remoting.support.RemoteInvocationResult/value/context/parentBuildContext/buildChanges/buildRepositoryChangesMap/entry/com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl/changes/com.atlassian.bamboo.commit.CommitContextImpl/date/date/default
line number : 425
class[1] : com.atlassian.bamboo.commit.CommitContextImpl
required-type[1] : com.atlassian.bamboo.commit.CommitContextImpl
converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
required-type[2] : com.atlassian.bamboo.collections.message.FinalLinkedList
converter-type[2] : com.atlassian.bamboo.serialization.xstream.FinalCollectionConverter
class[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
required-type[3] : com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
class[4] : com.atlassian.bamboo.collections.message.FinalHashMap
required-type[4] : com.atlassian.bamboo.collections.message.FinalHashMap
converter-type[3] : com.atlassian.bamboo.serialization.xstream.FinalHashMapConverter
class[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
required-type[5] : com.atlassian.bamboo.v2.build.BuildChangesImpl
class[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
required-type[6] : com.atlassian.bamboo.v2.build.BuildContextImpl
converter-type[4] : com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter
class[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
required-type[7] : com.atlassian.bamboo.v2.build.queue.AgentQueueAccessor$QueueAccessResult
class[8] : org.springframework.remoting.support.RemoteInvocationResult
required-type[8] : org.springframework.remoting.support.RemoteInvocationResult
version : not available
-------------------------------
at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:136)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doUnmarshal(SerializableConverter.java:443)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentElementToCollection(CollectionConverter.java:98)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:91)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCollection(CollectionConverter.java:85)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:80)
at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readCompleteItem(AbstractCollectionConverter.java:147)
at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryIntoMap(MapConverter.java:106)
at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
at com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter.unmarshal(AbstractXStreamConverterAdapter.java:33)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.atlassian.bamboo.serialization.xstream.BuildContextXStreamConverter.unmarshal(BuildContextXStreamConverter.java:90)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1431)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1411)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1296)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1287)
at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromXML(SpringRemotingMessageConverter.java:56)
at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:52)
at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:376)
at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:258)
at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at com.sun.proxy.$Proxy25.takeContext(Unknown Source)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:338)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:141)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:122)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: default
at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at com.atlassian.bamboo.serialization.xstream.PluginsAwareMapper.realClass(PluginsAwareMapper.java:90)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
at com.thoughtworks.xstream.converters.reflection.SerializableConverter$2.readFromStream(SerializableConverter.java:324)
at com.thoughtworks.xstream.core.util.CustomObjectInputStream.readLong(CustomObjectInputStream.java:159)
at java.util.Date.readObject(Date.java:1332)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.thoughtworks.xstream.core.util.SerializationMembers.callReadObject(SerializationMembers.java:132)
... 95 more
```

Where can I look for more information to troubleshoot this?

**Update 2021-08-25**

Here are log entries from a failed scheduled run:

```
2021-08-25 04:30:00,551 INFO [10-BAM::PlanExec:pool-16-thread-3] [ChainExecutionManagerImpl] Build RPE-AB-UNIX-1979 has been dispatched
2021-08-25 04:30:00,552 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-52] [BuildQueueManagerImpl] Attempting to queue Redacted Project Environment - All build - All Build Ubuntu 16-04 #1979 (RPE-AB-UNIX-1979).
2021-08-25 04:30:00,553 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-52] [ExecutionPhaseServiceImpl] Redacted Project Environment - All build - All Build Ubuntu 16-04 #1979 (RPE-AB-UNIX-1979) queued
2021-08-25 04:30:00,556 INFO [10-BAM::PlanExec:pool-16-thread-3] [ChainExecutionManagerImpl] Build RPE-AB-JOB1-1979 has been dispatched
2021-08-25 04:30:00,557 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-45] [BuildQueueManagerImpl] Attempting to queue Redacted Project Environment - All build - All Build Windows #1979 (RPE-AB-JOB1-1979).
2021-08-25 04:30:00,558 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-45] [ExecutionPhaseServiceImpl] Redacted Project Environment - All build - All Build Windows #1979 (RPE-AB-JOB1-1979) queued
2021-08-25 04:30:00,578 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-52] [BuildQueueManagerImpl] Sent ExecutableQueueUpdate: addToQueue, agents known to be affected: []
2021-08-25 04:30:00,578 INFO [20-BAM::projects.example.com::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 131073 checking build queue for executables...
2021-08-25 04:30:00,604 INFO [ActiveMQ Session Task-2278] [BuildQueueManagerImpl] Sending RPE-AB-UNIX-1979 to agent buildbot6.example.com (id: 136052737, REMOTE, online, enabled)
2021-08-25 04:30:00,604 INFO [ActiveMQ Session Task-2278] [ExecutionPhaseServiceImpl] Redacted Project Environment - All build - All Build Ubuntu 16-04 #1979 (RPE-AB-UNIX-1979) sent to agent 136052737
2021-08-25 04:30:00,605 INFO [ActiveMQ Session Task-2278] [CurrentlyBuildingContainer] startBuildingOnAgent called for [RPE-AB-UNIX-1979], agent 136052737
2021-08-25 04:30:00,605 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-45] [BuildQueueManagerImpl] Sent ExecutableQueueUpdate: addToQueue, agents known to be affected: []
2021-08-25 04:30:00,605 INFO [20-BAM::projects.example.com::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 131073 checking build queue for executables...
2021-08-25 04:30:00,606 INFO [ActiveMQ Session Task-2279] [BuildQueueManagerImpl] takeBuildContext took 6.094 ms
2021-08-25 04:30:00,611 INFO [ActiveMQ Session Task-2276] [BuildQueueManagerImpl] Sending RPE-AB-JOB1-1979 to agent PC2432.example.com (id: 42827779, REMOTE, online, enabled)
2021-08-25 04:30:00,611 INFO [ActiveMQ Session Task-2276] [ExecutionPhaseServiceImpl] Redacted Project Environment - All build - All Build Windows #1979 (RPE-AB-JOB1-1979) sent to agent 42827779
2021-08-25 04:30:00,611 INFO [ActiveMQ Session Task-2276] [CurrentlyBuildingContainer] startBuildingOnAgent called for [RPE-AB-JOB1-1979], agent 42827779
2021-08-25 04:30:00,630 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-44] [AbstractNotificationEventListener] Could not find any plan matching the event com.atlassian.bamboo.event.BambooErrorEvent[source=com.atlassian.bamboo.logger.DefaultErrorHandler@1338d202], no notifications will be sent.
2021-08-25 04:30:01,389 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-49] [AbstractNotificationEventListener] Could not find any plan matching the event com.atlassian.bamboo.event.BambooErrorEvent[source=com.atlassian.bamboo.logger.DefaultErrorHandler@1338d202], no notifications will be sent.
2021-08-25 04:30:18,082 INFO [http-nio-8085-exec-22] [AuthenticatorImpl] Authenticated app 'jira:13222295' as user 'null' successfully
2021-08-25 04:31:14,433 INFO [http-nio-8085-exec-21] [AuthenticatorImpl] Authenticated app 'jira:13222295' as user 'null' successfully
2021-08-25 04:31:15,106 INFO [http-nio-8085-exec-9] [AuthenticatorImpl] Authenticated app 'jira:13222295' as user 'null' successfully
2021-08-25 04:35:00,606 INFO [20-BAM::projects.example.com::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 131073 checking build queue for executables...
2021-08-25 04:35:18,083 INFO [http-nio-8085-exec-23] [AuthenticatorImpl] Authenticated app 'jira:13222295' as user 'null' successfully
2021-08-25 04:37:56,046 INFO [10-BAM::PlanExec:pool-16-thread-2] [DefaultChangeDetectionManager] Change detection for plan US-VWT took 10.21 s
2021-08-25 04:37:56,046 INFO [10-BAM::PlanExec:pool-16-thread-4] [DefaultChangeDetectionManager] Change detection for plan SIM-SIM took 10.21 s
2021-08-25 04:37:56,047 INFO [10-BAM::PlanExec:pool-16-thread-1] [DefaultChangeDetectionManager] Change detection for plan US-F2D took 10.21 s
2021-08-25 04:40:00,607 INFO [20-BAM::projects.example.com::Agent:pool-34-thread-1] [BuildAgentControllerImpl] Agent 131073 checking build queue for executables...
2021-08-25 04:40:18,074 INFO [http-nio-8085-exec-6] [AuthenticatorImpl] Authenticated app 'jira:13222295' as user 'null' successfully
2021-08-25 04:43:40,439 INFO [scheduler_Worker-8] [OrphanedBuildMonitorJob] RPE-AB-JOB1-1979 marked as Queued but not present in queue since Wed Aug 25 04:30:40 CEST 2021
2021-08-25 04:43:40,439 ERROR [scheduler_Worker-8] [OrphanedBuildMonitorJob] Build RPE-AB-JOB1-1979 had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.
2021-08-25 04:43:40,445 INFO [scheduler_Worker-8] [CurrentlyBuildingContainer] removeCurrentlyBuilding called for [RPE-AB-JOB1-1979]
2021-08-25 04:43:40,464 INFO [scheduler_Worker-8] [PlanStatePersisterImpl] Updating delta states of build following RPE-AB-JOB1-1979
2021-08-25 04:43:40,470 INFO [scheduler_Worker-8] [OrphanedBuildMonitorJob] RPE-AB-UNIX-1979 marked as Queued but not present in queue since Wed Aug 25 04:30:40 CEST 2021
2021-08-25 04:43:40,470 ERROR [scheduler_Worker-8] [OrphanedBuildMonitorJob] Build RPE-AB-UNIX-1979 had to be cancelled: it was marked as queued but was not present in the queue for (at least) the past 720 seconds.
2021-08-25 04:43:40,486 INFO [scheduler_Worker-8] [CurrentlyBuildingContainer] removeCurrentlyBuilding called for [RPE-AB-UNIX-1979]
2021-08-25 04:43:40,511 INFO [scheduler_Worker-8] [PlanStatePersisterImpl] Updating delta states of build following RPE-AB-UNIX-1979
2021-08-25 04:43:40,543 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-49] [ChainExecutionManagerImpl] Plan RPE-AB-1979: Redacted Project Environment - All build has finished executing
2021-08-25 04:43:40,543 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-16] [EnvironmentDependencyListener] Deployments not triggered since chain stage failed
2021-08-25 04:43:40,549 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-49] [PlanStatePersisterImpl] Updating delta states of build following RPE-AB-1979
2021-08-25 04:43:40,567 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-49] [PostChainIndexAction] Indexing RPE-AB-1979
2021-08-25 04:43:40,568 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-49] [DefaultBuildResultsIndexer] build result doesn't have buildDate, so ignored RPE-AB-1979
2021-08-25 04:43:40,576 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-12] [DependencyChainListener] Checking children plans of [RPE-AB] for plan RPE-AB-1979
2021-08-25 04:43:40,576 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-12] [DependencyChainListener] Dependant builds not checked since plan failed
2021-08-25 04:43:40,576 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-12] [DependencyChainListener] Finished checking children plans of 'Redacted Project Environment - All build' for plan RPE-AB-1979
2021-08-25 04:43:40,577 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-13] [EnvironmentDependencyListener] Deployments not triggered since chain failed
```

**Update 2021-09-13**

Bamboo (server and agents) has been updated to 8.0.1, but the problem still persists. Now we can confirm that the problem only affects Builds that should be triggered by changes in a repository. Manual runs and time triggered runs are working normally.


Answers:
author: Alexey Chystoprudov
body: See updates at <https://jira.atlassian.com/browse/BAM-21512>

comments: author: Gerald Schneider
body: I can confirm that Bamboo 8.0.5 fixes the problem for us. Thank you :)


author: Timothy Meunier
body: I have now run into this as well since upgraded to Bamboo Server 8.0.4 build 80012 but only on SVN repos that have an unbuilt commit. Whether triggered by polling, or schedule, or the run button. If there is not commit, scheduled and manual runs work fine.


Tags: bamboo-development