Closed Bug 1331096 Opened 7 years ago Closed 7 years ago

Use queue.claimWork in Buildbot Bridge

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dustin, Unassigned)

References

Details

This will allow the bridge to handle task priorities properly, which we need to support running tasks on hardware.

This will replace the existing queue.claimTask process.  It's already supported in the queue.

Don't deploy this until bug 1331094 is done, as Jonas will use that bug to monitor load on the queue as this new approach is deployed.
This may require updating the taskcluster library at the same time. I can look at this.
Assignee: nobody → rail
Back to the pool until the dep is resolved
Assignee: rail → nobody
I believe the dep is in place because we were worried about load, but that seems to be non-problematic.  Greg, can you confirm that it's OK to proceed on this now?
Flags: needinfo?(garndt)
Over the past couple of weeks we have been running claimWork with three of our gecko test worker types that account for ~80% of our overall load.  I will be rolling new AMIs out to the other worker types in the coming days.  For reference, looking at the numbers for the buildbot-bridge worker type, it accounts for about 3% of our load so this shouldn't be a problem.

From my perspective if we want to start migrating things over, then that should be fine, but I am going to add Jonas to this discussion so he can weigh in about the queue side of things.
Flags: needinfo?(garndt) → needinfo?(jopsen)
Yeah, I agree.

Let use queue.claimWork()

Note: this should greatly simplify workers. And if bbb is relying on pulse, then this will add further stability.
Flags: needinfo?(jopsen)
Blocks: 1331094
No longer depends on: 1331094
No longer blocks: 1331094
Depends on: 1331094
I just spoke to Greg, and we agreed that claimWork isn't a good fit for bbb.

BBB needs to know when a task is first pending, so it can schedule the job in buildbot. Once the job starts in buildbot, BBB claims the task in TC.

As I understand it, queue.claimWork actually claims the task(s), but we shouldn't claim the task until the job actually starts in buildbot.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.