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

Race condition in Matrix project builds between config changes and builds

      It appears that there's a race condition if a build is queued and configuration changes around the same time.

      On http://hudson.drizzle.org/job/drizzle-build/ it appears that if the matrix project only has one axis and is tied to the master, the configuration build doesn't start despite the master node having available executor.

      The configuration build remains in the queue with "waiting for available executor", and the link from the queue points to non-existent http://hudson.drizzle.org/job/drizzle-build/default/ where it should point to http://hudson.drizzle.org/job/drizzle-build/label=master/

          [JENKINS-5700] Race condition in Matrix project builds between config changes and builds

          On further investigation it seems like some kind of race condition. If the configuration build is in the queue when the configuration changes, the system gets into an inconsistent state.

          Kohsuke Kawaguchi added a comment - On further investigation it seems like some kind of race condition. If the configuration build is in the queue when the configuration changes, the system gets into an inconsistent state.

          Monty Taylor added a comment -

          I just renamed the drizzle-build job to drizzle-build-matrix, in case it needs to still be looked at.

          Monty Taylor added a comment - I just renamed the drizzle-build job to drizzle-build-matrix, in case it needs to still be looked at.

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: