[Buildbot-devel] SVNPoller issues with buildbot 0.8.2

Gareth Armstrong gareth.armstrong at hp.com
Tue Nov 9 16:42:30 UTC 2010


Hello folks,

I would appreciate need some of light.  I upgraded one of our buildbot 
masters to 0.8.2 and SVNPoller is now an unhappy bunny.

I did run buildbot upgrade-master for the relevnat master (previously 
running 0.8.0).

The platform is Rhel5.5 fully patched, running these main components.
python-2.4.3-27.el5_5.2.i386
python-twisted-*-10.0.0-1.oc.el5.i386
python-sqlite2-2.6.0-1.hp.el5.i386

The twistd.log is now showing entries like this:

2010-11-09 17:13:22+0100 [-] adding change, who ex_somebody, 2 files, 
rev=41287, branch=None, repository=https://XXX.YYY.ZZZ, comments 
Specifically do something., category None, project None
2010-11-09 17:13:22+0100 [-] SVNPoller failed [Failure instance: 
Traceback: pysqlite2.dbapi2.IntegrityError: changes.project may not be NULL
         
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:354:_startRunCallbacks
         
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:371:_runCallbacks
         
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:330:_continue
         
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:325:unpause
         --- <exception caught here> ---
         
/usr/lib/python2.4/site-packages/twisted/internet/defer.py:371:_runCallbacks
         
/usr/lib/python2.4/site-packages/buildbot/changes/svnpoller.py:504:submit_changes
         
/usr/lib/python2.4/site-packages/buildbot/changes/manager.py:114:addChange
         /usr/lib/python2.4/site-packages/buildbot/master.py:1146:addChange
         
/usr/lib/python2.4/site-packages/buildbot/db/connector.py:308:addChangeToDatabase
         
/usr/lib/python2.4/site-packages/buildbot/db/connector.py:212:runInteractionNow
         
/usr/lib/python2.4/site-packages/buildbot/db/connector.py:237:_runInteractionNow
         
/usr/lib/python2.4/site-packages/buildbot/db/connector.py:326:_txn_addChangeToDatabase
         /usr/lib/python2.4/site-packages/buildbot/db/dbspec.py:105:execute
         ]


Looking at the doc, I see that SVNPoller now takes a Project argument. 
See http://buildbot.net/buildbot/docs/0.8.2/full.html#SVNPoller.  It 
this required or should the SVNPoller object be initialized as a string 
rather than None.

Many thanks for some input.

Best regards,

Gareth

-- 






More information about the devel mailing list