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

Ashutosk Kelkar reassigned CLOUDSTACK-7024:
-------------------------------------------

    Assignee: Ashutosk Kelkar

> [Automation] Deletion of Account that manages a project failed during cleanup 
> of TestTemplateUsage Tests
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7024
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7024
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, Test
>    Affects Versions: 4.4.0
>            Reporter: Chandan Purushothama
>            Assignee: Ashutosk Kelkar
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> =============
> Error Message:
> =============
> Warning: Exception during cleanup : Job failed: {jobprocstatus : 0, created : 
> u'2014-06-26T05:54:00+0000', cmd : 
> u'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', userid : 
> u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : 
> u'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can't be removed"}, accountid : 
> u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
> -------------------- >> begin captured logging << --------------------
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Payload: 
> {'signature': 'umKBWTVC8csMC7iBWcrmlZP7Bns=', 'apiKey': 
> u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
>  'command': 'deleteAccount', 'id': u'6096abdb-9fe1-45ef-af30-6ecca7210515', 
> 'response': 'json'}
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: 
> ========Sending GET Cmd : deleteAccount=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 10.220.153.217
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?signature=umKBWTVC8csMC7iBWcrmlZP7Bns%3D&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=deleteAccount&id=6096abdb-9fe1-45ef-af30-6ecca7210515&response=json
>  HTTP/1.1" 200 78
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: === 
> Jobid: 0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d Started ===
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Payload: 
> {'signature': '6MrHAB+DBVozv8OPtH8iU4S5bOc=', 'apiKey': 
> u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
>  'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': 
> u'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d'}
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: 
> ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 10.220.153.217
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?signature=6MrHAB%2BDBVozv8OPtH8iU4S5bOc%3D&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=queryAsyncJobResult&response=json&jobid=0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d
>  HTTP/1.1" 200 343
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Response 
> : {jobprocstatus : 0, created : u'2014-06-26T05:54:00+0000', cmd : 
> u'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', userid : 
> u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 0, jobid : 
> u'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d', jobresultcode : 0, accountid : 
> u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: === 
> JobId:0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d is Still Processing, Will TimeOut 
> in:3595 ====
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Payload: 
> {'signature': '6MrHAB+DBVozv8OPtH8iU4S5bOc=', 'apiKey': 
> u'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q',
>  'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': 
> u'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d'}
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: 
> ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
> (1): 10.220.153.217
> requests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?signature=6MrHAB%2BDBVozv8OPtH8iU4S5bOc%3D&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=queryAsyncJobResult&response=json&jobid=0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d
>  HTTP/1.1" 200 486
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Response 
> : {jobprocstatus : 0, created : u'2014-06-26T05:54:00+0000', cmd : 
> u'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', userid : 
> u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : 
> u'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can't be removed"}, accountid : 
> u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): ERROR: ==== 
> __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created : 
> u'2014-06-26T05:54:00+0000', cmd : 
> u'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', userid : 
> u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : 
> u'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can't be removed"}, accountid : 
> u'57dd7098-fc58-11e3-919f-4eba41a459a4'} ====
> Traceback (most recent call last):
>   File 
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 105, in __poll
>     % async_response)
> Exception: Job failed: {jobprocstatus : 0, created : 
> u'2014-06-26T05:54:00+0000', cmd : 
> u'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', userid : 
> u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : 
> u'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can't be removed"}, accountid : 
> u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Response 
> : FAILED
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): ERROR: 
> marvinRequest : CmdName: <marvin.cloudstackAPI.deleteAccount.deleteAccountCmd 
> object at 0x290bd10> Exception: ['Traceback (most recent call last):\n', '  
> File 
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 373, in marvinRequest\n    raise self.__lastError\n', 'Exception: Job 
> failed: {jobprocstatus : 0, created : u\'2014-06-26T05:54:00+0000\', cmd : 
> u\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\', userid 
> : u\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\', jobstatus : 2, jobid : 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\', jobresultcode : 530, jobresulttype 
> : u\'object\', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can\'t be removed"}, accountid : 
> u\'57dd7098-fc58-11e3-919f-4eba41a459a4\'}\n']
> Traceback (most recent call last):
>   File 
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 373, in marvinRequest
>     raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created : 
> u'2014-06-26T05:54:00+0000', cmd : 
> u'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', userid : 
> u'57dd7fb6-fc58-11e3-919f-4eba41a459a4', jobstatus : 2, jobid : 
> u'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d', jobresultcode : 530, jobresulttype : 
> u'object', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can't be removed"}, accountid : 
> u'57dd7098-fc58-11e3-919f-4eba41a459a4'}
> test_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): CRITICAL: 
> EXCEPTION: test_01_template_usage: ['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_usage.py",
>  line 760, in tearDownClass\n    raise Exception("Warning: Exception during 
> cleanup : %s" % e)\n', 'Exception: Warning: Exception during cleanup : Job 
> failed: {jobprocstatus : 0, created : u\'2014-06-26T05:54:00+0000\', cmd : 
> u\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\', userid 
> : u\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\', jobstatus : 2, jobid : 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\', jobresultcode : 530, jobresulttype 
> : u\'object\', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can\'t be removed"}, accountid : 
> u\'57dd7098-fc58-11e3-919f-4eba41a459a4\'}\n']
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   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_usage.py",
>  line 760, in tearDownClass
>     raise Exception("Warning: Exception during cleanup : %s" % e)
> 'Warning: Exception during cleanup : Job failed: {jobprocstatus : 0, created 
> : u\'2014-06-26T05:54:00+0000\', cmd : 
> u\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\', userid 
> : u\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\', jobstatus : 2, jobid : 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\', jobresultcode : 530, jobresulttype 
> : u\'object\', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can\'t be removed"}, accountid : 
> u\'57dd7098-fc58-11e3-919f-4eba41a459a4\'}\n-------------------- >> begin 
> captured logging << --------------------\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Payload: 
> {\'signature\': \'umKBWTVC8csMC7iBWcrmlZP7Bns=\', \'apiKey\': 
> u\'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q\',
>  \'command\': \'deleteAccount\', \'id\': 
> u\'6096abdb-9fe1-45ef-af30-6ecca7210515\', \'response\': 
> \'json\'}\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: 
> ========Sending GET Cmd : 
> deleteAccount=======\nrequests.packages.urllib3.connectionpool: INFO: 
> Starting new HTTP connection (1): 
> 10.220.153.217\nrequests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?signature=umKBWTVC8csMC7iBWcrmlZP7Bns%3D&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=deleteAccount&id=6096abdb-9fe1-45ef-af30-6ecca7210515&response=json
>  HTTP/1.1" 200 78\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: === 
> Jobid: 0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d Started 
> ===\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Payload: 
> {\'signature\': \'6MrHAB+DBVozv8OPtH8iU4S5bOc=\', \'apiKey\': 
> u\'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q\',
>  \'command\': \'queryAsyncJobResult\', \'response\': \'json\', \'jobid\': 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\'}\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: 
> ========Sending GET Cmd : 
> queryAsyncJobResult=======\nrequests.packages.urllib3.connectionpool: INFO: 
> Starting new HTTP connection (1): 
> 10.220.153.217\nrequests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?signature=6MrHAB%2BDBVozv8OPtH8iU4S5bOc%3D&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=queryAsyncJobResult&response=json&jobid=0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d
>  HTTP/1.1" 200 343\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Response 
> : {jobprocstatus : 0, created : u\'2014-06-26T05:54:00+0000\', cmd : 
> u\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\', userid 
> : u\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\', jobstatus : 0, jobid : 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\', jobresultcode : 0, accountid : 
> u\'57dd7098-fc58-11e3-919f-4eba41a459a4\'}\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: === 
> JobId:0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d is Still Processing, Will TimeOut 
> in:3595 ====\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Payload: 
> {\'signature\': \'6MrHAB+DBVozv8OPtH8iU4S5bOc=\', \'apiKey\': 
> u\'Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q\',
>  \'command\': \'queryAsyncJobResult\', \'response\': \'json\', \'jobid\': 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\'}\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: 
> ========Sending GET Cmd : 
> queryAsyncJobResult=======\nrequests.packages.urllib3.connectionpool: INFO: 
> Starting new HTTP connection (1): 
> 10.220.153.217\nrequests.packages.urllib3.connectionpool: DEBUG: "GET 
> /client/api?signature=6MrHAB%2BDBVozv8OPtH8iU4S5bOc%3D&apiKey=Sng6IriYYMri4AHzMZOEdseGWMJBZ-mfmhG30ZJIjV__AynsK03iV0GbvMzhglLVIff8W5ujp6gnTEdNS7LJ5Q&command=queryAsyncJobResult&response=json&jobid=0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d
>  HTTP/1.1" 200 486\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Response 
> : {jobprocstatus : 0, created : u\'2014-06-26T05:54:00+0000\', cmd : 
> u\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\', userid 
> : u\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\', jobstatus : 2, jobid : 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\', jobresultcode : 530, jobresulttype 
> : u\'object\', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can\'t be removed"}, accountid : 
> u\'57dd7098-fc58-11e3-919f-4eba41a459a4\'}\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): ERROR: ==== 
> __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created : 
> u\'2014-06-26T05:54:00+0000\', cmd : 
> u\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\', userid 
> : u\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\', jobstatus : 2, jobid : 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\', jobresultcode : 530, jobresulttype 
> : u\'object\', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can\'t be removed"}, accountid : 
> u\'57dd7098-fc58-11e3-919f-4eba41a459a4\'} ====\nTraceback (most recent call 
> last):\n  File 
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 105, in __poll\n    % async_response)\nException: Job failed: 
> {jobprocstatus : 0, created : u\'2014-06-26T05:54:00+0000\', cmd : 
> u\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\', userid 
> : u\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\', jobstatus : 2, jobid : 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\', jobresultcode : 530, jobresulttype 
> : u\'object\', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can\'t be removed"}, accountid : 
> u\'57dd7098-fc58-11e3-919f-4eba41a459a4\'}\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): DEBUG: Response 
> : FAILED\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): ERROR: 
> marvinRequest : CmdName: <marvin.cloudstackAPI.deleteAccount.deleteAccountCmd 
> object at 0x290bd10> Exception: [\'Traceback (most recent call last):\\n\', 
> \'  File 
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 373, in marvinRequest\\n    raise self.__lastError\\n\', \'Exception: 
> Job failed: {jobprocstatus : 0, created : u\\\'2014-06-26T05:54:00+0000\\\', 
> cmd : 
> u\\\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\\\', 
> userid : u\\\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\\\', jobstatus : 2, jobid 
> : u\\\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\\\', jobresultcode : 530, 
> jobresulttype : u\\\'object\\\', jobresult : {errorcode : 530, errortext : 
> u"The account id=313 manages project(s) with ids 40, and can\\\'t be 
> removed"}, accountid : 
> u\\\'57dd7098-fc58-11e3-919f-4eba41a459a4\\\'}\\n\']\nTraceback (most recent 
> call last):\n  File 
> "/local/jenkins/workspace/xenrt-reg-adv-xs/work.59/env/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
>  line 373, in marvinRequest\n    raise self.__lastError\nException: Job 
> failed: {jobprocstatus : 0, created : u\'2014-06-26T05:54:00+0000\', cmd : 
> u\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\', userid 
> : u\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\', jobstatus : 2, jobid : 
> u\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\', jobresultcode : 530, jobresulttype 
> : u\'object\', jobresult : {errorcode : 530, errortext : u"The account id=313 
> manages project(s) with ids 40, and can\'t be removed"}, accountid : 
> u\'57dd7098-fc58-11e3-919f-4eba41a459a4\'}\ntest_01_template_usage 
> (integration.component.test_project_usage.TestTemplateUsage): CRITICAL: 
> EXCEPTION: test_01_template_usage: [\'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_usage.py",
>  line 760, in tearDownClass\\n    raise Exception("Warning: Exception during 
> cleanup : %s" % e)\\n\', \'Exception: Warning: Exception during cleanup : Job 
> failed: {jobprocstatus : 0, created : u\\\'2014-06-26T05:54:00+0000\\\', cmd 
> : u\\\'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd\\\', 
> userid : u\\\'57dd7fb6-fc58-11e3-919f-4eba41a459a4\\\', jobstatus : 2, jobid 
> : u\\\'0cf64ae7-f95c-4c46-a3ce-42f2c318ed3d\\\', jobresultcode : 530, 
> jobresulttype : u\\\'object\\\', jobresult : {errorcode : 530, errortext : 
> u"The account id=313 manages project(s) with ids 40, and can\\\'t be 
> removed"}, accountid : 
> u\\\'57dd7098-fc58-11e3-919f-4eba41a459a4\\\'}\\n\']\n--------------------- 
> >> end captured logging << ---------------------'



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to