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

Queued status for pipelines not reported correctly

    • Icon: Story Story
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2

      Problem
      Pipelines that are queued are reported as running

      Steps to reproduce

      1. Setup the app store demo pipeline https://github.com/i386/app-store-demo
      2. disable all executors
      3. run the master branch
      4. The run is reported in Blue Ocean as running rather than queued

      Notes
      Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED

      If no nodes in pipeline are running then run state is QUEUED as it is indeed. If at least one of the node is in running state Run state is RUNNING.

      Its important to know that we do some things at the Pipeline run level to calculate the "input" state of a Pipeline run in Blue Ocean (I think we search for the InputAction on the run and if there are any then we say that the state is "input")

        1. queue.png
          queue.png
          45 kB
        2. blue.png
          blue.png
          205 kB

          [JENKINS-44636] Queued status for pipelines not reported correctly

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Description Original: *Problem*
          Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED

          *Steps to reproduce*
          # Setup the app store demo pipeline
          # disable all executors
          # run the master branch
          # The pipeline is reported in Blue Ocean as running rather than queued

          New: *Problem*
          Pipelines that are queued are reported as running

          *Steps to reproduce*
          # Setup the app store demo pipeline
          # disable all executors
          # run the master branch
          # The pipeline is reported in Blue Ocean as running rather than queued

          Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED
          James Dumay made changes -
          Sprint New: Blue Ocean 1.2 [ 326 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Assignee New: Vivek Pandey [ vivek ]
          Description Original: *Problem*
          Pipelines that are queued are reported as running

          *Steps to reproduce*
          # Setup the app store demo pipeline
          # disable all executors
          # run the master branch
          # The pipeline is reported in Blue Ocean as running rather than queued

          Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED
          New: *Problem*
          Pipelines that are queued are reported as running

          *Steps to reproduce*
          # Setup the app store demo pipeline
          # disable all executors
          # run the master branch
          # The pipeline is reported in Blue Ocean as running rather than queued

          Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED

          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          James Dumay made changes -
          Description Original: *Problem*
          Pipelines that are queued are reported as running

          *Steps to reproduce*
          # Setup the app store demo pipeline
          # disable all executors
          # run the master branch
          # The pipeline is reported in Blue Ocean as running rather than queued

          Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED

          New: *Problem*
          Pipelines that are queued are reported as running

          *Steps to reproduce*
          # Setup the app store demo pipeline
          # disable all executors
          # run the master branch
          # The run is reported in Blue Ocean as running rather than queued

          Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED

          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Description Original: *Problem*
          Pipelines that are queued are reported as running

          *Steps to reproduce*
          # Setup the app store demo pipeline
          # disable all executors
          # run the master branch
          # The run is reported in Blue Ocean as running rather than queued

          Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED

          New: *Problem*
          Pipelines that are queued are reported as running

          *Steps to reproduce*
          # Setup the app store demo pipeline
          # disable all executors
          # run the master branch
          # The run is reported in Blue Ocean as running rather than queued

          *Notes*
          Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED

          If no nodes in pipeline are running then run state is QUEUED as it is indeed. If atleast one of the node is in running state Run state is RUNNING.
          James Dumay made changes -
          Rank New: Ranked higher

            abayer Andrew Bayer
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: