[Buildbot-devel] gitpoller repo poll failed

Hendryk Bockelmann bockelmann at dkrz.de
Wed Nov 10 15:29:05 UTC 2010


Due to a change of our repo from SVN to Git, I needed to replace my old 
SVNPoller in buildbot 0.8.2 by a GitPoller ... but it won't work.
My master.cfg is like:

from buildbot.changes.gitpoller import GitPoller
from buildbot.changes.svnpoller import SVNPoller

git_poller = GitPoller('ssh://gitosis@host.domain.de/repo.git',
                        project='test_project_1',
                        branch='master',
                        workdir='gitpoller-test-project')

svn_poller = SVNPoller('http://svn.domain.de/svn/repo',
                        project='test_project_2',
                        svnuser='user',
                        svnpasswd='password')

c['change_source'] = [git_poller, svn_poller]

and I get the following error in log:

2010-11-10 16:05:43+0100 [-] gitpoller: polling git repo at 
ssh://gitosis@host.domain.de/repo.git
2010-11-10 16:05:44+0100 [-] gitpoller: repo poll failed: [Failure 
instance: Traceback: exceptions.EnvironmentError: call '['log', 
'HEAD..FETCH_HEAD',
  '--format=%H']' exited with error '128', output: ''
         
/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/internet/_baseprocess.py:60:maybeCallProcessEnded
         
/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/internet/utils.py:89:processEnded
         
/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/internet/defer.py:318:callback
         
/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/internet/defer.py:424:_startRunCallbacks
         --- <exception caught here> ---
         
/usr/lib/python2.4/site-packages/Twisted-10.1.0-py2.4-linux-x86_64.egg/twisted/internet/defer.py:441:_runCallbacks
         
/usr/lib/python2.4/site-packages/buildbot-0.8.2-py2.4.egg/buildbot/changes/gitpoller.py:197:_process_changes
         
/usr/lib/python2.4/site-packages/buildbot-0.8.2-py2.4.egg/buildbot/changes/gitpoller.py:143:_get_git_output
         ]
2010-11-10 16:05:44+0100 [-] gitpoller: catching up to FETCH_HEAD

On the shell a git clone is no problem at all. What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20101110/a961ce8e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5844 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://buildbot.net/pipermail/devel/attachments/20101110/a961ce8e/attachment.bin>


More information about the devel mailing list