====================================================================== FAIL: nova.tests.baremetal.test_pxe.PXEPrivateMethodsTestCase.test_cache_tftp_images ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. exists.__call__('/tftpboot/df12b7fe-fb66-423e-b7cb-c6707f2063ad/kernel') -> True 1. exists.__call__('/tftpboot/df12b7fe-fb66-423e-b7cb-c6707f2063ad/deploy_ramdisk') -> True 2. exists.__call__('/tftpboot/df12b7fe-fb66-423e-b7cb-c6707f2063ad/deploy_kernel') -> True }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/baremetal/test_pxe.py", line 339, in test_cache_tftp_images self.context, self.instance, image_info) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/baremetal/pxe.py", line 265, in _cache_tftp_images project_id=instance['project_id'], File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/baremetal/utils.py') -> None + exists.__call__('/tftpboot/df12b7fe-fb66-423e-b7cb-c6707f2063ad/ramdisk') -> True ====================================================================== FAIL: nova.tests.test_image_utils.ImageUtilsTestCase.test_qemu_info_canon2 ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', 'disk.config') -> ('image: disk.config\nfile format: QCOW2\nvirtual size: 67108844\ncluster_size: 65536\ndisk size: 963434\nbacking file: /var/lib/nova/a328c7998805951a_2\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_image_utils.py", line 154, in test_qemu_info_canon2 image_info = images.qemu_img_info(path) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/images.py') -> None + exists.__call__('disk.config') -> True ====================================================================== FAIL: nova.tests.test_image_utils.ImageUtilsTestCase.test_qemu_info_snaps ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', 'disk.config') -> ('image: disk.config\nfile format: raw\nvirtual size: 64M (67108864 bytes)\ndisk size: 96K\nSnapshot list:\nID TAG VM SIZE DATE VM CLOCK\n1 d9a9784a500742a7bb95627bb3aace38 0 2012-08-20 10:52:46 00:00:00.000\n3 d9a9784a500742a7bb95627bb3aace38 0 2012-08-20 10:52:46 00:00:00.000\n4 d9a9784a500742a7bb95627bb3aace38 0 2012-08-20 10:52:46 00:00:00.000\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_image_utils.py", line 233, in test_qemu_info_snaps image_info = images.qemu_img_info(path) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/images.py') -> None + exists.__call__('disk.config') -> True ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_get_instance_disk_info_works_correctly ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', '/test/disk.local') -> ('image: /test/disk\nfile format: raw\nvirtual size: 20G (21474836480 bytes)\ndisk size: 3.1G\ncluster_size: 2097152\nbacking file: /test/dummy (actual path: /backing/file)\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 2461, in test_get_instance_disk_info_works_correctly info = conn.get_instance_disk_info(instance_ref['name']) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/libvirt/driver.py", line 3268, in get_instance_disk_info virt_size = disk.get_disk_size(path) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/disk/api.py') -> None + exists.__call__('/test/disk.local') -> True ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri_no_kernel ---------------------------------------------------------------------- _StringException: Empty attachments: stderr stdout pythonlogging:'nova': {{{ Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' URI qemu:///system does not support events }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 927, in test_xml_and_uri_no_kernel expect_kernel=False, expect_ramdisk=False) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 1982, in _check_xml_and_uri (check(tree), expected_result, i)) MismatchError: !=: reference = 'a6611881-4a3e-11cb-95ba-9641e2d34d10' actual = 'cef19ce0-0ca2-11df-855d-b19fbce37686' : a6611881-4a3e-11cb-95ba-9641e2d34d10 != cef19ce0-0ca2-11df-855d-b19fbce37686 failed check 14 ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri_no_ramdisk ---------------------------------------------------------------------- _StringException: Empty attachments: stderr stdout pythonlogging:'nova': {{{ Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' URI qemu:///system does not support events }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 921, in test_xml_and_uri_no_ramdisk expect_kernel=True, expect_ramdisk=False) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 1982, in _check_xml_and_uri (check(tree), expected_result, i)) MismatchError: !=: reference = 'a6611881-4a3e-11cb-95ba-9641e2d34d10' actual = 'cef19ce0-0ca2-11df-855d-b19fbce37686' : a6611881-4a3e-11cb-95ba-9641e2d34d10 != cef19ce0-0ca2-11df-855d-b19fbce37686 failed check 12 ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri_no_ramdisk_no_kernel ---------------------------------------------------------------------- _StringException: Empty attachments: stderr stdout pythonlogging:'nova': {{{ Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' URI qemu:///system does not support events }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 902, in test_xml_and_uri_no_ramdisk_no_kernel expect_kernel=False, expect_ramdisk=False) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 1982, in _check_xml_and_uri (check(tree), expected_result, i)) MismatchError: !=: reference = 'a6611881-4a3e-11cb-95ba-9641e2d34d10' actual = 'cef19ce0-0ca2-11df-855d-b19fbce37686' : a6611881-4a3e-11cb-95ba-9641e2d34d10 != cef19ce0-0ca2-11df-855d-b19fbce37686 failed check 14 ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri_rescue ---------------------------------------------------------------------- _StringException: Empty attachments: stderr stdout pythonlogging:'nova': {{{ Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' URI qemu:///system does not support events }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 941, in test_xml_and_uri_rescue expect_ramdisk=True, rescue=instance_data) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 1982, in _check_xml_and_uri (check(tree), expected_result, i)) MismatchError: !=: reference = 'a6611881-4a3e-11cb-95ba-9641e2d34d10' actual = 'cef19ce0-0ca2-11df-855d-b19fbce37686' : a6611881-4a3e-11cb-95ba-9641e2d34d10 != cef19ce0-0ca2-11df-855d-b19fbce37686 failed check 12 ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri_rescue_no_kernel_no_ramdisk ---------------------------------------------------------------------- _StringException: Empty attachments: stderr stdout pythonlogging:'nova': {{{ Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' URI qemu:///system does not support events }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 946, in test_xml_and_uri_rescue_no_kernel_no_ramdisk expect_ramdisk=False, rescue=instance_data) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 1982, in _check_xml_and_uri (check(tree), expected_result, i)) MismatchError: !=: reference = 'a6611881-4a3e-11cb-95ba-9641e2d34d10' actual = 'cef19ce0-0ca2-11df-855d-b19fbce37686' : a6611881-4a3e-11cb-95ba-9641e2d34d10 != cef19ce0-0ca2-11df-855d-b19fbce37686 failed check 14 ====================================================================== FAIL: nova.tests.test_image_utils.ImageUtilsTestCase.test_disk_backing ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', '/myhome/disk.config') -> ('image: /myhome/disk.config\nfile format: raw\nvirtual size: 2K (2048 bytes)\ncluster_size: 65536\ndisk size: 96K\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_image_utils.py", line 73, in test_disk_backing d_backing = libvirt_utils.get_disk_backing_file(path) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/libvirt/utils.py') -> None + exists.__call__('/myhome/disk.config') -> True ====================================================================== FAIL: nova.tests.test_image_utils.ImageUtilsTestCase.test_disk_size ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', '/myhome/disk.config') -> ('image: /myhome/disk.config\nfile format: raw\nvirtual size: 0M (0 bytes)\ncluster_size: 65536\ndisk size: 96K\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_image_utils.py", line 99, in test_disk_size d_size = libvirt_utils.get_disk_size(path) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/libvirt/utils.py') -> None + exists.__call__('/myhome/disk.config') -> True ====================================================================== FAIL: nova.tests.test_image_utils.ImageUtilsTestCase.test_disk_type ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', '/myhome/disk.config') -> ('image: /myhome/disk.config\nfile format: raw\nvirtual size: 64M (67108864 bytes)\ncluster_size: 65536\ndisk size: 96K\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_image_utils.py", line 52, in test_disk_type d_type = libvirt_utils.get_disk_type(path) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/libvirt/utils.py", line 566, in get_disk_type return images.qemu_img_info(path).file_format File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/images.py') -> None + exists.__call__('/myhome/disk.config') -> True ====================================================================== FAIL: nova.tests.test_image_utils.ImageUtilsTestCase.test_qemu_backing_file_actual ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', 'disk.config') -> ('image: disk.config\nfile format: raw\nvirtual size: 64M (67108864 bytes)\ncluster_size: 65536\ndisk size: 96K\nSnapshot list:\nID TAG VM SIZE DATE VM CLOCK\n1 d9a9784a500742a7bb95627bb3aace38 0 2012-08-20 10:52:46 00:00:00.000\nbacking file: /var/lib/nova/a328c7998805951a_2 (actual path: /b/3a988059e51a_2)\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_image_utils.py", line 181, in test_qemu_backing_file_actual image_info = images.qemu_img_info(path) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/images.py') -> None + exists.__call__('disk.config') -> True ====================================================================== FAIL: nova.tests.test_image_utils.ImageUtilsTestCase.test_qemu_info_canon ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', 'disk.config') -> ('image: disk.config\nfile format: raw\nvirtual size: 64M (67108864 bytes)\ncluster_size: 65536\ndisk size: 96K\nblah BLAH: bb\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_image_utils.py", line 132, in test_qemu_info_canon image_info = images.qemu_img_info(path) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/images.py') -> None + exists.__call__('disk.config') -> True ====================================================================== FAIL: nova.tests.test_image_utils.ImageUtilsTestCase.test_qemu_info_convert ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', 'disk.config') -> ('image: disk.config\nfile format: raw\nvirtual size: 64M\ndisk size: 96K\nSnapshot list:\nID TAG VM SIZE DATE VM CLOCK\n1 d9a9784a500742a7bb95627bb3aace38 0 2012-08-20 10:52:46 00:00:00.000\n3 d9a9784a500742a7bb95627bb3aace38 0 2012-08-20 10:52:46 00:00:00.000\n4 d9a9784a500742a7bb95627bb3aace38 0 2012-08-20 10:52:46 00:00:00.000\njunk stuff: bbb\n', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_image_utils.py", line 209, in test_qemu_info_convert image_info = images.qemu_img_info(path) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/images.py') -> None + exists.__call__('disk.config') -> True ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri ---------------------------------------------------------------------- _StringException: Empty attachments: stderr stdout pythonlogging:'nova': {{{ Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' URI qemu:///system does not support events }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 934, in test_xml_and_uri expect_kernel=True, expect_ramdisk=True) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 1982, in _check_xml_and_uri (check(tree), expected_result, i)) MismatchError: !=: reference = 'a6611881-4a3e-11cb-95ba-9641e2d34d10' actual = 'cef19ce0-0ca2-11df-855d-b19fbce37686' : a6611881-4a3e-11cb-95ba-9641e2d34d10 != cef19ce0-0ca2-11df-855d-b19fbce37686 failed check 12 ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri_rescue_no_kernel ---------------------------------------------------------------------- _StringException: Empty attachments: stderr stdout pythonlogging:'nova': {{{ Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' URI qemu:///system does not support events }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 952, in test_xml_and_uri_rescue_no_kernel expect_ramdisk=True, rescue=instance_data) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 1982, in _check_xml_and_uri (check(tree), expected_result, i)) MismatchError: !=: reference = 'a6611881-4a3e-11cb-95ba-9641e2d34d10' actual = 'cef19ce0-0ca2-11df-855d-b19fbce37686' : a6611881-4a3e-11cb-95ba-9641e2d34d10 != cef19ce0-0ca2-11df-855d-b19fbce37686 failed check 14 ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtConnTestCase.test_xml_and_uri_rescue_no_ramdisk ---------------------------------------------------------------------- _StringException: Empty attachments: stderr stdout pythonlogging:'nova': {{{ Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' Loading network driver 'nova.network.linux_net' URI qemu:///system does not support events }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 958, in test_xml_and_uri_rescue_no_ramdisk expect_ramdisk=False, rescue=instance_data) File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 1982, in _check_xml_and_uri (check(tree), expected_result, i)) MismatchError: !=: reference = 'a6611881-4a3e-11cb-95ba-9641e2d34d10' actual = 'cef19ce0-0ca2-11df-855d-b19fbce37686' : a6611881-4a3e-11cb-95ba-9641e2d34d10 != cef19ce0-0ca2-11df-855d-b19fbce37686 failed check 12 ====================================================================== FAIL: nova.tests.test_libvirt.LibvirtUtilsTestCase.test_get_disk_size ---------------------------------------------------------------------- _StringException: Empty attachments: pythonlogging:'nova' stderr stdout traceback-1: {{{ Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/fixtures/fixture.py", line 112, in cleanUp return self._cleanups(raise_errors=raise_first) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 88, in __call__ reraise(error[0], error[1], error[2]) File "/usr/lib/pymodules/python2.7/fixtures/callmany.py", line 82, in __call__ cleanup(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/python2.7/dist-packages/mox.py", line 506, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) ExpectedMethodCallsError: Verify: Expected methods never called: 0. execute.__call__('env', 'LC_ALL=C', 'LANG=C', 'qemu-img', 'info', '/some/path') -> ('image: 00000001\nfile format: raw\nvirtual size: 4.4M (4592640 bytes)\ndisk size: 4.4M', '') }}} Traceback (most recent call last): File "/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/tests/test_libvirt.py", line 4190, in test_get_disk_size self.assertEquals(disk.get_disk_size('/some/path'), 4592640) File "/usr/lib/python2.7/dist-packages/coverage/control.py", line 234, in _should_trace canonical = self.file_locator.canonical_filename(filename) File "/usr/lib/python2.7/dist-packages/coverage/files.py", line 39, in canonical_filename if os.path.isabs(f) and not os.path.exists(f): File "/usr/lib/python2.7/dist-packages/mox.py", line 765, in __call__ return mock_method(*params, **named_params) File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__ expected_method = self._VerifyMethodCall() File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall raise UnexpectedMethodCallError(self, expected) UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/home/zigo/sources/debian_packaging/openstack/openstack-auto-builder/sources/nova/build-area/nova-2013.1~g3/nova/virt/disk/api.py') -> None + exists.__call__('/some/path') -> True ---------------------------------------------------------------------- Ran 5231 tests in 1019.809s FAILED (failures=19) running testr running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --list running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --load-list /tmp/tmpSVkOh3 running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --load-list /tmp/tmpPaK7s2 Slowest Tests Test id Runtime (s)