[Buildbot-devel] gerrit integration

Kevin Funk kevin.funk at kdab.com
Sun Jan 27 08:38:39 UTC 2013


On Saturday 26 January 2013, 23:43, Jason Edgecombe wrote:
> On 01/26/2013 08:02 PM, Dustin J. Mitchell wrote:
> > On Fri, Jan 25, 2013 at 2:47 PM, Jason Edgecombe
> > 
> > <jason at rampaginggeek.com> wrote:
> >> On 01/23/2013 09:17 PM, Dustin J. Mitchell wrote:
> >>> Try upgrading to 0.8.7?  That bug, at least, has been fixed.
> >>> 
> >>> Dustin
> >> 
> >> That improved things. It builds when a change is submitted to gerrit, but
> >> the status updates aren't going to gerrit.
> > 
> > I'm not terribly familiar with Gerrit, but I believe you need to also
> > set up status_gerrit.py to do that?
> > 
> > Dustin
> 
> I'm getting the following error while using status_gerrit.py:
> 
>        File
> "/usr/lib/python2.6/dist-packages/buildbot-0.8.7p1_259_g02cc94f-py2.6.egg/bu
> ildbot/status/builder.py", line 535, in _buildFinished
>          w.buildFinished(name, s, results)
>        File
> "/usr/lib/python2.6/dist-packages/buildbot-0.8.7p1_259_g02cc94f-py2.6.egg/bu
> ildbot/status/gerrit_status.py", line 126, in buildFinished
>          return self.buildMessage(name, [build], results)
>      exceptions.AttributeError: GerritStatusPush instance has no
> attribute 'buildMessage'
> 
> 
> Thanks,
> Jason

A lot of things a very wrong here

a) gerrit_status.py doesn't exist, just status_gerrit.py
b) lines in the backtrace do not match in status_gerrit.py
c) 'my' status_gerrit.py also has buildFinished() but never references
   buildMessage().

Please check your setup.

Greets

-- 
Kevin Funk | kevin.funk at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions




More information about the devel mailing list