[Buildbot-commits] [SPAM] [Buildbot] #772: hgbuildbot hook error

Buildbot buildbot-devel at lists.sourceforge.net
Sat Apr 3 01:38:01 UTC 2010


#772: hgbuildbot hook error
--------------------+-------------------------------------------------------
Reporter:  ashcrow  |       Owner:                  
    Type:  defect   |      Status:  new             
Priority:  minor    |   Milestone:  undecided       
 Version:  0.7.12   |    Keywords:  mercurial, hooks
--------------------+-------------------------------------------------------
 Error when executing hook:
 {{{
 python_phishtank_master at mogo python-phishtank]$ hg pull -r 3
 pulling from http://bitbucket.org/ashcrow/python-phishtank/
 searching for changes
 adding changesets
 adding manifests
 adding file changes
 added 1 changesets with 1 changes to 1 files
 rev 512f43bea6ec1be1ff240a56a6b92d37dfcc35f1 sent
 change(s) NOT sent, something went wrong:
 [Failure instance: Traceback from remote host -- Traceback (most recent
 call last):
   File "/usr/lib/python2.4/site-
 packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/spread/pb.py", line
 1336, in remote_respond
     d = self.portal.login(self, mind, IPerspective)
   File "/usr/lib/python2.4/site-
 packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/cred/portal.py", line
 115, in login
     return maybeDeferred(self.checkers[i].requestAvatarId, credentials
   File "/usr/lib/python2.4/site-
 packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/internet/defer.py",
 line 190, in addCallback
     callbackKeywords=kw)
   File "/usr/lib/python2.4/site-
 packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/internet/defer.py",
 line 181, in addCallbacks
     self._runCallbacks()
 --- <exception caught here> ---
   File "/usr/lib/python2.4/site-
 packages/Twisted-9.0.0-py2.4-linux-i686.egg/twisted/internet/defer.py",
 line 323, in _runCallbacks
     self.result = callback(self.result, *args, **kw)
   File "/usr/lib/python2.4/site-
 packages/buildbot-0.7.12-py2.4.egg/buildbot/master.py", line 349, in
 requestAvatar
     p = self.botmaster.getPerspective(avatarID)
   File "/usr/lib/python2.4/site-
 packages/buildbot-0.7.12-py2.4.egg/buildbot/master.py", line 239, in
 getPerspective
     return self.slaves[slavename]
 exceptions.KeyError: 'change'
 ]
 (run 'hg update' to get a working copy)
 }}}

 For the heck of it I threw in a print statement to see what the change
 looked like coming from the hook and it seemed normal enougn to me:

 {{{
 {'username': "Steve 'Ashcrow' Milner <stevem at example.com>",
 'files': ['setup.py', 'src/phishtank/__init__.py',
 'src/phishtank/transport.py',
 'tests/__init__.py'], 'master': '127.0.0.1:9998',
 'comments': 'added simple test and using an agent string',
 'revision': 'd8ebc6a32286f011d9306f840380988c2fabb2f8'}

 }}}


 In repo configuration
 {{{
 [paths]
 default = http://bitbucket.org/ashcrow/python-phishtank/

 [hooks]
 changegroup.buildbot = python:buildbot.changes.hgbuildbot.hook

 [hgbuildbot]
 master = 127.0.0.1:9998
 }}}

-- 
Ticket URL: <http://buildbot.net/trac/ticket/772>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list