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

"Waiting in queue for…" indicator seems broken in some circumstances

    • Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1, Blue Ocean - Candidates

      I observed that https://ci.jenkins.io/job/Infra/job/backend-extension-indexer/job/PR-28/1/ did not show a queue indicator on the Pipeline page, and not a pipeline at all, but just "Set properties", and that's it.

      Classic UI log ended at:

      All nodes of label ‘highmem’ are offline

      Could this be related to another PR build having started shortly before this one (and that showed a proper queue indicator at the beginning.

      Notably, it seemed when reloading https://ci.jenkins.io/blue/organizations/jenkins/Infra%2Fbackend-extension-indexer/detail/PR-28/1/pipeline that the "waiting for" indicator appeared for a moment, but was then replaced by the "set properties".

      I can provide a screen recording of my browser window when this issue occurred on request, just too large for this tracker.

          [JENKINS-44934] "Waiting in queue for…" indicator seems broken in some circumstances

          Daniel Beck added a comment -

          Attached short part of the video showing the behavior in the original description.

          Daniel Beck added a comment - Attached short part of the video showing the behavior in the original description.

          James Dumay added a comment -

          abayer I suspect this one will get fixed when we start calculating the queued state using the actual flow graph state with JENKINS-44636. Would you agree?

          James Dumay added a comment - abayer I suspect this one will get fixed when we start calculating the queued state using the actual flow graph state with JENKINS-44636 . Would you agree?

          Michael Neale added a comment -

          abayer so is this one still relevant? not heard people complain for a while... 

          Michael Neale added a comment - abayer so is this one still relevant? not heard people complain for a while... 

          Daniel Beck added a comment -

          Not sure I properly remember this particular issue, but I think I saw this or something similar over the weekend on ci.j.io (1.2.0).

          I think it happens with a scripted pipeline that starts with properties(), then a node() waiting for the cloud to allocate an agent. That is not handled well by BO, as it's not exposing what the pipeline is waiting for. I believe it's not a UI glitch, but inherent in how this is exposed on BO.

          Daniel Beck added a comment - Not sure I properly remember this particular issue, but I think I saw this or something similar over the weekend on ci.j.io (1.2.0). I think it happens with a scripted pipeline that starts with properties(), then a node() waiting for the cloud to allocate an agent. That is not handled well by BO, as it's not exposing what the pipeline is waiting for. I believe it's not a UI glitch, but inherent in how this is exposed on BO.

          Michael Neale added a comment -

          danielbeck ack - well will leave this one open. Sounds like need some more ways to reproduce it as it is getting trickier... 

          Michael Neale added a comment - danielbeck ack - well will leave this one open. Sounds like need some more ways to reproduce it as it is getting trickier... 

          Karl Shultz added a comment -

          Testing Notes

          • Assuming this gets worked on, unit tests should be included.
          • Considering that the queue indicator is a transient screen which is intended to disappear, it's not clear if this is reasonable to automate in a UI test.

          Karl Shultz added a comment - Testing Notes Assuming this gets worked on, unit tests should be included. Considering that the queue indicator is a transient screen which is intended to disappear, it's not clear if this is reasonable to automate in a UI test.

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: