[Buildbot-devel] Buildslave status mismatch between web/IRC

Ian Peters-Campbell mahatmamanic at gmail.com
Tue Feb 24 17:50:54 UTC 2009


Victory :)

Ok so I just verified that the way to fix the problem is to manually create
the builder's builddir path on the buildslave and then restart both the
buildmaster and the buildslave (probably just the buildslave, but I
restarted both.)

It might be handy if buildbot could either
A) automagically create the relative builddir for a builder if it does not
exist or
B) Do some more granular checking as to the buildslave problem rather than
simply reporting that the buildslave is offline

I'm no Twisted expert so I am not sure how much help I would be in
implementing something like that, but I'd be happy to try and cut my teeth
on it if it's possible and someone could point me to the right portion of
the code to look at. :)

Ian


On Tue, Feb 24, 2009 at 6:20 AM, Ian Peters-Campbell <mahatmamanic at gmail.com
> wrote:

> Well, I have a single buildmaster running on a private network, with a
> private, dedicated IRC server.  The IRC bots have names of <Project>Bot and
> live in #<Project> chat rooms.  Each bot has a category of <Project> and
> each builder within the project (generally Integration, QA, and Release)
> also has a category of <Project>
>
> When queried with something like ProjectBot: list builders the bot reponds
> with something along the lines of:
>
> Project-debug<offline> Project-release<offline>
> Project-integration<offline>
>
> And if I attempt to force a build it throws an interfaces.NoSlave exception
> from within IRCContact.commandFORCE
>
> Meanwhile, on the waterfall page the build slaves are reporting in, map to
> builders properly, and are listing the admin/hardware info I would expect.
>
> A possible solution came to me when I woke up this morning that i will
> explore when i get into work.  I am wondering if the builder is reporting
> offline if I have not manually created its builddir on at least one of its
> online buildslaves,   For some reason  Ihave a niggling suspicion this
> morning that if I manually create those build directories the builders wil
> start recognizing that they have valid slaves and will come online.  Once i
> can check that out at work I will report in with my results :)
>
> Ian
>
>
>
> On Mon, Feb 23, 2009 at 11:09 PM, Sebastian Kuzminsky <seb at highlab.com>wrote:
>
>> Ian Peters-Campbell wrote:
>>
>>> I've been running into an odd thing lately, where it seems that I have my
>>> build slaves configured correctly, and the waterfall page shows the
>>> buildslaves are online and attached to the proper builders, but my IRC
>>> bots
>>> are reporting my builders as being offline.  When I attempt to order a
>>> build
>>> they explain that it is because I don't have any buildslaves up.
>>>
>>> I'm certain that this is some configuration tweak I have wrong, and I
>>> know
>>> I'll be kicking myself when I know what the problem is.  I'm hoping
>>> someone
>>> has some insight as to what I am doing wrong.
>>>
>>
>> Do you mean that you're talking on IRC to the buildmaster's IRC bot, and
>> it doesnt know about your buildslaves?
>>
>> If that's the case, are you maybe talking to the wrong buildmaster? There
>> is a bunch of them on IRC.  Does your buildbot have an undistinguished IRC
>> nick like "buildbot"?
>>
>>
>> --
>> Sebastian Kuzminsky
>> maybe you should be spending more time thinking about your monkey
>> <http://www.youtube.com/watch?v=ZT6qHbEL68M>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090224/1b33bea5/attachment.html>


More information about the devel mailing list