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

In progress input step's status reported incorrectly as PAUSED_PENDING_INPUT

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      As reported in https://issues.jenkins-ci.org/browse/JENKINS-38491, if there is at least one step waiting for user input, StatusAndTiming.computeChunkStatus() incorrectly reports steps that are busy as PAUSED_PENDING_INPUT.

      This script demonstrates it, shell step in 'right' branch reported as PAUSED_PENDING_INPUT.

      node {
          stage("parallelStage"){
            parallel left : {
                  echo "running"
                  def branchInput = input message: 'Please input branch to test against', parameters: [[$class: 'StringParameterDefinition', defaultValue: 'master', description: '', name: 'branch']]
                  echo "BRANCH NAME: ${branchInput}"
              }, 
              right : {
                  sh 'sleep 10000000'
              }
          }
      }
      

        Attachments

          Activity

          Show
          vivek Vivek Pandey added a comment - Sam Van Oort I put a fix, PR https://github.com/jenkinsci/pipeline-graph-analysis-plugin/pull/9
          Hide
          svanoort Sam Van Oort added a comment -

          Resolved and released (thanks Vivek for the patch)

          Show
          svanoort Sam Van Oort added a comment - Resolved and released (thanks Vivek for the patch)

            People

            Assignee:
            svanoort Sam Van Oort
            Reporter:
            vivek Vivek Pandey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: