Rayees Namathponnan created CLOUDSTACK-3021:
-----------------------------------------------
Summary: Test case TestServiceOfferingHierarchy failed; resource
clean up should delete sub domain before delete main domain
Key: CLOUDSTACK-3021
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.2.0
Reporter: Rayees Namathponnan
Fix For: 4.2.0
Failed below test case
test/integration/component/test_accounts: TestServiceOfferingHierarchy
Test case should cleanup, sub domain before deleting main domain
Error in automation log
Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to:
{errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 55);
Please make sure all users and sub domains have been removed from the domain
before deleting'}
Stacktrace
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in run
self.tearDown()
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in
tearDown
self.teardownContext(ancestor)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in
teardownContext
try_run(context, names)
File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in
try_run
return func()
File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py",
line 771, in tearDownClass
raise Exception("Warning: Exception during cleanup : %s" % e)
Exception: Warning: Exception during cleanup : Execute cmd: asyncquery failed,
due to: {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI
(id: 55); 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