Introduction:

So of the VM universe tests require that HTCondor be started as root, NMI does not allow this so right now it is manual, but we could probably create add a test script for this at some point, so the user could just run that script for manual testing.

Pre-reqs:

see: http://www.cs.wisc.edu/condor/manual/v7.3/3_15Virtual_Machines.html

Common: You will need to install libvirt and supporting daemons, as well as the utilities listed in the afore mentioned link. I usually recommend installing virsh as well for diagnostic purposes.

Xen: In order for you to truly run Xen you will need to configure and install all the correct packages for the distro you are working with, and select the xen-kernel on boot up in order for you to be able to run Xen jobs.

KVM: You will need to verify that the machine you are working on support hardware (VT) acceleration and enable it in your bios (It is usually turned off on most laptops). Next you will need to install qemu and kvm packages and kernel module.

HTCondor's KVM Test

HTCondor now includes a KVM test, in src/condor_tests/job_kvm_basic.run. See that file for further instructions (some of which may be automatable).

Tests to run:

Common

1. Submit a vm job and test both w/ & w/o LIBVIRT_XML_SCIPRT

2. Reboot the VM and see how VM-Gahp deals with it

3. Shutdown the VM and " "

4. Crash the VM and " "

5. Have the VM start up and join the grid, verify that it is available. Submit another job and verify the VM runs said job.