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

[Blue Ocean] Sequential stages appear to be completed but are still executing

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • Jenkins LTS 2.121.3
      Blue ocean 1.8.2

      We have a visualisation problem in new "Sequential Stages".
      In some cases, sequential stages get a green check mark and appear to be completed even though they are still executing.
      Minimal pipeline example:

      pipeline {
      agent any
           stages {
              stage('Parallel') {
                  failFast false
                  parallel {
                      stage('Nested B') {
                          stages {
                              stage('Nested B-1') {
                                  steps {
                                      echo 'Nested A-1'
                                  }
                              }
                              stage('Nested B-2') {
                                  steps {
                                      sleep time: 5, unit: 'MINUTES'
                                  }
                              }
                          }
                      }
                      stage('Nested C') {
                          when {
                              expression { false == true }
                          }
                          stages {
                              stage('Nested C-1') {
                                  steps {
                                      echo 'Nested C-1'                               
                                  }
                              }
                              stage('Nested C-2') {
                                  steps {
                                      echo 'Nested C-2'                               
                                  }
                              }
                          }
                      }
                      stage('Nested A') {
                          steps {
                              sleep time: 5, unit: 'MINUTES'
                          }
                      }
                  }
              }
          }
      }
      

          [JENKINS-53311] [Blue Ocean] Sequential stages appear to be completed but are still executing

          Denis Zakharov created issue -
          Denis Zakharov made changes -
          Epic Link New: JENKINS-43953 [ 181485 ]
          Denis Zakharov made changes -
          Description Original: We have a visualisation problem in new "Sequential Stages".
          Stage likes completed when it is executed.
          Minimal pipeline example:
          pipeline {
          agent any
               stages {
                  stage('Parallel') {
                      failFast false
                      parallel {
                          stage('Nested B') {
                              stages {
                                  stage('Nested B-1') {
                                      steps {
                                          echo 'Nested A-1'
                                      }
                                  }
                                  stage('Nested B-2') {
                                      steps {
                                          sleep time: 5, unit: 'MINUTES'
                                      }
                                  }
                              }
                          }
                          stage('Nested C') {
                              when {
                                  expression { false == true }
                              }
                              stages {
                                  stage('Nested C-1') {
                                      steps {
                                          echo 'Nested C-1'
                                      }
                                  }
                                  stage('Nested C-2') {
                                      steps {
                                          echo 'Nested C-2'
                                      }
                                  }
                              }
                          }
                          stage('Nested A') {
                              steps {
                                  sleep time: 5, unit: 'MINUTES'
                              }
                          }
                      }
                  }
              }
          }
          New: We have a visualisation problem in new "Sequential Stages".
          Stage likes completed when it is executed.
          Minimal pipeline example:
          {code:java}
          pipeline {
          agent any
               stages {
                  stage('Parallel') {
                      failFast false
                      parallel {
                          stage('Nested B') {
                              stages {
                                  stage('Nested B-1') {
                                      steps {
                                          echo 'Nested A-1'
                                      }
                                  }
                                  stage('Nested B-2') {
                                      steps {
                                          sleep time: 5, unit: 'MINUTES'
                                      }
                                  }
                              }
                          }
                          stage('Nested C') {
                              when {
                                  expression { false == true }
                              }
                              stages {
                                  stage('Nested C-1') {
                                      steps {
                                          echo 'Nested C-1'
                                      }
                                  }
                                  stage('Nested C-2') {
                                      steps {
                                          echo 'Nested C-2'
                                      }
                                  }
                              }
                          }
                          stage('Nested A') {
                              steps {
                                  sleep time: 5, unit: 'MINUTES'
                              }
                          }
                      }
                  }
              }
          }
          {code}
          Devin Nusbaum made changes -
          Attachment New: Screen Shot 2018-09-13 at 16.52.57.png [ 44477 ]
          Devin Nusbaum made changes -
          Summary Original: [Blue Ocean] New sequential stage likes completed when it is executed New: [Blue Ocean] Sequential stages appear to be completed but are still executing
          Devin Nusbaum made changes -
          Description Original: We have a visualisation problem in new "Sequential Stages".
          Stage likes completed when it is executed.
          Minimal pipeline example:
          {code:java}
          pipeline {
          agent any
               stages {
                  stage('Parallel') {
                      failFast false
                      parallel {
                          stage('Nested B') {
                              stages {
                                  stage('Nested B-1') {
                                      steps {
                                          echo 'Nested A-1'
                                      }
                                  }
                                  stage('Nested B-2') {
                                      steps {
                                          sleep time: 5, unit: 'MINUTES'
                                      }
                                  }
                              }
                          }
                          stage('Nested C') {
                              when {
                                  expression { false == true }
                              }
                              stages {
                                  stage('Nested C-1') {
                                      steps {
                                          echo 'Nested C-1'
                                      }
                                  }
                                  stage('Nested C-2') {
                                      steps {
                                          echo 'Nested C-2'
                                      }
                                  }
                              }
                          }
                          stage('Nested A') {
                              steps {
                                  sleep time: 5, unit: 'MINUTES'
                              }
                          }
                      }
                  }
              }
          }
          {code}
          New: We have a visualisation problem in new "Sequential Stages".
          In some cases, sequential stages get a green check mark and appear to be completed even though they are still executing.
          Minimal pipeline example:
          {code:java}
          pipeline {
          agent any
               stages {
                  stage('Parallel') {
                      failFast false
                      parallel {
                          stage('Nested B') {
                              stages {
                                  stage('Nested B-1') {
                                      steps {
                                          echo 'Nested A-1'
                                      }
                                  }
                                  stage('Nested B-2') {
                                      steps {
                                          sleep time: 5, unit: 'MINUTES'
                                      }
                                  }
                              }
                          }
                          stage('Nested C') {
                              when {
                                  expression { false == true }
                              }
                              stages {
                                  stage('Nested C-1') {
                                      steps {
                                          echo 'Nested C-1'
                                      }
                                  }
                                  stage('Nested C-2') {
                                      steps {
                                          echo 'Nested C-2'
                                      }
                                  }
                              }
                          }
                          stage('Nested A') {
                              steps {
                                  sleep time: 5, unit: 'MINUTES'
                              }
                          }
                      }
                  }
              }
          }
          {code}
          Devin Nusbaum made changes -
          Labels Original: pipeline windows New: pipeline
          Olivier Lamy made changes -
          Assignee New: Olivier Lamy [ olamy ]
          Olivier Lamy made changes -
          Link New: This issue is duplicated by JENKINS-53587 [ JENKINS-53587 ]
          Olivier Lamy made changes -
          Link New: This issue is duplicated by JENKINS-53555 [ JENKINS-53555 ]
          Henry Borchers made changes -
          Assignee Original: Olivier Lamy [ olamy ] New: Henry Borchers [ henryborchers ]

            olamy Olivier Lamy
            zakharovdi Denis Zakharov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: