You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2014/09/05 01:31:23 UTC

[jira] [Resolved] (CLOUDSTACK-7335) Automation:integration.smoke.test_templates.TestTemplates.test_06_copy_template Failed

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

Rayees Namathponnan resolved CLOUDSTACK-7335.
---------------------------------------------
    Resolution: Cannot Reproduce

in my last run, these test passed in last few run,  we can re open if you are seeing again  

> Automation:integration.smoke.test_templates.TestTemplates.test_06_copy_template Failed
> --------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7335
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7335
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, KVM
>    Affects Versions: 4.5.0
>            Reporter: Bharat Kumar
>            Assignee: Kishan Kavala
>              Labels: CI
>             Fix For: 4.5.0
>
>
> ==== Below TC Failed in CI Run====
> Automation:integration.smoke.test_templates.TestTemplates.test_06_copy_template Failed
> ====Log File Path Below : ==== 
> http://nfs1.lab.vmops.com/automation//ccp-4.5/kvm/kvm__Log_15774.zip
> ====Failure Message:====
> Job failed: {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', jobresult :
> {errorcode : 530, errortext : u'Failed to copy template'}
> , cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 2, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 530, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobresulttype : u'object', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}
> -------------------- >> begin captured stdout << ---------------------
> === TestName: test_06_copy_template | Status : EXCEPTION ===
> --------------------- >> end captured stdout << ----------------------
> -------------------- >> begin captured logging << --------------------
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ::::::::::::STARTED : TC: test_06_copy_template :::::::::::
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Copy template from Zone: a54cb8bf-9060-445a-bb45-98f3e0a07bfd to ba915df8-d4ef-4901-848b-e8d8257ba830
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {'sourcezoneid': u'a54cb8bf-9060-445a-bb45-98f3e0a07bfd', 'apiKey': u'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw', 'id': u'a89d6284-2c2d-4ff4-a356-925f992bf43c', 'command': 'copyTemplate', 'signature': 'kFETVPXF0CRW1R+SRw60s/WjG3U=', 'destzoneid': u'ba915df8-d4ef-4901-848b-e8d8257ba830', 'response': 'json'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : copyTemplate=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?sourcezoneid=a54cb8bf-9060-445a-bb45-98f3e0a07bfd&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&destzoneid=ba915df8-d4ef-4901-848b-e8d8257ba830&command=copyTemplate&signature=kFETVPXF0CRW1R%2BSRw60s%2FWjG3U%3D&response=json&id=a89d6284-2c2d-4ff4-a356-925f992bf43c HTTP/1.1" 200 77
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: === Jobid: fde11b0d-af9a-45e0-962f-5af9d2bacf6d Started ===
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {'signature': 'qlhp3LhXoNOXP3MeHVgc+aLpoKg=', 'apiKey': u'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=fde11b0d-af9a-45e0-962f-5af9d2bacf6d&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&command=queryAsyncJobResult&response=json&signature=qlhp3LhXoNOXP3MeHVgc%2BaLpoKg%3D HTTP/1.1" 200 434
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response :
> {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 0, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 0, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: === JobId:fde11b0d-af9a-45e0-962f-5af9d2bacf6d is Still Processing, Will TimeOut in:3595 ====
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {'signature': 'qlhp3LhXoNOXP3MeHVgc+aLpoKg=', 'apiKey': u'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=fde11b0d-af9a-45e0-962f-5af9d2bacf6d&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&command=queryAsyncJobResult&response=json&signature=qlhp3LhXoNOXP3MeHVgc%2BaLpoKg%3D HTTP/1.1" 200 434
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response :
> {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 0, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 0, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: === JobId:fde11b0d-af9a-45e0-962f-5af9d2bacf6d is Still Processing, Will TimeOut in:3590 ====
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {'signature': 'qlhp3LhXoNOXP3MeHVgc+aLpoKg=', 'apiKey': u'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=fde11b0d-af9a-45e0-962f-5af9d2bacf6d&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&command=queryAsyncJobResult&response=json&signature=qlhp3LhXoNOXP3MeHVgc%2BaLpoKg%3D HTTP/1.1" 200 434
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response :
> {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 0, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 0, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: === JobId:fde11b0d-af9a-45e0-962f-5af9d2bacf6d is Still Processing, Will TimeOut in:3585 ====
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {'signature': 'qlhp3LhXoNOXP3MeHVgc+aLpoKg=', 'apiKey': u'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=fde11b0d-af9a-45e0-962f-5af9d2bacf6d&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&command=queryAsyncJobResult&response=json&signature=qlhp3LhXoNOXP3MeHVgc%2BaLpoKg%3D HTTP/1.1" 200 529
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', jobresult :
> {errorcode : 530, errortext : u'Failed to copy template'}
> , cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 2, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 530, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobresulttype : u'object', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): ERROR: ==== __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', jobresult :
> {errorcode : 530, errortext : u'Failed to copy template'}
> , cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 2, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 530, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobresulttype : u'object', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'} ====
> Traceback (most recent call last):
> File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 105, in __poll
> % async_response)
> Exception: Job failed: {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', jobresult :
> {errorcode : 530, errortext : u'Failed to copy template'}
> , cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 2, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 530, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobresulttype : u'object', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response : FAILED
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.copyTemplate.copyTemplateCmd object at 0x34a1ad0> Exception: ['Traceback (most recent call last):\n', ' File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 374, in marvinRequest\n raise self.__lastError\n', "Exception: Job failed: {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', jobresult :
> {errorcode : 530, errortext : u'Failed to copy template'}
> , cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 2, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 530, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobresulttype : u'object', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}\n"]
> Traceback (most recent call last):
> File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 374, in marvinRequest
> raise self.__lastError
> Exception: Job failed: {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', jobresult :
> {errorcode : 530, errortext : u'Failed to copy template'}
> , cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 2, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 530, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobresulttype : u'object', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}
> test_06_copy_template (integration.smoke.test_templates.TestTemplates): CRITICAL: EXCEPTION: test_06_copy_template: ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/unittest/case.py", line 331, in run\n testMethod()\n', ' File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/test/integration/smoke/test_templates.py", line 580, in test_06_copy_template\n self.apiclient.copyTemplate(cmd)\n', ' File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 773, in copyTemplate\n response = self.connection.marvinRequest(command, response_type=response, method=method)\n', ' File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest\n raise e\n', "Exception: Job failed: {jobprocstatus : 0, created : u'2014-08-10T18:16:33-0700', jobresult :
> {errorcode : 530, errortext : u'Failed to copy template'}
> , cmd : u'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin', userid : u'a7abf822-20ef-11e4-b052-00163e5d4a0e', jobstatus : 2, jobid : u'fde11b0d-af9a-45e0-962f-5af9d2bacf6d', jobresultcode : 530, jobinstanceid : u'a89d6284-2c2d-4ff4-a356-925f992bf43c', jobresulttype : u'object', jobinstancetype : u'Template', accountid : u'a7abc352-20ef-11e4-b052-00163e5d4a0e'}\n"]
> --------------------- >> end captured logging << ---------------------
> ====Trace Observed====
> File "/usr/local/lib/python2.7/unittest/case.py", line 331, in run
> testMethod()
> File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/test/integration/smoke/test_templates.py", line 580, in test_06_copy_template
> self.apiclient.copyTemplate(cmd)
> File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 773, in copyTemplate
> response = self.connection.marvinRequest(command, response_type=response, method=method)
> File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest
> raise e
> 'Job failed: {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', jobresult :
> {errorcode : 530, errortext : u\'Failed to copy template\'}
> , cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 2, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 530, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobresulttype : u\'object\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}\n-------------------- >> begin captured stdout << --------------------\n=== TestName: test_06_copy_template | Status : EXCEPTION ===\n\n\n-------------------- >> end captured stdout << ---------------------\n------------------- >> begin captured logging << --------------------\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ::::::::::::STARTED : TC: test_06_copy_template :::::::::::\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Copy template from Zone: a54cb8bf-9060-445a-bb45-98f3e0a07bfd to ba915df8-d4ef-4901-848b-e8d8257ba830\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {\'sourcezoneid\': u\'a54cb8bf-9060-445a-bb45-98f3e0a07bfd\', \'apiKey\': u\'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw\', \'id\': u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', \'command\': \'copyTemplate\', \'signature\': \'kFETVPXF0CRW1R+SRw60s/WjG3U=\', \'destzoneid\': u\'ba915df8-d4ef-4901-848b-e8d8257ba830\', \'response\': \'json\'}
> \ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : copyTemplate=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?sourcezoneid=a54cb8bf-9060-445a-bb45-98f3e0a07bfd&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&destzoneid=ba915df8-d4ef-4901-848b-e8d8257ba830&command=copyTemplate&signature=kFETVPXF0CRW1R%2BSRw60s%2FWjG3U%3D&response=json&id=a89d6284-2c2d-4ff4-a356-925f992bf43c HTTP/1.1" 200 77\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: === Jobid: fde11b0d-af9a-45e0-962f-5af9d2bacf6d Started ===\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {\'signature\': \'qlhp3LhXoNOXP3MeHVgc+aLpoKg=\', \'apiKey\': u\'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw\', \'command\': \'queryAsyncJobResult\', \'response\': \'json\', \'jobid\': u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\'}
> \ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=fde11b0d-af9a-45e0-962f-5af9d2bacf6d&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&command=queryAsyncJobResult&response=json&signature=qlhp3LhXoNOXP3MeHVgc%2BaLpoKg%3D HTTP/1.1" 200 434\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response :
> {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 0, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 0, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}
> \ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: === JobId:fde11b0d-af9a-45e0-962f-5af9d2bacf6d is Still Processing, Will TimeOut in:3595 ====\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {\'signature\': \'qlhp3LhXoNOXP3MeHVgc+aLpoKg=\', \'apiKey\': u\'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw\', \'command\': \'queryAsyncJobResult\', \'response\': \'json\', \'jobid\': u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\'}
> \ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=fde11b0d-af9a-45e0-962f-5af9d2bacf6d&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&command=queryAsyncJobResult&response=json&signature=qlhp3LhXoNOXP3MeHVgc%2BaLpoKg%3D HTTP/1.1" 200 434\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response :
> {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 0, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 0, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}
> \ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: === JobId:fde11b0d-af9a-45e0-962f-5af9d2bacf6d is Still Processing, Will TimeOut in:3590 ====\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {\'signature\': \'qlhp3LhXoNOXP3MeHVgc+aLpoKg=\', \'apiKey\': u\'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw\', \'command\': \'queryAsyncJobResult\', \'response\': \'json\', \'jobid\': u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\'}
> \ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=fde11b0d-af9a-45e0-962f-5af9d2bacf6d&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&command=queryAsyncJobResult&response=json&signature=qlhp3LhXoNOXP3MeHVgc%2BaLpoKg%3D HTTP/1.1" 200 434\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response :
> {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 0, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 0, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}
> \ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: === JobId:fde11b0d-af9a-45e0-962f-5af9d2bacf6d is Still Processing, Will TimeOut in:3585 ====\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Payload:
> {\'signature\': \'qlhp3LhXoNOXP3MeHVgc+aLpoKg=\', \'apiKey\': u\'mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw\', \'command\': \'queryAsyncJobResult\', \'response\': \'json\', \'jobid\': u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\'}
> \ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.16.88.28\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=fde11b0d-af9a-45e0-962f-5af9d2bacf6d&apiKey=mo2uCIkOVxioCTzdq_-GDMEZX25XKno5ath3z01A7BuNz2cdqPnDdeN1inq1892z41C4xlU2-2mWvyfvWQSdtw&command=queryAsyncJobResult&response=json&signature=qlhp3LhXoNOXP3MeHVgc%2BaLpoKg%3D HTTP/1.1" 200 529\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response : {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', jobresult :
> {errorcode : 530, errortext : u\'Failed to copy template\'}
> , cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 2, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 530, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobresulttype : u\'object\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): ERROR: ==== __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', jobresult :
> {errorcode : 530, errortext : u\'Failed to copy template\'}
> , cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 2, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 530, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobresulttype : u\'object\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'} ====\nTraceback (most recent call last):\n File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 105, in __poll\n % async_response)\nException: Job failed: {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', jobresult :
> {errorcode : 530, errortext : u\'Failed to copy template\'}
> , cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 2, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 530, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobresulttype : u\'object\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): DEBUG: Response : FAILED\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.copyTemplate.copyTemplateCmd object at 0x34a1ad0> Exception: [\'Traceback (most recent call last):\\n\', \' File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 374, in marvinRequest
> n raise self.__lastError\\n\', "Exception: Job failed: {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', jobresult :
> {errorcode : 530, errortext : u\'Failed to copy template\'}
> , cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 2, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 530, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobresulttype : u\'object\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}\\n"]\nTraceback (most recent call last):\n File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 374, in marvinRequest\n raise self.__lastError\nException: Job failed: {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', jobresult :
> {errorcode : 530, errortext : u\'Failed to copy template\'}
> , cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 2, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 530, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobresulttype : u\'object\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}\ntest_06_copy_template (integration.smoke.test_templates.TestTemplates): CRITICAL: EXCEPTION: test_06_copy_template: [\'Traceback (most recent call last):\\n\', \' File "/usr/local/lib/python2.7/unittest/case.py", line 331, in run
> n testMethod()\\n\', \' File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/test/integration/smoke/test_templates.py", line 580, in test_06_copy_template
> n self.apiclient.copyTemplate(cmd)\\n\', \' File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 773, in copyTemplate
> n response = self.connection.marvinRequest(command, response_type=response, method=method)\\n\', \' File "/automation/virtenv/00-16-3e-5d-4a-0e/15774/testenv/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest
> n raise e\\n\', "Exception: Job failed: {jobprocstatus : 0, created : u\'2014-08-10T18:16:33-0700\', jobresult :
> {errorcode : 530, errortext : u\'Failed to copy template\'}
> , cmd : u\'org.apache.cloudstack.api.command.admin.template.CopyTemplateCmdByAdmin\', userid : u\'a7abf822-20ef-11e4-b052-00163e5d4a0e\', jobstatus : 2, jobid : u\'fde11b0d-af9a-45e0-962f-5af9d2bacf6d\', jobresultcode : 530, jobinstanceid : u\'a89d6284-2c2d-4ff4-a356-925f992bf43c\', jobresulttype : u\'object\', jobinstancetype : u\'Template\', accountid : u\'a7abc352-20ef-11e4-b052-00163e5d4a0e\'}\\n"]\n--------------------- >> end captured logging << ---------------------'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)