Last active
December 19, 2015 05:59
-
-
Save vogxn/5908555 to your computer and use it in GitHub Desktop.
affinity_group_with_account_domain
This file contains hidden or 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
nosetests --with-marvin --marvin-config=setup/dev/advanced.cfg test/integration/component/test_affinity_groups.py --load tsp@cloud-2 | |
Deploy vm in Affinity Group belonging to regular user ... ok | |
Create Affinity Group forregular user ... ERROR | |
List Affinity Groups for all the users ... ok | |
test_01_admin_create_aff_grp (integration.component.test_affinity_groups.TestCreateAffinityGroup) ... ok | |
test_02_doadmin_create_aff_grp (integration.component.test_affinity_groups.TestCreateAffinityGroup) ... ERROR | |
test_03_user_create_aff_grp (integration.component.test_affinity_groups.TestCreateAffinityGroup) ... ERROR | |
test_04_user_create_aff_grp_existing_name (integration.component.test_affinity_groups.TestCreateAffinityGroup) ... ERROR | |
test_05_create_aff_grp_same_name_diff_acc (integration.component.test_affinity_groups.TestCreateAffinityGroup) ... ERROR | |
test_06_create_aff_grp_nonexisting_type (integration.component.test_affinity_groups.TestCreateAffinityGroup) ... ok | |
Delete Afifnity Group by id. ... ok | |
Delete Afifnity Group for an account. ... ERROR | |
Delete Afifnity Group which has vms in it. ... ERROR | |
Delete Affinity Group which has after updating affinity group for ... FAIL | |
Delete Affinity Group with id which does not belong to this user ... ERROR | |
Delete Affinity Group by name which does not belong to this user ... ERROR | |
Deploy VM without affinity group ... ERROR | |
Deploy VM by aff grp name ... ERROR | |
Deploy VM by aff grp id ... ERROR | |
test DeployVM in anti-affinity groups ... ERROR | |
Deploy vms by affinity group id ... ERROR | |
Deploy vm in affinity group of another user by name ... ok | |
Deploy vm in affinity group of another user by id ... ERROR | |
Deploy vm in multiple affinity groups ... ERROR | |
Deploy multiple vms in multiple affinity groups ... ERROR | |
Deploy VM by aff grp name and id ... ERROR | |
List affinity group for a vm ... ERROR | |
List multiple affinity groups associated with a vm ... ERROR | |
List affinity groups by id ... ERROR | |
List Affinity Groups by name ... ERROR | |
List Affinity Groups by non-existing id ... ERROR | |
List Affinity Groups by non-existing name ... ERROR | |
Update the list of affinityGroups by using affinity groupids ... ERROR | |
Update the list of affinityGroups by using affinity groupnames ... ERROR | |
Update the list of affinityGroups for vm which is not associated ... ERROR | |
Update the list of Affinity Groups to empty list ... ERROR | |
Update the list of Affinity Groups on running vm ... ERROR | |
====================================================================== | |
ERROR: Create Affinity Group forregular user | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1473, in test_02_create_aff_grp_user | |
account=self.user.name, domainid=self.domain.id) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'AccountName and domainId must be specified together'} | |
====================================================================== | |
ERROR: test_02_doadmin_create_aff_grp (integration.component.test_affinity_groups.TestCreateAffinityGroup) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 193, in test_02_doadmin_create_aff_grp | |
account=self.do_admin.name, domainid=self.new_domain.id) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'AccountName and domainId must be specified together'} | |
====================================================================== | |
ERROR: test_03_user_create_aff_grp (integration.component.test_affinity_groups.TestCreateAffinityGroup) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 208, in test_03_user_create_aff_grp | |
account=self.user.name, domainid=self.domain.id) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'AccountName and domainId must be specified together'} | |
====================================================================== | |
ERROR: test_04_user_create_aff_grp_existing_name (integration.component.test_affinity_groups.TestCreateAffinityGroup) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 226, in test_04_user_create_aff_grp_existing_name | |
account=self.user.name, domainid=self.domain.id) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'AccountName and domainId must be specified together'} | |
====================================================================== | |
ERROR: test_05_create_aff_grp_same_name_diff_acc (integration.component.test_affinity_groups.TestCreateAffinityGroup) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 245, in test_05_create_aff_grp_same_name_diff_acc | |
account=self.user.name, domainid=self.domain.id) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'AccountName and domainId must be specified together'} | |
-------------------- >> begin captured logging << -------------------- | |
testclient.testcase.TestCreateAffinityGroup: DEBUG: Error: Creating affinity group with same name from different account failed. | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: Delete Afifnity Group for an account. | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 589, in test_02_delete_aff_grp_for_acc | |
domainid=self.domain.id, name=self.aff_grp[0].name) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'AccountName and domainId must be specified together'} | |
====================================================================== | |
ERROR: Delete Afifnity Group which has vms in it. | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 603, in test_03_delete_aff_grp_with_vms | |
acc=self.account.name, domainid=self.domain.id) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 536, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Delete Affinity Group with id which does not belong to this user | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 688, in test_05_delete_aff_grp_id | |
AffinityGroup.delete(self.api_client, name=self.aff_grp[0].name) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Unable to find affinity group: TestAffGrp_HA_0; failed to delete group.'} | |
====================================================================== | |
ERROR: Delete Affinity Group by name which does not belong to this user | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 720, in test_06_delete_aff_grp_name | |
AffinityGroup.delete(self.api_client, name=self.aff_grp[0].name) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Unable to find affinity group: TestAffGrp_HA_0; failed to delete group.'} | |
====================================================================== | |
ERROR: Deploy VM without affinity group | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1104, in test_01_deploy_vm_without_aff_grp | |
vm1, hostid1 = self.create_vm_in_aff_grps() | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1081, in create_vm_in_aff_grps | |
affinitygroupids=ag_ids | |
TypeError: create() got an unexpected keyword argument 'affinitygroupids' | |
-------------------- >> begin captured logging << -------------------- | |
testclient.testcase.TestDeployVMAffinityGroups: DEBUG: Creating VM in AffinityGroup=None | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: Deploy VM by aff grp name | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1117, in test_02_deploy_vm_by_aff_grp_name | |
vm1, hostid1 = self.create_vm_in_aff_grps([self.aff_grp[0].name]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1081, in create_vm_in_aff_grps | |
affinitygroupids=ag_ids | |
TypeError: create() got an unexpected keyword argument 'affinitygroupids' | |
-------------------- >> begin captured logging << -------------------- | |
testclient.testcase.TestDeployVMAffinityGroups: DEBUG: Creating VM in AffinityGroup=None | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: Deploy VM by aff grp id | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1128, in test_03_deploy_vm_by_aff_grp_id | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1068, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: test DeployVM in anti-affinity groups | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1147, in test_04_deploy_vm_anti_affinity_group | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1068, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Deploy vms by affinity group id | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1165, in test_05_deploy_vm_by_id | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1068, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Deploy vm in affinity group of another user by id | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1248, in test_07_deploy_vm_aff_grp_of_other_user_by_id | |
AffinityGroup.delete(self.api_client, self.aff_grp[0].name) | |
File "/Library/Python/2.7/site-packages/marvin/integration/lib/base.py", line 2995, in delete | |
return apiclient.deleteAffinityGroup(cmd) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2131, in deleteAffinityGroup | |
response = self.connection.marvin_request(command, response_type=response, method=method) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 230, in marvin_request | |
response = self.poll(asyncJobId, response_type) | |
File "/Library/Python/2.7/site-packages/marvin/cloudstackConnection.py", line 91, in poll | |
"asyncquery", asyncResonse.jobresult) | |
cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Unable to find affinity group: TestAffGrp_HA_0; failed to delete group.'} | |
====================================================================== | |
ERROR: Deploy vm in multiple affinity groups | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1260, in test_08_deploy_vm_multiple_aff_grps | |
self.aff_grp[1].name]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1081, in create_vm_in_aff_grps | |
affinitygroupids=ag_ids | |
TypeError: create() got an unexpected keyword argument 'affinitygroupids' | |
-------------------- >> begin captured logging << -------------------- | |
testclient.testcase.TestDeployVMAffinityGroups: DEBUG: Creating VM in AffinityGroup=[u'TestAffGrp_HA_0', u'TestAffGrp_HA_1'] | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: Deploy multiple vms in multiple affinity groups | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1285, in test_09_deploy_vm_multiple_aff_grps | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1068, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Deploy VM by aff grp name and id | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1319, in test_10_deploy_vm_by_aff_grp_name_and_id | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 1068, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: List affinity group for a vm | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 363, in test_01_list_aff_grps_for_vm | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 334, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: List multiple affinity groups associated with a vm | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 384, in test_02_list_multiple_aff_grps_for_vm | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 334, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: List affinity groups by id | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 412, in test_03_list_aff_grps_by_id | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 334, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: List Affinity Groups by name | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 426, in test_04_list_aff_grps_by_name | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 334, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: List Affinity Groups by non-existing id | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 439, in test_05_list_aff_grps_by_non_existing_id | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 334, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: List Affinity Groups by non-existing name | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 452, in test_06_list_aff_grps_by_non_existing_name | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 334, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Update the list of affinityGroups by using affinity groupids | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 831, in test_01_update_aff_grp_by_ids | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 799, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Update the list of affinityGroups by using affinity groupnames | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 878, in test_02_update_aff_grp_by_names | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 799, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Update the list of affinityGroups for vm which is not associated | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 921, in test_03_update_aff_grp_for_vm_with_no_aff_grp | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 799, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Update the list of Affinity Groups to empty list | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 951, in test_04_update_aff_grp_remove_all | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 799, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
ERROR: Update the list of Affinity Groups on running vm | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 977, in test_05_update_aff_grp_on_running_vm | |
self.create_aff_grp(aff_grp=self.services["host_anti_affinity_0"]) | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 799, in create_aff_grp | |
raise Exception("Error: Creation of Affinity Group failed : %s" %e) | |
Exception: Error: Creation of Affinity Group failed : Execute cmd: createaffinitygroup failed, due to: errorCode: 431, errorText:Unable to create affinity group, a group with name TestAffGrp_HA_0 already exisits. | |
====================================================================== | |
FAIL: Delete Affinity Group which has after updating affinity group for | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/tsp/workspace/cloudstack/incubator-cloudstack/test/integration/component/test_affinity_groups.py", line 638, in test_04_delete_aff_grp_with_vms | |
AffinityGroup.delete(self.api_client, name=self.aff_grp[0].name) | |
AssertionError: Exception not raised | |
-------------------- >> begin captured logging << -------------------- | |
testclient.testcase.TestDeleteAffinityGroups: DEBUG: Creating VM in AffinityGroup=TestAffGrp_HA_0 | |
testclient.testcase.TestDeleteAffinityGroups: DEBUG: Created VM=cd293a4b-7356-4b2e-a858-37f8047c5c56 in Affinity Group=TestAffGrp_HA_0 | |
testclient.testcase.TestDeleteAffinityGroups: DEBUG: Creating VM in AffinityGroup=TestAffGrp_HA_0 | |
testclient.testcase.TestDeleteAffinityGroups: DEBUG: Created VM=a0559c0e-55be-447f-b442-832e239ae869 in Affinity Group=TestAffGrp_HA_0 | |
--------------------- >> end captured logging << --------------------- | |
---------------------------------------------------------------------- | |
Ran 36 tests in 170.362s | |
FAILED (errors=29, failures=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment