Skip to end of metadata
Go to start of metadata


Jenkins dedicates a java.lang.Thread for each executor. Under normal operation, this thread is alive all the time (although unless a build is going on the thread is sleeping.) The "dead executor" sign (see the picture on the right) happens when this thread dies unexpectedly. When this happens, please check your Jenkins system log (http://server/jenkins/log) and look for a stack trace, then report that to Jenkins users list or the issue tracker.

Obsolete as of Jenkins 2.13.

  • No labels

6 Comments

  1. The server had to be restarted in mid-build and now all the executioners are dead. How can I resolve this?

  2. im getting the dead alert on jenkins (site monitor job)..is it a bug frm site monitor plugin or jenkins...

    jenkins-screenshot.PNG

    pls assist asap

  3. I   met one slave  dead always,but master and slave all dead, except slaves  which are  running jobs.If  need log,I can sutmit

    Sep 18, 2014 4:06:19 PM hudson.ExpressionFactory2$JexlExpression evaluate
    WARNING: Caught exception evaluating: item.isStuck() in /view/Z2_SISLEY/ajaxBuildQueue. Reason: java.lang.ArrayIndexOutOfBoundsException: Assertion error: fa
    iling to load #123 DESC: lo=18,hi=16,size=18,size2=18
    java.lang.ArrayIndexOutOfBoundsException: Assertion error: failing to load #123 DESC: lo=18,hi=16,size=18,size2=18
            at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:442)
            at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:220)
            at hudson.model.AbstractBuild.getPreviousBuild(AbstractBuild.java:103)
            at hudson.model.Job.getLastBuildsOverThreshold(Job.java:887)
            at hudson.model.Job.getEstimatedDuration(Job.java:894)
            at hudson.model.Queue$BuildableItem.isStuck(Queue.java:1654)
            at sun.reflect.GeneratedMethodAccessor734.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
            at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
            at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
            at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
            at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
            at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
            at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
            at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
            at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
            at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
            at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)

  4. when the newest BUILD_ID is smaller than a builded one,this happens.
    java.lang.IllegalStateException: /usr1/home/jobs/CoreCD_Tool_V100R017C10_MR_Compile_RecordVisitor/builds/508 already existed; will not overwrite with CoreCD_Tool_V100R017C10_MR_Compile_RecordVisitor #508
    	at hudson.model.RunMap.put(RunMap.java:188)
    	at jenkins.model.lazy.LazyBuildMixIn.newBuild(LazyBuildMixIn.java:176)
    	at hudson.model.AbstractProject.newBuild(AbstractProject.java:1018)
    	at hudson.model.AbstractProject.createExecutable(AbstractProject.java:1209)
    	at hudson.model.AbstractProject.createExecutable(AbstractProject.java:144)
    	at hudson.model.Executor$1.call(Executor.java:364)
    	at hudson.model.Executor$1.call(Executor.java:346)
    	at hudson.model.Queue._withLock(Queue.java:1356)
    	at hudson.model.Queue.withLock(Queue.java:1217)
    	at hudson.model.Executor.run(Executor.java:346)

    remove the builds history or set next build number bigger can solve it

    1. I am facing the same issue. There is also an option 'Restart the thread' showing up. This is freeing up the executor.

      My question is whether this is sufficient?

       

      1. Aditi, 'Restart the thread' will just clear it out.

        To fix this issue install 'Set Next Build Number' jenkins plugin.

        Give the next build number in jenkins job using this plugin.

        Refer "Next Build Number Plugin" for more information.