[Buildbot] #2835: v0.8.6p1: class buildbot.steps.source.git.Git: keywords mode and method.

Buildbot trac trac at buildbot.net
Fri Jul 11 21:30:02 UTC 2014


#2835: v0.8.6p1: class buildbot.steps.source.git.Git: keywords mode and method.
----------------------+-----------------------
Reporter:  afoxworth  |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  0.8.6p1    |   Keywords:
----------------------+-----------------------
 Buildbot v0.8.6p1:

 When mode set to full, and, method set to fresh, the following error
 occurs. I want to only remove built-objects from an existing build tree.
 when mode is set to "clobber" and method keyword not set, no error
 condition. But this removes the entire build tree. What settings in
 "*-master.cfg" will allow me to only remove built-objects from existing
 build tree?


     gitChipTc1 = Git(name="chip-tc1", description="Git chip-tc1",
 repourl='git at git:chip_tc1.git', branch='master', mode='full',
 method='fresh', workdir='chip_tc1', progress=True, shallow=True);

 Error message:

 =====================

 (buildbot)buildbot at ci-buildbot-vm1:~/multi-chip-master/config/multi-chip-
 master$ buildbot --verbose checkconfig multi-chip-master.cfg
 2014-07-11 11:47:26-0700 [-] Log opened.
 2014-07-11 11:47:26-0700 [-] using set_wakeup_fd
 2014-07-11 11:47:26-0700 [-] Loading configuration from '/home/buildbot
 /multi-chip-master/config/multi-chip-master/multi-chip-master.cfg'
 2014-07-11 11:47:26-0700 [-] Unhandled Error
                 Traceback (most recent call last):
                   File "/home/buildbot/buildbot/bin/buildbot", line 4, in
 <module>
                     runner.run()
                   File "/home/buildbot/buildbot/local/lib/python2.7/site-
 packages/buildbot/scripts/runner.py", line 1350, in run
                     if not doCheckConfig(so):
                   File "/home/buildbot/buildbot/local/lib/python2.7/site-
 packages/buildbot/scripts/runner.py", line 1071, in doCheckConfig
                     return cl.load(quiet=quiet)
                   File "/home/buildbot/buildbot/local/lib/python2.7/site-
 packages/buildbot/scripts/checkconfig.py", line 29, in load
                     self.basedir, self.configFileName)
                 --- <exception caught here> ---
                   File "/home/buildbot/buildbot/local/lib/python2.7/site-
 packages/buildbot/config.py", line 144, in loadConfig
                     exec f in localDict
                   File "/home/buildbot/multi-chip-master/config/multi-
 chip-master/multi-chip-master.cfg", line 208, in <module>
                     gitChipTc1 = Git(name="chip-tc1", description="Git
 chip-tc1", repourl='git at git:chip_tc1.git', branch='master', mode='full',
 method='fresh', workdir='chip_tc1', progress=True, shallow=True);
                   File "/home/buildbot/buildbot/local/lib/python2.7/site-
 packages/buildbot/steps/source/oldsource.py", line 871, in __init__
                     Source.__init__(self, **kwargs)
                   File "/home/buildbot/buildbot/local/lib/python2.7/site-
 packages/buildbot/steps/source/oldsource.py", line 172, in __init__
                     LoggingBuildStep.__init__(self, **kwargs)
                   File "/home/buildbot/buildbot/local/lib/python2.7/site-
 packages/buildbot/process/buildstep.py", line 749, in __init__
                     BuildStep.__init__(self, *args, **kwargs)
                   File "/home/buildbot/buildbot/local/lib/python2.7/site-
 packages/buildbot/process/buildstep.py", line 435, in __init__
                     raise TypeError(why)
                 exceptions.TypeError: <buildbot.steps.source.oldsource.Git
 instance at 0x28c8368>.__init__ got unexpected keyword argument(s)
 ['method']

 Thanks,
    -Anthony Foxworth

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


More information about the bugs mailing list