BuildBot Target Image Order

I've been looking at how the OpenWRT buildbot has been building images for OpenWRT 24.10.0 RC4. The order in which the images get build seems random (or at the very least not alphabetically or alphanumerical). I am curious how the order is chosen. Can someone shed some light on the subject?

(post deleted by author)

Based on time from last build round. If tries to pick a target that has longest since the last build run.

Currently on images buildbot, main/master and 24.10 and 23.10 are equal, and age is the only factor. The in since Nov 2023 from https://git.openwrt.org/?p=buildbot.git;a=commitdiff;h=b372bb5c19282e0eaa0b25f6717ed70afc2e74c5
(Discussion starting in https://lists.openwrt.org/pipermail/openwrt-devel/2023-November/041769.html )

But formal release builds are prioritised, so naturally right now 24.10.0-rc4 has priority over regular builds. https://buildbot.openwrt.org/images/#/pendingbuildrequests

2 Likes

Thank you for the detailed answer. What happens to target builds that are 'unsuccessful' according to the buildbot? Are adjustments made and then the target gets built again?

By default it just falls back to waiting next build round. It is fully automatic, so no "adjustments are made" unless somebody fixes things in source repo. (And many of the errors are transient, e.g. connection problem to feeds repo server like you pasted above)

2 Likes