[Buildbot-devel] assertion error on changes/manager.py

Jorge Gonzalez gjorge at google.com
Tue Jun 25 21:35:50 UTC 2013


I'm getting an assertion error from
buildbot/changes/manager.py<https://github.com/buildbot/buildbot/blob/master/master/buildbot/changes/manager.py#L65>
and
frankly I can't figure out why. Any hints on why this assertion might fail
at runtime?
I am in fact testing out a new PollingChangeSource. Is there anything in
such implementation that could be causing the manager to choke?

For reference, this is the traceback I get:

-------------------------------
2013-06-25 13:57:23-0700 [-] while starting BuildMaster
Traceback (most recent call last):
  File
"/usr/local/google/home/mosaic-role/python-sandbox/local/lib/python2.7/site-packages/twisted/internet/defer.py",
line 1014, in unwindGenerator
    return _deferGenerator(f(*args, **kwargs), Deferred())
  File
"/usr/local/google/home/mosaic-role/python-sandbox/local/lib/python2.7/site-packages/twisted/internet/defer.py",
line 916, in _deferGenerator
    result = next(g)
  File
"/usr/local/google/home/mosaic-role/python-sandbox/local/lib/python2.7/site-packages/buildbot/config.py",
line 718, in reconfigService
    d = svc.reconfigService(new_config)
  File
"/usr/local/google/home/mosaic-role/python-sandbox/local/lib/python2.7/site-packages/twisted/internet/defer.py",
line 1014, in unwindGenerator
    return _deferGenerator(f(*args, **kwargs), Deferred())
--- <exception caught here> ---
  File
"/usr/local/google/home/mosaic-role/python-sandbox/local/lib/python2.7/site-packages/twisted/internet/defer.py",
line 916, in _deferGenerator
    result = next(g)
  File
"/usr/local/google/home/mosaic-role/python-sandbox/local/lib/python2.7/site-packages/buildbot/changes/manager.py",
line 68, in reconfigService
    assert num_sources == len(new_config.change_sources)
exceptions.AssertionError:
-------------------------------


Thanks
Jorge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130625/a84a3027/attachment.html>


More information about the devel mailing list