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

Blue Ocean display of sequential stages in parallel stages is flaky

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • BlueOcean 1.10.1

      When there are sequential stages in a parallel stage then the display of them is often not correct and very inconsistent - i.e. sometimes the display changes even from one build to the next.
      This seems to apply only to running builds. As soon as the build is completed the stages are displayed correctly.

      Note: this seems to be related to JENKINS-55320, but that one is about BlueOcean 1.9 and scripted stages. This one is about declarative stages and BlueOcean 1.10.1

       

      This is the relevant part of my Jenkinsfile:

      stage("Run Tests") {
      
          parallel {
              stage("Acceptance Tests") {
      
                  steps {
                      ...
                  }
              }
      
              stage("Integration Tests") {
      
                  steps {
                      ....
                  }
              }
      
              stage("IWG | DBG") {
                  stages {
                      stage("IWG Tests") {
                          steps {
                              ...
                          }
                      }
      
                      stage("DBG Tests") {
                          steps {
                              ...
                          }
      
                      }
                  }
              }
      
              stage("Payment Acceptance Tests") {
                  steps {
                      ...
                  }
              }
          }
      }

          [JENKINS-55427] Blue Ocean display of sequential stages in parallel stages is flaky

          kutzi created issue -
          kutzi made changes -
          Description New: When there are sequential stages in a parallel stage then the display of them is often not correct and very inconsistent - i.e. sometimes the display changes even from one build to the next.
          This seems to apply only to running builds. As soon as the build is completed the stages are displayed correctly.

          Note: this seems to be related to JENKINS-55320, but that one is about BlueOcean 1.9 and scripted stages. This one is about declarative stages.
          kutzi made changes -
          Attachment New: Screenshot from 2019-01-07 15-57-37.png [ 45590 ]

          kutzi added a comment -

          E.g. in one build the stage 'Integration Tests' was showing the sequential stages of the stage 'IWG | DBG'. See 

          kutzi added a comment - E.g. in one build the stage 'Integration Tests' was showing the sequential stages of the stage 'IWG | DBG'. See 

          kutzi added a comment - - edited

          In other instances the sequential stages are correctly mapped to the parallel stages, but the sequential steps in 'IWG | DBG' are shown grey all the time, even if they are already finished.

          kutzi added a comment - - edited In other instances the sequential stages are correctly mapped to the parallel stages, but the sequential steps in 'IWG | DBG' are shown grey all the time, even if they are already finished.
          kutzi made changes -
          Description Original: When there are sequential stages in a parallel stage then the display of them is often not correct and very inconsistent - i.e. sometimes the display changes even from one build to the next.
          This seems to apply only to running builds. As soon as the build is completed the stages are displayed correctly.

          Note: this seems to be related to JENKINS-55320, but that one is about BlueOcean 1.9 and scripted stages. This one is about declarative stages.
          New: When there are sequential stages in a parallel stage then the display of them is often not correct and very inconsistent - i.e. sometimes the display changes even from one build to the next.
           This seems to apply only to running builds. As soon as the build is completed the stages are displayed correctly.

          Note: this seems to be related to JENKINS-55320, but that one is about BlueOcean 1.9 and scripted stages. This one is about declarative stages.

           

          This is the relevant part of my Jenkinsfile:
          {code:java}
          stage("Run Tests") {

              parallel {
                  stage("Acceptance Tests") {

                      steps {
                          ...
                      }
                  }
              }

              stage("Integration Tests") {

                  steps {
                      ....
                  }
              }

              stage("IWG | DBG") {
                  stages {
                      stage("IWG Tests") {
                          steps {
                              ...
                          }
                      }

                      stage("DBG Tests") {
                          steps {
                              ...
                          }

                      }
                  }
              }

              stage("Payment Acceptance Tests") {
                  steps {
                      ...
                  }
              }
          } {code}
          kutzi made changes -
          Description Original: When there are sequential stages in a parallel stage then the display of them is often not correct and very inconsistent - i.e. sometimes the display changes even from one build to the next.
           This seems to apply only to running builds. As soon as the build is completed the stages are displayed correctly.

          Note: this seems to be related to JENKINS-55320, but that one is about BlueOcean 1.9 and scripted stages. This one is about declarative stages.

           

          This is the relevant part of my Jenkinsfile:
          {code:java}
          stage("Run Tests") {

              parallel {
                  stage("Acceptance Tests") {

                      steps {
                          ...
                      }
                  }
              }

              stage("Integration Tests") {

                  steps {
                      ....
                  }
              }

              stage("IWG | DBG") {
                  stages {
                      stage("IWG Tests") {
                          steps {
                              ...
                          }
                      }

                      stage("DBG Tests") {
                          steps {
                              ...
                          }

                      }
                  }
              }

              stage("Payment Acceptance Tests") {
                  steps {
                      ...
                  }
              }
          } {code}
          New: When there are sequential stages in a parallel stage then the display of them is often not correct and very inconsistent - i.e. sometimes the display changes even from one build to the next.
           This seems to apply only to running builds. As soon as the build is completed the stages are displayed correctly.

          Note: this seems to be related to JENKINS-55320, but that one is about BlueOcean 1.9 and scripted stages. This one is about declarative stages.

           

          This is the relevant part of my Jenkinsfile:
          {code:java}
          stage("Run Tests") {

              parallel {
                  stage("Acceptance Tests") {

                      steps {
                          ...
                      }
                  }

                  stage("Integration Tests") {

                      steps {
                          ....
                      }
                  }

                  stage("IWG | DBG") {
                      stages {
                          stage("IWG Tests") {
                              steps {
                                  ...
                              }
                          }

                          stage("DBG Tests") {
                              steps {
                                  ...
                              }

                          }
                      }
                  }

                  stage("Payment Acceptance Tests") {
                      steps {
                          ...
                      }
                  }
              }
          }{code}
          kutzi made changes -
          Description Original: When there are sequential stages in a parallel stage then the display of them is often not correct and very inconsistent - i.e. sometimes the display changes even from one build to the next.
           This seems to apply only to running builds. As soon as the build is completed the stages are displayed correctly.

          Note: this seems to be related to JENKINS-55320, but that one is about BlueOcean 1.9 and scripted stages. This one is about declarative stages.

           

          This is the relevant part of my Jenkinsfile:
          {code:java}
          stage("Run Tests") {

              parallel {
                  stage("Acceptance Tests") {

                      steps {
                          ...
                      }
                  }

                  stage("Integration Tests") {

                      steps {
                          ....
                      }
                  }

                  stage("IWG | DBG") {
                      stages {
                          stage("IWG Tests") {
                              steps {
                                  ...
                              }
                          }

                          stage("DBG Tests") {
                              steps {
                                  ...
                              }

                          }
                      }
                  }

                  stage("Payment Acceptance Tests") {
                      steps {
                          ...
                      }
                  }
              }
          }{code}
          New: When there are sequential stages in a parallel stage then the display of them is often not correct and very inconsistent - i.e. sometimes the display changes even from one build to the next.
           This seems to apply only to running builds. As soon as the build is completed the stages are displayed correctly.

          Note: this seems to be related to JENKINS-55320, but that one is about BlueOcean 1.9 and scripted stages. This one is about declarative stages and BlueOcean 1.10.1

           

          This is the relevant part of my Jenkinsfile:
          {code:java}
          stage("Run Tests") {

              parallel {
                  stage("Acceptance Tests") {

                      steps {
                          ...
                      }
                  }

                  stage("Integration Tests") {

                      steps {
                          ....
                      }
                  }

                  stage("IWG | DBG") {
                      stages {
                          stage("IWG Tests") {
                              steps {
                                  ...
                              }
                          }

                          stage("DBG Tests") {
                              steps {
                                  ...
                              }

                          }
                      }
                  }

                  stage("Payment Acceptance Tests") {
                      steps {
                          ...
                      }
                  }
              }
          }{code}
          kutzi made changes -
          Attachment New: Screenshot from 2019-01-07 16-22-29.png [ 45591 ]

          kutzi added a comment - - edited

          Also click-selecting these grey-but-already-finished stages is often - but not always - not possible.

          kutzi added a comment - - edited Also click-selecting these grey-but-already-finished stages is often - but not always - not possible.

            Unassigned Unassigned
            kutzi kutzi
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: