[Buildbot-commits] [Buildbot] #2195: two reconfigs required for new schedulers

Buildbot nobody at buildbot.net
Thu Feb 9 23:41:15 UTC 2012


#2195: two reconfigs required for new schedulers
-------------------+-------------------
Reporter:  dustin  |      Owner:
    Type:  defect  |     Status:  new
Priority:  major   |  Milestone:  0.8.6
 Version:  master  |   Keywords:
-------------------+-------------------
 If you add new schedulers and builders for them at the same time, you need
 to reconfig twice:

 {{{
 (sandbox)buildbot at ds0210:~/metabuildbot/metabbotcfg$ buildbot reconfig
 ~/metabuildbot/
 sending SIGHUP to process 32287
 2012-02-10 00:39:08+0100 [-] beginning configuration update
 2012-02-10 00:39:08+0100 [-] Loading configuration from
 '/home/buildbot/metabuildbot/master.cfg'
 2012-02-10 00:39:08+0100 [-] WARNING: the name 'Scheduler' is deprecated;
 use buildbot.schedulers.basic.SingleBranchScheduler instead (note that
 this may require you to change your import statement)
 2012-02-10 00:39:08+0100 [-] Notify events {'successToFailure': 1,
 'failureToSuccess': 1}
 2012-02-10 00:39:08+0100 [-] builder(s) slave-tomprince-hermes-gentoo-1,
 pypy17-tw1100, pypy17-tw0900, pypy18-tw0810, pypy17-tw0820, pypy18-tw1100,
 pypy18-tw1020, pypy17-tw1020, pypy18-tw0820, pypy17-tw0810, pypy18-tw0900
 have no schedulers to drive them
 2012-02-10 00:39:08+0100 [-] reconfig aborted without making any changes

 Reconfiguration failed. Please inspect the master.cfg file for errors,
 correct them, then try 'buildbot reconfig' again.

 (sandbox)buildbot at ds0210:~/metabuildbot/metabbotcfg$ buildbot reconfig
 ~/metabuildbot/
 sending SIGHUP to process 32287
 2012-02-10 00:39:20+0100 [-] beginning configuration update
 2012-02-10 00:39:20+0100 [-] Loading configuration from
 '/home/buildbot/metabuildbot/master.cfg'
 2012-02-10 00:39:20+0100 [-] WARNING: the name 'Scheduler' is deprecated;
 use buildbot.schedulers.basic.SingleBranchScheduler instead (note that
 this may require you to change your import statement)
 2012-02-10 00:39:20+0100 [-] Notify events {'successToFailure': 1,
 'failureToSuccess': 1}
 2012-02-10 00:39:20+0100 [-] adding 1 new slaves, removing 0
 2012-02-10 00:39:20+0100 [-] adding 11 new builders, removing 0
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy18-tw1100/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy18-tw1100 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x2f27998> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy18-tw0820/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy18-tw0820 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x2f29e60> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/slave-tomprince-hermes-gentoo-1/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder slave-tomprince-hermes-gentoo-1
 in category slave
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x336dcb0> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy17-tw0900/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy17-tw0900 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x2ffc128> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy18-tw1020/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy18-tw1020 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x2ffc6c8> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy17-tw0810/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy17-tw0810 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x2ffc950> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy18-tw0810/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy18-tw0810 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x37af560> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy17-tw1100/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy17-tw1100 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x2fe2d40> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy17-tw0820/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy17-tw0820 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x2fe2b48> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy17-tw1020/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy17-tw1020 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x37b4758> added
 2012-02-10 00:39:20+0100 [-] trying to load status pickle from
 /home/buildbot/metabuildbot/pypy18-tw0900/builder
 2012-02-10 00:39:20+0100 [-] no saved status pickle, creating a new one
 2012-02-10 00:39:20+0100 [-] added builder pypy18-tw0900 in category
 config
 2012-02-10 00:39:20+0100 [-] [Contact] Builder
 <buildbot.status.builder.BuilderStatus instance at 0x37b4950> added
 2012-02-10 00:39:21+0100 [Broker,13,99.89.149.20] removing scheduler 'all'
 2012-02-10 00:39:21+0100 [Broker,13,99.89.149.20] adding scheduler 'all'
 2012-02-10 00:39:21+0100 [-] (TCP Port 8010 Closed)
 2012-02-10 00:39:21+0100 [-] Stopping factory
 <buildbot.status.web.baseweb.RotateLogSite instance at 0x3ca3290>
 2012-02-10 00:39:21+0100 [-] buildbot.status.web.baseweb.RotateLogSite
 starting on 8010
 2012-02-10 00:39:21+0100 [-] Starting factory
 <buildbot.status.web.baseweb.RotateLogSite instance at 0x15929b48>
 2012-02-10 00:39:21+0100 [-] Setting up http.log rotating 10 files of
 1000000 bytes each
 2012-02-10 00:39:21+0100 [-] WebStatus using
 (/home/buildbot/metabuildbot/public_html)
 2012-02-10 00:39:21+0100 [-] Starting factory
 <buildbot.status.words.IrcStatusFactory instance at 0x157ae638>
 2012-02-10 00:39:21+0100 [-] configuration update complete

 Reconfiguration appears to have completed successfully.

 (sandbox)buildbot at ds0210:~/metabuildbot/metabbotcfg$
 }}}

 This was in response to
 https://github.com/buildbot/metabbotcfg/pull/1/files

 It's on master - Buildbot version: 0.8.5-374-g5c794af.

 This has been the case for a few versions, but really should be fixed up
 before 0.8.6, given the new config interface has gone in.

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


More information about the Commits mailing list