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 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 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.

          boris ivan added a comment -

          We see the same flaky behavior, re: nodes complete but not showing as complete (and often not clickable).

          Also, note the truncation in the picture you've attached, re: the name of that stage. The truncation of that stage name is too aggressive, making it useless (https://issues.jenkins-ci.org/browse/JENKINS-55393)

           

          boris ivan added a comment - We see the same flaky behavior, re: nodes complete but not showing as complete (and often not clickable). Also, note the truncation in the picture you've attached, re: the name of that stage. The truncation of that stage name is too aggressive, making it useless ( https://issues.jenkins-ci.org/browse/JENKINS-55393 )  

          kutzi added a comment -

          Any update on this?
          It didn't become any better with the latest BlueOcean updates.
          It's IMO basically unusable as long as the build is running.
          For one because you sometimes cannot select the later branches: wherever I click, always the steps for the 1st branch are displayed - even it the other branch is displayed as selected in the UI.
          For 2nd, even if you manage to select a different branch, often the logs display switches to a different branch, if that branch gets new log updates

          kutzi added a comment - Any update on this? It didn't become any better with the latest BlueOcean updates. It's IMO basically unusable as long as the build is running. For one because you sometimes cannot select the later branches: wherever I click, always the steps for the 1st branch are displayed - even it the other branch is displayed as selected in the UI. For 2nd, even if you manage to select a different branch, often the logs display switches to a different branch, if that branch gets new log updates

          Vivek Pandey added a comment - - edited

          kutzi https://issues.jenkins-ci.org/browse/JENKINS-53816 has been fixed and released with blueocean 1.17.0. This might be related to problem reported in this ticket, give it a try and let us know if it fixes your problem.

          [Edited] JENKINS-53816 is reopened as its not fixing it completed as reported in that ticket.

          Vivek Pandey added a comment - - edited kutzi https://issues.jenkins-ci.org/browse/JENKINS-53816 has been fixed and released with blueocean 1.17.0. This might be related to problem reported in this ticket, give it a try and let us know if it fixes your problem. [Edited] JENKINS-53816 is reopened as its not fixing it completed as reported in that ticket.

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

              Created:
              Updated: