The attempt to merge lp:~vishvananda/nova/orm_deux into lp:nova failed.Below is the output from the failed tests. nova.tests.access_unittest AccessTestCase test_001_allow_all ... [ERROR] test_002_allow_none ... [ERROR] test_003_allow_project_manager ... [ERROR] test_004_allow_sys_and_net ... [ERROR] test_005_allow_sys_no_pm ... [ERROR] nova.tests.api_unittest ApiEc2TestCase test_describe_instances ... [ERROR] [ERROR] test_get_all_key_pairs ... [ERROR] [ERROR] nova.tests.auth_unittest AuthTestCase test_001_can_create_users ... [OK] test_002_can_get_user ... [OK] test_003_can_retreive_properties ... [OK] test_004_signature_is_valid ... [OK] test_005_can_get_credentials ... [OK] test_006_test_key_storage ... [OK] test_007_test_key_generation ... [OK] test_008_can_list_key_pairs ... [OK] test_009_can_delete_key_pair ... [OK] test_010_can_list_users ... [OK] test_101_can_add_user_role ... [OK] test_199_can_remove_user_role ... [OK] test_201_can_create_project ... [ERROR] test_202_user1_is_project_member ... [ERROR] test_203_user2_is_not_project_member ... [ERROR] test_204_user1_is_project_manager ... [ERROR] test_205_user2_is_not_project_manager ... [ERROR] test_206_can_add_user_to_project ... [ERROR] test_207_can_remove_user_from_project ... [ERROR] test_208_can_remove_add_user_with_role ... [ERROR] test_209_can_generate_x509 ... [OK] test_210_can_add_project_role ... [ERROR] test_211_can_list_project_roles ... [FAIL] test_212_can_remove_project_role ... [ERROR] test_214_can_retrieve_project_by_user ... [ERROR] test_299_can_delete_project ... [ERROR] test_999_can_delete_users ... [OK] nova.tests.cloud_unittest CloudTestCase test_console_output ... [ERROR] test_instance_update_state ... [ERROR] test_run_instances ... [ERROR] nova.tests.compute_unittest ComputeTestCase test_console_output ... [ERROR] test_reboot ... [ERROR] test_run_instance_existing ... [ERROR] test_run_terminate ... [ERROR] test_run_terminate_timestamps ... [ERROR] nova.tests.flags_unittest FlagsTestCase test_declare ... [OK] test_define ... [OK] test_runtime_and_unknown_flags ... [OK] nova.tests.network_unittest NetworkTestCase test_allocate_deallocate_fixed_ip ... [ERROR] test_available_ips ... [ERROR] test_ips_are_reused ... [ERROR] test_public_network_association ... [ERROR] test_side_effects ... [ERROR] test_subnet_edge ... [ERROR] test_too_many_addresses ... [ERROR] test_too_many_networks ... [ERROR] test_vpn_ip_and_port_looks_valid ... [ERROR] nova.tests.objectstore_unittest ObjectStoreTestCase test_buckets ... [ERROR] test_images ... [ERROR] S3APITestCase test_000_list_buckets ... [ERROR] test_001_create_and_delete_bucket ... [ERROR] test_002_create_bucket_and_key_and_delete_key_again ... [ERROR] nova.tests.process_unittest ProcessTestCase test_execute_stderr ... [OK] test_execute_stdout ... [OK] test_execute_unexpected_stderr ... [OK] test_kill_long_process ... [OK] test_max_processes ... [OK] test_process_exit_is_contained ... [OK] test_shared_pool_is_singleton ... [OK] test_shared_pool_works_as_singleton ... [OK] nova.tests.rpc_unittest RpcTestCase test_call_exception ... [OK] test_call_succeed ... [OK] nova.tests.service_unittest ServiceTestCase test_create ... [OK] test_report_state ... [OK] test_report_state_newly_connected ... [OK] test_report_state_newly_disconnected ... [OK] test_report_state_no_service ... [OK] nova.tests.validator_unittest ValidationTestCase test_type_validation ... [OK] nova.tests.volume_unittest VolumeTestCase test_concurrent_volumes_get_different_blades ... [ERROR] test_create_delete_volume ... [ERROR] test_multi_node ... [OK] test_run_attach_detach_volume ... [ERROR] test_too_big_volume ... [OK] test_too_many_volumes ... [ERROR] =============================================================================== [FAIL]: nova.tests.auth_unittest.AuthTestCase.test_211_can_list_project_roles Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 185, in test_211_can_list_project_roles self.assertTrue('sysadmin' in roles) twisted.trial.unittest.FailTest: None =============================================================================== [ERROR]: nova.tests.access_unittest.AccessTestCase.test_001_allow_all Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/access_unittest.py", line 76, in setUp self.context.project = self.project exceptions.AttributeError: 'AccessTestCase' object has no attribute 'project' =============================================================================== [ERROR]: nova.tests.access_unittest.AccessTestCase.test_002_allow_none Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/access_unittest.py", line 76, in setUp self.context.project = self.project exceptions.AttributeError: 'AccessTestCase' object has no attribute 'project' =============================================================================== [ERROR]: nova.tests.access_unittest.AccessTestCase.test_003_allow_project_manager Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/access_unittest.py", line 76, in setUp self.context.project = self.project exceptions.AttributeError: 'AccessTestCase' object has no attribute 'project' =============================================================================== [ERROR]: nova.tests.access_unittest.AccessTestCase.test_004_allow_sys_and_net Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/access_unittest.py", line 76, in setUp self.context.project = self.project exceptions.AttributeError: 'AccessTestCase' object has no attribute 'project' =============================================================================== [ERROR]: nova.tests.access_unittest.AccessTestCase.test_005_allow_sys_no_pm Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/access_unittest.py", line 76, in setUp self.context.project = self.project exceptions.AttributeError: 'AccessTestCase' object has no attribute 'project' =============================================================================== [ERROR]: nova.tests.api_unittest.ApiEc2TestCase.test_describe_instances Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/api_unittest.py", line 212, in test_describe_instances project = self.manager.create_project('fake', 'fake', 'fake') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 530, in create_project project.id) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 271, in allocate_network self._ensure_indexes(context) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 326, in _ensure_indexes if not self.db.network_index_count(context): File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 323, in network_index_count return IMPL.network_index_count(context) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.api_unittest.ApiEc2TestCase.test_describe_instances Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 239, in run self.tearDown() File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 111, in tearDown super(BaseTestCase, self).tearDown() File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 73, in tearDown self.mox.VerifyAll() File "/usr/lib/pymodules/python2.6/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/pymodules/python2.6/mox.py", line 504, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) mox.ExpectedMethodCallsError: Verify: Expected methods never called: 0. Stub for .__call__(None, False) -> =============================================================================== [ERROR]: nova.tests.api_unittest.ApiEc2TestCase.test_get_all_key_pairs Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/api_unittest.py", line 225, in test_get_all_key_pairs user = self.manager.create_user('fake', 'fake', 'fake') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user fake already exists =============================================================================== [ERROR]: nova.tests.api_unittest.ApiEc2TestCase.test_get_all_key_pairs Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 239, in run self.tearDown() File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 111, in tearDown super(BaseTestCase, self).tearDown() File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 73, in tearDown self.mox.VerifyAll() File "/usr/lib/pymodules/python2.6/mox.py", line 284, in VerifyAll mock_obj._Verify() File "/usr/lib/pymodules/python2.6/mox.py", line 504, in _Verify raise ExpectedMethodCallsError(self._expected_calls_queue) mox.ExpectedMethodCallsError: Verify: Expected methods never called: 0. Stub for .__call__(None, False) -> =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_201_can_create_project Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 113, in test_201_can_create_project project = self.manager.create_project('testproj', 'test1', 'A test project', ['test1']) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 530, in create_project project.id) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 271, in allocate_network self._ensure_indexes(context) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 326, in _ensure_indexes if not self.db.network_index_count(context): File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 323, in network_index_count return IMPL.network_index_count(context) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_202_user1_is_project_member Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 121, in test_202_user1_is_project_member self.assertTrue(self.manager.get_user('test1').is_project_member('testproj')) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 126, in is_project_member return AuthManager().is_project_member(self, project) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 552, in is_project_member return User.safe_id(user) in project.member_ids exceptions.AttributeError: 'NoneType' object has no attribute 'member_ids' =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_203_user2_is_not_project_member Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 124, in test_203_user2_is_not_project_member self.assertFalse(self.manager.get_user('test2').is_project_member('testproj')) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 126, in is_project_member return AuthManager().is_project_member(self, project) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 552, in is_project_member return User.safe_id(user) in project.member_ids exceptions.AttributeError: 'NoneType' object has no attribute 'member_ids' =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_204_user1_is_project_manager Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 127, in test_204_user1_is_project_manager self.assertTrue(self.manager.get_user('test1').is_project_manager('testproj')) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 129, in is_project_manager return AuthManager().is_project_manager(self, project) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 546, in is_project_manager return User.safe_id(user) == project.project_manager_id exceptions.AttributeError: 'NoneType' object has no attribute 'project_manager_id' =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_205_user2_is_not_project_manager Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 130, in test_205_user2_is_not_project_manager self.assertFalse(self.manager.get_user('test2').is_project_manager('testproj')) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 129, in is_project_manager return AuthManager().is_project_manager(self, project) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 546, in is_project_manager return User.safe_id(user) == project.project_manager_id exceptions.AttributeError: 'NoneType' object has no attribute 'project_manager_id' =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_206_can_add_user_to_project Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 133, in test_206_can_add_user_to_project self.manager.add_to_project('test2', 'testproj') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 540, in add_to_project Project.safe_id(project)) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 208, in add_to_project return self.__add_to_group(uid, dn) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 403, in __add_to_group (group_dn,)) nova.exception.NotFound: The group at dn cn=testproj,ou=Groups,dc=example,dc=com doesn't exist =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_207_can_remove_user_from_project Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 137, in test_207_can_remove_user_from_project self.manager.remove_from_project('test2', 'testproj') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 558, in remove_from_project Project.safe_id(project)) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 213, in remove_from_project return self.__remove_from_group(uid, dn) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 414, in __remove_from_group (group_dn,)) nova.exception.NotFound: The group at dn cn=testproj,ou=Groups,dc=example,dc=com doesn't exist =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_208_can_remove_add_user_with_role Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 141, in test_208_can_remove_add_user_with_role self.manager.add_to_project('test2', 'testproj') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 540, in add_to_project Project.safe_id(project)) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 208, in add_to_project return self.__add_to_group(uid, dn) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 403, in __add_to_group (group_dn,)) nova.exception.NotFound: The group at dn cn=testproj,ou=Groups,dc=example,dc=com doesn't exist =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_210_can_add_project_role Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 174, in test_210_can_add_project_role self.assertFalse(project.has_role('test1', 'sysadmin')) exceptions.AttributeError: 'NoneType' object has no attribute 'has_role' =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_212_can_remove_project_role Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 196, in test_212_can_remove_project_role self.assertTrue(project.has_role('test1', 'sysadmin')) exceptions.AttributeError: 'NoneType' object has no attribute 'has_role' =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_214_can_retrieve_project_by_user Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 203, in test_214_can_retrieve_project_by_user project = self.manager.create_project('testproj2', 'test2', 'Another test project', ['test2']) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 530, in create_project project.id) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 271, in allocate_network self._ensure_indexes(context) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 326, in _ensure_indexes if not self.db.network_index_count(context): File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 323, in network_index_count return IMPL.network_index_count(context) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.auth_unittest.AuthTestCase.test_299_can_delete_project Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 226, in run d = self._maybe_inline_callbacks(test_method) File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 184, in _maybe_inline_callbacks g = func() File "/var/lib/hudson/src/nova/hudson/nova/tests/auth_unittest.py", line 208, in test_299_can_delete_project self.manager.delete_project('testproj') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 590, in delete_project drv.delete_project(Project.safe_id(project)) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 285, in delete_project self.__delete_group(project_dn) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 455, in __delete_group raise exception.NotFound("Group at dn %s doesn't exist" % group_dn) nova.exception.NotFound: Group at dn cn=testproj,ou=Groups,dc=example,dc=com doesn't exist =============================================================================== [ERROR]: nova.tests.cloud_unittest.CloudTestCase.test_console_output Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/cloud_unittest.py", line 62, in setUp project = manager.AuthManager().create_project('proj', 'admin', 'proj') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 530, in create_project project.id) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 271, in allocate_network self._ensure_indexes(context) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 326, in _ensure_indexes if not self.db.network_index_count(context): File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 323, in network_index_count return IMPL.network_index_count(context) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.cloud_unittest.CloudTestCase.test_instance_update_state Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/cloud_unittest.py", line 62, in setUp project = manager.AuthManager().create_project('proj', 'admin', 'proj') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 530, in create_project project.id) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 271, in allocate_network self._ensure_indexes(context) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 326, in _ensure_indexes if not self.db.network_index_count(context): File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 323, in network_index_count return IMPL.network_index_count(context) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.cloud_unittest.CloudTestCase.test_run_instances Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/cloud_unittest.py", line 62, in setUp project = manager.AuthManager().create_project('proj', 'admin', 'proj') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 530, in create_project project.id) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 271, in allocate_network self._ensure_indexes(context) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 326, in _ensure_indexes if not self.db.network_index_count(context): File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 323, in network_index_count return IMPL.network_index_count(context) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.compute_unittest.ComputeTestCase.test_console_output Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/compute_unittest.py", line 46, in setUp self.user = self.manager.create_user('fake', 'fake', 'fake') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user fake already exists =============================================================================== [ERROR]: nova.tests.compute_unittest.ComputeTestCase.test_reboot Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/compute_unittest.py", line 46, in setUp self.user = self.manager.create_user('fake', 'fake', 'fake') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user fake already exists =============================================================================== [ERROR]: nova.tests.compute_unittest.ComputeTestCase.test_run_instance_existing Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/compute_unittest.py", line 46, in setUp self.user = self.manager.create_user('fake', 'fake', 'fake') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user fake already exists =============================================================================== [ERROR]: nova.tests.compute_unittest.ComputeTestCase.test_run_terminate Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/compute_unittest.py", line 46, in setUp self.user = self.manager.create_user('fake', 'fake', 'fake') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user fake already exists =============================================================================== [ERROR]: nova.tests.compute_unittest.ComputeTestCase.test_run_terminate_timestamps Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/compute_unittest.py", line 46, in setUp self.user = self.manager.create_user('fake', 'fake', 'fake') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user fake already exists =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_allocate_deallocate_fixed_ip Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 56, in setUp name)) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 530, in create_project project.id) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 271, in allocate_network self._ensure_indexes(context) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 326, in _ensure_indexes if not self.db.network_index_count(context): File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 323, in network_index_count return IMPL.network_index_count(context) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_available_ips Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 48, in setUp self.user = self.manager.create_user('netuser', 'netuser', 'netuser') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user netuser already exists =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_ips_are_reused Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 48, in setUp self.user = self.manager.create_user('netuser', 'netuser', 'netuser') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user netuser already exists =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_public_network_association Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 48, in setUp self.user = self.manager.create_user('netuser', 'netuser', 'netuser') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user netuser already exists =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_side_effects Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 48, in setUp self.user = self.manager.create_user('netuser', 'netuser', 'netuser') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user netuser already exists =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_subnet_edge Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 48, in setUp self.user = self.manager.create_user('netuser', 'netuser', 'netuser') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user netuser already exists =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_too_many_addresses Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 48, in setUp self.user = self.manager.create_user('netuser', 'netuser', 'netuser') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user netuser already exists =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_too_many_networks Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 48, in setUp self.user = self.manager.create_user('netuser', 'netuser', 'netuser') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user netuser already exists =============================================================================== [ERROR]: nova.tests.network_unittest.NetworkTestCase.test_vpn_ip_and_port_looks_valid Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 48, in setUp self.user = self.manager.create_user('netuser', 'netuser', 'netuser') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user netuser already exists =============================================================================== [ERROR]: nova.tests.objectstore_unittest.ObjectStoreTestCase.test_buckets Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/objectstore_unittest.py", line 71, in setUp self.auth_manager.create_project('proj1', 'user1', 'a proj', ['user1']) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 530, in create_project project.id) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 271, in allocate_network self._ensure_indexes(context) File "/var/lib/hudson/src/nova/hudson/nova/network/manager.py", line 326, in _ensure_indexes if not self.db.network_index_count(context): File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 323, in network_index_count return IMPL.network_index_count(context) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.objectstore_unittest.ObjectStoreTestCase.test_images Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/test.py", line 217, in run self.setUp() File "/var/lib/hudson/src/nova/hudson/nova/tests/objectstore_unittest.py", line 68, in setUp self.auth_manager.create_user('user1') File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user user1 already exists =============================================================================== [ERROR]: nova.tests.objectstore_unittest.S3APITestCase.test_000_list_buckets Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/objectstore_unittest.py", line 192, in setUp self.admin_user = self.auth_manager.create_user('admin', admin=True) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user admin already exists =============================================================================== [ERROR]: nova.tests.objectstore_unittest.S3APITestCase.test_001_create_and_delete_bucket Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/objectstore_unittest.py", line 192, in setUp self.admin_user = self.auth_manager.create_user('admin', admin=True) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user admin already exists =============================================================================== [ERROR]: nova.tests.objectstore_unittest.S3APITestCase.test_002_create_bucket_and_key_and_delete_key_again Traceback (most recent call last): File "/var/lib/hudson/src/nova/hudson/nova/tests/objectstore_unittest.py", line 192, in setUp self.admin_user = self.auth_manager.create_user('admin', admin=True) File "/var/lib/hudson/src/nova/hudson/nova/auth/manager.py", line 641, in create_user user_dict = drv.create_user(name, access, secret, admin) File "/var/lib/hudson/src/nova/hudson/nova/auth/ldapdriver.py", line 140, in create_user raise exception.Duplicate("LDAP user %s already exists" % name) nova.exception.Duplicate: LDAP user admin already exists =============================================================================== [ERROR]: nova.tests.volume_unittest.VolumeTestCase.test_concurrent_volumes_get_different_blades Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks result = g.send(result) File "/var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py", line 163, in test_concurrent_volumes_get_different_blades volume_id = self._create_volume() File "/var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py", line 54, in _create_volume return db.volume_create(None, vol)['id'] File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 394, in volume_create return IMPL.volume_create(context, values) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.volume_unittest.VolumeTestCase.test_create_delete_volume Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks result = g.send(result) File "/var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py", line 59, in test_create_delete_volume volume_id = self._create_volume() File "/var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py", line 54, in _create_volume return db.volume_create(None, vol)['id'] File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 394, in volume_create return IMPL.volume_create(context, values) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.volume_unittest.VolumeTestCase.test_run_attach_detach_volume Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks result = g.send(result) File "/var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py", line 111, in test_run_attach_detach_volume instance_id = db.instance_create(self.context, inst)['id'] File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 195, in instance_create return IMPL.instance_create(context, values) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm =============================================================================== [ERROR]: nova.tests.volume_unittest.VolumeTestCase.test_too_many_volumes Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks result = g.send(result) File "/var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py", line 88, in test_too_many_volumes volume_id = self._create_volume() File "/var/lib/hudson/src/nova/hudson/nova/tests/volume_unittest.py", line 54, in _create_volume return db.volume_create(None, vol)['id'] File "/var/lib/hudson/src/nova/hudson/nova/db/api.py", line 394, in volume_create return IMPL.volume_create(context, values) File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 203, in __getattr__ backend = self.__get_backend() File "/var/lib/hudson/src/nova/hudson/nova/utils.py", line 198, in __get_backend self.__backend = __import__(name, None, None, fromlist) File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/__init__.py", line 22, in from nova.db.sqlalchemy import models File "/var/lib/hudson/src/nova/hudson/nova/db/sqlalchemy/models.py", line 27, in from sqlalchemy.orm import relationship, backref, exc, object_mapper exceptions.ImportError: No module named sqlalchemy.orm ------------------------------------------------------------------------------- Ran 81 tests in 3.227s FAILED (failures=1, errors=47, successes=35)