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

Diagnose locker of a WorkspaceList.Lease

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      As of JENKINS-37121 we fail a resumed Pipeline build promptly if someone else has already acquired a workspace lock that the build should have gotten. However Lease fails to record a stack trace of the original locker, so there is no way to obtain that stack trace for diagnostic purposes.

        Attachments

          Issue Links

            Activity

            Hide
            akmjenkins ASHOK MOHANTY added a comment -

            We are getting this bellow error , with Jenkins 2.190.3 and Kub-Plugin v.1.18.3

             

            java.lang.IllegalStateException: JENKINS-37121: something already locked 
            

            Any plan to fix this one and/or please let us know if any (core, & plugin) upgrade will help us.!!

             

            Show
            akmjenkins ASHOK MOHANTY added a comment - We are getting this bellow error , with Jenkins 2.190.3 and Kub-Plugin v. 1.18.3   java.lang.IllegalStateException: JENKINS-37121: something already locked Any plan to fix this one and/or please let us know if any (core, & plugin) upgrade will help us.!!  
            Hide
            gils Gil Shinar added a comment -

            We're having the exact same issue.
            Can this be related to a large amount of jobs/builds/slaves?

            We have about 800 jobs. Some of them are multi-branch jobs meaning the real amount is a lot more. I assume at around 10000 jobs.

            Some of the 10000 are matrix jobs and we are sometimes having 200 builds that are running concurrently. Most of the slaves are k8s pods.

            kubernetes plugin 1.27.3

            Show
            gils Gil Shinar added a comment - We're having the exact same issue. Can this be related to a large amount of jobs/builds/slaves? We have about 800 jobs. Some of them are multi-branch jobs meaning the real amount is a lot more. I assume at around 10000 jobs. Some of the 10000 are matrix jobs and we are sometimes having 200 builds that are running concurrently. Most of the slaves are k8s pods. kubernetes plugin 1.27.3

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: