Bug 15615 - Builds schedule unevenly across the cluster
Summary: Builds schedule unevenly across the cluster
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.2 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-10-09 21:32 UTC by Michael Halstead
Modified: 2025-03-24 09:50 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Halstead 2024-10-09 21:32:38 UTC
Ideally the build scheduler would assign one job to each candidate worker before assigning a second or third job to the same worker.

Right now it's possible to have a single a-full with 3 builds running on half the available workers while the other half of the workers sit idle.

The problem is more apparent with the increased number of workers in the Valkyrie cluster.
Comment 1 Richard Purdie 2024-10-10 10:15:33 UTC
We do customise the build scheduler so this is possibly a bug with how we've done that.
Comment 2 Michael Halstead 2024-12-19 21:42:08 UTC
Due to be fixed once we pull in changes from https://github.com/buildbot/buildbot/pull/6286. Blocked on Yocto Project plugin updates.
Comment 3 Richard Purdie 2025-03-24 09:50:28 UTC
Wasn't quite that simple but fixed with: https://git.yoctoproject.org/yocto-autobuilder2/commit/?id=754040f52cbf4d65d5c1df22d56f7687486e02a2