Harikrishna Patnala created CLOUDSTACK-6774:
-----------------------------------------------

             Summary: [Automation]: Test case failure in test_iso.py
                 Key: CLOUDSTACK-6774
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6774
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation, KVM
    Affects Versions: 4.4.0
            Reporter: Harikrishna Patnala
             Fix For: 4.4.0
         Attachments: vmops.log

There is test case failure in test_iso.py
1) integration.smoke.test_iso.TestCreateIso.test_01_create_iso

Error Message

Exception while downloading ISO 39ce3b8d-8109-4eb5-8720-29335498a7b2: Error In 
Downloading ISO: ISO Status - No route to host
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_01_create_iso | Status : FAILED ===


--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: 
::::::::::::STARTED : TC: test_01_create_iso :::::::::::
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: 
{'apiKey': 
u'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA',
 'command': 'listDomains', 'signature': 'M4lkquS9SDTaPx3/CRHhYFhuLeo=', 
'response': 'json'}
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: 
========Sending GET Cmd : listDomains=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 172.16.88.22
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=listDomains&response=json&signature=M4lkquS9SDTaPx3%2FCRHhYFhuLeo%3D
 HTTP/1.1" 200 159
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response 
: [{path : u'ROOT', haschild : False, id : 
u'4046979a-e504-11e3-af30-00163e5d4a0e', name : u'ROOT', level : 0}]
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: 
{'apiKey': 
u'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA',
 'name': 'zone-kvm', 'command': 'listZones', 'signature': 
'AX8BnIVOj5rL7itUP3tDkthh1BI=', 'response': 'json'}
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: 
========Sending GET Cmd : listZones=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 172.16.88.22
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?response=json&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=listZones&name=zone-kvm&signature=AX8BnIVOj5rL7itUP3tDkthh1BI%3D
 HTTP/1.1" 200 429
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response 
: [{localstorageenabled : False, name : u'zone-kvm', guestcidraddress : 
u'10.1.1.0/24', tags : [], zonetoken : u'd3d20165-3111-34e9-99f0-2ff502b11e2e', 
dns1 : u'8.8.8.8', securitygroupsenabled : False, allocationstate : u'Enabled', 
internaldns1 : u'172.16.88.7', dhcpprovider : u'VirtualRouter', networktype : 
u'Advanced', id : u'c9d7f436-6a58-4818-a41f-7e4ace012473', internaldns2 : 
u'172.16.88.7'}]
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: 
{'username': 'test-account-TestISO-test_01_create_iso-QT75TB', 'domainid': 
u'4046979a-e504-11e3-af30-00163e5d4a0e', 'firstname': 'test', 'lastname': 
'test', 'response': 'json', 'apiKey': 
u'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA',
 'command': 'createAccount', 'accounttype': 0, 'signature': 
'fqs9teBsE6BUQc0sfKQ8AIgwKhI=', 'password': 'password', 'email': 
'test-acco...@test.com'}
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: 
========Sending GET Cmd : createAccount=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 172.16.88.22
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?username=test-account-TestISO-test_01_create_iso-QT75TB&domainid=4046979a-e504-11e3-af30-00163e5d4a0e&firstname=test&lastname=test&email=test-account%40test.com&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=createAccount&accounttype=0&signature=fqs9teBsE6BUQc0sfKQ8AIgwKhI%3D&password=password&response=json
 HTTP/1.1" 200 1650
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response 
: {primarystorageavailable : u'Unlimited', domain : u'ROOT', domainid : 
u'4046979a-e504-11e3-af30-00163e5d4a0e', vpclimit : u'Unlimited', iplimit : 
u'Unlimited', volumelimit : u'Unlimited', memorytotal : 0, 
secondarystorageavailable : u'Unlimited', vmtotal : 0, cputotal : 0, vpctotal : 
0, id : u'578c6139-8ab1-4df6-8f46-087271482796', cpuavailable : u'Unlimited', 
snapshotlimit : u'Unlimited', networklimit : u'Unlimited', iptotal : 0, 
volumetotal : 0, projectlimit : u'Unlimited', state : u'enabled', networktotal 
: 0, accounttype : 0, networkavailable : u'Unlimited', primarystoragetotal : 0, 
templatelimit : u'Unlimited', snapshottotal : 0, templateavailable : 
u'Unlimited', vmlimit : u'Unlimited', vpcavailable : u'Unlimited', 
memoryavailable : u'Unlimited', secondarystoragetotal : 0, templatetotal : 0, 
projecttotal : 0, user : [{username : 
u'test-account-TestISO-test_01_create_iso-QT75TB', account : 
u'test-account-TestISO-test_01_create_iso-QT75TB', domainid : 
u'4046979a-e504-11e3-af30-00163e5d4a0e', firstname : u'test', created : 
u'2014-05-26T13:36:02-0700', lastname : u'test', domain : u'ROOT', id : 
u'20bbb06e-c7b4-410c-8902-49d5d3036790', iscallerchilddomain : False, state : 
u'enabled', accounttype : 0, email : u'test-acco...@test.com', isdefault : 
False, accountid : u'578c6139-8ab1-4df6-8f46-087271482796'}], groups : [], 
projectavailable : u'Unlimited', isdefault : False, primarystoragelimit : 
u'Unlimited', secondarystoragelimit : u'Unlimited', volumeavailable : 
u'Unlimited', name : u'test-account-TestISO-test_01_create_iso-QT75TB', 
vmavailable : u'Unlimited', ipavailable : u'Unlimited', memorylimit : 
u'Unlimited', cpulimit : u'Unlimited', snapshotavailable : u'Unlimited'}
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: 
{'apiKey': 
u'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA',
 'description': 'CentOS 5.6 (64-bit)', 'command': 'listOsTypes', 'signature': 
'tXxrOaW0k1Ym3LAi4QYmmUF929E=', 'response': 'json'}
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: 
========Sending GET Cmd : listOsTypes=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 172.16.88.22
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?response=json&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=listOsTypes&description=CentOS+5.6+%2864-bit%29&signature=tXxrOaW0k1Ym3LAi4QYmmUF929E%3D
 HTTP/1.1" 200 218
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response 
: [{oscategoryid : u'3fc17146-e504-11e3-af30-00163e5d4a0e', description : 
u'CentOS 5.6 (64-bit)', id : u'3fcb88ca-e504-11e3-af30-00163e5d4a0e', 
isuserdefined : u'false'}]
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: 
{'account': u'test-account-TestISO-test_01_create_iso-QT75TB', 'domainid': 
u'4046979a-e504-11e3-af30-00163e5d4a0e', 'name': 'ISO 2', 'ispublic': True, 
'isextractable': True, 'zoneid': u'c9d7f436-6a58-4818-a41f-7e4ace012473', 
'isfeatured': True, 'apiKey': 
u'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA',
 'displaytext': 'Test ISO 2', 'ostypeid': 
u'3fcb88ca-e504-11e3-af30-00163e5d4a0e', 'signature': 
'9GXlmPbasbaYIWtafAvRK+2WRSc=', 'url': 
'http://people.apache.org/~tsp/dummy.iso', 'command': 'registerIso', 
'response': 'json'}
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: 
========Sending GET Cmd : registerIso=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 172.16.88.22
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?account=test-account-TestISO-test_01_create_iso-QT75TB&domainid=4046979a-e504-11e3-af30-00163e5d4a0e&name=ISO+2&isfeatured=True&ispublic=True&isextractable=True&zoneid=c9d7f436-6a58-4818-a41f-7e4ace012473&url=http%3A%2F%2Fpeople.apache.org%2F~tsp%2Fdummy.iso&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&displaytext=Test+ISO+2&ostypeid=3fcb88ca-e504-11e3-af30-00163e5d4a0e&signature=9GXlmPbasbaYIWtafAvRK%2B2WRSc%3D&command=registerIso&response=json
 HTTP/1.1" 200 589
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response 
: [{status : u'', ostypename : u'CentOS 5.6 (64-bit)', isready : False, 
domainid : u'4046979a-e504-11e3-af30-00163e5d4a0e', name : u'ISO 2', created : 
u'2014-05-26T13:36:05-0700', bootable : True, ispublic : True, account : 
u'test-account-TestISO-test_01_create_iso-QT75TB', isextractable : True, zoneid 
: u'c9d7f436-6a58-4818-a41f-7e4ace012473', isfeatured : False, displaytext : 
u'Test ISO 2', ostypeid : u'3fcb88ca-e504-11e3-af30-00163e5d4a0e', domain : 
u'ROOT', crossZones : False, id : u'39ce3b8d-8109-4eb5-8720-29335498a7b2', tags 
: [], zonename : u'zone-kvm'}]
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: ISO 
created with ID: 39ce3b8d-8109-4eb5-8720-29335498a7b2
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: 
{'apiKey': 
u'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA',
 'response': 'json', 'command': 'listIsos', 'signature': 
'00qkBGHnVJrW9QS+zV3PITqMwAo=', 'id': u'39ce3b8d-8109-4eb5-8720-29335498a7b2'}
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: 
========Sending GET Cmd : listIsos=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection 
(1): 172.16.88.22
requests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?id=39ce3b8d-8109-4eb5-8720-29335498a7b2&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=listIsos&response=json&signature=00qkBGHnVJrW9QS%2BzV3PITqMwAo%3D
 HTTP/1.1" 200 602
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response 
: [{status : u'No route to host', ostypename : u'CentOS 5.6 (64-bit)', isready 
: False, domainid : u'4046979a-e504-11e3-af30-00163e5d4a0e', name : u'ISO 2', 
created : u'2014-05-26T13:36:05-0700', bootable : True, ispublic : True, 
account : u'test-account-TestISO-test_01_create_iso-QT75TB', isextractable : 
True, zoneid : u'c9d7f436-6a58-4818-a41f-7e4ace012473', isfeatured : False, 
displaytext : u'Test ISO 2', ostypeid : 
u'3fcb88ca-e504-11e3-af30-00163e5d4a0e', domain : u'ROOT', crossZones : False, 
id : u'39ce3b8d-8109-4eb5-8720-29335498a7b2', tags : [], zonename : 
u'zone-kvm'}]
test_01_create_iso (integration.smoke.test_iso.TestCreateIso): CRITICAL: 
FAILED: test_01_create_iso: ['Traceback (most recent call last):\n', '  File 
"/usr/local/lib/python2.7/unittest/case.py", line 331, in run\n    
testMethod()\n', '  File 
"/automation/virtenv/00-16-3e-5d-4a-0e/278/test/integration/smoke/test_iso.py", 
line 101, in test_01_create_iso\n    % (iso.id, e))\n', '  File 
"/usr/local/lib/python2.7/unittest/case.py", line 412, in fail\n    raise 
self.failureException(msg)\n', 'AssertionError: Exception while downloading ISO 
39ce3b8d-8109-4eb5-8720-29335498a7b2: Error In Downloading ISO: ISO Status - No 
route to host\n']
--------------------- >> end captured logging << ---------------------

Stacktrace

  File "/usr/local/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File 
"/automation/virtenv/00-16-3e-5d-4a-0e/278/test/integration/smoke/test_iso.py", 
line 101, in test_01_create_iso
    % (iso.id, e))
  File "/usr/local/lib/python2.7/unittest/case.py", line 412, in fail
    raise self.failureException(msg)
'Exception while downloading ISO 39ce3b8d-8109-4eb5-8720-29335498a7b2: Error In 
Downloading ISO: ISO Status - No route to host\n-------------------- >> begin 
captured stdout << ---------------------\n=== TestName: test_01_create_iso | 
Status : FAILED ===\n\n\n--------------------- >> end captured stdout << 
----------------------\n-------------------- >> begin captured logging << 
--------------------\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: ::::::::::::STARTED : TC: 
test_01_create_iso :::::::::::\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: {\'apiKey\': 
u\'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA\',
 \'command\': \'listDomains\', \'signature\': \'M4lkquS9SDTaPx3/CRHhYFhuLeo=\', 
\'response\': \'json\'}\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: ========Sending GET Cmd : 
listDomains=======\nrequests.packages.urllib3.connectionpool: INFO: Starting 
new HTTP connection (1): 
172.16.88.22\nrequests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=listDomains&response=json&signature=M4lkquS9SDTaPx3%2FCRHhYFhuLeo%3D
 HTTP/1.1" 200 159\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Response : [{path : 
u\'ROOT\', haschild : False, id : u\'4046979a-e504-11e3-af30-00163e5d4a0e\', 
name : u\'ROOT\', level : 0}]\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: {\'apiKey\': 
u\'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA\',
 \'name\': \'zone-kvm\', \'command\': \'listZones\', \'signature\': 
\'AX8BnIVOj5rL7itUP3tDkthh1BI=\', \'response\': \'json\'}\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: ========Sending GET Cmd : 
listZones=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new 
HTTP connection (1): 172.16.88.22\nrequests.packages.urllib3.connectionpool: 
DEBUG: "GET 
/client/api?response=json&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=listZones&name=zone-kvm&signature=AX8BnIVOj5rL7itUP3tDkthh1BI%3D
 HTTP/1.1" 200 429\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Response : 
[{localstorageenabled : False, name : u\'zone-kvm\', guestcidraddress : 
u\'10.1.1.0/24\', tags : [], zonetoken : 
u\'d3d20165-3111-34e9-99f0-2ff502b11e2e\', dns1 : u\'8.8.8.8\', 
securitygroupsenabled : False, allocationstate : u\'Enabled\', internaldns1 : 
u\'172.16.88.7\', dhcpprovider : u\'VirtualRouter\', networktype : 
u\'Advanced\', id : u\'c9d7f436-6a58-4818-a41f-7e4ace012473\', internaldns2 : 
u\'172.16.88.7\'}]\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: {\'username\': 
\'test-account-TestISO-test_01_create_iso-QT75TB\', \'domainid\': 
u\'4046979a-e504-11e3-af30-00163e5d4a0e\', \'firstname\': \'test\', 
\'lastname\': \'test\', \'response\': \'json\', \'apiKey\': 
u\'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA\',
 \'command\': \'createAccount\', \'accounttype\': 0, \'signature\': 
\'fqs9teBsE6BUQc0sfKQ8AIgwKhI=\', \'password\': \'password\', \'email\': 
\'test-acco...@test.com\'}\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: ========Sending GET Cmd : 
createAccount=======\nrequests.packages.urllib3.connectionpool: INFO: Starting 
new HTTP connection (1): 
172.16.88.22\nrequests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?username=test-account-TestISO-test_01_create_iso-QT75TB&domainid=4046979a-e504-11e3-af30-00163e5d4a0e&firstname=test&lastname=test&email=test-account%40test.com&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=createAccount&accounttype=0&signature=fqs9teBsE6BUQc0sfKQ8AIgwKhI%3D&password=password&response=json
 HTTP/1.1" 200 1650\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Response : 
{primarystorageavailable : u\'Unlimited\', domain : u\'ROOT\', domainid : 
u\'4046979a-e504-11e3-af30-00163e5d4a0e\', vpclimit : u\'Unlimited\', iplimit : 
u\'Unlimited\', volumelimit : u\'Unlimited\', memorytotal : 0, 
secondarystorageavailable : u\'Unlimited\', vmtotal : 0, cputotal : 0, vpctotal 
: 0, id : u\'578c6139-8ab1-4df6-8f46-087271482796\', cpuavailable : 
u\'Unlimited\', snapshotlimit : u\'Unlimited\', networklimit : u\'Unlimited\', 
iptotal : 0, volumetotal : 0, projectlimit : u\'Unlimited\', state : 
u\'enabled\', networktotal : 0, accounttype : 0, networkavailable : 
u\'Unlimited\', primarystoragetotal : 0, templatelimit : u\'Unlimited\', 
snapshottotal : 0, templateavailable : u\'Unlimited\', vmlimit : 
u\'Unlimited\', vpcavailable : u\'Unlimited\', memoryavailable : 
u\'Unlimited\', secondarystoragetotal : 0, templatetotal : 0, projecttotal : 0, 
user : [{username : u\'test-account-TestISO-test_01_create_iso-QT75TB\', 
account : u\'test-account-TestISO-test_01_create_iso-QT75TB\', domainid : 
u\'4046979a-e504-11e3-af30-00163e5d4a0e\', firstname : u\'test\', created : 
u\'2014-05-26T13:36:02-0700\', lastname : u\'test\', domain : u\'ROOT\', id : 
u\'20bbb06e-c7b4-410c-8902-49d5d3036790\', iscallerchilddomain : False, state : 
u\'enabled\', accounttype : 0, email : u\'test-acco...@test.com\', isdefault : 
False, accountid : u\'578c6139-8ab1-4df6-8f46-087271482796\'}], groups : [], 
projectavailable : u\'Unlimited\', isdefault : False, primarystoragelimit : 
u\'Unlimited\', secondarystoragelimit : u\'Unlimited\', volumeavailable : 
u\'Unlimited\', name : u\'test-account-TestISO-test_01_create_iso-QT75TB\', 
vmavailable : u\'Unlimited\', ipavailable : u\'Unlimited\', memorylimit : 
u\'Unlimited\', cpulimit : u\'Unlimited\', snapshotavailable : 
u\'Unlimited\'}\ntest_01_create_iso (integration.smoke.test_iso.TestCreateIso): 
DEBUG: Payload: {\'apiKey\': 
u\'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA\',
 \'description\': \'CentOS 5.6 (64-bit)\', \'command\': \'listOsTypes\', 
\'signature\': \'tXxrOaW0k1Ym3LAi4QYmmUF929E=\', \'response\': 
\'json\'}\ntest_01_create_iso (integration.smoke.test_iso.TestCreateIso): 
DEBUG: ========Sending GET Cmd : 
listOsTypes=======\nrequests.packages.urllib3.connectionpool: INFO: Starting 
new HTTP connection (1): 
172.16.88.22\nrequests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?response=json&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=listOsTypes&description=CentOS+5.6+%2864-bit%29&signature=tXxrOaW0k1Ym3LAi4QYmmUF929E%3D
 HTTP/1.1" 200 218\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Response : [{oscategoryid : 
u\'3fc17146-e504-11e3-af30-00163e5d4a0e\', description : u\'CentOS 5.6 
(64-bit)\', id : u\'3fcb88ca-e504-11e3-af30-00163e5d4a0e\', isuserdefined : 
u\'false\'}]\ntest_01_create_iso (integration.smoke.test_iso.TestCreateIso): 
DEBUG: Payload: {\'account\': 
u\'test-account-TestISO-test_01_create_iso-QT75TB\', \'domainid\': 
u\'4046979a-e504-11e3-af30-00163e5d4a0e\', \'name\': \'ISO 2\', \'ispublic\': 
True, \'isextractable\': True, \'zoneid\': 
u\'c9d7f436-6a58-4818-a41f-7e4ace012473\', \'isfeatured\': True, \'apiKey\': 
u\'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA\',
 \'displaytext\': \'Test ISO 2\', \'ostypeid\': 
u\'3fcb88ca-e504-11e3-af30-00163e5d4a0e\', \'signature\': 
\'9GXlmPbasbaYIWtafAvRK+2WRSc=\', \'url\': 
\'http://people.apache.org/~tsp/dummy.iso\', \'command\': \'registerIso\', 
\'response\': \'json\'}\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: ========Sending GET Cmd : 
registerIso=======\nrequests.packages.urllib3.connectionpool: INFO: Starting 
new HTTP connection (1): 
172.16.88.22\nrequests.packages.urllib3.connectionpool: DEBUG: "GET 
/client/api?account=test-account-TestISO-test_01_create_iso-QT75TB&domainid=4046979a-e504-11e3-af30-00163e5d4a0e&name=ISO+2&isfeatured=True&ispublic=True&isextractable=True&zoneid=c9d7f436-6a58-4818-a41f-7e4ace012473&url=http%3A%2F%2Fpeople.apache.org%2F~tsp%2Fdummy.iso&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&displaytext=Test+ISO+2&ostypeid=3fcb88ca-e504-11e3-af30-00163e5d4a0e&signature=9GXlmPbasbaYIWtafAvRK%2B2WRSc%3D&command=registerIso&response=json
 HTTP/1.1" 200 589\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Response : [{status : u\'\', 
ostypename : u\'CentOS 5.6 (64-bit)\', isready : False, domainid : 
u\'4046979a-e504-11e3-af30-00163e5d4a0e\', name : u\'ISO 2\', created : 
u\'2014-05-26T13:36:05-0700\', bootable : True, ispublic : True, account : 
u\'test-account-TestISO-test_01_create_iso-QT75TB\', isextractable : True, 
zoneid : u\'c9d7f436-6a58-4818-a41f-7e4ace012473\', isfeatured : False, 
displaytext : u\'Test ISO 2\', ostypeid : 
u\'3fcb88ca-e504-11e3-af30-00163e5d4a0e\', domain : u\'ROOT\', crossZones : 
False, id : u\'39ce3b8d-8109-4eb5-8720-29335498a7b2\', tags : [], zonename : 
u\'zone-kvm\'}]\ntest_01_create_iso (integration.smoke.test_iso.TestCreateIso): 
DEBUG: ISO created with ID: 
39ce3b8d-8109-4eb5-8720-29335498a7b2\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: {\'apiKey\': 
u\'bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA\',
 \'response\': \'json\', \'command\': \'listIsos\', \'signature\': 
\'00qkBGHnVJrW9QS+zV3PITqMwAo=\', \'id\': 
u\'39ce3b8d-8109-4eb5-8720-29335498a7b2\'}\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: ========Sending GET Cmd : 
listIsos=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new 
HTTP connection (1): 172.16.88.22\nrequests.packages.urllib3.connectionpool: 
DEBUG: "GET 
/client/api?id=39ce3b8d-8109-4eb5-8720-29335498a7b2&apiKey=bzV60R-UeAfL_TWX3IRsCG96vBO3QQE6bc10nxhra8xW_Szc7hiB7adMEWEzT_MBs1X-9Uek94CSx5EdScX3TA&command=listIsos&response=json&signature=00qkBGHnVJrW9QS%2BzV3PITqMwAo%3D
 HTTP/1.1" 200 602\ntest_01_create_iso 
(integration.smoke.test_iso.TestCreateIso): DEBUG: Response : [{status : u\'No 
route to host\', ostypename : u\'CentOS 5.6 (64-bit)\', isready : False, 
domainid : u\'4046979a-e504-11e3-af30-00163e5d4a0e\', name : u\'ISO 2\', 
created : u\'2014-05-26T13:36:05-0700\', bootable : True, ispublic : True, 
account : u\'test-account-TestISO-test_01_create_iso-QT75TB\', isextractable : 
True, zoneid : u\'c9d7f436-6a58-4818-a41f-7e4ace012473\', isfeatured : False, 
displaytext : u\'Test ISO 2\', ostypeid : 
u\'3fcb88ca-e504-11e3-af30-00163e5d4a0e\', domain : u\'ROOT\', crossZones : 
False, id : u\'39ce3b8d-8109-4eb5-8720-29335498a7b2\', tags : [], zonename : 
u\'zone-kvm\'}]\ntest_01_create_iso (integration.smoke.test_iso.TestCreateIso): 
CRITICAL: FAILED: test_01_create_iso: [\'Traceback (most recent call 
last):\\n\', \'  File "/usr/local/lib/python2.7/unittest/case.py", line 331, in 
run\\n    testMethod()\\n\', \'  File 
"/automation/virtenv/00-16-3e-5d-4a-0e/278/test/integration/smoke/test_iso.py", 
line 101, in test_01_create_iso\\n    % (iso.id, e))\\n\', \'  File 
"/usr/local/lib/python2.7/unittest/case.py", line 412, in fail\\n    raise 
self.failureException(msg)\\n\', \'AssertionError: Exception while downloading 
ISO 39ce3b8d-8109-4eb5-8720-29335498a7b2: Error In Downloading ISO: ISO Status 
- No route to host\\n\']\n--------------------- >> end captured logging << 
---------------------'

Standard Output

=== TestName: test_01_create_iso | Status : FAILED ===





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

Reply via email to