Polling for multiple git branches of the same repository raise RunTimeError

Bug #1284060 reported by Laurent Mignon (Acsone)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP buildbot configurator
Fix Committed
Undecided
Laurent Mignon (Acsone)

Bug Description

It seems that if we want to make a polling for multiple branches of the same Git repository, we must use the 'branches' parameter on the GitPoller. Multiple instances of GitPoller for a same repository is not supported.

2014-02-24 11:54:30+0100 [-] gitpoller: using workdir '/home/buildbot/buildbot/master/gitpoller/59609759f283abdfac2a15b03bc28726f0f83c7e'
2014-02-24 11:54:30+0100 [-] gitpoller: using workdir '/home/buildbot/buildbot/master/gitpoller/3e9e937176223ffe7c083954da1539179b497e3a'
2014-02-24 11:54:30+0100 [-] during reconfig:
 Traceback (most recent call last):
   File "/home/buildbot/buildbot/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1213, in unwindGenerator
     return _inlineCallbacks(None, gen, Deferred())
   File "/home/buildbot/buildbot/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1070, in _inlineCallbacks
     result = g.send(result)
   File "/home/buildbot/buildbot/local/lib/python2.7/site-packages/buildbot/config.py", line 730, in reconfigService
     yield svc.reconfigService(new_config)
   File "/home/buildbot/buildbot/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1213, in unwindGenerator
     return _inlineCallbacks(None, gen, Deferred())
 --- <exception caught here> ---
   File "/home/buildbot/buildbot/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1070, in _inlineCallbacks
     result = g.send(result)
   File "/home/buildbot/buildbot/local/lib/python2.7/site-packages/buildbot/changes/manager.py", line 62, in reconfigService
     src.setServiceParent(self)
   File "/home/buildbot/buildbot/local/lib/python2.7/site-packages/twisted/application/service.py", line 186, in setServiceParent
     self.parent.addService(self)
   File "/home/buildbot/buildbot/local/lib/python2.7/site-packages/twisted/application/service.py", line 303, in addService
     " '%s'" % service.name)
 exceptions.RuntimeError: cannot have two services with same name '<email address hidden>:my_project'

Related branches

Changed in anybox.buildbot.openerp:
assignee: nobody → Laurent Mignon (Acsone) (lmi)
Changed in anybox.buildbot.openerp:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.