Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40B8111C4F for ; Wed, 23 Apr 2014 16:41:41 +0000 (UTC) Received: (qmail 74624 invoked by uid 500); 23 Apr 2014 16:41:33 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 74458 invoked by uid 500); 23 Apr 2014 16:41:30 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 74394 invoked by uid 500); 23 Apr 2014 16:41:29 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 74122 invoked by uid 99); 23 Apr 2014 16:41:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2014 16:41:21 +0000 Date: Wed, 23 Apr 2014 16:41:21 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-6440) [Automation] Fix the script "test_secondary_storage.py" - listTemplates response is empty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6440?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-6440: -------------------------------------------- Issue Type: Test (was: Bug) > [Automation] Fix the script "test_secondary_storage.py" - listTemplates r= esponse is empty > -------------------------------------------------------------------------= ---------------- > > Key: CLOUDSTACK-6440 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-644= 0 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Automation > Affects Versions: 4.4.0 > Reporter: Chandan Purushothama > Assignee: Srikanteswararao Talluri > Priority: Blocker > Fix For: 4.4.0 > > > *Add System VM Template ID while querying for the System VM Templates ino= rder to list the Template.* > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > listTemplatesResponse: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 'NoneType' object is not iterable > -------------------- >> begin captured logging << -------------------- > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: ::::::::::::STARTED : TC: test_02_sys_template_= ready ::::::::::: > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: sending GET request: listZones {'name': u'test0= '} > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Computed Signature by Marvin: t23Z4s6lQrS2hRbKT= WxJfI+9a5k=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&name=3Dtest0&command=3DlistZones&signature=3Dt23Z4s6lQrS2hRb= KTWxJfI%2B9a5k%3D&response=3Djson HTTP/1.1" 200 394 > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?= apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36ic= uUoFQkySLQkvQ9K6Dh0Q&name=3Dtest0&command=3DlistZones&signature=3Dt23Z4s6lQ= rS2hRbKTWxJfI%2B9a5k%3D&response=3Djson Response: { "listzonesresponse" : {= "count":1 ,"zone" : [ {"id":"4fbc4494-e655-49b6-bda1-7ad8eb641732","name"= :"test0","dns1":"10.223.240.232","dns2":"10.223.240.234","internaldns1":"10= .223.240.232","networktype":"Basic","securitygroupsenabled":true,"allocatio= nstate":"Enabled","zonetoken":"f0aed2ee-a79d-3608-bae5-09972653a6cf","dhcpp= rovider":"VirtualRouter","localstorageenabled":false,"tags":[]} ] } } > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: sending GET request: listPods {'zoneid': u'4fbc= 4494-e655-49b6-bda1-7ad8eb641732'} > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Computed Signature by Marvin: Q5eN6r9ACb1qiPi7C= I3wiB6wh0k=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3= D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson HTTP/1.1" 2= 00 314 > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?= apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36ic= uUoFQkySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6= wh0k%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson Respo= nse: { "listpodsresponse" : { "count":1 ,"pod" : [ {"id":"d99714b2-7164-4d= 85-b5a6-c0caf12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-= 7ad8eb641732","zonename":"test0","gateway":"10.223.251.1","netmask":"255.25= 5.255.192","startip":"10.223.251.4","endip":"10.223.251.14","allocationstat= e":"Enabled"} ] } } > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: sending GET request: listZones {'name': u'test1= '} > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Computed Signature by Marvin: Tt/qzyUZeeDi5QbtH= NV6Ve7DHao=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&name=3Dtest1&command=3DlistZones&signature=3DTt%2FqzyUZeeDi5= QbtHNV6Ve7DHao%3D&response=3Djson HTTP/1.1" 200 394 > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?= apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36ic= uUoFQkySLQkvQ9K6Dh0Q&name=3Dtest1&command=3DlistZones&signature=3DTt%2FqzyU= ZeeDi5QbtHNV6Ve7DHao%3D&response=3Djson Response: { "listzonesresponse" : {= "count":1 ,"zone" : [ {"id":"55fe83ca-4160-40b2-89cb-63cadf8b90f9","name"= :"test1","dns1":"10.223.240.234","dns2":"10.223.240.232","internaldns1":"10= .223.240.232","networktype":"Basic","securitygroupsenabled":true,"allocatio= nstate":"Enabled","zonetoken":"3973cd3a-d2ed-3242-8431-b40f919051f1","dhcpp= rovider":"VirtualRouter","localstorageenabled":false,"tags":[]} ] } } > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: sending GET request: listPods {'zoneid': u'55fe= 83ca-4160-40b2-89cb-63cadf8b90f9'} > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Computed Signature by Marvin: bk2rXxFRxCRqL+f0N= N4sTOXCUq8=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3Dbk2rXxFRxCRqL%2Bf0NN4sTOXCUq8= %3D&zoneid=3D55fe83ca-4160-40b2-89cb-63cadf8b90f9&response=3Djson HTTP/1.1"= 200 316 > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?= apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36ic= uUoFQkySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3Dbk2rXxFRxCRqL%2Bf0NN4sT= OXCUq8%3D&zoneid=3D55fe83ca-4160-40b2-89cb-63cadf8b90f9&response=3Djson Res= ponse: { "listpodsresponse" : { "count":1 ,"pod" : [ {"id":"848a544a-42e2-= 4f84-b208-b520daeede87","name":"test1pod1","zoneid":"55fe83ca-4160-40b2-89c= b-63cadf8b90f9","zonename":"test1","gateway":"10.223.249.65","netmask":"255= .255.255.192","startip":"10.223.249.67","endip":"10.223.249.77","allocation= state":"Enabled"} ] } } > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: sending GET request: listDomains {} > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Computed Signature by Marvin: 7Kvn+U2l4yOMAZP98= M2lwOHMAG4=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&command=3DlistDomains&signature=3D7Kvn%2BU2l4yOMAZP98M2lwOHM= AG4%3D&response=3Djson HTTP/1.1" 200 159 > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?= apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36ic= uUoFQkySLQkvQ9K6Dh0Q&command=3DlistDomains&signature=3D7Kvn%2BU2l4yOMAZP98M= 2lwOHMAG4%3D&response=3Djson Response: { "listdomainsresponse" : { "count":= 1 ,"domain" : [ {"id":"fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3","name":"ROOT"= ,"level":0,"haschild":false,"path":"ROOT"} ] } } > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Checking BUILTIN templates in zone: 4fbc4494-e6= 55-49b6-bda1-7ad8eb641732 > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: sending GET request: listTemplates {'account': = 'system', 'hypervisor': u'XenServer', 'templatefilter': 'self', 'zoneid': u= '4fbc4494-e655-49b6-bda1-7ad8eb641732', 'listall': True} > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Computed Signature by Marvin: R6rC4JNGJBR6mAbEX= Z9Ak963ayw=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account= =3Dsystem&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3T= pkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&hypervisor=3DXenServer&templatefilter=3Dself= &command=3DlistTemplates&signature=3DR6rC4JNGJBR6mAbEXZ9Ak963ayw%3D&zoneid= =3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson&listall=3DTrue HTTP= /1.1" 200 33 > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?= account=3Dsystem&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9i= haz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&hypervisor=3DXenServer&templatefilter= =3Dself&command=3DlistTemplates&signature=3DR6rC4JNGJBR6mAbEXZ9Ak963ayw%3D&= zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson&listall=3DTru= e Response: { "listtemplatesresponse" : { } } > test_02_sys_template_ready (integration.smoke.test_secondary_storage.Test= SecStorageServices): CRITICAL: EXCEPTION: test_02_sys_template_ready: Trace= back (most recent call last): > File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run > testMethod() > File "/root/asf/cloudstack/test/integration/smoke/test_secondary_storag= e.py", line 193, in test_02_sys_template_ready > for template in list_template_response: > TypeError: 'NoneType' object is not iterable > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run > testMethod() > File "/root/asf/cloudstack/test/integration/smoke/test_secondary_storag= e.py", line 193, in test_02_sys_template_ready > for template in list_template_response: > '\'NoneType\' object is not iterable\n-------------------- >> begin captu= red logging << --------------------\ntest_02_sys_template_ready (integratio= n.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: ::::::::::::= STARTED : TC: test_02_sys_template_ready :::::::::::\ntest_02_sys_template_= ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DE= BUG: sending GET request: listZones {\'name\': u\'test0\'}\ntest_02_sys_tem= plate_ready (integration.smoke.test_secondary_storage.TestSecStorageService= s): DEBUG: Computed Signature by Marvin: t23Z4s6lQrS2hRbKTWxJfI+9a5k=3D\nre= quests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection = (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET = /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P= 3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=3Dtest0&command=3DlistZones&signature= =3Dt23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3D&response=3Djson HTTP/1.1" 200 394\ntest= _02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecSto= rageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&name=3Dtest0&command=3DlistZones&signature=3Dt23Z4s6lQrS2hRb= KTWxJfI%2B9a5k%3D&response=3Djson Response: { "listzonesresponse" : { "coun= t":1 ,"zone" : [ {"id":"4fbc4494-e655-49b6-bda1-7ad8eb641732","name":"test= 0","dns1":"10.223.240.232","dns2":"10.223.240.234","internaldns1":"10.223.2= 40.232","networktype":"Basic","securitygroupsenabled":true,"allocationstate= ":"Enabled","zonetoken":"f0aed2ee-a79d-3608-bae5-09972653a6cf","dhcpprovide= r":"VirtualRouter","localstorageenabled":false,"tags":[]} ] } }\ntest_02_sy= s_template_ready (integration.smoke.test_secondary_storage.TestSecStorageSe= rvices): DEBUG: sending GET request: listPods {\'zoneid\': u\'4fbc4494-e655= -49b6-bda1-7ad8eb641732\'}\ntest_02_sys_template_ready (integration.smoke.t= est_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by= Marvin: Q5eN6r9ACb1qiPi7CI3wiB6wh0k=3D\nrequests.packages.urllib3.connecti= onpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.pa= ckages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNv= c4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q= &command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=3D4fb= c4494-e655-49b6-bda1-7ad8eb641732&response=3Djson HTTP/1.1" 200 314\ntest_0= 2_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStora= geServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3= D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson Response: {= "listpodsresponse" : { "count":1 ,"pod" : [ {"id":"d99714b2-7164-4d85-b5a= 6-c0caf12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb= 641732","zonename":"test0","gateway":"10.223.251.1","netmask":"255.255.255.= 192","startip":"10.223.251.4","endip":"10.223.251.14","allocationstate":"En= abled"} ] } }\ntest_02_sys_template_ready (integration.smoke.test_secondary= _storage.TestSecStorageServices): DEBUG: sending GET request: listZones {\'= name\': u\'test1\'}\ntest_02_sys_template_ready (integration.smoke.test_sec= ondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin= : Tt/qzyUZeeDi5QbtHNV6Ve7DHao=3D\nrequests.packages.urllib3.connectionpool:= INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.= urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv= 7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name= =3Dtest1&command=3DlistZones&signature=3DTt%2FqzyUZeeDi5QbtHNV6Ve7DHao%3D&r= esponse=3Djson HTTP/1.1" 200 394\ntest_02_sys_template_ready (integration.s= moke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http:/= /10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TE= JRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=3Dtest1&command= =3DlistZones&signature=3DTt%2FqzyUZeeDi5QbtHNV6Ve7DHao%3D&response=3Djson R= esponse: { "listzonesresponse" : { "count":1 ,"zone" : [ {"id":"55fe83ca-4= 160-40b2-89cb-63cadf8b90f9","name":"test1","dns1":"10.223.240.234","dns2":"= 10.223.240.232","internaldns1":"10.223.240.232","networktype":"Basic","secu= ritygroupsenabled":true,"allocationstate":"Enabled","zonetoken":"3973cd3a-d= 2ed-3242-8431-b40f919051f1","dhcpprovider":"VirtualRouter","localstorageena= bled":false,"tags":[]} ] } }\ntest_02_sys_template_ready (integration.smoke= .test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request= : listPods {\'zoneid\': u\'55fe83ca-4160-40b2-89cb-63cadf8b90f9\'}\ntest_02= _sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorag= eServices): DEBUG: Computed Signature by Marvin: bk2rXxFRxCRqL+f0NN4sTOXCUq= 8=3D\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP con= nection (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBU= G: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5b= l9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3Dbk2= rXxFRxCRqL%2Bf0NN4sTOXCUq8%3D&zoneid=3D55fe83ca-4160-40b2-89cb-63cadf8b90f9= &response=3Djson HTTP/1.1" 200 316\ntest_02_sys_template_ready (integration= .smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http= ://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_= TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistPods&s= ignature=3Dbk2rXxFRxCRqL%2Bf0NN4sTOXCUq8%3D&zoneid=3D55fe83ca-4160-40b2-89c= b-63cadf8b90f9&response=3Djson Response: { "listpodsresponse" : { "count":1= ,"pod" : [ {"id":"848a544a-42e2-4f84-b208-b520daeede87","name":"test1pod1= ","zoneid":"55fe83ca-4160-40b2-89cb-63cadf8b90f9","zonename":"test1","gatew= ay":"10.223.249.65","netmask":"255.255.255.192","startip":"10.223.249.67","= endip":"10.223.249.77","allocationstate":"Enabled"} ] } }\ntest_02_sys_temp= late_ready (integration.smoke.test_secondary_storage.TestSecStorageServices= ): DEBUG: sending GET request: listDomains {}\ntest_02_sys_template_ready (= integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Co= mputed Signature by Marvin: 7Kvn+U2l4yOMAZP98M2lwOHMAG4=3D\nrequests.packag= es.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.2= 40.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?a= piKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icu= UoFQkySLQkvQ9K6Dh0Q&command=3DlistDomains&signature=3D7Kvn%2BU2l4yOMAZP98M2= lwOHMAG4%3D&response=3Djson HTTP/1.1" 200 159\ntest_02_sys_template_ready (= integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Re= quest: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7it= BuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command= =3DlistDomains&signature=3D7Kvn%2BU2l4yOMAZP98M2lwOHMAG4%3D&response=3Djson= Response: { "listdomainsresponse" : { "count":1 ,"domain" : [ {"id":"fe2a= 30b2-c5a8-11e3-8f55-66bc12ed7ec3","name":"ROOT","level":0,"haschild":false,= "path":"ROOT"} ] } }\ntest_02_sys_template_ready (integration.smoke.test_se= condary_storage.TestSecStorageServices): DEBUG: Checking BUILTIN templates = in zone: 4fbc4494-e655-49b6-bda1-7ad8eb641732\ntest_02_sys_template_ready (= integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: se= nding GET request: listTemplates {\'account\': \'system\', \'hypervisor\': = u\'XenServer\', \'templatefilter\': \'self\', \'zoneid\': u\'4fbc4494-e655-= 49b6-bda1-7ad8eb641732\', \'listall\': True}\ntest_02_sys_template_ready (i= ntegration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Com= puted Signature by Marvin: R6rC4JNGJBR6mAbEXZ9Ak963ayw=3D\nrequests.package= s.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.24= 0.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?ac= count=3Dsystem&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9iha= z0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&hypervisor=3DXenServer&templatefilter= =3Dself&command=3DlistTemplates&signature=3DR6rC4JNGJBR6mAbEXZ9Ak963ayw%3D&= zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson&listall=3DTru= e HTTP/1.1" 200 33\ntest_02_sys_template_ready (integration.smoke.test_seco= ndary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.16= 1:8080/client/api?account=3Dsystem&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT= _TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&hypervisor=3DXenSer= ver&templatefilter=3Dself&command=3DlistTemplates&signature=3DR6rC4JNGJBR6m= AbEXZ9Ak963ayw%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3D= json&listall=3DTrue Response: { "listtemplatesresponse" : { } }\ntest_02_sy= s_template_ready (integration.smoke.test_secondary_storage.TestSecStorageSe= rvices): CRITICAL: EXCEPTION: test_02_sys_template_ready: Traceback (most r= ecent call last):\n File "/usr/local/lib/python2.7/unittest/case.py", line= 327, in run\n testMethod()\n File "/root/asf/cloudstack/test/integrati= on/smoke/test_secondary_storage.py", line 193, in test_02_sys_template_read= y\n for template in list_template_response:\nTypeError: \'NoneType\' obj= ect is not iterable\n\n--------------------- >> end captured logging << ---= ------------------' -- This message was sent by Atlassian JIRA (v6.2#6252)