You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/22 20:50:38 UTC

[jira] [Commented] (CLOUDSTACK-7147) [Automation] Fix the script "test_ip_reservation.py" - jsonLoader object does not support indexing

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070684#comment-14070684 ] 

ASF subversion and git services commented on CLOUDSTACK-7147:
-------------------------------------------------------------

Commit 2c0765195a4a01ee51973c48d0561261d4fb01c6 in cloudstack's branch refs/heads/master from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2c07651 ]

CLOUDSTACK-7147: Resolving test script issue in test_ip_reservation.py


> [Automation] Fix the script "test_ip_reservation.py" - jsonLoader object does not support indexing
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7147
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7147
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, Test
>    Affects Versions: 4.5.0
>            Reporter: Chandan Purushothama
>            Assignee: Gaurav Aradhye
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> ============
> Error Message:
> ============
> test_destroy_recreate_router (integration.component.test_ip_reservation.TestRouterOperations): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
> requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.220.135.41
> requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=oB7YxaRTIfnry0R%2BI%2BTLa3sb3sU%3D&apiKey=K1eKecmH_8ipIelDho9Wm-HZm0WhiIw-2cGFZveZJdKOwB_Cchln9O4QBNxkyy8U8UHCRt_leTpa-yvEb04EOA&command=queryAsyncJobResult&response=json&jobid=0da220ea-0099-4f4a-acec-52d65f13ceae HTTP/1.1" 200 1166
> test_destroy_recreate_router (integration.component.test_ip_reservation.TestRouterOperations): DEBUG: Response : {jobprocstatus : 0, created : u'2014-07-12T02:30:46+0000', cmd : u'org.apache.cloudstack.api.command.admin.router.DestroyRouterCmd', userid : u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 1, jobid : u'0da220ea-0099-4f4a-acec-52d65f13ceae', jobresultcode : 0, jobresulttype : u'object', jobresult : {domain : u'ROOT', domainid : u'ae89b9d2-0901-11e4-a9bc-5a9383355ca2', jobstatus : 0, zoneid : u'9f076f9c-266e-4d26-b6b5-05e197181167', id : u'88faa7e6-a34d-4810-99c1-94e291c76d08', state : u'Destroyed', version : u'4.4.0', role : u'VIRTUAL_ROUTER', requiresupgrade : False, serviceofferingid : u'9533d59c-6837-479f-9a42-5ae2b9084a31', zonename : u'XenRT-Zone-0', podid : u'1da57990-ff6a-4e54-bfd9-4f3c15e82003', nic : [], redundantstate : u'UNKNOWN', templateid : u'ae8d7b12-0901-11e4-a9bc-5a9383355ca2', name : u'r-362-VM', account : u'test-account-TestUpdateIPReservation-test_destroy_recreate_router-D8PFME', isredundantrouter : False, created : u'2014-07-12T02:29:01+0000', dns1 : u'10.220.160.11', jobid : u'0da220ea-0099-4f4a-acec-52d65f13ceae', serviceofferingname : u'System Offering For Software Router'}, accountid : u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_destroy_recreate_router (integration.component.test_ip_reservation.TestRouterOperations): DEBUG: ===Jobid:0da220ea-0099-4f4a-acec-52d65f13ceae ; StartTime:Sat Jul 12 02:30:25 2014 ; EndTime:Sat Jul 12 02:30:40 2014 ; TotalTime:-15===
> test_destroy_recreate_router (integration.component.test_ip_reservation.TestRouterOperations): DEBUG: Response : {jobprocstatus : 0, created : u'2014-07-12T02:30:46+0000', cmd : u'org.apache.cloudstack.api.command.admin.router.DestroyRouterCmd', userid : u'ce302410-0901-11e4-a9bc-5a9383355ca2', jobstatus : 1, jobid : u'0da220ea-0099-4f4a-acec-52d65f13ceae', jobresultcode : 0, jobresulttype : u'object', jobresult : {domain : u'ROOT', domainid : u'ae89b9d2-0901-11e4-a9bc-5a9383355ca2', jobstatus : 0, zoneid : u'9f076f9c-266e-4d26-b6b5-05e197181167', id : u'88faa7e6-a34d-4810-99c1-94e291c76d08', state : u'Destroyed', version : u'4.4.0', role : u'VIRTUAL_ROUTER', requiresupgrade : False, serviceofferingid : u'9533d59c-6837-479f-9a42-5ae2b9084a31', zonename : u'XenRT-Zone-0', podid : u'1da57990-ff6a-4e54-bfd9-4f3c15e82003', nic : [], redundantstate : u'UNKNOWN', templateid : u'ae8d7b12-0901-11e4-a9bc-5a9383355ca2', name : u'r-362-VM', account : u'test-account-TestUpdateIPReservation-test_destroy_recreate_router-D8PFME', isredundantrouter : False, created : u'2014-07-12T02:29:01+0000', dns1 : u'10.220.160.11', jobid : u'0da220ea-0099-4f4a-acec-52d65f13ceae', serviceofferingname : u'System Offering For Software Router'}, accountid : u'ce30160a-0901-11e4-a9bc-5a9383355ca2'}
> test_destroy_recreate_router (integration.component.test_ip_reservation.TestRouterOperations): CRITICAL: EXCEPTION: test_destroy_recreate_router: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/unittest/case.py", line 332, in run\n    testMethod()\n', '  File "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_ip_reservation.py", line 968, in test_destroy_recreate_router\n    if result[0] == FAIL:\n', "TypeError: 'jsonLoader' object does not support indexing\n"]
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 332, in run
>     testMethod()
>   File "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_ip_reservation.py", line 968, in test_destroy_recreate_router
>     if result[0] == FAIL:
> '\'jsonLoader\' object does not support indexing\n-------------------- >> begin captured stdout << ---------------------\n=== TestName: test_destroy_recreate_router | Status : EXCEPTION ===\n\n\n--------------------- >> end captured stdout << ----------------------\n-------------------- >> begin captured logging << 



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