[Buildbot-devel] Problem using GitPoller

Brad Hards bradh at frogmouth.net
Thu Jul 29 22:08:18 UTC 2010


Hi,

I have a working buildbot (http://buildbot.openchange.org) that I'd like to 
extend to test not just the OpenChange code, but also the latest version of 
Samba (since OpenChange depends on it).

I'm using buildbot-0.8.0, and borrowed the "gitpoller.py" from the latest git 
tree. [I also tried just using the latest git tree, but had other issues, and 
would prefer to stay with 0.8.0 at least for now]

The problem is that the git changes are recognised, but builds are not being 
triggered by the git changes. Changes from the svn side work fine.

All I see in the logs is entries like:
2010-07-29 14:52:56-0400 [-] gitpoller: processing 2 changes
2010-07-29 14:52:56-0400 [-] adding change, who Andreas Schneider
        , 1 files, rev=None, branch=master, repository=, comments s3-spoolss: 
Fixed debug statements and increased level.
        
        , category None
2010-07-29 14:52:56-0400 [-] adding change, who Andreas Schneider
        , 1 files, rev=None, branch=master, repository=, comments s3-spoolss: 
Increased debug level for trace output.
        
        , category None
2010-07-29 14:52:56-0400 [-] gitpoller: catching up to FETCH_HEAD


An extract from the master.cfg is provided below:

svnrepository='https://svn.openchange.org/openchange/trunk'
mirrorrepository='http://svnmirror.openchange.org/openchange/trunk'
sambagitrepository='git://git.samba.org/samba.git'

from buildbot.changes.svnpoller import SVNPoller
svnpoller = SVNPoller(mirrorrepository, pollinterval=300)

from gitpoller import GitPoller
sambagitpoller = GitPoller(repourl=sambagitrepository)

c['change_source'] = [svnpoller, sambagitpoller]


from buildbot.scheduler import Scheduler
c['schedulers'] = []
c['schedulers'].append(Scheduler(name="quick", branch=None,
                                 treeStableTimer=2*60,
                                 builderNames=["fedora1-quick"]))
c['schedulers'].append(Scheduler(name="full", branch=None,
                                 treeStableTimer=10*60,
                                 builderNames=["fedora1-full", "fedora1-
install", "fedora1-fullicc",
                                               "freebsd72", "freebsd8", 
"osol1-full", "kubuntu1004-server"]))


Any suggestions or ideas?

Brad




More information about the devel mailing list