You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Chandan Purushothama (JIRA)" <ji...@apache.org> on 2014/04/18 03:35:17 UTC

[jira] [Created] (CLOUDSTACK-6440) [Automation] Fix the script "test_secondary_storage.py" - listTemplates response is empty

Chandan Purushothama created CLOUDSTACK-6440:
------------------------------------------------

             Summary: [Automation] Fix the script "test_secondary_storage.py" - listTemplates response is empty
                 Key: CLOUDSTACK-6440
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6440
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation
    Affects Versions: 4.4.0
            Reporter: Chandan Purushothama
            Priority: Blocker
             Fix For: 4.4.0


*Add System VM Template ID while querying for the System VM Templates inorder to list the Template.*

========================
listTemplatesResponse:
========================

'NoneType' object is not iterable
-------------------- >> begin captured logging << --------------------
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: ::::::::::::STARTED : TC: test_02_sys_template_ready :::::::::::
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request: listZones {'name': u'test0'}
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: t23Z4s6lQrS2hRbKTWxJfI+9a5k=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=test0&command=listZones&signature=t23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3D&response=json HTTP/1.1" 200 394
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=test0&command=listZones&signature=t23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3D&response=json 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,"allocationstate":"Enabled","zonetoken":"f0aed2ee-a79d-3608-bae5-09972653a6cf","dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]} ] } }
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request: listPods {'zoneid': u'4fbc4494-e655-49b6-bda1-7ad8eb641732'}
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: Q5eN6r9ACb1qiPi7CI3wiB6wh0k=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json HTTP/1.1" 200 314
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json Response: { "listpodsresponse" : { "count":1 ,"pod" : [  {"id":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","gateway":"10.223.251.1","netmask":"255.255.255.192","startip":"10.223.251.4","endip":"10.223.251.14","allocationstate":"Enabled"} ] } }
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request: listZones {'name': u'test1'}
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: Tt/qzyUZeeDi5QbtHNV6Ve7DHao=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=test1&command=listZones&signature=Tt%2FqzyUZeeDi5QbtHNV6Ve7DHao%3D&response=json HTTP/1.1" 200 394
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=test1&command=listZones&signature=Tt%2FqzyUZeeDi5QbtHNV6Ve7DHao%3D&response=json 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,"allocationstate":"Enabled","zonetoken":"3973cd3a-d2ed-3242-8431-b40f919051f1","dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]} ] } }
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request: listPods {'zoneid': u'55fe83ca-4160-40b2-89cb-63cadf8b90f9'}
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: bk2rXxFRxCRqL+f0NN4sTOXCUq8=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=bk2rXxFRxCRqL%2Bf0NN4sTOXCUq8%3D&zoneid=55fe83ca-4160-40b2-89cb-63cadf8b90f9&response=json HTTP/1.1" 200 316
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=bk2rXxFRxCRqL%2Bf0NN4sTOXCUq8%3D&zoneid=55fe83ca-4160-40b2-89cb-63cadf8b90f9&response=json Response: { "listpodsresponse" : { "count":1 ,"pod" : [  {"id":"848a544a-42e2-4f84-b208-b520daeede87","name":"test1pod1","zoneid":"55fe83ca-4160-40b2-89cb-63cadf8b90f9","zonename":"test1","gateway":"10.223.249.65","netmask":"255.255.255.192","startip":"10.223.249.67","endip":"10.223.249.77","allocationstate":"Enabled"} ] } }
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request: listDomains {}
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: 7Kvn+U2l4yOMAZP98M2lwOHMAG4=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listDomains&signature=7Kvn%2BU2l4yOMAZP98M2lwOHMAG4%3D&response=json HTTP/1.1" 200 159
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listDomains&signature=7Kvn%2BU2l4yOMAZP98M2lwOHMAG4%3D&response=json 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.TestSecStorageServices): DEBUG: Checking BUILTIN templates in zone: 4fbc4494-e655-49b6-bda1-7ad8eb641732
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): 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.TestSecStorageServices): DEBUG: Computed Signature by Marvin: R6rC4JNGJBR6mAbEXZ9Ak963ayw=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=system&apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&hypervisor=XenServer&templatefilter=self&command=listTemplates&signature=R6rC4JNGJBR6mAbEXZ9Ak963ayw%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json&listall=True HTTP/1.1" 200 33
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?account=system&apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&hypervisor=XenServer&templatefilter=self&command=listTemplates&signature=R6rC4JNGJBR6mAbEXZ9Ak963ayw%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json&listall=True Response: { "listtemplatesresponse" : { } }
test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): CRITICAL: EXCEPTION: test_02_sys_template_ready: Traceback (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_storage.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_storage.py", line 193, in test_02_sys_template_ready
    for template in list_template_response:
'\'NoneType\' object is not iterable\n-------------------- >> begin captured logging << --------------------\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: ::::::::::::STARTED : TC: test_02_sys_template_ready :::::::::::\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request: listZones {\'name\': u\'test0\'}\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: t23Z4s6lQrS2hRbKTWxJfI+9a5k=\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=test0&command=listZones&signature=t23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3D&response=json HTTP/1.1" 200 394\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=test0&command=listZones&signature=t23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3D&response=json 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,"allocationstate":"Enabled","zonetoken":"f0aed2ee-a79d-3608-bae5-09972653a6cf","dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]} ] } }\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request: listPods {\'zoneid\': u\'4fbc4494-e655-49b6-bda1-7ad8eb641732\'}\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: Q5eN6r9ACb1qiPi7CI3wiB6wh0k=\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json HTTP/1.1" 200 314\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json Response: { "listpodsresponse" : { "count":1 ,"pod" : [  {"id":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","gateway":"10.223.251.1","netmask":"255.255.255.192","startip":"10.223.251.4","endip":"10.223.251.14","allocationstate":"Enabled"} ] } }\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_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: Tt/qzyUZeeDi5QbtHNV6Ve7DHao=\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=test1&command=listZones&signature=Tt%2FqzyUZeeDi5QbtHNV6Ve7DHao%3D&response=json HTTP/1.1" 200 394\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=test1&command=listZones&signature=Tt%2FqzyUZeeDi5QbtHNV6Ve7DHao%3D&response=json 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,"allocationstate":"Enabled","zonetoken":"3973cd3a-d2ed-3242-8431-b40f919051f1","dhcpprovider":"VirtualRouter","localstorageenabled":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.TestSecStorageServices): DEBUG: Computed Signature by Marvin: bk2rXxFRxCRqL+f0NN4sTOXCUq8=\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=bk2rXxFRxCRqL%2Bf0NN4sTOXCUq8%3D&zoneid=55fe83ca-4160-40b2-89cb-63cadf8b90f9&response=json 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=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=bk2rXxFRxCRqL%2Bf0NN4sTOXCUq8%3D&zoneid=55fe83ca-4160-40b2-89cb-63cadf8b90f9&response=json Response: { "listpodsresponse" : { "count":1 ,"pod" : [  {"id":"848a544a-42e2-4f84-b208-b520daeede87","name":"test1pod1","zoneid":"55fe83ca-4160-40b2-89cb-63cadf8b90f9","zonename":"test1","gateway":"10.223.249.65","netmask":"255.255.255.192","startip":"10.223.249.67","endip":"10.223.249.77","allocationstate":"Enabled"} ] } }\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: sending GET request: listDomains {}\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: 7Kvn+U2l4yOMAZP98M2lwOHMAG4=\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listDomains&signature=7Kvn%2BU2l4yOMAZP98M2lwOHMAG4%3D&response=json HTTP/1.1" 200 159\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listDomains&signature=7Kvn%2BU2l4yOMAZP98M2lwOHMAG4%3D&response=json Response: { "listdomainsresponse" : { "count":1 ,"domain" : [  {"id":"fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3","name":"ROOT","level":0,"haschild":false,"path":"ROOT"} ] } }\ntest_02_sys_template_ready (integration.smoke.test_secondary_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: sending GET request: listTemplates {\'account\': \'system\', \'hypervisor\': u\'XenServer\', \'templatefilter\': \'self\', \'zoneid\': u\'4fbc4494-e655-49b6-bda1-7ad8eb641732\', \'listall\': True}\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Computed Signature by Marvin: R6rC4JNGJBR6mAbEXZ9Ak963ayw=\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=system&apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&hypervisor=XenServer&templatefilter=self&command=listTemplates&signature=R6rC4JNGJBR6mAbEXZ9Ak963ayw%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json&listall=True HTTP/1.1" 200 33\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/api?account=system&apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&hypervisor=XenServer&templatefilter=self&command=listTemplates&signature=R6rC4JNGJBR6mAbEXZ9Ak963ayw%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json&listall=True Response: { "listtemplatesresponse" : { } }\ntest_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): CRITICAL: EXCEPTION: test_02_sys_template_ready: Traceback (most recent call last):\n  File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run\n    testMethod()\n  File "/root/asf/cloudstack/test/integration/smoke/test_secondary_storage.py", line 193, in test_02_sys_template_ready\n    for template in list_template_response:\nTypeError: \'NoneType\' object is not iterable\n\n--------------------- >> end captured logging << ---------------------'



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