
--=-Fb2J9odrjqQekPu65UKm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, den 05.03.2013, 14:30 +0800 schrieb Zhou Zheng Sheng:
I setup a virtual machine running in QEMU snapshot mode. Then add it to Jenkins as a slave. There is a plugin for Jenkins to start and stop slave using libvirt. So I configure Jenkins to start the VM slave to build, install and run VDSM tests, then shutdown. Jenkins slave gets the root privileges of the guest OS and do whatever it needs to. Since the VM slave is in snapshot mode, it restores the original state after shutdown. I also make a small script to switch snapshot mode on/off when I needs to manage the configuration and packages for the guest OS. =20 Which plan do you prefer? Could someone help me setup this environment? (I only get access to Jenkins.)=20
Hey, with oVirt Node we've got similar problems of how to do the functional tests. That's why we came up with igor [0]. Igord integrates nicely with Jenkins and does all the VM management for you. What igor does is creating and setting up an OS (by passing kernelarguments - currently only oVirt Node is tested) and running a testsuite on the OS itself - so maybe this is interesting for you too! You could even run vdsm on a Node build (a Node ISO is build is triggered by every vdsm fedora package build). Currently Igor uses libvirt to run the VMs and requires cobbler to setup the VMs, but we might drop this dependency.=20 This document describes how to setup an Igor env on Fedora 18 [1]. Besides that we are also looking how we can integrate Igor into the oVirt infrastructure. Greetings fabian -- [0] https://gitorious.org/ovirt/igord [1] https://etherpad.mozilla.org/VXrJkQBNhq --=-Fb2J9odrjqQekPu65UKm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iQIcBAABAgAGBQJRNcbuAAoJEC9+uOgSHVGUDpEQAIrwf3g9WnAYB42XY+LtTbj5 swbk3+oc/SzNndz16A3rfFBGzdcs1iv4hVb14fGucJiRAFbbc3jLUwLFvt8B0RRi Ora95JG0qD7eOcwzFJKkC+Q0qa9nJVzomn/LlWqq0HcTgPYC7uny2xrzkSGUoDWP YTr+fdk4vi+D5Da1ck9HuqWPwHzAuQwVQZIVhg0aurUQHw1/CBFKOxMdMaAsKBuE 7XfyFNooLIsilyvkjvRe6ftRMSGVrteI5wAYBh8aYPWDi0PxBpYxrWEK76b/o9DL RnxDIh/BmSb0EuFCkzWty7ScSw+AcfxxQj5xdZRWO9B4z5c4SllCW30yqXgwagyU LaEipCMGpAu9vXiWdQtZCYMkHMKBh8N/hVNg+xE+fNvcunT+9fUuQkPX+Fz8lQzf Z9Zln5gCTctgE0MndhVabSY4PJZKdk/8udE5AAZIpr+DyhFUZ1b9/5NZkGhcTXVg xiYvnaBqpes5Zp2fjrhqylCyqI2l0dVLBRM0/BfKGx+ZSF9S5gxnHHsMERS0lnrR OPbw5YIvDRaxm4A+BYJ3cDyt9O19D7KmpGfG6BSurNUASMRhH37axPCsZCJS/AH9 awnEHjSfkpg61S01A6vsQoogKcqy4OVoabLzkQ150tXwqtAAex8AWPBCij3/wF66 zTIv9K0H46FPbBTOb0My =LCji -----END PGP SIGNATURE----- --=-Fb2J9odrjqQekPu65UKm--