[users at bb.net] Separating buildbot build machines from Test Machines

honas grael honasgraeymael at gmail.com
Wed May 30 06:39:51 UTC 2018


Hello, I am not sure if I managed to send this to the mailing list before.
If I have my apologies for asking again. I have asked it on SO
<https://stackoverflow.com/questions/50592498/separating-buildbot-build-machines-from-test-machines>

I am new to using buildbot, I have figured out how to get the buildmaster
and a couple of build workers running, in a setup much like below
[image: buildbot_deploy.png]

Essentially the build master polls the mercurial repo for changes and then
tasks the build workers to do a build as per the build steps. Each of these
is a separate windows Virtual Machine(VM). The bits with a green tick I
think I've got a handle on.

I would like to deploy the built applications onto separate VMs for
testing. Basically the Worker VMs that do the build should not run tests.

I guess the first question is how can I split build from test execution?

Is there a way for the worker VM to transfer the built application (and any
supporting files) as well as all the appropriate tests to one or more test
VMs so that all the tests can be run on a different VM?

In addition would it be possible for the Buildbot Worker to:

   - Spin up a test VM
   - Transfer all the files (application and tests) to the test VM
   - Trigger the running of the tests in that target test VM.

*Note: The test VM would already be pre-configured with the appropriate OS,
and relevant setup, so no need to create the test VM each time. Also the
test VM would shut-itself down once the tests have all been run. So no need
for the Worker VM to check-up later.*

I've read that Buildbot supports libvirt, but I am not familiar with
libvirt, or how to use it. I do have some experience with python though.

Can I achieve all this using buildbot?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20180530/f2d757a3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildbot_deploy.png
Type: image/png
Size: 41799 bytes
Desc: not available
URL: <http://lists.buildbot.net/pipermail/users/attachments/20180530/f2d757a3/attachment.png>


More information about the users mailing list