[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rayees Namathponnan reopened CLOUDSTACK-3799:
---------------------------------------------


Still fails 

Error Message

Failed to delete domain: Execute cmd: asyncquery failed, due to: {errorcode : 
530, errortext : u'Failed to clean up domain resources and sub domains, delete 
failed on domain Domain-PI5FAX (id: 17).'}
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestDomainForceRemove: DEBUG: Creating a domain for login 
with API domain test
testclient.testcase.TestDomainForceRemove: DEBUG: Domain is created succesfully.
testclient.testcase.TestDomainForceRemove: DEBUG: Checking if the created 
domain is listed in list domains API
testclient.testcase.TestDomainForceRemove: DEBUG: Creating 2 user accounts in 
domain: Domain-PI5FAX
testclient.testcase.TestDomainForceRemove: DEBUG: Creating a tiny service 
offering for VM deployment
testclient.testcase.TestDomainForceRemove: DEBUG: Deploying virtual machine in 
account 1: test-account-HHJG8B
testclient.testcase.TestDomainForceRemove: DEBUG: Deploying virtual machine in 
account 2: test-account-AIWNZI
testclient.testcase.TestDomainForceRemove: DEBUG: Default network in account 1: 
test-account-HHJG8B is test-account-HHJG8B-network
testclient.testcase.TestDomainForceRemove: DEBUG: Trying to create a port 
forwarding rule in source NAT: 10.223.122.87
testclient.testcase.TestDomainForceRemove: DEBUG: Created PF rule on source 
NAT: 10.223.122.87
testclient.testcase.TestDomainForceRemove: DEBUG: Deleting domain with force 
option
--------------------- >> end captured logging << ---------------------
Stacktrace

  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", 
line 1514, in test_forceDeleteDomain
    self.fail("Failed to delete domain: %s" % e)
  File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail
    raise self.failureException(msg)
Failed to delete domain: Execute cmd: asyncquery failed, due to: {errorcode : 
530, errortext : u'Failed to clean up domain resources and sub domains, delete 
failed on domain Domain-PI5FAX (id: 17).'}
                
> [Automation]Test case "test_accounts.TestDomainForceRemove" failed to delete 
> domain
> -----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3799
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3799
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, Test
>    Affects Versions: 4.2.0
>         Environment: Automation
>            Reporter: Rayees Namathponnan
>            Assignee: Prasanna Santhanam
>             Fix For: 4.2.0
>
>
> Below two test cases failed in regression suite, test case failed while 
> deleting domain 
> TestDomainForceRemove : test_DeleteDomain
> TestDomainForceRemove  : test_forceDeleteDomain 
> Observed below error log
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-1TICU7 (id: 
> 16); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestDomainForceRemove: DEBUG: Creating a domain for login 
> with API domain test
> testclient.testcase.TestDomainForceRemove: DEBUG: Domain: Domain-1TICU7 is 
> created successfully.
> testclient.testcase.TestDomainForceRemove: DEBUG: Checking if the created 
> domain is listed in list domains API
> testclient.testcase.TestDomainForceRemove: DEBUG: Creating 2 user accounts in 
> domain: Domain-1TICU7
> testclient.testcase.TestDomainForceRemove: DEBUG: Creating a tiny service 
> offering for VM deployment
> testclient.testcase.TestDomainForceRemove: DEBUG: Deploying virtual machine 
> in account 1: test-OQ9O3U
> testclient.testcase.TestDomainForceRemove: DEBUG: Deploying virtual machine 
> in account 2: test-F9Q6VY
> testclient.testcase.TestDomainForceRemove: DEBUG: Default network in account 
> 1: test-OQ9O3U is test-OQ9O3U-network
> testclient.testcase.TestDomainForceRemove: DEBUG: Trying to create a port 
> forwarding rule in source NAT: 10.223.122.76
> testclient.testcase.TestDomainForceRemove: DEBUG: Created PF rule on source 
> NAT: 10.223.122.76
> testclient.testcase.TestDomainForceRemove: DEBUG: Deleting domain without 
> force option
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run
>     self.tearDown()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 1635, in tearDown
>     raise Exception("Warning: Exception during cleanup : %s" % e)
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-1TICU7 (id: 
> 16); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to