[Buildbot-devel] newbie building on Solaris 10

Robyn Landers rblander at mfcf.math.uwaterloo.ca
Tue Nov 3 23:04:19 UTC 2009


> > When I try to start the buildbot slave, it fails.
> 
> Are you starting it with twistd --no_save -y buildbot.tac or from
> something more complicated?

Starting it with this:

  /software/buildbot/bin/buildbot start /u/builds/buildslave

The /software/buildbot thing is where we install our software packages.
/software/buildbot/bin/buildbot is what you'd
normally think of as /usr/bin/buildbot.

/u/builds is the home directory of the 'builds' account.

> The buildbot.tac should contain a basedir variable that references the
> directory that it is in.  Can you verify that it's set correctly?

Ah, this seems juicy.

I found buildbot.tac at /u/builds/buildslave/buildbot.tac
and it contains this:

   basedir = r'/u2/builds/buildslave'

So, some installation procedure at some point seems to have
determined the absolute path of the home directory
and hardcoded that into the buildbot.tac file.
But that's not where the absolute path of the home directories
resolves to anymore.  They've moved, though our canonical path of
/u/builds is still working.  So I've changed it, but alas,
still doesn't start.   Same messages when run 'buildbot start ...'.

However, the twistd.log file is lots different now, and I see
that it looks much better -- it has attached to the master,
and I understand the next problem that it has run into.

Thanks for the tip!


Robyn




More information about the devel mailing list