[
https://issues.apache.org/jira/browse/CLOUDSTACK-4833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797707#comment-13797707
]
Gaurav Aradhye commented on CLOUDSTACK-4833:
--------------------------------------------
Ran ISO and templates test cases, could not reproduce these issues. Test ran ok.
Template delete test case log:
==> result.log <==
test_01_create_template (test_templates_fixed.TestCreateTemplate)
Test create public & private template ...
==> client.log <==
2013-10-16 20:24:06,878 - DEBUG - test_03_delete_template
(test_templates_fixed.TestTemplates) - Deleting Template ID:
d3d6d6ab-24e8-40fe-8b8c-e82dd1337ffa
==> result.log <==
skipped 'Skip'
test_02_edit_template (test_templates_fixed.TestTemplates)
Test Edit template ... skipped 'Skip'
test_03_delete_template (test_templates_fixed.TestTemplates)
Test delete template ... ok
test_04_extract_template (test_templates_fixed.TestTemplates)
Test for extract template ... skipped 'Skip'
test_05_template_permissions (test_templates_fixed.TestTemplates)
Update & Test for template permissions ... skipped 'Skip'
test_06_copy_template (test_templates_fixed.TestTemplates)
Test for copy template from one zone to another ... skipped 'Skip'
test_07_list_public_templates (test_templates_fixed.TestTemplates)
Test only public templates are visible to normal user ... skipped 'Skip'
test_08_list_system_templates (test_templates_fixed.TestTemplates)
Test System templates are not visible to normal user ... skipped 'Skip'
----------------------------------------------------------------------
Ran 8 tests in 495.756s
OK (skipped=7)
ISO log:
test_01_create_iso (test_iso.TestCreateIso)
Test create public & private ISO ... ok
test_02_edit_iso (test_iso.TestISO)
Test Edit ISO ... ok
test_03_delete_iso (test_iso.TestISO)
Test delete ISO ... ok
test_04_extract_Iso (test_iso.TestISO)
Test for extract ISO ... ok
test_05_iso_permissions (test_iso.TestISO)
Update & Test for ISO permissions ... ok
test_06_copy_iso (test_iso.TestISO)
Test for copy ISO from one zone to another ... ok
----------------------------------------------------------------------
Ran 6 tests in 341.819s
OK
> [Automation][BVT] Template and ISO test cases failing from BVT suite, during
> LIST api call
> -------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4833
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4833
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.3.0
> Environment: KVM automation on master
> Reporter: Rayees Namathponnan
> Assignee: Gaurav Aradhye
> Priority: Blocker
> Fix For: 4.3.0
>
>
> ISO and Template test cases from master BVT suite
> i) test_iso.py
> 2) integration.smoke.test_templates.TestTemplates.test_03_delete_template
> Both the test cases are failed during list API call, you can see the result
> at
> http://jenkins.buildacloud.org/view/cloudstack-qa/job/test-smoke-matrix/suite=test_templates/lastCompletedBuild/testReport/integration.smoke.test_templates/TestTemplates/test_03_delete_template/
> Error Message
> Execute cmd: listtemplates failed, due to: errorCode: 431, errorText:Unable
> to execute API command listtemplates due to invalid value. Invalid parameter
> id value=f3abe3e3-2712-476d-9d71-05207597e4f4 due to incorrect long value
> format, or entity does not exist or due to incorrect parameter annotation for
> the field in api cmd class.
> -------------------- >> begin captured logging << --------------------
> test_03_delete_template (integration.smoke.test_templates.TestTemplates):
> DEBUG: Deleting Template ID: f3abe3e3-2712-476d-9d71-05207597e4f4
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_templates/test/integration/smoke/test_templates.py",
> line 543, in test_03_delete_template
> domainid=self.account.domainid
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_templates/887/lib/python2.7/site-packages/marvin/integration/lib/common.py",
> line 534, in list_templates
> return(apiclient.listTemplates(cmd))
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_templates/887/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 713, in listTemplates
> response = self.connection.marvin_request(command,
> response_type=response, method=method)
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_templates/887/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 222, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_templates/887/lib/python2.7/site-packages/marvin/jsonHelper.py",
> line 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> Execute cmd: listtemplates failed, due to: errorCode: 431, errorText:Unable
> to execute API command listtemplates due to invalid value. Invalid parameter
> id value=f3abe3e3-2712-476d-9d71-05207597e4f4 due to incorrect long value
> format, or entity does not exist or due to incorrect parameter annotation for
> the field in api cmd class.
> -------------------- >> begin captured logging << --------------------
> test_03_delete_template (integration.smoke.test_templates.TestTemplates):
> DEBUG: Deleting Template ID: f3abe3e3-2712-476d-9d71-05207597e4f4
> --------------------- >> end captured logging << ---------------------
> and
> http://jenkins.buildacloud.org/view/cloudstack-qa/job/test-smoke-matrix/suite=test_iso/lastCompletedBuild/testReport/%3Cnose/suite/ContextSuite_context_TestISO__setup/
> Error Message
> Exception while downloading ISO b2a39aff-95c9-447a-9318-a2702eaab1cc: Execute
> cmd: listisos failed, due to: errorCode: 431, errorText:Unable to execute API
> command listisos due to invalid value. Invalid parameter id
> value=b2a39aff-95c9-447a-9318-a2702eaab1cc due to incorrect long value
> format, or entity does not exist or due to incorrect parameter annotation for
> the field in api cmd class.
> Stacktrace
> Traceback (most recent call last):
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_iso/887/lib/python2.7/site-packages/nose/suite.py",
> line 208, in run
> self.setUp()
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_iso/887/lib/python2.7/site-packages/nose/suite.py",
> line 291, in setUp
> self.setupContext(ancestor)
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_iso/887/lib/python2.7/site-packages/nose/suite.py",
> line 314, in setupContext
> try_run(context, names)
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_iso/887/lib/python2.7/site-packages/nose/util.py",
> line 469, in try_run
> return func()
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_iso/test/integration/smoke/test_iso.py",
> line 238, in setUpClass
> % (cls.iso_1.id, e))
> Exception: Exception while downloading ISO
> b2a39aff-95c9-447a-9318-a2702eaab1cc: Execute cmd: listisos failed, due to:
> errorCode: 431, errorText:Unable to execute API command listisos due to
> invalid value. Invalid parameter id
> value=b2a39aff-95c9-447a-9318-a2702eaab1cc due to incorrect long value
> format, or entity does not exist or due to incorrect parameter annotation for
> the field in api cmd class.
--
This message was sent by Atlassian JIRA
(v6.1#6144)