com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue

Atlassian JIRA | Adrian Deccico [Atlassian] | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    As it is stated here: https://bamboo.extranet.atlassian.com/admin/viewError.action?buildKey=CONFXHTML-SELENIUMIE8-JOB2&error=30 There is a weird error when a new build is launched. Please note that, there are no agents capable of running this job. The only one is off (have crashed before) so maybe it is related with that. Below is the stack trace. thanks com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:676) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueueWithLock(BuildQueueManagerImpl.java:136) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueue(BuildQueueManagerImpl.java:111) at com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(BuildTriggeredListener.java:21) at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.failBuild(StartVirtualMachineAction.java:143) at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.call(StartVirtualMachineAction.java:132) at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy240.call(Unknown Source) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:672) ... 9 more

    Atlassian JIRA | 6 years ago | Adrian Deccico [Atlassian]
    com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue
  2. 0

    As it is stated here: https://bamboo.extranet.atlassian.com/admin/viewError.action?buildKey=CONFXHTML-SELENIUMIE8-JOB2&error=30 There is a weird error when a new build is launched. Please note that, there are no agents capable of running this job. The only one is off (have crashed before) so maybe it is related with that. Below is the stack trace. thanks com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:676) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueueWithLock(BuildQueueManagerImpl.java:136) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueue(BuildQueueManagerImpl.java:111) at com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(BuildTriggeredListener.java:21) at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.failBuild(StartVirtualMachineAction.java:143) at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.call(StartVirtualMachineAction.java:132) at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy240.call(Unknown Source) at com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:672) ... 9 more

    Atlassian JIRA | 6 years ago | Adrian Deccico [Atlassian]
    com.atlassian.bamboo.v2.build.queue.BuildPreQueuedActionFailureException: java.lang.RuntimeException: Could not start LabManager job. Build should not be put on the build queue

    Root Cause Analysis

    1. java.lang.RuntimeException

      Could not start LabManager job. Build should not be put on the build queue

      at com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.failBuild()
    2. com.atlassian.bamboo
      StartVirtualMachineAction.call
      1. com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.failBuild(StartVirtualMachineAction.java:143)
      2. com.atlassian.bamboo.plugins.labmanager.StartVirtualMachineAction.call(StartVirtualMachineAction.java:132)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Hibernate
      HibernateInterceptor.invoke
      1. org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. Unknown
      $Proxy240.call
      1. $Proxy240.call(Unknown Source)
      1 frame
    8. com.atlassian.bamboo
      BuildTriggeredListener.handleEvent
      1. com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.fireCustomCustomPreBuildQueuedActions(BuildQueueManagerImpl.java:672)
      2. com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueueWithLock(BuildQueueManagerImpl.java:136)
      3. com.atlassian.bamboo.v2.build.queue.BuildQueueManagerImpl.addBuildToQueue(BuildQueueManagerImpl.java:111)
      4. com.atlassian.bamboo.v2.build.queue.BuildTriggeredListener.handleEvent(BuildTriggeredListener.java:21)
      4 frames
    9. com.atlassian.event
      AsynchronousAbleEventDispatcher$2.run
      1. com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      2 frames
    10. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      2 frames
    11. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame