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

parallel stages are displayed as passed even when they are not executed

    Details

    • Similar Issues:
    • Sprint:
      Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2

      Description

      In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

      Sample pipeline code to reproduce:

      pipeline {
        agent any
          stages {
            stage("first stage") {
              steps {sh "zsleep 5"}
            }
           stage('Three parallel stages with different execution time'){
             parallel{
               stage("One"){
                 steps {sh "sleep 5"}
               }
               stage("Two"){
                 steps {sh "sleep 10"}
                }
                stage("Three"){
                  steps {sh "sleep 15"}
                }
             }
           }
         }
      }
      

        Attachments

          Activity

          kongkoro Idikoro Eradiri created issue -
          kongkoro Idikoro Eradiri made changes -
          Field Original Value New Value
          Description In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

           !image-2017-11-02-07-19-27-955.png|thumbnail!
          {code:none}
          pipeline {
            agent any
              stages {
                stage("first stage") {
                  steps {sh "zsleep 5"}
                }
               stage('Three parallel stages with different execution time'){
          parallel{
          stage("One"){
          steps {sh "sleep 5"}
          }
          stage("Two"){
          steps {sh "sleep 10"}
          }
          stage("Three"){
          steps {sh "sleep 15"}
          }
          }
          }
          }
          }
          {code}
          In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

           !image-2017-11-02-07-19-27-955.png|thumbnail!

          Sample pipeline code to reproduce:
          {code:none}
          pipeline {
            agent any
              stages {
                stage("first stage") {
                  steps {sh "zsleep 5"}
                }
               stage('Three parallel stages with different execution time'){
          parallel{
          stage("One"){
          steps {sh "sleep 5"}
          }
          stage("Two"){
          steps {sh "sleep 10"}
          }
          stage("Three"){
          steps {sh "sleep 15"}
          }
          }
          }
          }
          }
          {code}
          kongkoro Idikoro Eradiri made changes -
          Summary parallel stages are shown as passed even when they are not executed parallel stages are displayed as passed even when they are not executed
          kongkoro Idikoro Eradiri made changes -
          Description In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

           !image-2017-11-02-07-19-27-955.png|thumbnail!

          Sample pipeline code to reproduce:
          {code:none}
          pipeline {
            agent any
              stages {
                stage("first stage") {
                  steps {sh "zsleep 5"}
                }
               stage('Three parallel stages with different execution time'){
          parallel{
          stage("One"){
          steps {sh "sleep 5"}
          }
          stage("Two"){
          steps {sh "sleep 10"}
          }
          stage("Three"){
          steps {sh "sleep 15"}
          }
          }
          }
          }
          }
          {code}
          In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

           !image-2017-11-02-07-19-27-955.png|thumbnail!

          Sample pipeline code to reproduce:
          {code:none}
          pipeline {
            agent any
              stages {
                stage("first stage") {
                  steps {sh "zsleep 5"}
                }
               stage('Three parallel stages with different execution time'){
                 parallel{
                   stage("One"){
                     steps {sh "sleep 5"}
                   }
                   stage("Two"){
                     steps {sh "sleep 10"}
                    }
                    stage("Three"){
                      steps {sh "sleep 15"}
                    }
                 }
               }
             }
          }
          {code}
          kongkoro Idikoro Eradiri made changes -
          Component/s pipeline-model-definition-plugin [ 21706 ]
          jamesdumay James Dumay made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          jamesdumay James Dumay made changes -
          Epic Link JENKINS-43953 [ 181485 ]
          jamesdumay James Dumay made changes -
          Sprint Blue Ocean 1.4 - beta 2 [ 426 ]
          Assignee Vivek Pandey [ vivek ]
          jamesdumay James Dumay made changes -
          Sprint Blue Ocean 1.4 - beta 2 [ 426 ] Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 [ 416, 426 ]
          kshultz Karl Shultz made changes -
          Labels testing-notes-reviewed
          abayer Andrew Bayer made changes -
          Component/s pipeline-model-definition-plugin [ 21706 ]
          vivek Vivek Pandey made changes -
          Assignee Vivek Pandey [ vivek ] Andrew Bayer [ abayer ]
          vivek Vivek Pandey made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          vivek Vivek Pandey made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          kongkoro Idikoro Eradiri made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          kongkoro Idikoro Eradiri made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          jbriden Jenn Briden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              kongkoro Idikoro Eradiri
            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: