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

Parallel sequential stages in Blue Ocean showing wrong status

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • Jenkins version: 2.121.3
      Blue Ocean version: 1.8.2
      OS: RHEL7.2
      Browser: Google Chrome

      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"
               }
              }
             }
            }
           }    
          }
         }  
      }
      }
      

          [JENKINS-53129] Parallel sequential stages in Blue Ocean showing wrong status

          Elie Kassis created issue -
          Elie Kassis made changes -
          Description Original: After updating the Blue ocean to the latest version released last week, 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 {color:#FF0000}both processing{color}, 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.


          {code:java}
           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"
                   }
                  }
                 }
                }
               }
              }
             }
          }
          }
          {code}
          New: After updating the Blue ocean to the latest version 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 {color:#ff0000}both processing{color}, 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.
          {code:java}
           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"
                   }
                  }
                 }
                }
               }
              }
             }
          }
          }
          {code}
          Elie Kassis made changes -
          Description Original: After updating the Blue ocean to the latest version 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 {color:#ff0000}both processing{color}, 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.
          {code:java}
           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"
                   }
                  }
                 }
                }
               }
              }
             }
          }
          }
          {code}
          New: After updating the Blue ocean to the latest version 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 {color:#ff0000}both processing{color}, one of the parallel stages is showing as *green* ({color:#00875a}*DONE*{color}) and the other shown as Processing but not displaying the triggered builds.

          You can find my pipeline code below.
          {code:java}
           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"
                   }
                  }
                 }
                }
               }
              }
             }
          }
          }
          {code}
          Elie Kassis made changes -
          Description Original: After updating the Blue ocean to the latest version 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 {color:#ff0000}both processing{color}, one of the parallel stages is showing as *green* ({color:#00875a}*DONE*{color}) and the other shown as Processing but not displaying the triggered builds.

          You can find my pipeline code below.
          {code:java}
           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"
                   }
                  }
                 }
                }
               }
              }
             }
          }
          }
          {code}
          New: 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 {color:#ff0000}both processing{color}, one of the parallel stages is showing as *green* ({color:#00875a}*DONE*{color}) and the other shown as Processing but not displaying the triggered builds.

          You can find my pipeline code below.
          {code:java}
           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"
                   }
                  }
                 }
                }
               }
              }
             }
          }
          }
          {code}
          Elie Kassis made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          Vivek Pandey made changes -
          Assignee New: Nicolae Pascu [ nicu ]
          Elie Kassis made changes -
          Attachment New: image-2018-08-20-19-51-36-113.png [ 43796 ]
          Elie Kassis made changes -
          Attachment New: image-2018-08-20-19-53-40-887.png [ 43797 ]
          Elie Kassis made changes -
          Summary Original: View Parallel stages in the pipeline showing wrong statuses (In Blue Ocean) New: Parallel stages in Blue Ocean showing wrong status
          Elie Kassis made changes -
          Attachment New: image-2018-08-22-16-11-36-340.png [ 43824 ]
          Elie Kassis made changes -
          Attachment New: image-2018-08-23-01-15-45-479.png [ 43833 ]

            olamy Olivier Lamy
            ekassis Elie Kassis
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: