Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27695

Allocate node waiting for executor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: pipeline
    • Labels:
      None
    • Environment:
      1.607
    • Similar Issues:

      Description

      I updated jenkins from 1.606 to 1.607. Since then, workflow builds hang on "allocating node".

      Running: Allocate node : Start

      Still waiting to schedule task
      Waiting for next available executor

      System logs are as follows :
      Timer task hudson.model.Queue$MaintainTask@6f7ff478 failed
      java.lang.NullPointerException
      at java.util.concurrent.ConcurrentSkipListMap.comparable(ConcurrentSkipListMap.java:617)
      at java.util.concurrent.ConcurrentSkipListMap.doGet(ConcurrentSkipListMap.java:786)
      at java.util.concurrent.ConcurrentSkipListMap.get(ConcurrentSkipListMap.java:1640)
      at jenkins.model.Nodes.getNode(Nodes.java:216)
      at jenkins.model.Jenkins.getNode(Jenkins.java:1667)
      at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.getLastBuiltOn(ExecutorStepExecution.java:187)
      at hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:202)
      at hudson.model.queue.MappingWorksheet$WorkChunk.<init>(MappingWorksheet.java:172)
      at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:390)
      at hudson.model.queue.MappingWorksheet.<init>(MappingWorksheet.java:318)
      at hudson.model.Queue.maintain(Queue.java:1355)
      at hudson.model.Queue$MaintainTask.doRun(Queue.java:2435)
      at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      This build was functional before upgrading Jenkins.

        Attachments

          Issue Links

            Activity

            Hide
            thebignet Jean Detoeuf added a comment -

            I downgraded to 1.606 and the build works correctly.

            Show
            thebignet Jean Detoeuf added a comment - I downgraded to 1.606 and the build works correctly.
            Hide
            jglick Jesse Glick added a comment -

            Was actually fixed in 1.5 already.

            Show
            jglick Jesse Glick added a comment - Was actually fixed in 1.5 already.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            CHANGES.md
            http://jenkins-ci.org/commit/workflow-plugin/8960a2a7a8557bc05c18ad74081cb00407fe72bb
            Log:
            JENKINS-27695 Noting.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: CHANGES.md http://jenkins-ci.org/commit/workflow-plugin/8960a2a7a8557bc05c18ad74081cb00407fe72bb Log: JENKINS-27695 Noting.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                thebignet Jean Detoeuf
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: