You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rajani Karuturi (JIRA)" <ji...@apache.org> on 2015/03/25 11:02:53 UTC

[jira] [Resolved] (CLOUDSTACK-6769) [Automation]: Test case failure in test_iso.py

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajani Karuturi resolved CLOUDSTACK-6769.
-----------------------------------------
    Resolution: Fixed

iso related test cases are failing. 

> [Automation]: Test case failure in test_iso.py
> ----------------------------------------------
>
>                 Key: CLOUDSTACK-6769
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6769
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, XenServer
>    Affects Versions: 4.4.0
>            Reporter: Harikrishna Patnala
>            Assignee: Girish Shilamkar
>             Fix For: 4.4.3
>
>
> 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 06f0617c-4605-4a8f-855b-085486a1fd4b: Error In Downloading ISO: ISO Status - Network is unreachable
> === 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'kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w', 'command': 'listDomains', 'signature': 'Or2nHFPqukzhTba7v4PyKSS2Obc=', '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.21
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&command=listDomains&response=json&signature=Or2nHFPqukzhTba7v4PyKSS2Obc%3D HTTP/1.1" 200 159
> test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response : [{path : u'ROOT', haschild : False, id : u'45612b7c-e49c-11e3-a141-00163e189e44', name : u'ROOT', level : 0}]
> test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: {'apiKey': u'kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w', 'name': 'zone-xen', 'command': 'listZones', 'signature': '77O72WZATq83Kw9J9yK0yKsjlHM=', '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.21
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?response=json&apiKey=kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&command=listZones&name=zone-xen&signature=77O72WZATq83Kw9J9yK0yKsjlHM%3D HTTP/1.1" 200 446
> test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response : [{localstorageenabled : False, name : u'zone-xen', guestcidraddress : u'10.1.1.0/24', tags : [], zonetoken : u'921064dc-f25a-3393-94b7-7ba269fa1f82', dns2 : u'8.8.4.4', 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'5c872b2f-53eb-46bd-8d7f-f9654f509b39', 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-UI4FTT', 'domainid': u'45612b7c-e49c-11e3-a141-00163e189e44', 'firstname': 'test', 'lastname': 'test', 'response': 'json', 'apiKey': u'kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w', 'command': 'createAccount', 'accounttype': 0, 'signature': 'q5ftoGqB/V1+Q+L3FGbYsOWsON0=', 'password': 'password', 'email': 'test-account@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.21
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?username=test-account-TestISO-test_01_create_iso-UI4FTT&domainid=45612b7c-e49c-11e3-a141-00163e189e44&firstname=test&lastname=test&email=test-account%40test.com&apiKey=kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&command=createAccount&accounttype=0&signature=q5ftoGqB%2FV1%2BQ%2BL3FGbYsOWsON0%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'45612b7c-e49c-11e3-a141-00163e189e44', vpclimit : u'Unlimited', iplimit : u'Unlimited', volumelimit : u'Unlimited', memorytotal : 0, secondarystorageavailable : u'Unlimited', vmtotal : 0, cputotal : 0, vpctotal : 0, id : u'24111887-f9bb-4b59-bf73-fab222005dd8', 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-UI4FTT', account : u'test-account-TestISO-test_01_create_iso-UI4FTT', domainid : u'45612b7c-e49c-11e3-a141-00163e189e44', firstname : u'test', created : u'2014-05-25T23:27:59-0700', lastname : u'test', domain : u'ROOT', id : u'e040ffa5-9eb5-45a3-8d69-bce92c1098ca', iscallerchilddomain : False, state : u'enabled', accounttype : 0, email : u'test-account@test.com', isdefault : False, accountid : u'24111887-f9bb-4b59-bf73-fab222005dd8'}], groups : [], projectavailable : u'Unlimited', isdefault : False, primarystoragelimit : u'Unlimited', secondarystoragelimit : u'Unlimited', volumeavailable : u'Unlimited', name : u'test-account-TestISO-test_01_create_iso-UI4FTT', 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'kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w', 'description': 'CentOS 5.6 (64-bit)', 'command': 'listOsTypes', 'signature': 'ZoddhZPtbhK+DpBrBXB1hfUSk5g=', '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.21
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?response=json&apiKey=kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&command=listOsTypes&description=CentOS+5.6+%2864-bit%29&signature=ZoddhZPtbhK%2BDpBrBXB1hfUSk5g%3D HTTP/1.1" 200 218
> test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response : [{oscategoryid : u'450cca1e-e49c-11e3-a141-00163e189e44', description : u'CentOS 5.6 (64-bit)', id : u'45126cbc-e49c-11e3-a141-00163e189e44', isuserdefined : u'false'}]
> test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: {'account': u'test-account-TestISO-test_01_create_iso-UI4FTT', 'domainid': u'45612b7c-e49c-11e3-a141-00163e189e44', 'name': 'ISO 2', 'ispublic': True, 'isextractable': True, 'zoneid': u'5c872b2f-53eb-46bd-8d7f-f9654f509b39', 'isfeatured': True, 'apiKey': u'kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w', 'displaytext': 'Test ISO 2', 'ostypeid': u'45126cbc-e49c-11e3-a141-00163e189e44', 'signature': 'j5d6DgXuz5l2gvZKT8whj4giVrg=', '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.21
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=test-account-TestISO-test_01_create_iso-UI4FTT&domainid=45612b7c-e49c-11e3-a141-00163e189e44&name=ISO+2&isfeatured=True&ispublic=True&isextractable=True&zoneid=5c872b2f-53eb-46bd-8d7f-f9654f509b39&url=http%3A%2F%2Fpeople.apache.org%2F~tsp%2Fdummy.iso&apiKey=kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&displaytext=Test+ISO+2&ostypeid=45126cbc-e49c-11e3-a141-00163e189e44&signature=j5d6DgXuz5l2gvZKT8whj4giVrg%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'45612b7c-e49c-11e3-a141-00163e189e44', name : u'ISO 2', created : u'2014-05-25T23:27:59-0700', bootable : True, ispublic : True, account : u'test-account-TestISO-test_01_create_iso-UI4FTT', isextractable : True, zoneid : u'5c872b2f-53eb-46bd-8d7f-f9654f509b39', isfeatured : False, displaytext : u'Test ISO 2', ostypeid : u'45126cbc-e49c-11e3-a141-00163e189e44', domain : u'ROOT', crossZones : False, id : u'06f0617c-4605-4a8f-855b-085486a1fd4b', tags : [], zonename : u'zone-xen'}]
> test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: ISO created with ID: 06f0617c-4605-4a8f-855b-085486a1fd4b
> test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Payload: {'apiKey': u'kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w', 'response': 'json', 'command': 'listIsos', 'signature': 'zhN5ouIYz0/xwHPMEACZa2Z11N8=', 'id': u'06f0617c-4605-4a8f-855b-085486a1fd4b'}
> 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.21
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?id=06f0617c-4605-4a8f-855b-085486a1fd4b&apiKey=kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&command=listIsos&response=json&signature=zhN5ouIYz0%2FxwHPMEACZa2Z11N8%3D HTTP/1.1" 200 608
> test_01_create_iso (integration.smoke.test_iso.TestCreateIso): DEBUG: Response : [{status : u'Network is unreachable', ostypename : u'CentOS 5.6 (64-bit)', isready : False, domainid : u'45612b7c-e49c-11e3-a141-00163e189e44', name : u'ISO 2', created : u'2014-05-25T23:27:59-0700', bootable : True, ispublic : True, account : u'test-account-TestISO-test_01_create_iso-UI4FTT', isextractable : True, zoneid : u'5c872b2f-53eb-46bd-8d7f-f9654f509b39', isfeatured : False, displaytext : u'Test ISO 2', ostypeid : u'45126cbc-e49c-11e3-a141-00163e189e44', domain : u'ROOT', crossZones : False, id : u'06f0617c-4605-4a8f-855b-085486a1fd4b', tags : [], zonename : u'zone-xen'}]
> 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-18-9e-44/265/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 06f0617c-4605-4a8f-855b-085486a1fd4b: Error In Downloading ISO: ISO Status - Network is unreachable\n']
> --------------------- >> end captured logging << ---------------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)