Created
May 19, 2016 15:23
-
-
Save misterdorm/cc7dfd235ebcc2a23009b9115b58e4d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New errors: | |
nova.tests.unit.objects.test_instance.TestInstanceObject.test_save_in_compute_cell ... FAILED | |
nova.tests.unit.objects.test_instance.TestInstanceV1RemoteObject.test_save_in_compute_cell ... FAILED | |
nova.tests.unit.objects.test_instance.TestRemoteInstanceObject.test_save_in_compute_cell ... FAILED | |
Samle of debug output from one of the above (others are similar): | |
-------- | |
{5} nova.tests.unit.objects.test_instance.TestInstanceV1RemoteObject.test_save_in_compute_cell [0.083946s] ... FAILED | |
Captured traceback-1: | |
~~~~~~~~~~~~~~~~~~~~~ | |
Traceback (most recent call last): | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/fixtures/fixture.py", line 125, in cleanUp | |
return self._cleanups(raise_errors=raise_first) | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/fixtures/callmany.py", line 88, in __call__ | |
reraise(error[0], error[1], error[2]) | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/fixtures/callmany.py", line 82, in __call__ | |
cleanup(*args, **kwargs) | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/mox3/mox.py", line 289, in VerifyAll | |
mock_obj._Verify() | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/mox3/mox.py", line 543, in _Verify | |
raise ExpectedMethodCallsError(self._expected_calls_queue) | |
mox3.mox.ExpectedMethodCallsError: Verify: Expected methods never called: | |
0. MockMethod.__call__(<nova.context.RequestContext object at 0x1118586d0>, mox.IsA(<class 'nova.objects.instance._BaseInstance'>) ) -> None | |
Captured traceback: | |
~~~~~~~~~~~~~~~~~~~ | |
Traceback (most recent call last): | |
File "nova/tests/unit/objects/test_instance.py", line 381, in test_save_in_compute_cell | |
self._save_test_helper('compute', {}) | |
File "nova/tests/unit/objects/test_instance.py", line 364, in _save_test_helper | |
inst.save(**save_kwargs) | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 206, in wrapper | |
ctxt, self, fn.__name__, args, kwargs) | |
File "nova/tests/unit/objects/test_objects.py", line 329, in object_action | |
result = getattr(objinst, objmethod)(*args, **kwargs) | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 222, in wrapper | |
return fn(self, *args, **kwargs) | |
File "nova/objects/instance.py", line 682, in save | |
columns_to_join=_expected_cols(expected_attrs)) | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/mox3/mox.py", line 814, in __call__ | |
return mock_method(*params, **named_params) | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/mox3/mox.py", line 1113, in __call__ | |
expected_method = self._VerifyMethodCall() | |
File "/Users/dbingham/PycharmProjects/els-nova-openstack-sync/.tox/py27/lib/python2.7/site-packages/mox3/mox.py", line 1180, in _VerifyMethodCall | |
raise UnexpectedMethodCallError(self, expected) | |
mox3.mox.UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ | |
- function.__call__(<nova.context.RequestContext object at 0x1118586d0>, '34fd7606-2ed5-42c7-ad46-76240c088801', {'vm_state': u'meow', 'user_data': u'new', 'system_metadata': {}, 'task_state': u'wuff'}, columns_to_join=['system_metadata', 'info_cache', 'security_groups']) -> None | |
+ function.__call__(<nova.context.RequestContext object at 0x1118586d0>, '34fd7606-2ed5-42c7-ad46-76240c088801', {'vm_state': 'meow', 'user_data': 'new', 'system_metadata': {u'instance_name': u'instance-00000002', u'availability_zone': u'nova'}, 'task_state': 'wuff'}, columns_to_join=['system_metadata', 'info_cache', 'security_groups']) -> ({'shutdown_terminate': False, 'ephemeral_gb': 0, 'fault': None, 'vcpus': None, 'key_name': None, 'node': None, 'cleaned': False, 'project_id': 'fake-project', 'migration_context': None, 'access_ip_v6': '::1', 'access_ip_v4': '1.2.3.4', 'ramdisk_id': None, 'uuid': '34fd7606-2ed5-42c7-ad46-76240c088801', 'hostname': None, 'os_type': None, 'host': 'oldhost', 'power_state': None, 'progress': None, 'launched_on': None, 'default_ephemeral_device': None, 'vm_mode': None, 'ephemeral_key_uuid': None, 'config_drive': None, 'extra': {'pci_requests': None, 'vcpu_model': None, 'numa_topology': None, 'flavor': None}, 'vm_state': 'old', 'kernel_id': None, 'numa_topology': None, 'cell_name': 'api!child', 'created_at': None, 'architecture': None, 'pci_devices': [], 'terminated_at': None, 'instance_type_id': None, 'launched_at': datetime.datetime(1955, 11, 12, 22, 4), 'image_ref': None, 'display_description': None, 'availability_zone': None, 'system_metadata': {}, 'user_id': 'fake-user', 'updated_at': None, 'deleted_at': None, 'default_swap_device': None, 'locked': False, 'tags': [], 'auto_disk_config': False, 'user_data': 'old', 'metadata': {}, 'old_flavor': None, 'disable_terminate': False, 'id': 2, 'vcpu_model': None, 'new_flavor': None, 'locked_by': None, 'display_name': None, 'info_cache': {'network_info': '[]', 'instance_uuid': '34fd7606-2ed5-42c7-ad46-76240c088801', 'updated_at': None, 'deleted': False, 'deleted_at': None, 'created_at': None}, 'root_gb': 0, 'task_state': 'old', 'reservation_id': None, 'pci_requests': None, 'memory_mb': None, 'key_data': None, 'scheduled_at': None, 'security_groups': [], 'launch_index': None, 'root_device_name': None, 'deleted': False}, {'shutdown_terminate': False, 'ephemeral_gb': 0, 'fault': None, 'vcpus': None, 'key_name': None, 'node': None, 'cleaned': False, 'hostname': None, 'migration_context': None, 'access_ip_v6': '::1', 'access_ip_v4': '1.2.3.4', 'ramdisk_id': None, 'uuid': '34fd7606-2ed5-42c7-ad46-76240c088801', 'project_id': 'fake-project', 'os_type': None, 'host': 'newhost', 'power_state': None, 'progress': None, 'launched_on': None, 'default_ephemeral_device': None, 'vm_mode': None, 'ephemeral_key_uuid': None, 'config_drive': None, 'extra': {'pci_requests': None, 'vcpu_model': None, 'numa_topology': None, 'flavor': None}, 'vm_state': 'meow', 'kernel_id': None, 'numa_topology': None, 'cell_name': 'api!child', 'created_at': None, 'architecture': None, 'pci_devices': [], 'terminated_at': None, 'instance_type_id': None, 'image_ref': None, 'display_description': None, 'availability_zone': None, 'locked': False, 'user_id': 'fake-user', 'updated_at': None, 'deleted_at': None, 'default_swap_device': None, 'system_metadata': {u'instance_name': u'instance-00000002', u'availability_zone': u'nova'}, 'pci_requests': None, 'tags': [], 'auto_disk_config': False, 'user_data': 'new', 'metadata': {}, 'old_flavor': None, 'disable_terminate': False, 'id': 2, 'vcpu_model': None, 'new_flavor': None, 'locked_by': None, 'display_name': None, 'info_cache': {'network_info': '[]', 'instance_uuid': '34fd7606-2ed5-42c7-ad46-76240c088801', 'updated_at': None, 'deleted': False, 'deleted_at': None, 'created_at': None}, 'root_gb': 0, 'task_state': 'wuff', 'reservation_id': None, 'launched_at': datetime.datetime(1955, 11, 12, 22, 4), 'memory_mb': None, 'key_data': None, 'scheduled_at': None, 'security_groups': [], 'launch_index': None, 'root_device_name': None, 'deleted': False}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment