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

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

    • Blue Ocean - Candidates

      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"}
      }
      }
      }
      }
      }
      

          [JENKINS-47349] Parallel stage tool tip shows 0s for every stage irrespective of the execution time.

          Adam Paul added a comment -

          We see this too in Jenkins 2.73.2 with Blue Ocean 1.3.0

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

          Jim Klimov added a comment -

          Seen with Jenkins 2.89 and Blue Ocean 1.3.2 as well

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

          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.

          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.

          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

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

          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.

          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.

          Vlad Aginsky added a comment -

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

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

          David Szabo added a comment -

          The issue is still there, with Jenkins 2.319.1, Blue Ocean 1.25.5. Is there any way to increase its priority?

          Also it might be worth mentioning that it shows the same wrong time measurement in the stage details when it was run in parallel:

          ,

          even when the actual stage took more than 30 minutes.

          David Szabo added a comment - The issue is still there, with Jenkins 2.319.1, Blue Ocean 1.25.5. Is there any way to increase its priority? Also it might be worth mentioning that it shows the same wrong time measurement in the stage details when it was run in parallel: , even when the actual stage took more than 30 minutes.

          Mark Waite added a comment -

          The issue is still there, with Jenkins 2.319.1, Blue Ocean 1.25.5. Is there any way to increase its priority?

          You could implement the fix and submit it as a pull request to the blue ocean plugins. You could compare the behavior between blue ocean and the pipeline graph viewer to see if pipeline graph viewer handles the rendering better.

          The status of the blue ocean plugins is summarized on jenkins.io as:

          Blue Ocean status

          Blue Ocean will not receive further functionality updates. Blue Ocean will continue to provide easy-to-use Pipeline visualization, but it will not be enhanced further. It will only receive selective updates for significant security issues or functional defects.

          Alternative options for Pipeline visualization, such as the Pipeline: Stage View and Pipeline Graph View plugins, are available and offer some of the same functionality. While not complete replacements for Blue Ocean, contributions are encouraged from the community for continued development of these plugins.

          The Pipeline syntax snippet generator assists users as they define Pipeline steps with their arguments. It is the preferred tool for Jenkins Pipeline creation, as it provides online help for the Pipeline steps available in your Jenkins controller. It uses the plugins installed on your Jenkins controller to generate the Pipeline syntax. Refer to the Pipeline steps reference page for information on all available Pipeline steps.

          Mark Waite added a comment - The issue is still there, with Jenkins 2.319.1, Blue Ocean 1.25.5. Is there any way to increase its priority? You could implement the fix and submit it as a pull request to the blue ocean plugins. You could compare the behavior between blue ocean and the pipeline graph viewer to see if pipeline graph viewer handles the rendering better. The status of the blue ocean plugins is summarized on jenkins.io as: Blue Ocean status Blue Ocean will not receive further functionality updates. Blue Ocean will continue to provide easy-to-use Pipeline visualization, but it will not be enhanced further. It will only receive selective updates for significant security issues or functional defects. Alternative options for Pipeline visualization, such as the Pipeline: Stage View and Pipeline Graph View plugins, are available and offer some of the same functionality. While not complete replacements for Blue Ocean, contributions are encouraged from the community for continued development of these plugins. The Pipeline syntax snippet generator assists users as they define Pipeline steps with their arguments. It is the preferred tool for Jenkins Pipeline creation, as it provides online help for the Pipeline steps available in your Jenkins controller. It uses the plugins installed on your Jenkins controller to generate the Pipeline syntax. Refer to the Pipeline steps reference page for information on all available Pipeline steps.

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

              Created:
              Updated: