[Buildbot-devel] SlaveLocks

Marcus Lindblom macke at yar.nu
Fri Feb 13 14:41:50 UTC 2009



I think there are a few tickets filed against this. Could to take a look 
at the tickets on load sharing on buildbot.net?

Cheers,
/Marcus

Markus Kramer wrote:
> Hi Neil,
> 
> so is there maybe some difference in versions of buildbot we are using. 
> Mine should all be 0.7.9, but still do not properly share. I can see 
> that i get a connect message for bot slaves to the builder, but 
> scheduled builds always go to machine 1, and when pressing the force 
> build button also. Seems i need to have a look at the code over the weekend.
> 
> Thanks,
> 
> Markus
> 
> 
> Neil Hemingway wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> That's exactly the config I use, and my builds get distributed across
>> my 3 slaves
>>
>> Neil
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAkmVdrwACgkQZjaLPuxR95R4lwCfd8llfWXzmP3DRU/T2cwJ944f
>> /9YAnRJUVwRSX1DqkDXImCjfyqCt8MV6
>> =lYbD
>> -----END PGP SIGNATURE-----
>> On 13/02/2009, *Markus Kramer* <markus.kramer-SLPT3ORPss/5Km1axIVvkA at public.gmane.org 
>> <mailto:markus.kramer-SLPT3ORPss/5Km1axIVvkA at public.gmane.org>> wrote:
>>
>>     Hi all,
>>
>>     i am just trying to setup some new buildmachines within our buildbot
>>     system. The original idea was to have load sharing with some machines,
>>     but somehow it does not work as expected.
>>     I have setup multiple builders containing the following lines in their
>>     build description:
>>
>>     'slavenames':[ "win-ia32-xp-b1","win-ia32-xp-b2"],
>>     'locks': [xp_sl],
>>
>>
>>     In addition i defined the lock like this in the top of config:
>>
>>     xp_sl = locks.SlaveLock("cpuxp2",maxCount=1)
>>
>>
>>     I would have assumed that due to the fact that SlaveLocks are kept per
>>     Slave, this would effectivly distribute the builds among these machines,
>>     with only one build going on per Machine, but instead i still see
>>     all the builds competing for access to machine b1.
>>
>>     Is the availability of locks not considered when selecting buildslave?
>>     Is there probably some other method to make each build go to next free
>>     slave and only queue when all of them are blocked?
>>
>>     Best regards,
>>
>>     Markus
>>
>>
>>
>>
>>     --
>>        Markus Kramer
>>        Senior Engineer Codecs
>>        Multi-Platform Development Manager
>>
>>        MainConcept GmbH
>>        Elisabethstr. 1
>>        52062 Aachen, Germany
>>
>>        Phone: +49 (241) 40108-0
>>        Fax:     +49 (241) 40108-10
>>        Email:   markus.kramer-SLPT3ORPss9aodhZ+FW2PA at public.gmane.org
>>     <mailto:markus.kramer-SLPT3ORPss9aodhZ+FW2PA at public.gmane.org>
>>        Web:    www.mainconcept.com <http://www.mainconcept.com>
>>
>>        District Court Aachen: HRB 14788, Managing Directors: Muzaffer
>>     Beygirci, David J. Richter, Eric Rodli
>>
>>
>>     This message contains confidential, proprietary and/or attorney-client
>>     privileged information or material owned by MainConcept and is intended
>>     only for the addressed named individual(s).  The information contained
>>     in this message may not be copied or distributed without express written
>>     consent by an officer of MainConcept.  If the information contained in
>>     this email is communicated under a confidentiality or non-disclosure
>>     agreement with MainConcept, this email should be considered confidential
>>     or proprietary written communication for the purposes of those
>>     agreements.  Please notify the sender immediately by e-mail if you have
>>     received this e-mail by mistake and delete this e-mail and related
>>     information from your system.
>>
>>
>>     ------------------------------------------------------------------------------
>>     Open Source Business Conference (OSBC), March 24-25, 2009, San
>>     Francisco, CA
>>     -OSBC tackles the biggest issue in open source: Open Sourcing the
>>     Enterprise
>>     -Strategies to boost innovation and cut costs with open source
>>     participation
>>     -Receive a $600 discount off the registration fee with the source
>>     code: SFAD
>>     http://p.sf.net/sfu/XcvMzF8H
>>     _______________________________________________
>>     Buildbot-devel mailing list
>>     Buildbot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
>>     <mailto:Buildbot-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org>
>>     https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>
>>
>>
>>
> 
> 






More information about the devel mailing list