[Buildbot-devel] fun race condition in old web front end for buildbot

Thomas Middeldorp thomas at ranzer.geek.nz
Sat Mar 28 21:32:29 UTC 2015


I've noticed when doing a reconfig (on 0.8.8) that the buildmaster will remove 
and immediately re-add our force schedulers. Maybe the buildmaster tried to 
start the build right in between removing and re-adding the scheduler?

You could check your log for these lines before and after the exception (where 
'force' is your scheduler name):
2015-03-29 10:22:17+1300 [-] removing scheduler 'force'
2015-03-29 10:22:17+1300 [-] adding scheduler 'force'

- Thomas


On 29/03/2015 6:55 a.m., Dan Kegel wrote:
> On Fri, Mar 27, 2015 at 8:47 PM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
>> Not quite a race condition, but a bug nonetheless.  It looks like this
>> occurs when the force scheduler name doesn't correspond to any
>> configured scheduler.
>>
>> Any idea why that might have been the case when the failure occurred
>> and not later?
> Not offhand.  I may have removed a different builder on that restart,
> but I think the one I was forcing a build on wasn't affected.
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel





More information about the devel mailing list