[Buildbot-devel] Buildbot Fails Initial Tests on RHEL4
Damian Krzeminski
damian at pingtel.com
Sat Sep 16 13:45:56 UTC 2006
Roy S. Rapoport wrote:
> On Fri, Sep 15, 2006 at 11:35:44AM -0700, Roy S. Rapoport wrote:
>> I've just installed buildbot 0.7.4 (after installing TwistedCore,
>> TwistedMail, and TwistedWeb (after installing ZopeInterface)) on an rhel4
>> system. Doing the startup tests to make sure my installation is sane gets
>> me a bunch of errors (see below). The CVS ones I'm not concerned about --
>> the CVS environment is not set up for this user yet, and in either case,
>> BuildBot's not going to be interacting with my VC system. It looks like,
>> fundamentally, there's something wrong in the mail area (it looks like
>> pretty much all the mailparse tests failed), and there's something off with
>> the shell stuff -- testShellSubdir is unhappy. Any suggestions?
>
> Update:
>
> Running this as root on the installed buildbt was bad and showed these
> problems;
>
> Running this as root on the source tree showed just a few CVS problems (as
> below);
>
> Running it as a non-privileged user on the source tree had every run test
> pass. Go figure ...
>
> -roy
>
This is what worked for me on RHEL4. It assumes that you download twisted and buildbot tarballs and
that you install it with /usr/local prefix. If you install without prefix you do not have to modify
PYTHONPATH. I build as "buildbot" user and install as "root".
# we will be installing in /usr/local - run this and add it later to you init scripts
export PYTHONPATH=${PYTHONPATH}:/usr/local/lib/python2.3/site-packages/
# wget http://{path to twisted tarball}/Twisted-2.4.0.tar.bz2
tar xjf Twisted-2.4.0.tar.bz2
# build and install Zope interface
cd Twisted-2.4.0/ZopeInterface-3.1.0c1
python setup.py build
sudo python setup.py install --prefix=/usr/local/
# build and install core
cd ../TwistedCore-2.4.0chmod +x setup.py
python setup.py build
sudo python setup.py install --prefix=/usr/local
# and the rest of the twisted
cd ..
python setup.py build
sudo python setup.py install --prefix=/usr/local
cd ..
# now buildbot
# wget http://{path to buildbot tarball}/buildbot-0.7.4.tar.gz
tar xzf buildbot-0.7.4.tar.gz
cd buildbot-0.7.4
python setup.py build
sudo python setup.py install --prefix=/usr/local
cd ..
# check if it works...
/usr/local/bin/buildbot --version
More information about the devel
mailing list