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

Possible deadlock between scheduleBuild() and NodeProvisioner updates

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      jenkins-1.607+
    • Similar Issues:

      Description

      JIRA was down when I've created the issue

      NodeProvisioner#getPendingLaunches() and NodeProvisioner#update() may get deadlocked if somebody retrieves a list of pending launches in the build scheduler. It
      also applies to all other methods guarded by provisioningLock, because NodeProvisioner#update() locks the queue after locking provisioningLock.

      Pull requests:

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -
            Show
            oleg_nenashev Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/1785 has been merged into 1.625
            Hide
            danielbeck Daniel Beck added a comment -

            We decided on making 1.625 the next LTS baseline.

            Show
            danielbeck Daniel Beck added a comment - We decided on making 1.625 the next LTS baseline.

              People

              • Assignee:
                Unassigned
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: