[Buildbot-devel] SVNPoller

Gregor Doltar gregor.doltar at royceandbach.com
Fri Mar 5 11:14:40 UTC 2010


Hi,

my setup is as follows:
repository is in format: svn+ssh://username@hostname/path/to/repos

I've configured my master.conf like:

c['change_source'] = PBChangeSource()
from buildbot.changes.svnpoller import SVNPoller
repositoryurl='svn+ssh://username@hostname/path/to/repository'
svn_poller = SVNPoller(
svnurl=repositoryurl,
pollinterval=60, # seconds
histmax=10
)
c['change_source'] = svn_poller

I normally use ssh-agent where I attach the appropriate certificate. 
That being said I can execute:
svn co svn+ssh://username@rhostname/path/to/repository

Afterwards (when key is loaded I've started buildbot).

Twisted log shows following:
...
2010-03-05 12:08:05+0100 [-] SVNPoller polling
2010-03-05 12:08:45+0100 [-] SVNPoller failed
2010-03-05 12:08:45+0100 [-] _finished : [Failure instance: Traceback 
(failure with no frames): <class 
'twisted.internet.utils._UnexpectedErrorOutput'>: got stderr: 'svn: 
Network connection closed unexpectedly\n'
...

then I prepared another solution by setting master.conf as:
...
repositoryurl='svn+ssh://hostname/path/to/repository'
svn_poller = SVNPoller(
svnurl=repositoryurl,
svnuser='username',
svnpasswd='passoword',
pollinterval=60, # seconds
histmax=10
...
but I get the same error. It seems as if it is unable to authenticate.

Any hints before I start debugging ?

Regards,
Gregor

-- 
Gregor Doltar

Royce&  Bach d.o.o.
Kidričeva cesta 13, SI-3000 Celje
Slovenia





More information about the devel mailing list