Ticket #760 (closed support-request: worksforme)

Opened 23 months ago

Last modified 21 months ago

Traceback if slavebuilddir is not set

Reported by: sascha_silbe Owned by:
Priority: major Milestone: undecided
Version: 0.7.12 Keywords:
Cc:

Description

The documentation for both  0.7.12 and  latest describes the slavebuilddir attribute as optional, but not setting it causes buildbot to break:

  File "/srv/www-sugarlabs/buildbot/install/lib/python2.6/site-packages/Twisted-10.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", line 371, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/srv/www-sugarlabs/buildbot/jhbuild/jhbuild/commands/bot.py", line 672, in <lambda>
    d.addCallback(lambda res: self.loadConfig_Builders(builders))
  File "/srv/www-sugarlabs/buildbot/install/lib/python2.6/site-packages/buildbot-0.7.12-py2.6.egg/buildbot/master.py", line 925, in loadConfig_Builders
    builder = Builder(data, statusbag)
  File "/srv/www-sugarlabs/buildbot/install/lib/python2.6/site-packages/buildbot-0.7.12-py2.6.egg/buildbot/process/builder.py", line 356, in __init__
    self.slavebuilddir = setup['slavebuilddir']
exceptions.KeyError: 'slavebuilddir'

Attachments

buildbot-0.7.12.slavebuilddir-fix.patch Download (1.6 KB) - added by sascha_silbe 23 months ago.
make slavebuilddir default to builddir setting, as documented

Change History

Changed 23 months ago by sascha_silbe

make slavebuilddir default to builddir setting, as documented

comment:1 Changed 23 months ago by dustin

Can you paste the relevant portion of your config? Are you using BuilderConfig? or specifying config with dictionaries?

comment:2 Changed 21 months ago by dustin

  • Type changed from defect to support-request

comment:3 Changed 21 months ago by dustin

  • Status changed from new to closed
  • Resolution set to worksforme

reopen if necessary.

Note: See TracTickets for help on using tickets.