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

Possible deadlock between scheduleBuild() and NodeProvisioner updates

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • jenkins-1.607+

      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:

          [JENKINS-30080] Possible deadlock between scheduleBuild() and NodeProvisioner updates

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Environment New: jenkins-1.607+

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/1785 has been merged into 1.625
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Labels Original: deadlock queue New: deadlock lts-candidate queue
          Daniel Beck made changes -
          Labels Original: deadlock lts-candidate queue New: deadlock lts-candidate
          Daniel Beck made changes -
          Labels Original: deadlock lts-candidate New: deadlock lts-candidate queue

          Daniel Beck added a comment -

          We decided on making 1.625 the next LTS baseline.

          Daniel Beck added a comment - We decided on making 1.625 the next LTS baseline.
          Daniel Beck made changes -
          Labels Original: deadlock lts-candidate queue New: deadlock queue
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165163 ] New: JNJira + In-Review [ 197637 ]

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

              Created:
              Updated:
              Resolved: