Rayees Namathponnan created CLOUDSTACK-3688:
-----------------------------------------------

             Summary: Test cases 
test_accounts.TestDomainForceRemove.test_forceDeleteDomain, not found the 
domain to delete and failed
                 Key: CLOUDSTACK-3688
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3688
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation
    Affects Versions: 4.2.0
         Environment: Automation
            Reporter: Rayees Namathponnan
             Fix For: 4.2.0
         Attachments: MSlog.rar

Test case  
integration.component.test_accounts.TestDomainForceRemove.test_forceDeleteDomain
  failed to find the domain and failed with below error 

Execute cmd: listaccounts failed, due to: errorCode: 431, errorText:Domain 
id=17 doesn't exist
-------------------- >> 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-4LRYHQ
testclient.testcase.TestDomainForceRemove: DEBUG: Creating a tiny service 
offering for VM deployment
testclient.testcase.TestDomainForceRemove: DEBUG: Deploying virtual machine in 
account 1: test-SLP41D
testclient.testcase.TestDomainForceRemove: DEBUG: Deploying virtual machine in 
account 2: test-SRUFYO
testclient.testcase.TestDomainForceRemove: DEBUG: Default network in account 1: 
test-SLP41D is test-SLP41D-network
testclient.testcase.TestDomainForceRemove: DEBUG: Trying to create a port 
forwarding rule in source NAT: 10.223.122.81
testclient.testcase.TestDomainForceRemove: DEBUG: Created PF rule on source 
NAT: 10.223.122.81
testclient.testcase.TestDomainForceRemove: DEBUG: Deleting domain with force 
option
testclient.testcase.TestDomainForceRemove: DEBUG: Waiting for 
account.cleanup.interval to cleanup any remaining resouces
testclient.testcase.TestDomainForceRemove: DEBUG: account.cleanup.interval: 60
testclient.testcase.TestDomainForceRemove: DEBUG: Checking if the resources in 
domain are deleted or not..
--------------------- >> 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 1807, in test_forceDeleteDomain
    listall=True
  File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", 
line 129, in list
    return(apiclient.listAccounts(cmd))
  File 
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
 line 519, in listAccounts
    response = self.connection.marvin_request(command, response_type=response, 
method=method)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", 
line 222, in marvin_request
    response = jsonHelper.getResultObj(response.json(), response_type)
  File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, 
in getResultObj
    raise cloudstackException.cloudstackAPIException(respname, errMsg)
Execute cmd: listaccounts failed, due to: errorCode: 431, errorText:Domain 
id=17 doesn't exist


--
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