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

Jorge Gonzalez gjorge at google.com
Thu Jun 27 07:15:40 UTC 2013


I found why. The reason was that my PollingChangeSource wasn't implementing
__hash__. And the manager.py was putting two instances of my class into a
set before adding them to the master. My instances somehow (haven't checked
why) must have generated the same hash, and only one of them was therefore
being considered, although my config had a sequence of two of them.

Jorge


On Tue, Jun 25, 2013 at 5:58 PM, Dustin J. Mitchell <dustin at v.igoro.us>wrote:

> That's definitely weird!
>
> That's comparing the lengths of two lists as a basic "these should be
> the same" check.  Try printing out their contents to very that they
> are different, and what's different.  That should lead you to the
> cause.
>
> Dustin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130627/b12360a0/attachment.html>


More information about the devel mailing list