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

Reload Configuration from Disk (or POSTing config.xml) loses info on running builds

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Platform: PC, OS: Windows XP

      Executing the "Reload Configuration from Disk" while builds are running causes
      information about those builds to be lost.

      POSTing a new configuration to /job/JOBNAME/config.xml also causes the exact same problem. Yet editing job configuration interactively using the web form does not show the problem.

      I had two builds running when I reloaded configuration to pick up manual changes
      to one project (not running a build) config.xml file. When the browser
      refreshed, the builds were still shown as actively building in the Build
      Executor Status frame but the status indicators were no longer blinking and the
      project pages did not show any builds running for those projects.

      It appears that part of Hudson thought that the builds had been canceled because
      they were queued, blocked by themselves. The original builds appeared to
      finsish normally and then the queued builds ran. There was no record of the
      original build that had been running when the config reloaded.

      Note: If Jenkins is completely restarted, by shutting down and starting up the service, the missing build re-appears. (Of course, doing that each time is unacceptable, just trying to help focus the debugging.)

          [JENKINS-3265] Reload Configuration from Disk (or POSTing config.xml) loses info on running builds

          pcampbell created issue -
          Uwe Stuehler made changes -
          Link New: This issue is duplicated by JENKINS-10219 [ JENKINS-10219 ]
          kutzi made changes -
          Link New: This issue is duplicated by JENKINS-7885 [ JENKINS-7885 ]
          kutzi made changes -
          Link New: This issue is duplicated by JENKINS-12171 [ JENKINS-12171 ]
          Jeremy Frank made changes -
          Description Original: Executing the "Reload Configuration from Disk" while builds are running causes
          information about those builds to be lost.

          I had two builds running when I reloaded configuration to pick up manual changes
          to one project (not running a build) config.xml file. When the browser
          refreshed, the builds were still shown as actively building in the Build
          Executor Status frame but the status indicators were no longer blinking and the
          project pages did not show any builds running for those projects.

          It appears that part of Hudson thought that the builds had been canceled because
          they were queued, blocked by themselves. The original builds appeared to
          finsish normally and then the queued builds ran. There was no record of the
          original build that had been running when the config reloaded.
          New: Executing the "Reload Configuration from Disk" while builds are running causes
          information about those builds to be lost.

          POSTing a new configuration to /job/JOBNAME/config.xml also causes the exact same problem. Yet editing job configuration interactively using the web form does not show the problem.

          I had two builds running when I reloaded configuration to pick up manual changes
          to one project (not running a build) config.xml file. When the browser
          refreshed, the builds were still shown as actively building in the Build
          Executor Status frame but the status indicators were no longer blinking and the
          project pages did not show any builds running for those projects.

          It appears that part of Hudson thought that the builds had been canceled because
          they were queued, blocked by themselves. The original builds appeared to
          finsish normally and then the queued builds ran. There was no record of the
          original build that had been running when the config reloaded.

          Note: If Jenkins is completely restarted, by shutting down and starting up the service, the missing build re-appears. (Of course, doing that each time is unacceptable, just trying to help focus the debugging.)
          Summary Original: Reload Configuration from Disk loses info on running builds New: Reload Configuration from Disk (or POSTing config.xml) loses info on running builds
          kutzi made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          Kohsuke Kawaguchi made changes -
          Link New: This issue duplicates JENKINS-12318 [ JENKINS-12318 ]
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-16145 [ JENKINS-16145 ]
          Kevin Scaldeferri made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]

            kohsuke Kohsuke Kawaguchi
            pcampbell pcampbell
            Votes:
            28 Vote for this issue
            Watchers:
            49 Start watching this issue

              Created:
              Updated:
              Resolved: