[Buildbot-devel] something wrong with testpath in master.cfg

Jickae Davis jickaed at gmail.com
Wed Jul 1 09:22:49 UTC 2009


Hi, guys, I'm new to buildbot.
I got an error while starting my buildbot with master.cfg directly renamed
from  the default master.cfg.sample.
Could everyone tell me why?

FYI, here's the output:

Following twistd.log until startup finished..
/usr/lib/python2.4/site-packages/buildbot/scripts/logwatcher.py:48:
PotentialZombieWarning: spawnProcess called, but the SIGCHLD handler is not
installed. This probably means you have not yet called reactor.run, or
called reactor.run(installSignalHandler=0). You will probably never see this
process finish, and it may become a zombie process.
  env=os.environ,
2009-07-01 17:34:15+0800 [-] Log opened.
2009-07-01 17:34:15+0800 [-] twistd 8.2.0 (/usr/bin/python 2.4.1) starting
up.
2009-07-01 17:34:15+0800 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2009-07-01 17:34:15+0800 [-] Creating BuildMaster -- buildbot.version:
0.7.10p1
2009-07-01 17:34:15+0800 [-] loading configuration from
/home/erichou/BuildBot/master/master.cfg
2009-07-01 17:34:15+0800 [-] error while parsing config file
2009-07-01 17:34:15+0800 [-] error during loadConfig
2009-07-01 17:34:15+0800 [-] Unhandled Error
        Traceback (most recent call last):
          File
"/usr/lib/python2.4/site-packages/twisted/scripts/_twistd_unix.py", line
320, in startApplication
            app.startApplication(application, not self.config['no_save'])
          File
"/usr/lib/python2.4/site-packages/twisted/application/app.py", line 714, in
startApplication
            service.IService(application).startService()
          File
"/usr/lib/python2.4/site-packages/twisted/application/service.py", line 278,
in startService
            service.startService()
          File "/usr/lib/python2.4/site-packages/buildbot/master.py", line
438, in startService
            self.loadTheConfigFile()
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/buildbot/master.py", line
494, in loadTheConfigFile
            self.loadConfig(f)
          File "/usr/lib/python2.4/site-packages/buildbot/master.py", line
512, in loadConfig
            exec f in localDict
          File "/home/erichou/BuildBot/master/master.cfg", line 105, in ?
            f1.addStep(Trial(testpath="."))
          File
"/usr/lib/python2.4/site-packages/buildbot/steps/python_twisted.py", line
386, in __init__
            raise ValueError("Must either set testChanges= or provide
tests=")
        exceptions.ValueError: Must either set testChanges= or provide
tests=
2009-07-01 17:34:15+0800 [-] The new config file is unusable, so I'll ignore
it.
2009-07-01 17:34:15+0800 [-] I will keep using the previous config file
instead.
The buildmaster appears to have encountered an error in the master.cfg
config
file during startup. It is probably running with an empty configuration
right
now. Please inspect and fix master.cfg, then restart the buildmaster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090701/a6c6b4bc/attachment.html>


More information about the devel mailing list