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

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

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      blue-ocean 1.19.0

      Description

      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

       

        Attachments

          Issue Links

            Activity

            Hide
            dnusbaum Devin Nusbaum added a comment - - edited

            CC Olivier Lamy 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.

            Show
            dnusbaum Devin Nusbaum added a comment - - edited CC Olivier Lamy 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.
            Hide
            cmamigonian 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.

            Show
            cmamigonian 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.
            Hide
            cmamigonian Camden Mamigonian added a comment -

            Olivier Lamy is there a plan to get this worked?

            Show
            cmamigonian Camden Mamigonian added a comment - Olivier Lamy is there a plan to get this worked?
            Hide
            borisivan 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.

            Show
            borisivan 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.
            Hide
            borisivan 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.

            Show
            borisivan 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.
            Hide
            sophistifunk Josh McDonald added a comment -
            Show
            sophistifunk Josh McDonald added a comment - PR for fix here:  https://github.com/jenkinsci/blueocean-plugin/pull/1961
            Hide
            sophistifunk Josh McDonald added a comment -

            Fix in master @ 9d8593973dd6c19dc98440effcf8c7abd158ccef

            Show
            sophistifunk Josh McDonald added a comment - Fix in master @ 9d8593973dd6c19dc98440effcf8c7abd158ccef
            Hide
            borisivan boris ivan added a comment - - edited

            Hi Josh McDonald – 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.

            Show
            borisivan boris ivan added a comment - - edited Hi Josh McDonald – 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.
            Hide
            znerd Ernst de Haan added a comment -

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

            Show
            znerd 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
            Hide
            vivek Vivek Pandey added a comment -

            Fixed and released in Blueocean 1.17.0.

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

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

            Show
            vivek Vivek Pandey added a comment - Missed comment above that it still doesn't fix reported issue specially with parallel sequential stages.
            Hide
            dnusbaum 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.

            Show
            dnusbaum 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.
            Hide
            itci36632 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?

            Show
            itci36632 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?
            Hide
            zachzoref 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

            Show
            zachzoref 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
            Hide
            elavaud Edouard Lavaud added a comment -

            Same here with Blue Ocean 1.24.6

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: