[users at bb.net] Selecting next slave based on build properties

Sommer, Erik Erik.Sommer at de.neusoft.com
Mon Oct 9 07:10:26 UTC 2017


Pierre is right of course. We had the same wish to run special builds of some builders on special slaves. Because of that we are currently in the process of upgrading to nine. Without that it is not really possible.


Erik Sommer
Software Engineer

[cid:imaged9e512.PNG at a050873b.4094b299]

Neusoft Technology Solutions GmbH
Hugh-Greene-Weg 2-4
22529 Hamburg – Germany

Phone: +49 40 30067-720
Fax: +49 40 30067-959
Email: Erik.Sommer at de.neusoft.com
http://www.neusoft.com

Neusoft Technology Solutions GmbH is part of Neusoft Automotives

Managing Director: Lars Borchert
Register Court Hamburg: HRB No. 112243
Tax-Registration-Number: 45/746/00176
VAT-Registration-Number: DE271733571


We are a family-friendly company and are
awarded with the Hamburg Family Seal<http://www.hamburg.de/familiensiegel/nofl/4639016/2015-11-18-basfi-familiensiegel/>.
        [cid:imagef70cab.PNG at 7fc1fe38.40b60b10] <http://www.hamburg.de/familiensiegel/nofl/4639016/2015-11-18-basfi-familiensiegel/>

Confidentiality Notice: This email message, including any attachments,
is for the sole use of intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by return email and destroy all copies of the original
message.

Von: users [mailto:users-bounces at buildbot.net] Im Auftrag von Pierre Tardy
Gesendet: Samstag, 7. Oktober 2017 19:14
An: Adi Roiban; users at buildbot.net
Betreff: Re: [users at bb.net] Selecting next slave based on build properties

Buildbot nine already has a nextWorker callback which take a third argument being the buildrequest.


http://docs.buildbot.net/latest/manual/cfg-builders.html?highlight=nextworker


Le sam. 7 oct. 2017 à 13:05, Adi Roiban <adiroiban at gmail.com<mailto:adiroiban at gmail.com>> a écrit :
Hi,

I have a builder which runs on 2 or more slaves.

Some tests are failing on some slaves and I want to re-run a specific
test on a specific slave.
I am using buildbot try to schedule a new build on demand.

I want to be able to trigger the next build based on the scheduler and
the properties pushed by the scheduler.

I managed to get that by patching the
master/buildbot/process/buildrequestdistributor.py:BasicBuildChooser.popNextBuild
to first get a build request and then send it to the nextSlave
callback.
In this way, I can use more information in order to select a slave.

Is there other way to achieve that?

Thanks!
--
Adi Roiban
_______________________________________________
users mailing list
users at buildbot.net<mailto:users at buildbot.net>
https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20171009/cfeb44d2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imaged9e512.PNG
Type: image/png
Size: 6222 bytes
Desc: imaged9e512.PNG
URL: <http://lists.buildbot.net/pipermail/users/attachments/20171009/cfeb44d2/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagef70cab.PNG
Type: image/png
Size: 4403 bytes
Desc: imagef70cab.PNG
URL: <http://lists.buildbot.net/pipermail/users/attachments/20171009/cfeb44d2/attachment-0001.png>


More information about the users mailing list