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

rebuilds failing with java.lang.IllegalStateException intermittently

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      In our jenkins setup i started noticing that re builds of certain builds started leading to the following error in the logs

      Apr 08, 2015 3:12:53 PM hudson.model.Executor run
      SEVERE: Unexpected executor death
      java.lang.IllegalStateException: /path/jobs/job-name/builds/59 already existed; will not overwite with HDP-TS #59
              at hudson.model.RunMap.put(RunMap.java:187)
              at jenkins.model.lazy.LazyBuildMixIn.newBuild(LazyBuildMixIn.java:178)
              at hudson.model.AbstractProject.newBuild(AbstractProject.java:1006)
              at hudson.model.AbstractProject.createExecutable(AbstractProject.java:1205)
              at hudson.model.AbstractProject.createExecutable(AbstractProject.java:144)
              at hudson.model.Executor$1.call(Executor.java:328)
              at hudson.model.Executor$1.call(Executor.java:310)
              at hudson.model.Queue._withLock(Queue.java:1246)
              at hudson.model.Queue.withLock(Queue.java:1184)
              at hudson.model.Executor.run(Executor.java:310)
      

      If the user on the same job starts a new build it works fine. So something with re build is causing these errors. When we run into the above state the executor thread becomes dead and has to be restarted and asks you to go to http://host:8080/computer/%28master%29/executors/21/causeOfDeath

      Saw this happen multiple times on different jobs. We are running v1.607

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            Please look for duplicates before filing a new issue.

            Show
            danielbeck Daniel Beck added a comment - Please look for duplicates before filing a new issue.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              arpitgupta Arpit Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: