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

            ekassis Elie Kassis created issue -
            ekassis Elie Kassis made changes -
            Field Original Value New Value
            Description 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}
            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}
            ekassis Elie Kassis made changes -
            Description 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}
            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}
            ekassis Elie Kassis made changes -
            Description 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}
            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}
            ekassis Elie Kassis made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            vivek Vivek Pandey made changes -
            Assignee Nicolae Pascu [ nicu ]
            ekassis Elie Kassis made changes -
            Attachment image-2018-08-20-19-51-36-113.png [ 43796 ]
            ekassis Elie Kassis made changes -
            Attachment image-2018-08-20-19-53-40-887.png [ 43797 ]
            ekassis Elie Kassis made changes -
            Summary View Parallel stages in the pipeline showing wrong statuses (In Blue Ocean) Parallel stages in Blue Ocean showing wrong status
            ekassis Elie Kassis made changes -
            Attachment image-2018-08-22-16-11-36-340.png [ 43824 ]
            ekassis Elie Kassis made changes -
            Attachment image-2018-08-23-01-15-45-479.png [ 43833 ]
            olamy Olivier Lamy made changes -
            Link This issue duplicates JENKINS-53311 [ JENKINS-53311 ]
            olamy Olivier Lamy made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Assignee Nicolae Pascu [ nicu ] Olivier Lamy [ olamy ]
            Resolution Fixed [ 1 ]
            olamy Olivier Lamy made changes -
            Status Resolved [ 5 ] Fixed but Unreleased [ 10203 ]
            ekassis Elie Kassis made changes -
            Attachment image-2018-09-22-13-17-53-432.png [ 44566 ]
            ekassis Elie Kassis made changes -
            Status Fixed but Unreleased [ 10203 ] Reopened [ 4 ]
            ekassis Elie Kassis made changes -
            Summary Parallel stages in Blue Ocean showing wrong status Parallel sequential stages in Blue Ocean showing wrong status with no Triggered Builds
            ekassis Elie Kassis made changes -
            Attachment image-2018-09-23-19-13-12-757.png [ 44568 ]
            ekassis Elie Kassis made changes -
            Attachment image-2018-09-23-20-42-44-112.png [ 44569 ]
            olamy Olivier Lamy made changes -
            Summary Parallel sequential stages in Blue Ocean showing wrong status with no Triggered Builds Parallel sequential stages in Blue Ocean showing wrong status
            olamy Olivier Lamy made changes -
            Status Reopened [ 4 ] Closed [ 6 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: