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

Parallel sequential stages in Blue Ocean showing wrong status

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Labels:
    • Environment:
      Jenkins version: 2.121.3
      Blue Ocean version: 1.8.2
      OS: RHEL7.2
      Browser: Google Chrome
    • Similar Issues:

      Description

      After updating the Blue ocean to the latest version 1.8.2 released 16 August, Blue Ocean is having issues displaying the status of parallel stages properly.

      I have 2 stages in parallel which contains several sequential stage each.
      While they are both processing, one of the parallel stages is showing as green (DONE) and the other shown as Processing but not displaying the triggered builds.

      You can find my pipeline code below.

       pipeline {
        agent any
        stages { stage('Pushing 2 Tests') {
          //failFast true
          parallel {     
           stage('TE1') {
            stages {
             stage('PUSH TE1') {
              steps {
               script {    
                //Trigger a job
                sleep time: 5, unit: 'MINUTES'        
                echo "Test1"        
               }
              }
             }
             stage('Archive Logs') {
              steps {
               script {
                echo "Archive Test1 Logs"       
               }
              }
             }
             stage('Insert Metrics') {
              steps {
               script {
                echo "Insert Test1 Metrics in DB"
               }
              }
             }
             stage('Compare Metrics') {
              steps {
               script {
                echo "Compare Metrics Test1 vs REF"
               }
              }
             }
            }
           }     
           stage('TE2') {
            stages {
             stage('PUSH TE2') {
              steps {
               script {
                //Trigger a job
                sleep time: 5, unit: 'MINUTES'
                echo "Test2"
               }
              }
             }
             stage('Archive Logs') {
              steps {
               script {
                echo "Archive Test2 Logs"
               }
              }
             }
             stage('Insert Metrics') {
              steps {
               script {
                echo "Insert Test2 Metrics in DB"
               }
              }
             }
             stage('Compare Metrics') {
              steps {
               script {
                echo "Compare Metrics Test2 vs REF"
               }
              }
             }
            }
           }    
          }
         }  
      }
      }
      

        Attachments

          Issue Links

            Activity

            Hide
            ekassis Elie Kassis added a comment -

            Olivier Lamy, you can find below for sequential Processing stages, Blue Ocean is showing the Triggered Builds section.

             

            Show
            ekassis Elie Kassis added a comment - Olivier Lamy , you can find below for sequential Processing stages, Blue Ocean is showing the Triggered Builds section.  
            Hide
            ekassis Elie Kassis added a comment -

            Olivier Lamy, a new bug detected, when the first stage in a sequential parallel pipeline is done, the Processing stages got wrong status and show only 1 stage processing even thought there are 4 stages processing.

            Show
            ekassis Elie Kassis added a comment - Olivier Lamy , a new bug detected, when the first stage in a sequential parallel pipeline is done, the Processing stages got wrong status and show only 1 stage processing even thought there are 4 stages processing.
            Hide
            olamy Olivier Lamy added a comment -

            Elie Kassis please stop hijacking this issue. You reopen it and changing the description. This is totally wrong! it's a thread in a mailing list. So please open a new issue with correct description.

            Show
            olamy Olivier Lamy added a comment - Elie Kassis please stop hijacking this issue. You reopen it and changing the description. This is totally wrong! it's a thread in a mailing list. So please open a new issue with correct description.
            Hide
            olamy Olivier Lamy added a comment -

            please open an other issue regarding the "Triggered Builds"

            Show
            olamy Olivier Lamy added a comment - please open an other issue regarding the "Triggered Builds"
            Hide
            ekassis Elie Kassis added a comment -

            Sorry Olivier Lamy, a new Jira issue opened:     JENKINS-53735

            Show
            ekassis Elie Kassis added a comment - Sorry Olivier Lamy , a new Jira issue opened:      JENKINS-53735

              People

              • Assignee:
                olamy Olivier Lamy
                Reporter:
                ekassis Elie Kassis
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: