
----- Original Message -----
From: "Zhou Zheng Sheng" <zhshzhou@linux.vnet.ibm.com> To: "infra" <infra@ovirt.org> Sent: Wednesday, April 17, 2013 12:44:18 PM Subject: Need help to setup an slave for VDSM functional tests
Hi,
I got a Jenkins power user account. I want to configure a job to run VDSM functional tests on a Fedora 18 slave. The functional tests need some prerequisites that can not be done in Jenkins, for example, installing dependency packages (git, python-pep8, pyflakes, autoconf, gcc...), configuring sudo (Jenkins needs root privilege to install/start/stop VDSM), configuring glusterfs. Since the functional tests actually install VDSM on the slave's OS, the slave is better to be a virtual machine.
i believe the current f18 slaves already have those, if not please open a ticket/email to infra.
In all, to run VDSM functional tests, we need a VM that is ready to build and install VDSM. There are already some slaves running jobs for building VDSM and unit tests, the environment is almost the same for functional tests. The VM slave needs not be online all the time. There is a Jenkins plugin named "libvirt slave", it can start the VM when the job is triggered, and shutdown it when it's idle for some time. I do not have the privilege to install that plugin. Could you install libvirt slave plugin as well?
we currently don't have ability to start/stop vms or launching any non-amazon vms as slaves. (we're working on adding new vms on ovirt-engine instance, which will give us more flexibility with that). is shutting down the vm part of the test?
I think it will be helpful to run functional tests in VMs in Jenkins. Could anyone give me some help to setup the environment? I really appreciate.
i think you can just use the 'fedora18' label for your new job and run it. if you'll have issue, communicate them here on infra list.
-- Thanks and best regards!
Zhou Zheng Sheng / 周征晟 E-mail: zhshzhou@linux.vnet.ibm.com Telephone: 86-10-82454397
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra