[
https://issues.apache.org/jira/browse/CLOUDSTACK-7146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102095#comment-14102095
]
Gaurav Aradhye commented on CLOUDSTACK-7146:
--------------------------------------------
On KVM and VMware, the tests are passing, there is no defect in test cases.
I think these are Xen Specific issues.
> [Automation] Fix the scripts "test_assign_vm.py,
> test_project_limits.py,test_project_resources.py,test_ps_domain_limits.py" -
> Cleanup of domain should be done after cleaning up account in it
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7146
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7146
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation, Test
> Affects Versions: 4.5.0
> Reporter: Chandan Purushothama
> Assignee: Gaurav Aradhye
> Priority: Critical
> Fix For: 4.5.0
>
>
> ============
> *Error Messages:*
> ============
> -------
> *One:*
> -------
> {code}
> test_16_move_across_subdomain_volume_and_account_limit
> (integration.component.test_assign_vm.TestVMOwnership): DEBUG: Payload:
> {'signature': 'ctoosHX10fXC2XJv8iFdUiNqV5Q=', 'apiKey':
> u'K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA',
> 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
> u'ebbf78c7-5a1d-4051-8404-26314a59151a'}
> test_16_move_across_subdomain_volume_and_account_limit
> (integration.component.test_assign_vm.TestVMOwnership): DEBUG:
> ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
> (1): 10.220.135.41
> requests.packages.urllib3.connectionpool: DEBUG: "GET
> /client/api?signature=ctoosHX10fXC2XJv8iFdUiNqV5Q%3D&apiKey=K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA&command=queryAsyncJobResult&response=json&jobid=ebbf78c7-5a1d-4051-8404-26314a59151a
> HTTP/1.1" 200 477
> test_16_move_across_subdomain_volume_and_account_limit
> (integration.component.test_assign_vm.TestVMOwnership): DEBUG: Response :
> {jobprocstatus : 0, created : u'2014-07-11T16:11:24+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'ebbf78c7-5a1d-4051-8404-26314a59151a', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_16_move_across_subdomain_volume_and_account_limit
> (integration.component.test_assign_vm.TestVMOwnership): ERROR: ==== __poll:
> Exception Occurred :Job failed: {jobprocstatus : 0, created :
> u'2014-07-11T16:11:24+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'ebbf78c7-5a1d-4051-8404-26314a59151a', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'} ====
> Traceback (most recent call last):
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 105, in __poll
> % async_response)
> Exception: Job failed: {jobprocstatus : 0, created :
> u'2014-07-11T16:11:24+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'ebbf78c7-5a1d-4051-8404-26314a59151a', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_16_move_across_subdomain_volume_and_account_limit
> (integration.component.test_assign_vm.TestVMOwnership): DEBUG: Response :
> FAILED
> test_16_move_across_subdomain_volume_and_account_limit
> (integration.component.test_assign_vm.TestVMOwnership): ERROR: marvinRequest
> : CmdName: <marvin.cloudstackAPI.deleteDomain.deleteDomainCmd object at
> 0x3844810> Exception: ['Traceback (most recent call last):\n', ' File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 375, in marvinRequest\n raise self.__lastError\n', 'Exception: Job
> failed: {jobprocstatus : 0, created : u\'2014-07-11T16:11:24+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'ebbf78c7-5a1d-4051-8404-26314a59151a\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n']
> Traceback (most recent call last):
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 375, in marvinRequest
> raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created :
> u'2014-07-11T16:11:24+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'ebbf78c7-5a1d-4051-8404-26314a59151a', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_16_move_across_subdomain_volume_and_account_limit
> (integration.component.test_assign_vm.TestVMOwnership): CRITICAL: EXCEPTION:
> test_16_move_across_subdomain_volume_and_account_limit: ['Traceback (most
> recent call last):\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 227, in run\n
> self.tearDown()\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 350, in
> tearDown\n self.teardownContext(ancestor)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 366, in
> teardownContext\n try_run(context, names)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in try_run\n
> return func()\n', ' File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_assign_vm.py",
> line 170, in tearDownClass\n raise Exception("Warning: Exception during
> cleanup : %s" % e)\n', 'Exception: Warning: Exception during cleanup : Job
> failed: {jobprocstatus : 0, created : u\'2014-07-11T16:11:24+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'ebbf78c7-5a1d-4051-8404-26314a59151a\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n']
> --------------------- >> end captured logging << ---------------------
> {code}
> *Stacktrace:*
> {code}
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 227, in
> run
> self.tearDown()
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 350, in
> tearDown
> self.teardownContext(ancestor)
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 366, in
> teardownContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in
> try_run
> return func()
> File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_assign_vm.py",
> line 170, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> 'Warning: Exception during cleanup : Job failed: {jobprocstatus : 0, created
> : u\'2014-07-11T16:11:24+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'ebbf78c7-5a1d-4051-8404-26314a59151a\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n-------------------- >> begin
> captured logging <<
> {code}
> -------
> *Two:*
> -------
> {code}
> test_07_templates_per_project
> (integration.component.test_project_limits.TestResourceLimitsProject): DEBUG:
> Payload: {'signature': 'AkGXg4GmidBgHycP9sZ85qZreR8=', 'apiKey':
> u'K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA',
> 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
> u'0c24fe8d-2418-44ab-9917-92fdefb2f4e6'}
> test_07_templates_per_project
> (integration.component.test_project_limits.TestResourceLimitsProject): DEBUG:
> ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
> (1): 10.220.135.41
> requests.packages.urllib3.connectionpool: DEBUG: "GET
> /client/api?signature=AkGXg4GmidBgHycP9sZ85qZreR8%3D&apiKey=K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA&command=queryAsyncJobResult&response=json&jobid=0c24fe8d-2418-44ab-9917-92fdefb2f4e6
> HTTP/1.1" 200 477
> test_07_templates_per_project
> (integration.component.test_project_limits.TestResourceLimitsProject): DEBUG:
> Response : {jobprocstatus : 0, created : u'2014-07-12T08:08:01+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'0c24fe8d-2418-44ab-9917-92fdefb2f4e6', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_07_templates_per_project
> (integration.component.test_project_limits.TestResourceLimitsProject): ERROR:
> ==== __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T08:08:01+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'0c24fe8d-2418-44ab-9917-92fdefb2f4e6', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'} ====
> Traceback (most recent call last):
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 105, in __poll
> % async_response)
> Exception: Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T08:08:01+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'0c24fe8d-2418-44ab-9917-92fdefb2f4e6', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_07_templates_per_project
> (integration.component.test_project_limits.TestResourceLimitsProject): DEBUG:
> Response : FAILED
> test_07_templates_per_project
> (integration.component.test_project_limits.TestResourceLimitsProject): ERROR:
> marvinRequest : CmdName: <marvin.cloudstackAPI.deleteDomain.deleteDomainCmd
> object at 0x313bf10> Exception: ['Traceback (most recent call last):\n', '
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 375, in marvinRequest\n raise self.__lastError\n', 'Exception: Job
> failed: {jobprocstatus : 0, created : u\'2014-07-12T08:08:01+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'0c24fe8d-2418-44ab-9917-92fdefb2f4e6\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n']
> Traceback (most recent call last):
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 375, in marvinRequest
> raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T08:08:01+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'0c24fe8d-2418-44ab-9917-92fdefb2f4e6', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_07_templates_per_project
> (integration.component.test_project_limits.TestResourceLimitsProject):
> CRITICAL: EXCEPTION: test_07_templates_per_project: ['Traceback (most recent
> call last):\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 227, in run\n
> self.tearDown()\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 350, in
> tearDown\n self.teardownContext(ancestor)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 366, in
> teardownContext\n try_run(context, names)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in try_run\n
> return func()\n', ' File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_project_limits.py",
> line 561, in tearDownClass\n raise Exception("Warning: Exception during
> cleanup : %s" % e)\n', 'Exception: Warning: Exception during cleanup : Job
> failed: {jobprocstatus : 0, created : u\'2014-07-12T08:08:01+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'0c24fe8d-2418-44ab-9917-92fdefb2f4e6\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n']
> --------------------- >> end captured logging << ---------------------
> {code}
> *Stacktrace*
> {code}
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 227, in
> run
> self.tearDown()
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 350, in
> tearDown
> self.teardownContext(ancestor)
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 366, in
> teardownContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in
> try_run
> return func()
> File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_project_limits.py",
> line 561, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> 'Warning: Exception during cleanup : Job failed: {jobprocstatus : 0, created
> : u\'2014-07-12T08:08:01+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'0c24fe8d-2418-44ab-9917-92fdefb2f4e6\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n-------------------- >> begin
> captured logging << --------------------\ntest_07_templates_per_project
> (integration.component.test_project_limits.TestResourceLimitsProject): DEBUG:
> Payload: {\'signature\': \'vPgNo1lkxtTK3ST6JD22uCBVZ1c=\', \'apiKey\':
> {code}
> ----------
> *Three:*
> ----------
> {code}
> test_05_use_private_template_in_project
> (integration.component.test_project_resources.TestTemplates): DEBUG:
> ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
> (1): 10.220.135.41
> requests.packages.urllib3.connectionpool: DEBUG: "GET
> /client/api?signature=dMOcC5QgyXn6oiJ58iU2V0SKZY0%3D&apiKey=K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA&command=queryAsyncJobResult&response=json&jobid=d233b996-84ff-4ed0-bb76-89cc3c1bae98
> HTTP/1.1" 200 477
> test_05_use_private_template_in_project
> (integration.component.test_project_resources.TestTemplates): DEBUG: Response
> : {jobprocstatus : 0, created : u'2014-07-12T08:39:22+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'd233b996-84ff-4ed0-bb76-89cc3c1bae98', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_05_use_private_template_in_project
> (integration.component.test_project_resources.TestTemplates): ERROR: ====
> __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T08:39:22+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'd233b996-84ff-4ed0-bb76-89cc3c1bae98', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'} ====
> Traceback (most recent call last):
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 105, in __poll
> % async_response)
> Exception: Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T08:39:22+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'd233b996-84ff-4ed0-bb76-89cc3c1bae98', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_05_use_private_template_in_project
> (integration.component.test_project_resources.TestTemplates): DEBUG: Response
> : FAILED
> test_05_use_private_template_in_project
> (integration.component.test_project_resources.TestTemplates): ERROR:
> marvinRequest : CmdName: <marvin.cloudstackAPI.deleteDomain.deleteDomainCmd
> object at 0x348df10> Exception: ['Traceback (most recent call last):\n', '
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 375, in marvinRequest\n raise self.__lastError\n', 'Exception: Job
> failed: {jobprocstatus : 0, created : u\'2014-07-12T08:39:22+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'d233b996-84ff-4ed0-bb76-89cc3c1bae98\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n']
> Traceback (most recent call last):
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 375, in marvinRequest
> raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T08:39:22+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'd233b996-84ff-4ed0-bb76-89cc3c1bae98', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_05_use_private_template_in_project
> (integration.component.test_project_resources.TestTemplates): CRITICAL:
> EXCEPTION: test_05_use_private_template_in_project: ['Traceback (most recent
> call last):\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 227, in run\n
> self.tearDown()\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 350, in
> tearDown\n self.teardownContext(ancestor)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 366, in
> teardownContext\n try_run(context, names)\n', ' File
> "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in try_run\n
> return func()\n', ' File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_project_resources.py",
> line 607, in tearDownClass\n raise Exception("Warning: Exception during
> cleanup : %s" % e)\n', 'Exception: Warning: Exception during cleanup : Job
> failed: {jobprocstatus : 0, created : u\'2014-07-12T08:39:22+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'d233b996-84ff-4ed0-bb76-89cc3c1bae98\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n']
> --------------------- >> end captured logging << ---------------------
> {code}
> *Stacktrace*
> {code}
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 227, in
> run
> self.tearDown()
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 350, in
> tearDown
> self.teardownContext(ancestor)
> File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 366, in
> teardownContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, in
> try_run
> return func()
> File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_project_resources.py",
> line 607, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> 'Warning: Exception during cleanup : Job failed: {jobprocstatus : 0, created
> : u\'2014-07-12T08:39:22+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'d233b996-84ff-4ed0-bb76-89cc3c1bae98\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n-------------------- >> begin
> captured logging <<
> {code}
> ------------
> *Four:*
> ------------
> {code}
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): DEBUG:
> ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
> (1): 10.220.135.41
> requests.packages.urllib3.connectionpool: DEBUG: "GET
> /client/api?signature=xkxAKkK4fDMCQ6E74HipVq75qkw%3D&apiKey=K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA&command=queryAsyncJobResult&response=json&jobid=a6a653df-6cd5-44ea-93df-bf1b9cf0434e
> HTTP/1.1" 200 341
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): DEBUG:
> Response : {jobprocstatus : 0, created : u'2014-07-12T09:42:23+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 0, jobid :
> u'a6a653df-6cd5-44ea-93df-bf1b9cf0434e', jobresultcode : 0, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): DEBUG:
> === JobId:a6a653df-6cd5-44ea-93df-bf1b9cf0434e is Still Processing, Will
> TimeOut in:3595 ====
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): DEBUG:
> Payload: {'signature': 'xkxAKkK4fDMCQ6E74HipVq75qkw=', 'apiKey':
> u'K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA',
> 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
> u'a6a653df-6cd5-44ea-93df-bf1b9cf0434e'}
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): DEBUG:
> ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
> (1): 10.220.135.41
> requests.packages.urllib3.connectionpool: DEBUG: "GET
> /client/api?signature=xkxAKkK4fDMCQ6E74HipVq75qkw%3D&apiKey=K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA&command=queryAsyncJobResult&response=json&jobid=a6a653df-6cd5-44ea-93df-bf1b9cf0434e
> HTTP/1.1" 200 477
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): DEBUG:
> Response : {jobprocstatus : 0, created : u'2014-07-12T09:42:23+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'a6a653df-6cd5-44ea-93df-bf1b9cf0434e', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): ERROR:
> ==== __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T09:42:23+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'a6a653df-6cd5-44ea-93df-bf1b9cf0434e', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'} ====
> Traceback (most recent call last):
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 105, in __poll
> % async_response)
> Exception: Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T09:42:23+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'a6a653df-6cd5-44ea-93df-bf1b9cf0434e', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): DEBUG:
> Response : FAILED
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain): ERROR:
> marvinRequest : CmdName: <marvin.cloudstackAPI.deleteDomain.deleteDomainCmd
> object at 0x34a6910> Exception: ['Traceback (most recent call last):\n', '
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 375, in marvinRequest\n raise self.__lastError\n', 'Exception: Job
> failed: {jobprocstatus : 0, created : u\'2014-07-12T09:42:23+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'a6a653df-6cd5-44ea-93df-bf1b9cf0434e\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n']
> Traceback (most recent call last):
> File
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.63/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 375, in marvinRequest
> raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created :
> u'2014-07-12T09:42:23+0000', cmd :
> u'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd', userid :
> u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 2, jobid :
> u'a6a653df-6cd5-44ea-93df-bf1b9cf0434e', jobresultcode : 530, jobresulttype :
> u'object', jobresult : {errorcode : 530, errortext : u"Can't delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_04_create_template_snapshot
> (integration.component.test_ps_domain_limits.TestMultipleChildDomain):
> CRITICAL: EXCEPTION: test_04_create_template_snapshot: ['Traceback (most
> recent call last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line
> 361, in run\n self.tearDown()\n', ' File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_ps_domain_limits.py",
> line 116, in tearDown\n raise Exception("Warning: Exception during
> cleanup : %s" % e)\n', 'Exception: Warning: Exception during cleanup : Job
> failed: {jobprocstatus : 0, created : u\'2014-07-12T09:42:23+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'a6a653df-6cd5-44ea-93df-bf1b9cf0434e\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n']
> --------------------- >> end captured logging << ---------------------
> {code}
> *Stacktrace*
> {code}
> File "/usr/lib/python2.7/unittest/case.py", line 361, in run
> self.tearDown()
> File
> "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_ps_domain_limits.py",
> line 116, in tearDown
> raise Exception("Warning: Exception during cleanup : %s" % e)
> 'Warning: Exception during cleanup : Job failed: {jobprocstatus : 0, created
> : u\'2014-07-12T09:42:23+0000\', cmd :
> u\'org.apache.cloudstack.api.command.admin.domain.DeleteDomainCmd\', userid :
> u\'ce302410-0901-11e4-a9bc-5a9383355ca2\', jobstatus : 2, jobid :
> u\'a6a653df-6cd5-44ea-93df-bf1b9cf0434e\', jobresultcode : 530, jobresulttype
> : u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete the
> domain yet because it has 1 accounts to cleanup"}, accountid :
> u\'ce30160a-0901-11e4-a9bc-5a9383355ca2\'}\n-------------------- >> begin
> captured logging <<
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)