[
https://issues.apache.org/jira/browse/CLOUDSTACK-5978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885450#comment-13885450
]
Srikanteswararao Talluri commented on CLOUDSTACK-5978:
------------------------------------------------------
check your test , it is trying to match the ostypeid for
47aecc58-887c-11e3-9c62-52b2d980df8a","description":"CentOS 5.6 (64-bit)"
but your listTemplates response has
"ostypeid":"47860656-887c-11e3-9c62-52b2d980df8a","ostypename":"CentOS 5.3
(64-bit)",
> [Automation] test_non_contiguous_vlan.py test case failing while calling
> get_template
> -------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-5978
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5978
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.4.0
> Reporter: Rayees Namathponnan
> Priority: Critical
> Fix For: 4.4.0
>
>
> vmware 104
> Test case test_non_contiguous_vlan.py failing with below error
> 887c-11e3-9c62-52b2d980df8a","description":"CentOS 5.6 (64-bit)"} ] } }
> CSLog: DEBUG: sending GET request: listTemplates {'templatefilter':
> 'featured', 'zoneid': u'2e0b40d3-05b1-4b7d-9f24-860efbd1767b'}
> CSLog: DEBUG: Computed Signature by Marvin: fHciiVECspceyurSJdhHHnKgfxo=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
> (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET
> /client/api?apiKey=sEIJOX2sCcNKsFX1H1nHtv21quPDyH4MH4g00jSWB0ja0Gv9ydEPmz1igbhPTOEy-1hfQwONxcIpME0Jbs-mhA&templatefilter=featured&command=listTemplates&signature=fHciiVECspceyurSJdhHHnKgfxo%3D&zoneid=2e0b40d3-05b1-4b7d-9f24-860efbd1767b&response=json
> HTTP/1.1" 200 819
> CSLog: DEBUG: Request:
> http://10.223.49.197:8080/client/api?apiKey=sEIJOX2sCcNKsFX1H1nHtv21quPDyH4MH4g00jSWB0ja0Gv9ydEPmz1igbhPTOEy-1hfQwONxcIpME0Jbs-mhA&templatefilter=featured&command=listTemplates&signature=fHciiVECspceyurSJdhHHnKgfxo%3D&zoneid=2e0b40d3-05b1-4b7d-9f24-860efbd1767b&response=json
> Response: { "listtemplatesresponse" : { "count":1 ,"template" : [
> {"id":"47807fb0-887c-11e3-9c62-52b2d980df8a","name":"CentOS 5.3(64-bit) no
> GUI (vSphere)","displaytext":"CentOS 5.3(64-bit) no GUI
> (vSphere)","ispublic":true,"created":"2014-01-28T16:55:46-0800","isready":true,"passwordenabled":false,"format":"OVA","isfeatured":true,"crossZones":true,"ostypeid":"47860656-887c-11e3-9c62-52b2d980df8a","ostypename":"CentOS
> 5.3
> (64-bit)","account":"system","zoneid":"2e0b40d3-05b1-4b7d-9f24-860efbd1767b","zonename":"Adv-VMware-Zone1","status":"Download
>
> Complete","size":2147483648,"templatetype":"BUILTIN","hypervisor":"VMware","domain":"ROOT","domainid":"477d0e84-887c-11e3-9c62-52b2d980df8a","isextractable":true,"checksum":"855be0d95c60e7abcd73e54a7ac38038","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":false}
> ] } }
> CSLog: CRITICAL: EXCEPTION: None: Traceback (most recent call last):
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in
> run
> self.setUp()
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in
> setUp
> self.setupContext(ancestor)
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in
> setupContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in
> try_run
> return func()
> File
> "/data/Repo2/qa/cloudstack/test/integration/component/test_non_contiguous_vlan.py",
> line 107, in setUpClass
> cls.services["ostype"]
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/common.py",
> line 244, in get_template
> "ready state: %s" %(templatetype, ostypeid))
> Exception: Exception: Failed to find template of type BUILTIN with OSTypeID
> and which is in ready state: 47aecc58-887c-11e3-9c62-52b2d980df8a
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in
> run
> self.setUp()
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in
> setUp
> self.setupContext(ancestor)
> File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in
> setupContext
> try_run(context, names)
> File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in
> try_run
> return func()
> File
> "/data/Repo2/qa/cloudstack/test/integration/component/test_non_contiguous_vlan.py",
> line 107, in setUpClass
> cls.services["ostype"]
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/common.py",
> line 244, in get_template
> "ready state: %s" %(templatetype, ostypeid))
> Exception: Failed to find template of type BUILTIN with OSTypeID and which is
> in ready state: 47aecc58-887c-11e3-9c62-52b2d980df8a
> -------------------- >> begin captured logging << --------------------
> CSLog: DEBUG: sending GET request: listZones {}
> CSLog: DEBUG: Computed Signature by Marvin: cU5DmLSXmRNvakovUI11zDet6ys=
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
> (1): 10.223.49.197
> requests.packages.urllib3.connectionpool: DEBUG: "GET
> /client/api?apiKey=sEIJOX2sCcNKsFX1H1nHtv21quPDyH4MH4g00jSWB0ja0Gv9ydEPmz1igbhPTOEy-1hfQwONxcIpME0Jbs
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)