logo       

svn_buildbot.py troubles: msg#00018

python.buildbot.devel

Subject: svn_buildbot.py troubles

Hi there,

I've managed to get the buildbot up and running for my project:

http://hobo.anu.edu.au:8080

and can now force builds, which in our case run py.test accross the tree.


What I can't seem to get working is the svn_buildbot.py script.

I've got it so that it runs when the svn repository is update, but it
gives errors.

heres what what happens:
/home/svnuser/Scripts/svn_buildbot.py --repository ~/AGDeviceControl/
--revision 270 --bbserver hobo.anu.edu.au --bbport 8008
Repo: /home/svnuser/AGDeviceControl/
quitting! because (<twisted.spread.pb.CopiedFailure
twisted.cred.error.UnauthorizedLogin>, 'FAILURE')

the buildmaster has the following log:

2005/05/04 18:24 EST [Broker,0,150.203.5.130] Peer will receive
following PB traceback:
2005/05/04 18:24 EST [Broker,0,150.203.5.130] Traceback (most recent
call last):
Failure: twisted.cred.error.UnauthorizedLogin:

and thats it!

so, whats going on here?

do I need to set up a username/password in my (attached) buildmaster
config? Because I can't see anything like this in the example
master.cfg files.

Cheers
--
Paul Warren
Information Infrastructure Services
ANU SuperComputer Facility
Leonard Huxley, Rm 331
u3292467 at anu dot edu dot au
pwarren.homelinux.org
ph: 612 51481
#! /usr/bin/python
import os.path

from buildbot import master
from buildbot.process import factory, step
from buildbot.status import html, client
from buildbot.changes.pb import PBChangeSource
s = factory.s

c = {}

c['bots'] = [["hobo", "abc123"],["hobo2","abc123"]]

c['sources'] = []
c['sources'].append(PBChangeSource(prefix="trunk"))

steps = [
s(step.SVN, svnurl="svn://anusf.anu.edu.au/AGDeviceControl/trunk",
mode="update",
),
s(step.Test, command=["py.test"]),
]

c['builders'] = []
b1 = { "name": "hobo",
"slavename": "hobo",
"builddir": "AGDevConTest",
"factory": factory.BuildFactory(steps),
}
c['builders'].append(b1)

c['projectName'] = "AGDeviceControl"
c['projectURL'] = "http://anusf.anu.edu.au/ag";
c['buildbotURL'] = "http://hobo.anu.edu.au:8080";

c['slavePortnum'] = 9989

c['status'] = []

c['status'].append(html.Waterfall(http_port=8080))
c['status'].append(client.PBListener(port=8008))

BuildmasterConfig = c
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise