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

[Blue Ocean] Completed stages appear to be skipped instead of finished

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • blue-ocean 1.19.0

      After fix https://issues.jenkins-ci.org/browse/JENKINS-53311 completed stages appear to be skipped instead of finished.

      Pipeline script and screenshot have attached

       

          [JENKINS-53816] [Blue Ocean] Completed stages appear to be skipped instead of finished

          Devin Nusbaum added a comment - - edited

          CC olamy Looks like this might be a regression from JENKINS-53311. I haven't tried to reproduce it yet so I'm not sure what a minimal reproduction case would look like.

          Devin Nusbaum added a comment - - edited CC olamy Looks like this might be a regression from JENKINS-53311 . I haven't tried to reproduce it yet so I'm not sure what a minimal reproduction case would look like.

          Is there any plan to address this issue?  In addition to this behavior I'm not able to see the logs of these completed (or even in progress) parallel stages while the other parallel branch is executing.

          Camden Mamigonian added a comment - Is there any plan to address this issue?  In addition to this behavior I'm not able to see the logs of these completed (or even in progress) parallel stages while the other parallel branch is executing.

          olamy is there a plan to get this worked?

          Camden Mamigonian added a comment - olamy is there a plan to get this worked?

          boris ivan added a comment -

          I'm seeing similar but even worse – the 'parallel sequential' stage that I have (similar to the picture attached) is in the beginning of my pipeline, and there are other steps afterwards. My build is currently executing those 'later' steps, showing blank circles for some of the steps that I know were finished earlier, in the 'parallel sequential' step that has been long finished ~ 40 minutes ago.

          Ack – even worse! It literally just finished my build and updated the visualization: the 'parallel sequential' step now shows all steps inside it complete, but all the downstream steps (which were executing earlier, and had shown as complete...) are now gone – not displayed at all.

          boris ivan added a comment - I'm seeing similar but even worse – the 'parallel sequential' stage that I have (similar to the picture attached) is in the beginning of my pipeline, and there are other steps afterwards. My build is currently executing those 'later' steps, showing blank circles for some of the steps that I know were finished earlier, in the 'parallel sequential' step that has been long finished ~ 40 minutes ago. Ack – even worse! It literally just finished my build and updated the visualization: the 'parallel sequential' step now shows all steps inside it complete, but all the downstream steps (which were executing earlier, and had shown as complete...) are now gone – not displayed at all.

          boris ivan added a comment - - edited

          slight correction: my pipeline is still running, but otherwise is as described above at this point. The downstream steps that were complete are now completely missing in the visualization. The parallel-sequential step updated to show all complete (they were all complete ~ 40 minutes earlier, in reality). When the UI update occurred for that, that's when the downstream sequential steps that had previously run and completed (and were shown) disappeared. The pipeline is now on a step further downstream and it's running, though it's not shown anywhere. I suspect that when the entire pipeline is complete, it will all reappear, as I think I saw that occur before.

          update: as suspected. The entire pipeline shows upon completion, including the steps that had shown before that went away mid pipeline as described above.

          boris ivan added a comment - - edited slight correction: my pipeline is still running, but otherwise is as described above at this point. The downstream steps that were complete are now completely missing in the visualization. The parallel-sequential step updated to show all complete (they were all complete ~ 40 minutes earlier, in reality). When the UI update occurred for that, that's when the downstream sequential steps that had previously run and completed (and were shown) disappeared. The pipeline is now on a step further downstream and it's running, though it's not shown anywhere . I suspect that when the entire pipeline is complete, it will all reappear, as I think I saw that occur before. update: as suspected. The entire pipeline shows upon completion, including the steps that had shown before that went away mid pipeline as described above.

          Josh McDonald added a comment -

          Josh McDonald added a comment - PR for fix here:  https://github.com/jenkinsci/blueocean-plugin/pull/1961

          Josh McDonald added a comment -

          Fix in master @ 9d8593973dd6c19dc98440effcf8c7abd158ccef

          Josh McDonald added a comment - Fix in master @ 9d8593973dd6c19dc98440effcf8c7abd158ccef

          boris ivan added a comment - - edited

          Hi sophistifunk – I can confirm that some completed stages are still showing as transparent, in Blue Ocean 1.17.

          I think that some parallel stages that had a single stage were previously not showing correctly sometimes, and that seems to have improved.

          But a stage that has parallel stages that each have sequential stages in them are still showing as transparent when complete, though as before, it paints correctly as soon as the pipeline finishes.

          For example:

          --a--b--c

          --d--e--f

          If d completes, it shows as transparent (incorrect). I'm also now seeing that if "e" is active, it sometimes doesn't have the blue animation showing as active. Things may have gotten worse.

          boris ivan added a comment - - edited Hi sophistifunk – I can confirm that some completed stages are still showing as transparent, in Blue Ocean 1.17. I think that some parallel stages that had a single stage were previously not showing correctly sometimes, and that seems to have improved. But a stage that has parallel stages that each have sequential stages in them are still showing as transparent when complete, though as before, it paints correctly as soon as the pipeline finishes. For example: -- a -- b --c -- d -- e --f If d completes, it shows as transparent (incorrect). I'm also now seeing that if "e" is active, it sometimes doesn't have the blue animation showing as active. Things may have gotten worse.

          Ernst de Haan added a comment -

          Status is “Fixed But Unreleased” – but it seems this has been released in BlueOcean 1.17.0, see:

          Ernst de Haan added a comment - Status is “Fixed But Unreleased” – but it seems this has been released in BlueOcean 1.17.0, see: https://github.com/jenkinsci/blueocean-plugin/pull/1961 https://github.com/jenkinsci/blueocean-plugin/releases/tag/blueocean-parent-1.17.0

          Vivek Pandey added a comment -

          Fixed and released in Blueocean 1.17.0.

          Vivek Pandey added a comment - Fixed and released in Blueocean 1.17.0.

          Vivek Pandey added a comment -

          Missed comment above that it still doesn't fix reported issue specially with parallel sequential stages.

          Vivek Pandey added a comment - Missed comment above that it still doesn't fix reported issue specially with parallel sequential stages.

          Devin Nusbaum added a comment -

          Blue Ocean 1.19.0 was just released with a fix for at least some aspects of this issue (see JENKINS-58085). Please try it out, and if you are still seeing the problem, post a minimal Jenkinsfile that reproduces the issue.

          Devin Nusbaum added a comment - Blue Ocean 1.19.0 was just released with a fix for at least some aspects of this issue (see JENKINS-58085 ). Please try it out, and if you are still seeing the problem, post a minimal Jenkinsfile that reproduces the issue.

          L. G. added a comment -

          Hello, 

          I am running Jenkins v2.222.1 with Blue Ocean plugin v1.23.0 and I still observe that problem - my parallel stages are visualized as sequential, but in reality they run in parallel. 

          Can you please reopen that bug?

          L. G. added a comment - Hello,  I am running Jenkins v2.222.1 with Blue Ocean plugin v1.23.0 and I still observe that problem - my parallel stages are visualized as sequential, but in reality they run in parallel.  Can you please reopen that bug?

          Zach Zoref added a comment -

          I also experience this problem.

          Sequential stages inside a parallel marked as skipped when they have actually succeeded.

          Jenkins v2.204.2 with Blue Ocean plugin v1.22.0

          Zach Zoref added a comment - I also experience this problem. Sequential stages inside a parallel marked as skipped when they have actually succeeded. Jenkins v2.204.2 with Blue Ocean plugin v1.22.0

          Same here with Blue Ocean 1.24.6

          Edouard Lavaud added a comment - Same here with Blue Ocean 1.24.6

            sophistifunk Josh McDonald
            zakharovdi Denis Zakharov
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: