You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Paused jobs trigger, are marked pending, block the worker queue #267
When I fly up a new pipeline on my local Mac OS machine within a BOSHlite, I often only want to trigger a specific pathway at first for local development. Therefore, at a "fan out" juncture, where one resource feeds 3 jobs (for example), I'll pause two of them to make sure the other one runs first.
I expect that the immediately downstream job from the not-paused job will trigger next and start working.
What happens after one job finishes is that the two paused jobs are still pending, radiating grey, and the downstream job is also marked pending.
The workaround is to cancel the two pending runs of paused jobs. What happens then is that the expected job runs, and then new pending runs for paused jobs are again enqueued. If the desired pipeline has more steps, it's once again blocked.
I feel like this is a regression from a previous fix. I feel like the update in release v0.53 to default things to paused was a stopgap measure for this issue previously. But that wasn't so great either, and it introduced other annoyances.
We are using serial groups. All the 4 jobs in my example are in the same serial group: "images".
We are pretty aggressive and strict about serial groups for a few reasons:
We don't expect these builds to change too often in practice/production. They only cycle frequently when we're re-tooling the pipeline.
The builds are rather resource intensive. We instituted serialization to try to keep our deployment from falling over (or crashing our BOSHlite, can't quite recall).
I'm blocked trying to get my Vagrantfile fixed right now, but once I've got a local concourse running again, I'll experiment with "what happens when we remove the serial groups?". I hypothesize, as it sounds you do as well, that without serial groups, the paused & pending jobs would not block the worker queue for other jobs' builds.
Confirmed that when we remove the serial groups and fly set-pipeline, the 4th job is immediately kicked off. The paused jobs' builds are still glowing grey, pending.
So we're not experiencing the bug harshly anymore. But still seems weird that paused jobs get enqueued.
Activity
vito commentedon Jan 26, 2016
Are you using serial groups?
The change in v0.53 was not a stopgap measure, and sounds unrelated to this.
concourse-bot commentedon Jan 26, 2016
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:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
cjcjameson commentedon Jan 27, 2016
We are using serial groups. All the 4 jobs in my example are in the same serial group: "images".
We are pretty aggressive and strict about serial groups for a few reasons:
I'm blocked trying to get my Vagrantfile fixed right now, but once I've got a local concourse running again, I'll experiment with "what happens when we remove the serial groups?". I hypothesize, as it sounds you do as well, that without serial groups, the paused & pending jobs would not block the worker queue for other jobs' builds.
Mm, very good. Disregard my reference to v0.53
cjcjameson commentedon Jan 27, 2016
Confirmed that when we remove the serial groups and
fly set-pipeline, the 4th job is immediately kicked off. The paused jobs' builds are still glowing grey, pending.So we're not experiencing the bug harshly anymore. But still seems weird that paused jobs get enqueued.
vito commentedon Jul 13, 2016
Closing in favor of #520 which is a bit "fresher"
bump a *bunch* of dependencies