[users at bb.net] Gerrit Component Not Found

Justin Fehr Justin.Fehr at Kinze.com
Wed Oct 28 21:25:32 UTC 2015


Hi all,

I am trying to set up buildbot to work with gerrit. While working on the config file for master I get the following error from the checkconfig:

error while parsing config file:
Traceback (most recent call last):
  File "./bin/buildbot", line 4, in <module>
    runner.run()
  File "/home/buildbot/Documents/buildbot/bb-master/local/lib/python2.7/site-packages/buildbot/scripts/runner.py", line
763, in run
    sys.exit(subcommandFunction(subconfig))
  File "/home/buildbot/Documents/buildbot/bb-master/local/lib/python2.7/site-packages/buildbot/scripts/checkconfig.py",
line 55, in checkconfig
    return _loadConfig(basedir=basedir, configFile=configFile, quiet=quiet)
  File "/home/buildbot/Documents/buildbot/bb-master/local/lib/python2.7/site-packages/buildbot/scripts/checkconfig.py",
line 26, in _loadConfig
    basedir, configFile)
--- <exception caught here> ---
  File "/home/buildbot/Documents/buildbot/bb-master/local/lib/python2.7/site-packages/buildbot/config.py", line 156, in
loadConfig
    exec f in localDict
  File "master/master.cfg", line 68, in <module>
    kinzebuildfactory.addStep(steps.Gerrit(repourl=gerrit_repo, mode="full", retry=[60,60],timeout=3600))
  File "/home/buildbot/Documents/buildbot/bb-master/local/lib/python2.7/site-packages/buildbot/plugins/db.py", line 238,
in __getattr__
    raise AttributeError(str(err))
exceptions.AttributeError: Unknown component name: Gerrit

Configuration Errors:
  error while parsing config file: Unknown component name: Gerrit (traceback in logfile)

I am setting it up as shown in the example gerrit file found here: https://github.com/buildbot/buildbot/blob/master/master/docs/examples/git_gerrit.cfg specifically line 80 of the example corresponds to the problematic line 68 in my file.

Not sure where to go from here.

Thanks,

J


________________________________

Electronic Privacy Notice: This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is confidential and proprietary in nature. If you are not the intended recipient, please be advised that retaining, using, copying, distributing, or otherwise disclosing this information is strictly prohibited. Instead, please reply to the sender that you have received this communication in error, and then immediately delete and/or destroy your copy. Thank you for your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20151028/4c8c63ab/attachment.html>


More information about the users mailing list