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

Parallel stage tool tip shows 0s for every stage irrespective of the execution time.

    XMLWordPrintable

Details

    • Blue Ocean - Candidates

    Description

      In a pipeline with parallel stages, tool tip of the stage shows "passed in 0s" as tool tip for every stage irrespective of how log each stage took for execution. However, correct message is shown for stages which are not parallel.

      simple pipeline to reproduce the bug

      ================================

      pipeline {
      agent any
      stages {
      stage("first stage") {
      steps {sh "sleep 5"}
      }
      stage('Three parallel stages with different execution time'){
      parallel{
      stage("One"){
      steps {sh "sleep 5"}
      }
      stage("Two"){
      steps {sh "sleep 10"}
      }
      stage("Three"){
      steps {sh "sleep 15"}
      }
      }
      }
      }
      }
      

      Attachments

        Issue Links

          Activity

            adampaul Adam Paul added a comment -

            We see this too in Jenkins 2.73.2 with Blue Ocean 1.3.0

            adampaul Adam Paul added a comment - We see this too in Jenkins 2.73.2 with Blue Ocean 1.3.0
            jimklimov Jim Klimov added a comment -

            Seen with Jenkins 2.89 and Blue Ocean 1.3.2 as well

            jimklimov Jim Klimov added a comment - Seen with Jenkins 2.89 and Blue Ocean 1.3.2 as well
            kshultz Karl Shultz added a comment -

            Testing Notes:
            Once fixed, if it's possible to create unit tests for this, that seems the best way. Testing for tooltip text via Selenium automation sounds pretty fragile.

            kshultz Karl Shultz added a comment - Testing Notes : Once fixed, if it's possible to create unit tests for this, that seems the best way. Testing for tooltip text via Selenium automation sounds pretty fragile.

            May be possible to fix this ?

            This is really annoying as we need to use the "classical" pipeline view in order to see the run times, but then we loose the visualization of parallelization as we can have in blue ocean.  So please level up the priority.

            orenault Olivier Renault added a comment - May be possible to fix this ? This is really annoying as we need to use the "classical" pipeline view in order to see the run times, but then we loose the visualization of parallelization as we can have in blue ocean.  So please level up the priority.

            We are affected by this problem too with Jenkins 2.107.3 and Blue Ocean 1.5.0

            xaseron Michael Werner added a comment - We are affected by this problem too with Jenkins 2.107.3 and Blue Ocean 1.5.0
            christianciach Christian Ciach added a comment - - edited

            Just a "me too". Jenkins 2.127, Blue Ocean 1.6.0-beta-3.

            This is especially bad at the "Tests"-tab, where every test is shown as "< 1s", which is just wrong.

            EDIT: Actually, for me this only effects the "Tests"-tab. The pipeline-tooltips are correct for me.

            christianciach Christian Ciach added a comment - - edited Just a "me too". Jenkins 2.127, Blue Ocean 1.6.0-beta-3. This is especially bad at the "Tests"-tab, where every test is shown as "< 1s", which is just wrong. EDIT: Actually, for me this only effects the "Tests"-tab. The pipeline-tooltips are correct for me.
            vladichko Vlad Aginsky added a comment -

            same at my setup, raising prio,  my customers are very confused.

            vladichko Vlad Aginsky added a comment - same at my setup, raising prio,  my customers are very confused.

            People

              Unassigned Unassigned
              rkamath3 Ramachandra Kamath Arbettu
              Votes:
              15 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated: