[Buildbot-devel] No build button + problem with addStep and workdir

Tanguy Krotoff tkrotoff at gmail.com
Fri Mar 27 13:46:09 UTC 2009


Hello

I'm a newbie here and I have newbie problems :)

I have installed Buildbot 0.7.9 through the Ubuntu 8.10 package.


** First problem
My waterfall page looks quite "ugly"/simple compare to
http://buildbot.buildbot.net/waterfall and I don't have the "Force
Build" and "Ping Builder" buttons like explained inside the Buildbot
manual and showed here:
http://buildbot.buildbot.net/builders/tw810-py2.5

Without the "Force Build" button, it's pretty difficult to test my
buildslaves :/
Any idea why I don't have these buttons?


** Second problem
My program build system steps are:
- svn co http://phonon-vlc-mplayer.googlecode.com/svn/trunk
- cd build
- ./build_make-debug.sh
- make
- make install

As you see, I use CMake and the "make" command should not be done at
the root directory but inside a special directory simply named "build"

I try to reproduce these steps inside my master.cfg (master.cfg.sample
given with buildbot and modified for my needs):
from buildbot.process import factory
from buildbot.steps.source import SVN
from buildbot.steps.shell import Configure, Compile, ShellCommand
f1 = factory.BuildFactory()
f1.addStep(SVN(svnurl="http://phonon-vlc-mplayer.googlecode.com/svn/trunk/"))
f1.addStep(Configure(command=["./build_make-debug.sh"], workdir="build"))
f1.addStep(Compile(command=["make", "install"], workdir="build"))

But I get this output:
configure failed stdio

./build_make-debug.sh
in dir /home/buildslave/buildbot/build-linux/build (timeout 1200 secs)

---> should be /home/buildslave/buildbot/build-linux/build/build

watching logfiles {}
argv: ['./build_make-debug.sh']
environment:
  [...]
  HOME=/home/buildslave
  PWD=/home/buildslave

---> here current directory should be
/home/buildslave/buildbot/build-linux/build/build??

  USER=buildslave
  [...]
Upon execvpe ./build_make-debug.sh ['./build_make-debug.sh'] in
environment id 3077639268
:Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/internet/process.py",
line 394, in _fork
    executable, args, environment)
  File "/usr/lib/python2.5/site-packages/twisted/internet/process.py",
line 440, in _execChild
    os.execvpe(executable, args, environment)
  File "/usr/lib/python2.5/os.py", line 363, in execvpe
    _execvpe(file, args, env)
  File "/usr/lib/python2.5/os.py", line 378, in _execvpe
    func(file, *argrest)
OSError: [Errno 2] No such file or directory
program finished with exit code 1


Thanks for your time.
Regards,

-- 
Tanguy Krotoff <tkrotoff at gmail.com>
+33 6 68 42 70 24




More information about the devel mailing list