[Buildbot-commits] [Buildbot] #2345: transient reconfig failure

Buildbot nobody at buildbot.net
Sun Aug 12 14:50:27 UTC 2012


#2345: transient reconfig failure
--------------------+----------------------
Reporter:  dustin   |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  0.8.7
 Version:  0.8.6p1  |   Keywords:  reconfig
--------------------+----------------------
 First:
 {{{
 2012-08-12 16:48:12+0200 [-] Loading configuration from
 '/home/buildbot/metabuildbot/master.cfg'
 2012-08-12 16:48:12+0200 [-] error while parsing config file:
         Traceback (most recent call last):
           File
 "/home/buildbot/metabuildbot/src/master/buildbot/master.py", line 239, in
 reconfig
             d = self.doReconfig()
           File "/home/buildbot/sandbox/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 1141, in unwindGenerator
             return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
           File "/home/buildbot/sandbox/lib/python2.6/site-
 packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
             result = g.send(result)
           File
 "/home/buildbot/metabuildbot/src/master/buildbot/master.py", line 264, in
 doReconfig
             self.configFileName)
         --- <exception caught here> ---
           File
 "/home/buildbot/metabuildbot/src/master/buildbot/config.py", line 149, in
 loadConfig
             exec f in localDict
           File "/home/buildbot/metabuildbot/master.cfg", line 5, in
 <module>
             reload(builders)
           File "/home/buildbot/metabuildbot/metabbotcfg/builders.py", line
 335, in <module>
             builders.append({
           File "/home/buildbot/metabuildbot/metabbotcfg/builders.py", line
 289, in mkghostfactory
             description="versions",
         exceptions.ValueError: unsupported format character '/' (0x2f) at
 index 228

 2012-08-12 16:48:12+0200 [-] error while parsing config file: unsupported
 format character '/' (0x2f) at index 228 (traceback in logfile)
 2012-08-12 16:48:12+0200 [-] reconfig aborted without making any changes
 }}}
 then, fixed that typo, and
 {{{
 2012-08-12 16:48:28+0200 [-] beginning configuration update
 2012-08-12 16:48:28+0200 [-] Loading configuration from
 '/home/buildbot/metabuildbot/master.cfg'
 2012-08-12 16:48:28+0200 [-] WARNING: the name 'Scheduler' is deprecated;
 use buildbot.schedulers.basic.SingleBranchScheduler instead (note that
 this may require you to change your import statement)
 2012-08-12 16:48:28+0200 [-] WARNING: the name 'Scheduler' is deprecated;
 use buildbot.schedulers.basic.SingleBranchScheduler instead (note that
 this may require you to change your import statement)
 2012-08-12 16:48:28+0200 [-] builder(s) db-postgres, www, py27-tw1020,
 py27-tw1100, py27-sam061, py25-tw1110, py26-tw1110, py27-sa068,
 py25-tw0900, os-winxp-msys, py27-sam071, py25-tw1020, py27-tw1110,
 py27-sa070, py27-sam072, py26-tw1100, py25-tw1100, os-osx-lion,
 py27-tw0900, py26-tw0900, py27-sa060, py27-sa074, os-win7-cygwin,
 py26-tw1200, py27-tw1200, py26-tw1020, py25-tw1200, db-mysql have no
 schedulers to drive them
 2012-08-12 16:48:28+0200 [-] reconfig aborted without making any changes

 Reconfiguration failed. Please inspect the master.cfg file for errors,
 correct them, then try 'buildbot reconfig' again.
 }}}
 but another reconfig succeeds:
 {{{
 (sandbox)buildbot at ds0210:~/metabuildbot/metabbotcfg$ buildbot reconfig
 ~/metabuildbot/
 sending SIGHUP to process 3546
 2012-08-12 16:48:35+0200 [-] beginning configuration update
 2012-08-12 16:48:35+0200 [-] Loading configuration from
 '/home/buildbot/metabuildbot/master.cfg'
 2012-08-12 16:48:35+0200 [-] WARNING: the name 'Scheduler' is deprecated;
 use buildbot.schedulers.basic.SingleBranchScheduler instead (note that
 this may require you to change your import statement)
 2012-08-12 16:48:35+0200 [-] WARNING: the name 'Scheduler' is deprecated;
 use buildbot.schedulers.basic.SingleBranchScheduler instead (note that
 this may require you to change your import statement)
 2012-08-12 16:48:36+0200 [-] removing scheduler 'force'
 2012-08-12 16:48:36+0200 [-] adding scheduler 'force'
 2012-08-12 16:48:36+0200 [-] (TCP Port 8010 Closed)
 2012-08-12 16:48:36+0200 [-] Stopping factory
 <buildbot.status.web.baseweb.RotateLogSite instance at 0x402e9e0>
 2012-08-12 16:48:36+0200 [-] WebStatus using
 (/home/buildbot/metabuildbot/public_html)
 2012-08-12 16:48:36+0200 [-] buildbot.status.web.baseweb.RotateLogSite
 starting on 8010
 2012-08-12 16:48:36+0200 [-] Starting factory
 <buildbot.status.web.baseweb.RotateLogSite instance at 0x2162e0e0>
 2012-08-12 16:48:36+0200 [-] Setting up http.log rotating 10 files of
 1000000 bytes each
 2012-08-12 16:48:36+0200 [-] Starting factory
 <buildbot.status.words.IrcStatusFactory instance at 0x1f7004d0>
 2012-08-12 16:48:36+0200 [-] configuration update complete
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2345>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list