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

Builds stuck on "is already in progress" forever

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: workflow-job-plugin
    • Labels:
    • Environment:
      Centos 7.2.1511 (master and slaves)
      Jenkins 2.176.2
      Jenkins master - open-jdk 1.8.0_212
      Jenkins slaves - Oracle jdk 1.8.0_60

      Jenkins running as docker container (standalone)
      Attached plugin versions as file

    • Similar Issues:
    • Released As:
      workflow-job 2.35, workflow-cps 2.74

      Description

      After upgrading our jenkins master and plugins, some of our build jobs - specifically it seemed like most pipeline jobs - were stuck waiting for previous build to complete, even though it already completed.

       

      This seems to have been caused by JENKINS-46076.

      After donwngrading the plugin to version 2.32, all builds were working correctly.

       

      From some testing, it seems that calling

      Jenkins.instance.getItemByFullName(...).getBuildByNumber(..).isLogUpdated()
      

      On the previous build (in the sample case build #185) returns true, although the build is completed and the log seems to have been completed.

      This issue happened immediately after restarting the jenkins instance with any of our pipeline jobs

        Attachments

        1. Capture.PNG
          Capture.PNG
          70 kB
        2. Capture2.PNG
          Capture2.PNG
          66 kB
        3. failed.PNG
          failed.PNG
          70 kB
        4. image.png
          image.png
          19 kB
        5. plugins.txt
          5 kB
        6. stuck-build-2.tar.gz
          16 kB
        7. tdump
          75 kB

          Issue Links

            Activity

            hellspam Roy Arnon created issue -
            hellspam Roy Arnon made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-46076 [ JENKINS-46076 ]
            hellspam Roy Arnon made changes -
            Description After upgrading our jenkins master and plugins, some of our build jobs - specifically it seemed like most pipeline jobs - were stuck waiting for previous build to complete, even though it already completed.

            !https://files.slack.com/files-pri/T0255EC3D-FMP3HKY56/image.png!

             

            This seems to have been caused by JENKINS-46076.

            After donwngrading the plugin to version 2.32, all build were working correctly.

             

            From some testing, it seems that calling
            {code:java}
            Jenkins.instance.getItemByFullName(...).getBuildByNumber(..).isLogUpdated()
            {code}
            On the previous build (in the sample case build #185) returns true, although the build is completed and the log seems to have been completed.

            This issue happened immediately after restarting the jenkins instance with any of our pipeline jobs
            After upgrading our jenkins master and plugins, some of our build jobs - specifically it seemed like most pipeline jobs - were stuck waiting for previous build to complete, even though it already completed.

            !https://files.slack.com/files-pri/T0255EC3D-FMP3HKY56/image.png!

             

            This seems to have been caused by JENKINS-46076.

            After donwngrading the plugin to version 2.32, all builds were working correctly.

             

            From some testing, it seems that calling
            {code:java}
            Jenkins.instance.getItemByFullName(...).getBuildByNumber(..).isLogUpdated()
            {code}
            On the previous build (in the sample case build #185) returns true, although the build is completed and the log seems to have been completed.

            This issue happened immediately after restarting the jenkins instance with any of our pipeline jobs
            hellspam Roy Arnon made changes -
            Attachment image.png [ 48421 ]
            hellspam Roy Arnon made changes -
            Attachment stuck-build.tar.gz [ 48501 ]
            hellspam Roy Arnon made changes -
            Attachment Capture.PNG [ 48502 ]
            hellspam Roy Arnon made changes -
            Attachment tdump [ 48503 ]
            hellspam Roy Arnon made changes -
            Attachment Capture2.PNG [ 48504 ]
            hellspam Roy Arnon made changes -
            Attachment failed.PNG [ 48505 ]
            hellspam Roy Arnon made changes -
            Attachment stuck-build.tar.gz [ 48501 ]
            hellspam Roy Arnon made changes -
            Attachment stuck-build-2.tar.gz [ 48506 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "workflow-job #137 (Web Link)" [ 23501 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "workflow-job #140 (Web Link)" [ 23504 ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status Fixed but Unreleased [ 10203 ] Reopened [ 4 ]
            jglick Jesse Glick made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            dnusbaum Devin Nusbaum made changes -
            Remote Link This issue links to "jenkinsci/workflow-cps-plugin #317 (Web Link)" [ 23515 ]
            dnusbaum Devin Nusbaum made changes -
            Released As workflow-job 2.34
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            dnusbaum Devin Nusbaum made changes -
            Released As workflow-job 2.34 workflow-job 2.35
            romanz Roman Zwi made changes -
            Link This issue relates to JENKINS-59328 [ JENKINS-59328 ]
            dnusbaum Devin Nusbaum made changes -
            Link This issue causes JENKINS-61604 [ JENKINS-61604 ]
            dnusbaum Devin Nusbaum made changes -
            Released As workflow-job 2.35 workflow-job 2.35, workflow-cps 2.74
            dnusbaum Devin Nusbaum made changes -
            Link This issue is duplicated by JENKINS-56947 [ JENKINS-56947 ]

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              hellspam Roy Arnon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: