Opened 5 years ago

Last modified 5 years ago

#3428 new support-request

Multiple GerritStatusPush after reconfiguring buildbot

Reported by: RockHed Owned by:
Priority: major Milestone: undecided
Version: 0.8.12 Keywords: Gerrit


I used GerritStatusPush? pretty much as per the example. In master.cfg I have: cstatus? = [] cstatus?.append(GerritStatusPush?(server, user, reviewCB=myReviewCB, reviewArg=myReviewArg))

Everything seems to work when I first start buildmaster, however, when I run buildbot reconfig, it starts duplicating status pushes. For example, if I reconfigure once, I'll get several two pushes for each review. Furthermore, it seems that when I change the review CB function, I would get one push with the original function, and one with the new function. So if the original function had some issue that I've fixed, it continues to try and send reviews with that error until I stop/start buildmaster again.

Change History (2)

comment:1 Changed 5 years ago by RockHed

Logging in via manhole, if I look at master.status.watchers it lists all those objects, instead of just the one that I am trying to re-use. Is this a limitation of reconfig, or is there a proper/different/better way to do this so that the list doesn't grow indefinitely?

comment:2 Changed 5 years ago by krf

+1. Saw that, too.

Note: See TracTickets for help on using tickets.