[jira] [Updated] (CLOUDSTACK-6440) [Automation] Fix the script test_secondary_storage.py - listTemplates response is empty
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6440?page=com.atlassian.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 response is empty - Key: CLOUDSTACK-6440 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6440 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: Chandan Purushothama Assignee: Srikanteswararao Talluri 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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qname=test0command=listZonessignature=t23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3Dresponse=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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qname=test0command=listZonessignature=t23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3Dresponse=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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=listPodssignature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3Dzoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732response=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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=listPodssignature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3Dzoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732response=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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qname=test1command=listZonessignature=Tt%2FqzyUZeeDi5QbtHNV6Ve7DHao%3Dresponse=json HTTP/1.1 200 394 test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request:
[jira] [Updated] (CLOUDSTACK-6440) [Automation] Fix the script test_secondary_storage.py - listTemplates response is empty
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinandan Prateek updated CLOUDSTACK-6440: --- Assignee: Srikanteswararao Talluri [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 Assignee: Srikanteswararao Talluri 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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qname=test0command=listZonessignature=t23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3Dresponse=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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qname=test0command=listZonessignature=t23Z4s6lQrS2hRbKTWxJfI%2B9a5k%3Dresponse=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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=listPodssignature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3Dzoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732response=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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qcommand=listPodssignature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3Dzoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732response=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_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Qname=test1command=listZonessignature=Tt%2FqzyUZeeDi5QbtHNV6Ve7DHao%3Dresponse=json HTTP/1.1 200 394 test_02_sys_template_ready (integration.smoke.test_secondary_storage.TestSecStorageServices): DEBUG: Request: