Skip to content

Serial groups containing 0 running builds can have pending builds waiting on max-in-flight #520

Closed

Description

@anEXPer

It appears to be possible for a pending job to consider max-in-flight reached even when there are no other running jobs in the serial group.

We've seen this behavior a couple of times, and I think this is probably how to trigger it:

Given a serial group with multiple jobs, one of which is paused with a build pending on checking job is not paused, the rest of which are not paused, (and one of which is running)

When one of the unpaused jobs triggers (as a consequence of the completion of the running job),

It should see max-in-flight as not reached and start, but instead it sees max-in-flight as reached and waits on checking max-in-flight is not reached.

I don't have a clean reproduction of this yet. The parenthetical parts of the conditions above may or may not be necessary, but match the observed circumstances where this issue has arisen for us.

Activity

  1. concourse-bot commented on Jul 8, 2016

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #125779271 Serial groups containing 0 running builds can have pending builds waiting on max-in-flight

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. anEXPer commented on Mar 15, 2017

    @anEXPer
    Author

    This bites us all the time and is infuriating. Any chance this bug will get prioritized anytime soon?

  3. jessehersch commented on Apr 11, 2017

    @jessehersch

    we are also hitting this. it's a PITA.

  4. chendrix commented on Apr 14, 2017

    @chendrix
    Contributor

    There is an explicit test case to trigger this behavior found in #994 (comment)

  5. cnelson commented on Jun 25, 2017

    @cnelson

    Any idea on when this might be addressed? This impacts us almost daily.

  6. added this to the v3.3.0 milestone on Jun 27, 2017
  7. added a commit that references this issue on Jun 27, 2017
  8. added a commit that references this issue on Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions