[Buildbot-devel] ephemeral buildbot slave on linux running opengl tests under lxc

Dan Kegel dank at kegel.com
Mon Apr 28 21:30:10 UTC 2014

This was easier than I thought!
First step was to become familiar with how to use opengl under lxc at all;
http://kegel.com/linux/lxc-opengl-demo/ demonstrates how.

After that, I just needed to use xinit in my buildslave init script.

I also did
   echo manual > /etc/init/lightdm.override
not sure if that was needed.

At some point, I may have my slaves reboot upon test failure,
to guard against driver confusion.

It takes 3 seconds from clicking 'force build' until the job is
running in the X environment,
and 26 seconds for the container to shut down, restart, and reconnect
to buldbot after each build.
Not bad.

More information about the devel mailing list