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

workflow blocks on cps.CpsFlowExecution.getCurrentHeads

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After some time, jenkins hangs on workflow-related requests:
      This occured after an update of workflow-cps from 2.49 and workflow-jobs from 2.19.

      2 current requests                    Details      

       Thread  Request  Elapsed time (ms)  Mean time (ms)  Cpu time (ms)  Mean cpu time (ms)  Executed method  Kill
      Handling GET /jenkins/view/NICOS/job/NicosPipelineDocker/wfapi/runs from xxx.xx.xx. : RequestHandlerThread6  [/view/NICOS/job/NicosPipelineDocker/wfapi/runs?since=%235853&fullStages=true&_=1525424331349 ajax GET  226,453 108 8 18 org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.getCurrentHeads(CpsFlowExecution.java:962)
      Handling GET /jenkins/ from xxx.xxx.xxx..xxx : RequestHandlerThread46 View/index.jelly View/sidepanel.jelly ExecutorStepExecution/PlaceholderTask/PlaceholderExecutable/executorCell.jelly  / GET  108,266 9,526 61 8,280 org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.getCurrentHeads(CpsFlowExecution.java:962)

        Attachments

        1. deadlock.txt
          8 kB
        2. st1.log
          295 kB
        3. threaddump-anonymized.txt
          118 kB

          Issue Links

            Activity

            Hide
            reinholdfuereder Reinhold Füreder added a comment -

            Sam Van Oort Thanks for the hint (that is of course fully correct, as I have just seen: "There is an update available for 'workflow-cps:2.51' plugin: 2.53") => I'll try that...

            Show
            reinholdfuereder Reinhold Füreder added a comment - Sam Van Oort Thanks for the hint (that is of course fully correct, as I have just seen: "There is an update available for 'workflow-cps:2.51' plugin: 2.53") => I'll try that...
            Hide
            bilke Lars Bilke added a comment -

            Sam Van Oort 2.53 is running for me without a deadlock too so far...

            Show
            bilke Lars Bilke added a comment - Sam Van Oort 2.53 is running for me without a deadlock too so far...
            Hide
            tbecker Thomas Becker added a comment -

            2.53 is working fine until now. Thx for the fix!

            Show
            tbecker Thomas Becker added a comment - 2.53 is working fine until now. Thx for the fix!
            Hide
            mmclaughlin Mitch McLaughlin added a comment -

            I just encountered this issue again with a client using workflow-cps:2.53. Let me know what information I can supply to help look into this.

            Show
            mmclaughlin Mitch McLaughlin added a comment - I just encountered this issue again with a client using workflow-cps:2.53. Let me know what information I can supply to help look into this.
            Hide
            svanoort Sam Van Oort added a comment -

            Mitch McLaughlin I can guarantee this particular deadlock is resolved. If you're seeing a new deadlock, please open a ticket and include the thread dump in it. Thanks

            Show
            svanoort Sam Van Oort added a comment - Mitch McLaughlin I can guarantee this particular deadlock is resolved. If you're seeing a new deadlock, please open a ticket and include the thread dump in it. Thanks

              People

              • Assignee:
                svanoort Sam Van Oort
                Reporter:
                pedersen Björn Pedersen
              • Votes:
                1 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: