[Buildbot-devel] problems with SVNPoller and branches
Andrew Lawrence
andrew at parascale.com
Tue Apr 28 01:11:54 UTC 2009
I have an existing buildbot configuration that I'm attempting to update to
watch multiple branches. We're using Subversion for our source control, and
our source repository is laid out just like the first example in the
documentation for SVNPoller (project/branchname/filepath). My old change
source and scheduler look like this:
c['change_source'] = SVNPoller(svnurl="svn+ssh://buildbot@<hostname
deleted>/data/svn/dev/sm40/trunk")
c['schedulers'].append(Scheduler(name="all", branch=None,
treeStableTimer=5*60,
builderNames=["full-linux-32bit"]))
I'm trying to change from that to this:
c['change_source'] = SVNPoller(svnurl="svn+ssh://buildbot@<hostname
deleted>/data/svn/dev/sm40/", split_file=split_file_branches)
c['schedulers'].append(Scheduler(name="all", branch="trunk",
treeStableTimer=5*60,
builderNames=["full-linux-32bit"]))
c['schedulers'].append(Scheduler(name="sp2", branch="branches/ga_sp2",
treeStableTimer=5*60,
builderNames=["branch-sp2-32bit"]))
The old version was working. When I try the new version, it sees source
checkins, but does not realize that they're part of the branches I'm
interested in ("trunk" and "branches/ga_sp2"), so no builds are started. I
see this error in twistd.log:
2009-04-27 16:30:07-0700 [-] SVNPoller polling
2009-04-27 16:30:08-0700 [-] svnPoller: _process_changes 5020 .. 5022
2009-04-27 16:30:08-0700 [-] Adding change revision 5021
2009-04-27 16:30:08-0700 [-] Adding change revision 5022
2009-04-27 16:30:08-0700 [-] adding change, who andrew, 2 files, rev=5021,
branch=None, comments Checkin buildbot's SP2 test config files.
, category None
2009-04-27 16:30:08-0700 [-] <Scheduler 'all' at -1214846420> ignoring
off-branch <buildbot.changes.changes.Change instance at 0x8958f2c>
2009-04-27 16:30:08-0700 [-] <Scheduler 'sp2' at -1214845940> ignoring
off-branch <buildbot.changes.changes.Change instance at 0x8958f2c>
2009-04-27 16:30:08-0700 [-] SVNPoller failed
2009-04-27 16:30:08-0700 [-] _finished : [Failure instance: Traceback:
exceptions.TypeError: int argument required
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:312:_startRunCallbacks
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:328:_runCallbacks
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:289:_continue
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:285:unpause
--- <exception caught here> ---
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:328:_runCallbacks
/usr/lib/python2.4/site-packages/buildbot/changes/svnpoller.py:449:submit_changes
/usr/lib/python2.4/site-packages/buildbot/changes/changes.py:224:addChange
/usr/lib/python2.4/site-packages/buildbot/master.py:926:addChange
/usr/lib/python2.4/site-packages/buildbot/scheduler.py:601:addChange
]
Is there something I'm doing wrong in the configuration, or is this a bug?
thanks,
--Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090427/40771b69/attachment.html>
More information about the devel
mailing list