./test-libvirt.py Skipping migrate test (use '-m' to enable) test_aa_initialize (__main__.LibvirtTestVirshSystemRoot) Test initialization ... (root:root, qemu:///system, apparmor=False) ... ok test_aaaa_domuuid (__main__.LibvirtTestVirshSystemRoot) Test domuuid ... ok test_abaa_domname (__main__.LibvirtTestVirshSystemRoot) Test domname ... ok test_acaa_nodeinfo (__main__.LibvirtTestVirshSystemRoot) Test nodeinfo ... ok test_adaa_hostname (__main__.LibvirtTestVirshSystemRoot) Test hostname ... ok test_aeaa_uri (__main__.LibvirtTestVirshSystemRoot) Test uri ... ok test_afaa_version (__main__.LibvirtTestVirshSystemRoot) Test version ... ok test_agaa_list (__main__.LibvirtTestVirshSystemRoot) Test list ... ok test_agab_list_all (__main__.LibvirtTestVirshSystemRoot) Test list --all ... ok test_ahaa_capabilities (__main__.LibvirtTestVirshSystemRoot) Test capabilities ... ok test_ahab_maxvcpus (__main__.LibvirtTestVirshSystemRoot) Test maxvcpus ... ok test_aiaa_define (__main__.LibvirtTestVirshSystemRoot) Test define ... ok test_aiab_readonly (__main__.LibvirtTestVirshSystemRoot) Test define (readonly) ... ok test_ajaa_autostart (__main__.LibvirtTestVirshSystemRoot) Test autostart ... ok test_ajab_autostart (__main__.LibvirtTestVirshSystemRoot) Test autostart --disable ... ok test_akaa_domstate_shutoff (__main__.LibvirtTestVirshSystemRoot) Test domstate (shut off) ... ok test_alaa_setmem (__main__.LibvirtTestVirshSystemRoot) Test setmem ... ok test_alba_setmaxmem (__main__.LibvirtTestVirshSystemRoot) Test setmem ... ok test_alca_start (__main__.LibvirtTestVirshSystemRoot) Test vcpus (setup) ... ok test_alcb_setvcpus (__main__.LibvirtTestVirshSystemRoot) Test vcpus ... ok test_alcz_cleanup (__main__.LibvirtTestVirshSystemRoot) Test vcpus (cleanup) ... ok test_amaa_start (__main__.LibvirtTestVirshSystemRoot) Test start ... ok test_amba_dumpxml (__main__.LibvirtTestVirshSystemRoot) Test dumpxml ... ok test_amca_domid (__main__.LibvirtTestVirshSystemRoot) Test domid ... ok test_amda_domblkstat (__main__.LibvirtTestVirshSystemRoot) Test domblkstat ... ok test_amea_domifstat (__main__.LibvirtTestVirshSystemRoot) Test domifstat ... ok test_amfa_vcpuinfo (__main__.LibvirtTestVirshSystemRoot) Test vcpuinfo ... ok test_amga_vcpupin (__main__.LibvirtTestVirshSystemRoot) Test vcpupin ... ok test_amha_suspend (__main__.LibvirtTestVirshSystemRoot) Test suspend ... ok test_amia_domstate_paused (__main__.LibvirtTestVirshSystemRoot) Test domstate (paused) ... ok test_amja_resume (__main__.LibvirtTestVirshSystemRoot) Test resume ... ok test_amka_domstate_running (__main__.LibvirtTestVirshSystemRoot) Test domstate (running) ... ok test_anaa_save (__main__.LibvirtTestVirshSystemRoot) Test save ... ok test_anba_domstate_shutoff_save (__main__.LibvirtTestVirshSystemRoot) Test domstate (shut off after save) ... ok test_anca_restore (__main__.LibvirtTestVirshSystemRoot) Test restore ... ok test_anda_domstate_running_restore (__main__.LibvirtTestVirshSystemRoot) Test domstate (running after restore) ... ok test_aoaa_destroy (__main__.LibvirtTestVirshSystemRoot) Test destroy ... ok test_azaa_cleanup (__main__.LibvirtTestVirshSystemRoot) Cleanup ... ok test_baaa_create (__main__.LibvirtTestVirshSystemRoot) Test create ... ok test_bbaa_destroy_created (__main__.LibvirtTestVirshSystemRoot) Test destroy on created VM ... ok test_bzaa_cleanup (__main__.LibvirtTestVirshSystemRoot) Cleanup create tests ... ok test_guest_aa_attach_detach_physical (__main__.LibvirtTestVirshSystemRoot) Test attach/detach physical ... start VM (and sleeping 30 seconds for LP: #435527) attach-interface detach-interface attach-device (physical) detach-device (physical): (skipped on 10.10 and higher) attach-disk (physical) detach-disk (physical): (skipped on 10.10 and higher) ok test_guest_az_attach_detach_physical (__main__.LibvirtTestVirshSystemRoot) Cleanup attach/detach physical tests ... ok test_guest_ba_attach_detach_usb (__main__.LibvirtTestVirshSystemRoot) Test attach/detach USB ... ok test_guest_bz_attach_detach_usb (__main__.LibvirtTestVirshSystemRoot) Cleanup attach/detach USB tests ... ok test_guest_cb_attach_detach_virtio (__main__.LibvirtTestVirshSystemRoot) Test attach/detach virtio ... attach-device (virtio #1) detach-device (virtio #1) (restarting and sleeping for 30 seconds) attach-device (virtio #2) detach-device (virtio #2) (restarting and sleeping for 30 seconds) attach-device (virtio #3) detach-device (virtio #3) (restarting and sleeping for 30 seconds) attach-device (virtio #4) detach-device (virtio #4) ok test_guest_cz_attach_detach_virtio (__main__.LibvirtTestVirshSystemRoot) Cleanup attach/detach virtio tests ... ok test_guest_da_attach_detach_aoe (__main__.LibvirtTestVirshSystemRoot) Test attach/detach AoE ... ok test_guest_dz_attach_detach_aoe (__main__.LibvirtTestVirshSystemRoot) Cleanup attach/detach AoE tests ... ok test_guest_ea_kernel (__main__.LibvirtTestVirshSystemRoot) Test kernel and initrd ... ok test_guest_ez_kernel (__main__.LibvirtTestVirshSystemRoot) Cleanup kernel and initrd ... ok test_guest_fa_serial (__main__.LibvirtTestVirshSystemRoot) Test alternate serial ... ok test_guest_fz_serial (__main__.LibvirtTestVirshSystemRoot) Cleanup alternate serial ... ok test_guest_ga_console (__main__.LibvirtTestVirshSystemRoot) Test alternate console ... ok test_guest_gz_console (__main__.LibvirtTestVirshSystemRoot) Cleanup alternate console ... ok test_guest_ha_relative_path (__main__.LibvirtTestVirshSystemRoot) Test relative path ... ok test_guest_hz_relative_path (__main__.LibvirtTestVirshSystemRoot) Cleanup relative path ... ok test_guest_ia_space_path (__main__.LibvirtTestVirshSystemRoot) Test space in path ... ok test_guest_iz_space_path (__main__.LibvirtTestVirshSystemRoot) Cleanup space in path ... ok test_guest_ja_symlink (__main__.LibvirtTestVirshSystemRoot) Test symlink in path ... ok test_guest_jz_symlink (__main__.LibvirtTestVirshSystemRoot) Cleanup symlink in path ... ok test_zzzz_teardown_once (__main__.LibvirtTestVirshSystemRoot) Test de-initialization ... ok test_aa_initialize (__main__.LibvirtTestVirshSession) Test initialization ... (default:default, qemu:///session, apparmor=False) ... FAIL test_aaaa_domuuid (__main__.LibvirtTestVirshSession) Test domuuid ... FAIL test_abaa_domname (__main__.LibvirtTestVirshSession) Test domname ... FAIL test_acaa_nodeinfo (__main__.LibvirtTestVirshSession) Test nodeinfo ... FAIL test_adaa_hostname (__main__.LibvirtTestVirshSession) Test hostname ... FAIL test_aeaa_uri (__main__.LibvirtTestVirshSession) Test uri ... FAIL test_afaa_version (__main__.LibvirtTestVirshSession) Test version ... FAIL test_agaa_list (__main__.LibvirtTestVirshSession) Test list ... FAIL test_agab_list_all (__main__.LibvirtTestVirshSession) Test list --all ... FAIL test_ahaa_capabilities (__main__.LibvirtTestVirshSession) Test capabilities ... FAIL test_ahab_maxvcpus (__main__.LibvirtTestVirshSession) Test maxvcpus ... FAIL test_aiaa_define (__main__.LibvirtTestVirshSession) Test define ... FAIL test_aiab_readonly (__main__.LibvirtTestVirshSession) Test define (readonly) ... FAIL test_ajaa_autostart (__main__.LibvirtTestVirshSession) Test autostart ... FAIL test_ajab_autostart (__main__.LibvirtTestVirshSession) Test autostart --disable ... FAIL test_akaa_domstate_shutoff (__main__.LibvirtTestVirshSession) Test domstate (shut off) ... FAIL test_alaa_setmem (__main__.LibvirtTestVirshSession) Test setmem ... ok test_alba_setmaxmem (__main__.LibvirtTestVirshSession) Test setmem ... ok test_alca_start (__main__.LibvirtTestVirshSession) Test vcpus (setup) ... ok test_alcb_setvcpus (__main__.LibvirtTestVirshSession) Test vcpus ... FAIL test_alcz_cleanup (__main__.LibvirtTestVirshSession) Test vcpus (cleanup) ... ok test_amaa_start (__main__.LibvirtTestVirshSession) Test start ... FAIL Aborting to avoid VM corruption test_daemon (__main__.LibvirtTest) Test daemon is running ... ok test_domxml_from_native (__main__.LibvirtTest) Test domxml-from-native ... ok test_domxml_to_native (__main__.LibvirtTest) Test domxml-to-native ... ok test_emulators (__main__.LibvirtTest) Test emulators ... kvm... kqemu... skipping ('/dev/kqemu' does not exist) qemu... ok test_enforce_image_format (__main__.LibvirtTest) Test enforce image format ... ok test_fd_leaks (__main__.LibvirtTest) Test file descriptor leaks (LP: #567392) ... ok test_net (__main__.LibvirtTest) Test net functions ... FAIL test_netlist (__main__.LibvirtTest) Test net-list ... ok test_storage_pools (__main__.LibvirtTest) Test storage pools ... pool-define pool-list pool-start pool-autostart vol-list vol-create vol-create (with backing store) vol-path vol-delete pool-destroy pool-undefine ok test_vm (__main__.LibvirtTest) Test VM functions ... ok test_capabilities (__main__.LibvirtTestRemote) Test remote capabilities ... ok test_maxvcpus (__main__.LibvirtTestRemote) Test remote maxvcpus ... ok test_setvcpus (__main__.LibvirtTestRemote) Test remote setvcpus ... ok test_virt_install_cdrom (__main__.LibvirtTestVirtinst) Test virt-install --cdrom ... virt-install qatest-virtinst (qemu:///system, file) dumpxml qatest-virtinst (qemu:///system, file) destroy qatest-virtinst (qemu:///system, file) undefine qatest-virtinst (qemu:///system, file) virt-install qatest-virtinst (qemu:///session, file) dumpxml qatest-virtinst (qemu:///session, file) destroy qatest-virtinst (qemu:///session, file) undefine qatest-virtinst (qemu:///session, file) setting up pool-system for qatest-virtinst (qemu:///system) virt-install qatest-virtinst (qemu:///system, pool) dumpxml qatest-virtinst (qemu:///system, pool) destroy qatest-virtinst (qemu:///system, pool) undefine qatest-virtinst (qemu:///system, pool) setting up pool-session for qatest-virtinst (qemu:///session) virt-install qatest-virtinst (qemu:///session, pool) dumpxml qatest-virtinst (qemu:///session, pool) destroy qatest-virtinst (qemu:///session, pool) undefine qatest-virtinst (qemu:///session, pool) ok test_virt_install_import (__main__.LibvirtTestVirtinst) Test virt-install --import ... virt-install qatest-virtinst (qemu:///system, raw) dumpxml qatest-virtinst (qemu:///system, raw) destroy qatest-virtinst (qemu:///system, raw) undefine qatest-virtinst (qemu:///system, raw) virt-install qatest-virtinst (qemu:///system, qcow2) dumpxml qatest-virtinst (qemu:///system, qcow2) destroy qatest-virtinst (qemu:///system, qcow2) undefine qatest-virtinst (qemu:///system, qcow2) virt-install qatest-virtinst (qemu:///session, raw) dumpxml qatest-virtinst (qemu:///session, raw) destroy qatest-virtinst (qemu:///session, raw) undefine qatest-virtinst (qemu:///session, raw) virt-install qatest-virtinst (qemu:///session, qcow2) dumpxml qatest-virtinst (qemu:///session, qcow2) destroy qatest-virtinst (qemu:///session, qcow2) undefine qatest-virtinst (qemu:///session, qcow2) ok test_virt_install_location (__main__.LibvirtTestVirtinst) Test virt-install --location ... virt-install qatest-virtinst (qemu:///system, file) (downloading from http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/) dumpxml qatest-virtinst (qemu:///system, file) destroy qatest-virtinst (qemu:///system, file) undefine qatest-virtinst (qemu:///system, file) setting up pool-session for qatest-virtinst (qemu:///session) virt-install qatest-virtinst (qemu:///session, pool) (downloading from http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/) dumpxml qatest-virtinst (qemu:///session, pool) destroy qatest-virtinst (qemu:///session, pool) undefine qatest-virtinst (qemu:///session, pool) ok test_CVE_2010_2237_2238 (__main__.LibvirtTestCVEs) Test CVE-2010-2237 and CVE-2010-2238 ... Disk probing not specified: virt-aa-helper has specified disk (type=raw) virt-aa-helper does not have backing store (type=raw) domxml-to-native uses format (type=raw) qemu 'info block' has correct format (type=raw) FAIL test_CVE_2010_2239 (__main__.LibvirtTestCVEs) Test CVE-2010-2239 ... setting up pool for qatest-virtinst (qemu:///system) vol-create (with backing store) define qatest-i386 start qatest-i386 stop qatest-i386 ok test_CVE_2010_2242 (__main__.LibvirtTestCVEs) Test CVE-2010-2242 ... ok test_CVE_2011_1146 (__main__.LibvirtTestCVEs) Test CVE-2011-1146 ... ok ====================================================================== FAIL: test_aa_initialize (__main__.LibvirtTestVirshSession) Test initialization ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1836, in test_aa_initialize self.assertEquals(expected, rc, result + report) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_aaaa_domuuid (__main__.LibvirtTestVirshSession) Test domuuid ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1874, in test_aaaa_domuuid report = self._run_virsh_cmd(self.qemu_uri, "domuuid %s" % self.vm_name, self.vm_uuid) File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_abaa_domname (__main__.LibvirtTestVirshSession) Test domname ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1878, in test_abaa_domname self._run_virsh_cmd(self.qemu_uri, "domname %s" % self.vm_uuid, self.vm_name) File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: command 'domname' requires option ====================================================================== FAIL: test_acaa_nodeinfo (__main__.LibvirtTestVirshSession) Test nodeinfo ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1882, in test_acaa_nodeinfo self._run_virsh_cmd(self.qemu_uri, "nodeinfo", 'CPU model') File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_adaa_hostname (__main__.LibvirtTestVirshSession) Test hostname ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1886, in test_adaa_hostname self._run_virsh_cmd(self.qemu_uri, "hostname", '^[a-zA-Z0-9]') File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_aeaa_uri (__main__.LibvirtTestVirshSession) Test uri ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1890, in test_aeaa_uri self._run_virsh_cmd(self.qemu_uri, "uri", self.qemu_uri) File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_afaa_version (__main__.LibvirtTestVirshSession) Test version ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1894, in test_afaa_version self._run_virsh_cmd(self.qemu_uri, "version", 'libvir') File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_agaa_list (__main__.LibvirtTestVirshSession) Test list ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1898, in test_agaa_list self._run_virsh_cmd(self.qemu_uri, "list", 'Id Name') File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_agab_list_all (__main__.LibvirtTestVirshSession) Test list --all ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1902, in test_agab_list_all self._run_virsh_cmd(self.qemu_uri, "list --all", self.vm_name) File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_ahaa_capabilities (__main__.LibvirtTestVirshSession) Test capabilities ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1909, in test_ahaa_capabilities self._run_virsh_cmd(self.qemu_uri, "capabilities", 'secmodel', invert) File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_ahab_maxvcpus (__main__.LibvirtTestVirshSession) Test maxvcpus ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1915, in test_ahab_maxvcpus report = self._run_virsh_cmd(self.qemu_uri, "maxvcpus", search=None) File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_aiaa_define (__main__.LibvirtTestVirshSession) Test define ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1925, in test_aiaa_define self._run_virsh_cmd(self.qemu_uri, "define %s" % self.qemu_xml, "defined from") File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_aiab_readonly (__main__.LibvirtTestVirshSession) Test define (readonly) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1929, in test_aiab_readonly self._run_virsh_cmd(self.qemu_uri, "-r define %s" % self.qemu_xml, "forbidden", expected=1) File "./test-libvirt.py", line 1655, in _run_virsh_cmd self.assertTrue(re.search(r'%s' % search, report) != None, result + str(report)) AssertionError: Could not find 'forbidden' error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_ajaa_autostart (__main__.LibvirtTestVirshSession) Test autostart ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1933, in test_ajaa_autostart self._run_virsh_cmd(self.qemu_uri, "autostart %s" % self.vm_name, "%s marked as autostarted" % self.vm_name) File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_ajab_autostart (__main__.LibvirtTestVirshSession) Test autostart --disable ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1937, in test_ajab_autostart self._run_virsh_cmd(self.qemu_uri, "autostart --disable %s" % self.vm_name, "%s unmarked as autostarted" % self.vm_name) File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_akaa_domstate_shutoff (__main__.LibvirtTestVirshSession) Test domstate (shut off) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1941, in test_akaa_domstate_shutoff self._run_virsh_cmd(self.qemu_uri, "domstate %s" % self.vm_name, "shut off") File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_alcb_setvcpus (__main__.LibvirtTestVirshSession) Test vcpus ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 1965, in test_alcb_setvcpus report = self._run_virsh_cmd(self.qemu_uri, "dominfo %s" % self.vm_name, "\nCPU\(s\):") File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_amaa_start (__main__.LibvirtTestVirshSession) Test start ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 2476, in test_amaa_start LibvirtTestVirsh.test_amaa_start(self) File "./test-libvirt.py", line 2007, in test_amaa_start self._run_virsh_cmd(self.qemu_uri, "start %s" % self.vm_name, "started") File "./test-libvirt.py", line 1642, in _run_virsh_cmd self.assertEquals(expected, rc, result + str(report)) AssertionError: Got exit code 1, expected 0 error: Failed to connect socket to '@/home/tucxnXJm/.libvirt/libvirt-sock': Connection refused error: failed to connect to the hypervisor ====================================================================== FAIL: test_net (__main__.LibvirtTest) Test net functions ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 574, in test_net self.assertEquals(expected, rc, result + report) AssertionError: Got exit code 1, expected 0 error: Failed to start network fakenet error: internal error Network is already in use by interface virbr0 ====================================================================== FAIL: test_CVE_2010_2237_2238 (__main__.LibvirtTestCVEs) Test CVE-2010-2237 and CVE-2010-2238 ---------------------------------------------------------------------- Traceback (most recent call last): File "./test-libvirt.py", line 2787, in test_CVE_2010_2237_2238 self.assertTrue(search in output, result + output) AssertionError: Could not find 'drive-ide0-0-0: type=hd removable=0 file=/home/serge/bzr/qa-regression-testing/scripts/libvirt/qatest/qatest-bs.qcow2 ro=0 drv=raw' in: info block iininfinfoinfo info binfo blinfo bloinfo blocinfo block drive-ide0-0-0: removable=0 file=/home/serge/bzr/qa-regression-testing/scripts/libvirt/qatest/qatest-bs.qcow2 ro=0 drv=raw encrypted=0 ---------------------------------------------------------------------- Ran 104 tests in 1556.033s FAILED (failures=20) FAIL: 248 tests aborted root@sergelap:~/bzr/qa-regression-testing/scripts#