[Buildbot-devel] 0.7.11 regression?

Marcus Lindblom macke at yar.nu
Mon Jul 13 08:21:47 UTC 2009


'dirname' is default there.

Am travelling on holiday so no regular mail list reading is being done. :)

Cheers
/Marcus

(Sent from my mobile device.)

----- Ursprungligt meddelande -----
Från: Dustin J. Mitchell <dustin at zmanda.com>
Skickat: den 13 juli 2009 02:14
Till: Marijn Vriens <marijnvriens at gmail.com>; Marcus Lindblom <macke at yar.nu>
Kopia: buildbot-devel list <buildbot-devel at lists.sourceforge.net>
Ämne: Re: [Buildbot-devel] 0.7.11 regression?

Marcus, it looks like args['branchType'] needs to use
args.get('branchType', 'SOMEDEFAULT') -- what should the default be?

Dustin

On Sun, Jul 12, 2009 at 1:01 PM, Marijn Vriens<marijnvriens at gmail.com> wrote:
> Hi all,
>
> Switched a slave to buildbot 0.7.11 and I got the traceback below.
> "easy_installing" back to 0.7.10p1 seems to fix it. Machine is a ubuntu 9.04
> running on AMD64, buildbot is running in a virtualenv.  The master is still
> running 0.7.10p1.
>
> As I can read the logfile, the build dies at the first step:
>
> from buildbot.steps.source import Mercurial
> f1 = factory.BuildFactory()
> hg = Mercurial("http://protocultura.cl/hg/steward/", mode="export")
> f1.addStep(hg, description="Updating", descriptionDone="Updated")
>
> The traceback from slave/twistd.log is:
>
> 2009-07-12 16:40:13+0000 [Broker,client]
> SlaveBuilder.remote_ping(<SlaveBuilder 'steward-py2.6' at 18400392>)
> 2009-07-12 16:40:13+0000 [Broker,client] <SlaveBuilder 'steward-py2.6' at
> 18400392>.startBuild2009-07-12 16:40:13+0000 [Broker,client] Peer will
> receive following PB traceback:
> 2009-07-12 16:40:13+0000 [Broker,client] Unhandled Error
>         Traceback (most recent call last):          File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/spread/banana.py",
> line 146, in gotItem
>             self.callExpressionReceived(item)          File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/spread/banana.py",
> line 111, in callExpressionReceived
>             self.expressionReceived(obj)          File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py",
> line 514, in expressionReceived
>             method(*sexp[1:])          File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py",
> line 826, in proto_message
>             self._recvMessage(self.localObjectForID, requestID, objectID,
> message, answerRequired, netArgs, netKw)
>         --- <exception caught here> ---
>           File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py",
> line 840, in _recvMessage
>             netResult = object.remoteMessageReceived(self, message, netArgs,
> netKw)
>           File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/spread/flavors.py",
> line 114, in remoteMessageReceived
>             state = method(*args, **kw)
>           File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/buildbot-0.7.11-py2.6.egg/buildbot/slave/bot.py",
> line 168, in remote_startCommand
>             self.command = factory(self, stepId, args)
>           File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/buildbot-0.7.11-py2.6.egg/buildbot/slave/commands.py",
> line 752, in __init__            self.setup(args)
>           File
> "/home/buildslave/slave2.6/pyenv/lib/python2.6/site-packages/buildbot-0.7.11-py2.6.egg/buildbot/slave/commands.py",
> line 2502, in setup
>             self.branchType = args['branchType']
>         exceptions.KeyError: 'branchType'
>
> Regards,
>        Marijn.
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>



-- 
Open Source Storage Engineer
http://www.zmanda.com


More information about the devel mailing list