Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E429105BF for ; Thu, 1 May 2014 17:21:26 +0000 (UTC) Received: (qmail 36255 invoked by uid 500); 1 May 2014 17:21:21 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 36235 invoked by uid 500); 1 May 2014 17:21:20 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 36214 invoked by uid 500); 1 May 2014 17:21:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 36195 invoked by uid 99); 1 May 2014 17:21:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 17:21:19 +0000 Date: Thu, 1 May 2014 17:21:19 +0000 (UTC) From: "Min Chen (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Min Chen resolved CLOUDSTACK-6443. ---------------------------------- Resolution: Fixed > [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError:= VirtualMachine instance has no attribute 'hostid' > -------------------------------------------------------------------------= -------------------------------------------------- > > Key: CLOUDSTACK-6443 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-644= 3 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Automation, IAM > Affects Versions: 4.4.0 > Reporter: Chandan Purushothama > Assignee: Min Chen > Priority: Blocker > Fix For: 4.4.0 > > > Two Test Cases Failed: > test_07_resize_fail > test_08_resize_volume > *Error Message1*: > VirtualMachine instance has no attribute 'hostid' > -------------------- >> begin captured logging << -------------------- > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = ::::::::::::STARTED : TC: test_07_resize_fail ::::::::::: > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Fail Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: resizeVolume {'diskofferingid': u'9015ab2c-1d88-4e39-b= cd8-d7fa22a1b2ca', 'id': 'invalid id'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&response=3Djson&command=3DresizeVolume&signature=3DbCeC5im5F= gxi23vWk4lBzKbQm7A%3D&diskofferingid=3D9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca= &id=3Dinvalid+id HTTP/1.1" 431 330 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7= itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&respons= e=3Djson&command=3DresizeVolume&signature=3DbCeC5im5Fgxi23vWk4lBzKbQm7A%3D&= diskofferingid=3D9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=3Dinvalid+id Respo= nse: { "resizevolumeresponse" : {"uuidList":[],"errorcode":431,"cserrorcode= ":9999,"errortext":"Unable to execute API command resizevolume due to inval= id value. Invalid parameter id value=3Dinvalid id due to incorrect long val= ue format, or entity does not exist or due to incorrect parameter annotatio= n for the field in api cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': u'= b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&response=3Djson&command=3DresizeVolume&signature=3DDbNaHKDze= suJcTU1thWGQg88UPk%3D&diskofferingid=3Dinvalid+id&id=3Db5521198-97f1-4f2c-a= fea-fcadf70d4249 HTTP/1.1" 431 342 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7= itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&respons= e=3Djson&command=3DresizeVolume&signature=3DDbNaHKDzesuJcTU1thWGQg88UPk%3D&= diskofferingid=3Dinvalid+id&id=3Db5521198-97f1-4f2c-afea-fcadf70d4249 Respo= nse: { "resizevolumeresponse" : {"uuidList":[],"errorcode":431,"cserrorcode= ":9999,"errortext":"Unable to execute API command resizevolume due to inval= id value. Invalid parameter diskofferingid value=3Dinvalid id due to incorr= ect long value format, or entity does not exist or due to incorrect paramet= er annotation for the field in api cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: listVolumes {'virtualmachineid': u'bca5f583-139f-46e4-= 87d5-09fb5adac313', 'type': 'ROOT', 'listall': True} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: f1JO1y9Ye2m1qw3+QCZu9+B8zRo=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&virtualmachineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&comm= and=3DlistVolumes&signature=3Df1JO1y9Ye2m1qw3%2BQCZu9%2BB8zRo%3D&type=3DROO= T&response=3Djson&listall=3DTrue HTTP/1.1" 200 941 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7= itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&virtual= machineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&command=3DlistVolumes&sign= ature=3Df1JO1y9Ye2m1qw3%2BQCZu9%2BB8zRo%3D&type=3DROOT&response=3Djson&list= all=3DTrue Response: { "listvolumesresponse" : { "count":1 ,"volume" : [ {= "id":"cdd07eae-d43d-4edf-bd7c-54bef224dec5","name":"ROOT-27","zoneid":"4fbc= 4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","type":"ROOT","devicei= d":0,"virtualmachineid":"bca5f583-139f-46e4-87d5-09fb5adac313","vmname":"QA= -bca5f583-139f-46e4-87d5-09fb5adac313","vmstate":"Running","size":214748364= 80,"created":"2014-04-16T15:57:47-0700","state":"Ready","account":"test-Tes= tVolumes-test_01_create_volume-7K52C0","domainid":"fe2a30b2-c5a8-11e3-8f55-= 66bc12ed7ec3","domain":"ROOT","storagetype":"shared","hypervisor":"XenServe= r","storage":"primary0clus0","destroyed":false,"serviceofferingid":"6f622cb= e-7fce-4f13-b280-1a2c7103d707","serviceofferingname":"Tiny Instance","servi= ceofferingdisplaytext":"Tiny Instance","isextractable":true,"tags":[],"disp= layvolume":true,"path":"57d4793f-afd1-4e9d-9fba-fa4d951f65a9","storageid":"= ac0c4b04-6b72-38b1-a72f-c7fe7163d17a","quiescevm":false} ] } } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: resizeVolume {'diskofferingid': u'99abc953-02eb-4b1a-8= 131-58a520aa4f67', 'id': u'cdd07eae-d43d-4edf-bd7c-54bef224dec5'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: Y30cLJNNZcV+YJ3YAwUgwxq/s84=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&response=3Djson&command=3DresizeVolume&signature=3DY30cLJNNZ= cV%2BYJ3YAwUgwxq%2Fs84%3D&diskofferingid=3D99abc953-02eb-4b1a-8131-58a520aa= 4f67&id=3Dcdd07eae-d43d-4edf-bd7c-54bef224dec5 HTTP/1.1" 200 77 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7= itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&respons= e=3Djson&command=3DresizeVolume&signature=3DY30cLJNNZcV%2BYJ3YAwUgwxq%2Fs84= %3D&diskofferingid=3D99abc953-02eb-4b1a-8131-58a520aa4f67&id=3Dcdd07eae-d43= d-4edf-bd7c-54bef224dec5 Response: { "resizevolumeresponse" : {"jobid":"b64= ea14e-5062-45da-99e5-d91c8fe6a221"} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: queryAsyncJobResult {'jobid': u'b64ea14e-5062-45da-99e= 5-d91c8fe6a221'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: eqJmJFc4/II56BONP6iuVZJIkIw=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signatu= re=3DeqJmJFc4%2FII56BONP6iuVZJIkIw%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHp= nUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryA= syncJobResult&response=3Djson&jobid=3Db64ea14e-5062-45da-99e5-d91c8fe6a221 = HTTP/1.1" 200 348 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?signature=3DeqJmJFc4%2FII56B= ONP6iuVZJIkIw%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9i= haz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&respons= e=3Djson&jobid=3Db64ea14e-5062-45da-99e5-d91c8fe6a221 Response: { "queryasy= ncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66bc12ed7ec3",= "userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apache.cloudstac= k.api.command.admin.volume.ResizeVolumeCmdByAdmin","jobstatus":0,"jobprocst= atus":0,"jobresultcode":0,"created":"2014-04-16T16:00:01-0700","jobid":"b64= ea14e-5062-45da-99e5-d91c8fe6a221"} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = job: b64ea14e-5062-45da-99e5-d91c8fe6a221 still processing,will timeout in = 3600s > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: queryAsyncJobResult {'jobid': u'b64ea14e-5062-45da-99e= 5-d91c8fe6a221'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: eqJmJFc4/II56BONP6iuVZJIkIw=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signatu= re=3DeqJmJFc4%2FII56BONP6iuVZJIkIw%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHp= nUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryA= syncJobResult&response=3Djson&jobid=3Db64ea14e-5062-45da-99e5-d91c8fe6a221 = HTTP/1.1" 200 470 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?signature=3DeqJmJFc4%2FII56B= ONP6iuVZJIkIw%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9i= haz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&respons= e=3Djson&jobid=3Db64ea14e-5062-45da-99e5-d91c8fe6a221 Response: { "queryasy= ncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66bc12ed7ec3",= "userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apache.cloudstac= k.api.command.admin.volume.ResizeVolumeCmdByAdmin","jobstatus":2,"jobprocst= atus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcod= e":530,"errortext":"Can only resize Data volumes via new disk offering"},"c= reated":"2014-04-16T16:00:01-0700","jobid":"b64ea14e-5062-45da-99e5-d91c8fe= 6a221"} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Attaching volume (ID: b5521198-97f1-4f2c-afea-fcadf70d4249) to VM (ID: bca5= f583-139f-46e4-87d5-09fb5adac313) > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: attachVolume {'virtualmachineid': u'bca5f583-139f-46e4= -87d5-09fb5adac313', 'id': u'b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: f5e/GdN9winbDJPVI5xe0AV9pi8=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&virtualmachineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&id= =3Db5521198-97f1-4f2c-afea-fcadf70d4249&command=3DattachVolume&signature=3D= f5e%2FGdN9winbDJPVI5xe0AV9pi8%3D&response=3Djson HTTP/1.1" 200 77 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7= itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&virtual= machineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&id=3Db5521198-97f1-4f2c-af= ea-fcadf70d4249&command=3DattachVolume&signature=3Df5e%2FGdN9winbDJPVI5xe0A= V9pi8%3D&response=3Djson Response: { "attachvolumeresponse" : {"jobid":"53b= 9e664-c5a4-4e89-86f1-91d518b4cca1"} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: queryAsyncJobResult {'jobid': u'53b9e664-c5a4-4e89-86f= 1-91d518b4cca1'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: 7twrbzHD92PvC9M6+/IUsi6KHkI=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signatu= re=3D7twrbzHD92PvC9M6%2B%2FIUsi6KHkI%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnu= HpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3Dquer= yAsyncJobResult&response=3Djson&jobid=3D53b9e664-c5a4-4e89-86f1-91d518b4cca= 1 HTTP/1.1" 200 430 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?signature=3D7twrbzHD92PvC9M6= %2B%2FIUsi6KHkI%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl= 9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&respo= nse=3Djson&jobid=3D53b9e664-c5a4-4e89-86f1-91d518b4cca1 Response: { "querya= syncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66bc12ed7ec3= ","userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apache.cloudst= ack.api.command.admin.volume.AttachVolumeCmdByAdmin","jobstatus":0,"jobproc= status":0,"jobresultcode":0,"jobinstancetype":"Volume","jobinstanceid":"b55= 21198-97f1-4f2c-afea-fcadf70d4249","created":"2014-04-16T16:00:06-0700","jo= bid":"53b9e664-c5a4-4e89-86f1-91d518b4cca1"} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = job: 53b9e664-c5a4-4e89-86f1-91d518b4cca1 still processing,will timeout in = 3600s > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = sending GET request: queryAsyncJobResult {'jobid': u'53b9e664-c5a4-4e89-86f= 1-91d518b4cca1'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Computed Signature by Marvin: 7twrbzHD92PvC9M6+/IUsi6KHkI=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signatu= re=3D7twrbzHD92PvC9M6%2B%2FIUsi6KHkI%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnu= HpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3Dquer= yAsyncJobResult&response=3Djson&jobid=3D53b9e664-c5a4-4e89-86f1-91d518b4cca= 1 HTTP/1.1" 200 1361 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?signature=3D7twrbzHD92PvC9M6= %2B%2FIUsi6KHkI%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl= 9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&respo= nse=3Djson&jobid=3D53b9e664-c5a4-4e89-86f1-91d518b4cca1 Response: { "querya= syncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66bc12ed7ec3= ","userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apache.cloudst= ack.api.command.admin.volume.AttachVolumeCmdByAdmin","jobstatus":1,"jobproc= status":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"volume":= {"id":"b5521198-97f1-4f2c-afea-fcadf70d4249","name":"TestDiskServ","zoneid"= :"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","type":"DATADISK= ","deviceid":1,"virtualmachineid":"bca5f583-139f-46e4-87d5-09fb5adac313","v= mname":"QA-bca5f583-139f-46e4-87d5-09fb5adac313","vmstate":"Running","size"= :1073741824,"created":"2014-04-16T15:58:03-0700","state":"Ready","account":= "test-TestVolumes-test_01_create_volume-7K52C0","domainid":"fe2a30b2-c5a8-1= 1e3-8f55-66bc12ed7ec3","domain":"ROOT","storagetype":"shared","hypervisor":= "XenServer","diskofferingid":"99abc953-02eb-4b1a-8131-58a520aa4f67","diskof= feringname":"Small","diskofferingdisplaytext":"Small","storage":"primary0cl= us0","attached":"2014-04-16T16:00:08-0700","destroyed":false,"isextractable= ":true,"tags":[],"displayvolume":true,"path":"a060d7ba-6144-44fd-a45b-e7777= e8e874a","storageid":"ac0c4b04-6b72-38b1-a72f-c7fe7163d17a","quiescevm":fal= se,"jobid":"53b9e664-c5a4-4e89-86f1-91d518b4cca1","jobstatus":0}},"created"= :"2014-04-16T16:00:06-0700","jobid":"53b9e664-c5a4-4e89-86f1-91d518b4cca1"}= } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): CRITICA= L: EXCEPTION: test_07_resize_fail: 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_volumes.py", lin= e 636, in test_07_resize_fail > hosts =3D Host.list(self.apiClient, id=3Dself.virtual_machine.hostid) > AttributeError: VirtualMachine instance has no attribute 'hostid' > --------------------- >> 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_volumes.py", lin= e 636, in test_07_resize_fail > hosts =3D Host.list(self.apiClient, id=3Dself.virtual_machine.hostid) > 'VirtualMachine instance has no attribute \'hostid\'\n-------------------= - >> begin captured logging << --------------------\ntest_07_resize_fail (i= ntegration.smoke.test_volumes.TestVolumes): DEBUG: ::::::::::::STARTED : TC= : test_07_resize_fail :::::::::::\ntest_07_resize_fail (integration.smoke.t= est_volumes.TestVolumes): DEBUG: Fail Resize Volume ID: b5521198-97f1-4f2c-= afea-fcadf70d4249\ntest_07_resize_fail (integration.smoke.test_volumes.Test= Volumes): DEBUG: sending GET request: resizeVolume {\'diskofferingid\': u\'= 9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca\', \'id\': \'invalid id\'}\ntest_07_re= size_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Computed Sig= nature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A=3D\nrequests.packages.urllib3= .connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nre= quests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMN= QSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQk= vQ9K6Dh0Q&response=3Djson&command=3DresizeVolume&signature=3DbCeC5im5Fgxi23= vWk4lBzKbQm7A%3D&diskofferingid=3D9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id= =3Dinvalid+id HTTP/1.1" 431 330\ntest_07_resize_fail (integration.smoke.tes= t_volumes.TestVolumes): DEBUG: Request: http://10.223.240.161:8080/client/a= pi?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW3= 6icuUoFQkySLQkvQ9K6Dh0Q&response=3Djson&command=3DresizeVolume&signature=3D= bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=3D9015ab2c-1d88-4e39-bcd8-d7f= a22a1b2ca&id=3Dinvalid+id Response: { "resizevolumeresponse" : {"uuidList":= [],"errorcode":431,"cserrorcode":9999,"errortext":"Unable to execute API co= mmand resizevolume due to invalid value. Invalid parameter id value=3Dinval= id id due to incorrect long value format, or entity does not exist or due t= o incorrect parameter annotation for the field in api cmd class."} }\ntest_= 07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: sending= GET request: resizeVolume {\'diskofferingid\': \'invalid id\', \'id\': u\'= b5521198-97f1-4f2c-afea-fcadf70d4249\'}\ntest_07_resize_fail (integration.s= moke.test_volumes.TestVolumes): DEBUG: Computed Signature by Marvin: DbNaHK= DzesuJcTU1thWGQg88UPk=3D\nrequests.packages.urllib3.connectionpool: INFO: S= tarting new HTTP connection (1): 10.223.240.161\nrequests.packages.urllib3.= connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnu= HpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=3Djso= n&command=3DresizeVolume&signature=3DDbNaHKDzesuJcTU1thWGQg88UPk%3D&diskoff= eringid=3Dinvalid+id&id=3Db5521198-97f1-4f2c-afea-fcadf70d4249 HTTP/1.1" 43= 1 342\ntest_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DE= BUG: Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4P= CMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&re= sponse=3Djson&command=3DresizeVolume&signature=3DDbNaHKDzesuJcTU1thWGQg88UP= k%3D&diskofferingid=3Dinvalid+id&id=3Db5521198-97f1-4f2c-afea-fcadf70d4249 = Response: { "resizevolumeresponse" : {"uuidList":[],"errorcode":431,"cserro= rcode":9999,"errortext":"Unable to execute API command resizevolume due to = invalid value. Invalid parameter diskofferingid value=3Dinvalid id due to i= ncorrect long value format, or entity does not exist or due to incorrect pa= rameter annotation for the field in api cmd class."} }\ntest_07_resize_fail= (integration.smoke.test_volumes.TestVolumes): DEBUG: sending GET request: = listVolumes {\'virtualmachineid\': u\'bca5f583-139f-46e4-87d5-09fb5adac313\= ', \'type\': \'ROOT\', \'listall\': True}\ntest_07_resize_fail (integration= .smoke.test_volumes.TestVolumes): DEBUG: Computed Signature by Marvin: f1JO= 1y9Ye2m1qw3+QCZu9+B8zRo=3D\nrequests.packages.urllib3.connectionpool: INFO:= Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urllib= 3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuP= nuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&virtualmachi= neid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&command=3DlistVolumes&signature= =3Df1JO1y9Ye2m1qw3%2BQCZu9%2BB8zRo%3D&type=3DROOT&response=3Djson&listall= =3DTrue HTTP/1.1" 200 941\ntest_07_resize_fail (integration.smoke.test_volu= mes.TestVolumes): DEBUG: Request: http://10.223.240.161:8080/client/api?api= Key=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUo= FQkySLQkvQ9K6Dh0Q&virtualmachineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&c= ommand=3DlistVolumes&signature=3Df1JO1y9Ye2m1qw3%2BQCZu9%2BB8zRo%3D&type=3D= ROOT&response=3Djson&listall=3DTrue Response: { "listvolumesresponse" : { "= count":1 ,"volume" : [ {"id":"cdd07eae-d43d-4edf-bd7c-54bef224dec5","name"= :"ROOT-27","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test= 0","type":"ROOT","deviceid":0,"virtualmachineid":"bca5f583-139f-46e4-87d5-0= 9fb5adac313","vmname":"QA-bca5f583-139f-46e4-87d5-09fb5adac313","vmstate":"= Running","size":21474836480,"created":"2014-04-16T15:57:47-0700","state":"R= eady","account":"test-TestVolumes-test_01_create_volume-7K52C0","domainid":= "fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3","domain":"ROOT","storagetype":"share= d","hypervisor":"XenServer","storage":"primary0clus0","destroyed":false,"se= rviceofferingid":"6f622cbe-7fce-4f13-b280-1a2c7103d707","serviceofferingnam= e":"Tiny Instance","serviceofferingdisplaytext":"Tiny Instance","isextracta= ble":true,"tags":[],"displayvolume":true,"path":"57d4793f-afd1-4e9d-9fba-fa= 4d951f65a9","storageid":"ac0c4b04-6b72-38b1-a72f-c7fe7163d17a","quiescevm":= false} ] } }\ntest_07_resize_fail (integration.smoke.test_volumes.TestVolum= es): DEBUG: sending GET request: resizeVolume {\'diskofferingid\': u\'99abc= 953-02eb-4b1a-8131-58a520aa4f67\', \'id\': u\'cdd07eae-d43d-4edf-bd7c-54bef= 224dec5\'}\ntest_07_resize_fail (integration.smoke.test_volumes.TestVolumes= ): DEBUG: Computed Signature by Marvin: Y30cLJNNZcV+YJ3YAwUgwxq/s84=3D\nreq= uests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (= 1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /= client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3= TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=3Djson&command=3DresizeVolume&sign= ature=3DY30cLJNNZcV%2BYJ3YAwUgwxq%2Fs84%3D&diskofferingid=3D99abc953-02eb-4= b1a-8131-58a520aa4f67&id=3Dcdd07eae-d43d-4edf-bd7c-54bef224dec5 HTTP/1.1" 2= 00 77\ntest_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DE= BUG: Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4P= CMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&re= sponse=3Djson&command=3DresizeVolume&signature=3DY30cLJNNZcV%2BYJ3YAwUgwxq%= 2Fs84%3D&diskofferingid=3D99abc953-02eb-4b1a-8131-58a520aa4f67&id=3Dcdd07ea= e-d43d-4edf-bd7c-54bef224dec5 Response: { "resizevolumeresponse" : {"jobid"= :"b64ea14e-5062-45da-99e5-d91c8fe6a221"} }\ntest_07_resize_fail (integratio= n.smoke.test_volumes.TestVolumes): DEBUG: sending GET request: queryAsyncJo= bResult {\'jobid\': u\'b64ea14e-5062-45da-99e5-d91c8fe6a221\'}\ntest_07_res= ize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Computed Sign= ature by Marvin: eqJmJFc4/II56BONP6iuVZJIkIw=3D\nrequests.packages.urllib3.= connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nreq= uests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=3D= eqJmJFc4%2FII56BONP6iuVZJIkIw%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_T= EJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJ= obResult&response=3Djson&jobid=3Db64ea14e-5062-45da-99e5-d91c8fe6a221 HTTP/= 1.1" 200 348\ntest_07_resize_fail (integration.smoke.test_volumes.TestVolum= es): DEBUG: Request: http://10.223.240.161:8080/client/api?signature=3DeqJm= JFc4%2FII56BONP6iuVZJIkIw%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRz= zCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobRe= sult&response=3Djson&jobid=3Db64ea14e-5062-45da-99e5-d91c8fe6a221 Response:= { "queryasyncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66= bc12ed7ec3","userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apac= he.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin","jobstatus":= 0,"jobprocstatus":0,"jobresultcode":0,"created":"2014-04-16T16:00:01-0700",= "jobid":"b64ea14e-5062-45da-99e5-d91c8fe6a221"} }\ntest_07_resize_fail (int= egration.smoke.test_volumes.TestVolumes): DEBUG: job: b64ea14e-5062-45da-99= e5-d91c8fe6a221 still processing,will timeout in 3600s\ntest_07_resize_fail= (integration.smoke.test_volumes.TestVolumes): DEBUG: sending GET request: = queryAsyncJobResult {\'jobid\': u\'b64ea14e-5062-45da-99e5-d91c8fe6a221\'}\= ntest_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: C= omputed Signature by Marvin: eqJmJFc4/II56BONP6iuVZJIkIw=3D\nrequests.packa= ges.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.= 240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?= signature=3DeqJmJFc4%2FII56BONP6iuVZJIkIw%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7it= BuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command= =3DqueryAsyncJobResult&response=3Djson&jobid=3Db64ea14e-5062-45da-99e5-d91c= 8fe6a221 HTTP/1.1" 200 470\ntest_07_resize_fail (integration.smoke.test_vol= umes.TestVolumes): DEBUG: Request: http://10.223.240.161:8080/client/api?si= gnature=3DeqJmJFc4%2FII56BONP6iuVZJIkIw%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBu= PnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3Dq= ueryAsyncJobResult&response=3Djson&jobid=3Db64ea14e-5062-45da-99e5-d91c8fe6= a221 Response: { "queryasyncjobresultresponse" : {"accountid":"ee1fdc10-c5b= 4-11e3-8f55-66bc12ed7ec3","userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","= cmd":"org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin= ","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"obje= ct","jobresult":{"errorcode":530,"errortext":"Can only resize Data volumes = via new disk offering"},"created":"2014-04-16T16:00:01-0700","jobid":"b64ea= 14e-5062-45da-99e5-d91c8fe6a221"} }\ntest_07_resize_fail (integration.smoke= .test_volumes.TestVolumes): DEBUG: Attaching volume (ID: b5521198-97f1-4f2c= -afea-fcadf70d4249) to VM (ID: bca5f583-139f-46e4-87d5-09fb5adac313)\ntest_= 07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: sending= GET request: attachVolume {\'virtualmachineid\': u\'bca5f583-139f-46e4-87d= 5-09fb5adac313\', \'id\': u\'b5521198-97f1-4f2c-afea-fcadf70d4249\'}\ntest_= 07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Compute= d Signature by Marvin: f5e/GdN9winbDJPVI5xe0AV9pi8=3D\nrequests.packages.ur= llib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240.16= 1\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&virtualmachineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&id= =3Db5521198-97f1-4f2c-afea-fcadf70d4249&command=3DattachVolume&signature=3D= f5e%2FGdN9winbDJPVI5xe0AV9pi8%3D&response=3Djson HTTP/1.1" 200 77\ntest_07_= resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Request: h= ttp://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpn= UT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&virtualmachineid= =3Dbca5f583-139f-46e4-87d5-09fb5adac313&id=3Db5521198-97f1-4f2c-afea-fcadf7= 0d4249&command=3DattachVolume&signature=3Df5e%2FGdN9winbDJPVI5xe0AV9pi8%3D&= response=3Djson Response: { "attachvolumeresponse" : {"jobid":"53b9e664-c5a= 4-4e89-86f1-91d518b4cca1"} }\ntest_07_resize_fail (integration.smoke.test_v= olumes.TestVolumes): DEBUG: sending GET request: queryAsyncJobResult {\'job= id\': u\'53b9e664-c5a4-4e89-86f1-91d518b4cca1\'}\ntest_07_resize_fail (inte= gration.smoke.test_volumes.TestVolumes): DEBUG: Computed Signature by Marvi= n: 7twrbzHD92PvC9M6+/IUsi6KHkI=3D\nrequests.packages.urllib3.connectionpool= : INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages= .urllib3.connectionpool: DEBUG: "GET /client/api?signature=3D7twrbzHD92PvC9= M6%2B%2FIUsi6KHkI%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5= bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&res= ponse=3Djson&jobid=3D53b9e664-c5a4-4e89-86f1-91d518b4cca1 HTTP/1.1" 200 430= \ntest_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: = Request: http://10.223.240.161:8080/client/api?signature=3D7twrbzHD92PvC9M6= %2B%2FIUsi6KHkI%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl= 9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&respo= nse=3Djson&jobid=3D53b9e664-c5a4-4e89-86f1-91d518b4cca1 Response: { "querya= syncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66bc12ed7ec3= ","userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apache.cloudst= ack.api.command.admin.volume.AttachVolumeCmdByAdmin","jobstatus":0,"jobproc= status":0,"jobresultcode":0,"jobinstancetype":"Volume","jobinstanceid":"b55= 21198-97f1-4f2c-afea-fcadf70d4249","created":"2014-04-16T16:00:06-0700","jo= bid":"53b9e664-c5a4-4e89-86f1-91d518b4cca1"} }\ntest_07_resize_fail (integr= ation.smoke.test_volumes.TestVolumes): DEBUG: job: 53b9e664-c5a4-4e89-86f1-= 91d518b4cca1 still processing,will timeout in 3600s\ntest_07_resize_fail (i= ntegration.smoke.test_volumes.TestVolumes): DEBUG: sending GET request: que= ryAsyncJobResult {\'jobid\': u\'53b9e664-c5a4-4e89-86f1-91d518b4cca1\'}\nte= st_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Comp= uted Signature by Marvin: 7twrbzHD92PvC9M6+/IUsi6KHkI=3D\nrequests.packages= .urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.240= .161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?sig= nature=3D7twrbzHD92PvC9M6%2B%2FIUsi6KHkI%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itB= uPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3D= queryAsyncJobResult&response=3Djson&jobid=3D53b9e664-c5a4-4e89-86f1-91d518b= 4cca1 HTTP/1.1" 200 1361\ntest_07_resize_fail (integration.smoke.test_volum= es.TestVolumes): DEBUG: Request: http://10.223.240.161:8080/client/api?sign= ature=3D7twrbzHD92PvC9M6%2B%2FIUsi6KHkI%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBu= PnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3Dq= ueryAsyncJobResult&response=3Djson&jobid=3D53b9e664-c5a4-4e89-86f1-91d518b4= cca1 Response: { "queryasyncjobresultresponse" : {"accountid":"ee1fdc10-c5b= 4-11e3-8f55-66bc12ed7ec3","userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","= cmd":"org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin= ","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object= ","jobresult":{"volume":{"id":"b5521198-97f1-4f2c-afea-fcadf70d4249","name"= :"TestDiskServ","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":= "test0","type":"DATADISK","deviceid":1,"virtualmachineid":"bca5f583-139f-46= e4-87d5-09fb5adac313","vmname":"QA-bca5f583-139f-46e4-87d5-09fb5adac313","v= mstate":"Running","size":1073741824,"created":"2014-04-16T15:58:03-0700","s= tate":"Ready","account":"test-TestVolumes-test_01_create_volume-7K52C0","do= mainid":"fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3","domain":"ROOT","storagetype= ":"shared","hypervisor":"XenServer","diskofferingid":"99abc953-02eb-4b1a-81= 31-58a520aa4f67","diskofferingname":"Small","diskofferingdisplaytext":"Smal= l","storage":"primary0clus0","attached":"2014-04-16T16:00:08-0700","destroy= ed":false,"isextractable":true,"tags":[],"displayvolume":true,"path":"a060d= 7ba-6144-44fd-a45b-e7777e8e874a","storageid":"ac0c4b04-6b72-38b1-a72f-c7fe7= 163d17a","quiescevm":false,"jobid":"53b9e664-c5a4-4e89-86f1-91d518b4cca1","= jobstatus":0}},"created":"2014-04-16T16:00:06-0700","jobid":"53b9e664-c5a4-= 4e89-86f1-91d518b4cca1"} }\ntest_07_resize_fail (integration.smoke.test_vol= umes.TestVolumes): CRITICAL: EXCEPTION: test_07_resize_fail: Traceback (mos= t recent call last):\n File "/usr/local/lib/python2.7/unittest/case.py", l= ine 327, in run\n testMethod()\n File "/root/asf/cloudstack/test/integr= ation/smoke/test_volumes.py", line 636, in test_07_resize_fail\n hosts = =3D Host.list(self.apiClient, id=3Dself.virtual_machine.hostid)\nAttributeE= rror: VirtualMachine instance has no attribute \'hostid\'\n\n--------------= ------- >> end captured logging << ---------------------' > *Error Message 2* > VirtualMachine instance has no attribute 'hostid' > -------------------- >> begin captured logging << -------------------- > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : ::::::::::::STARTED : TC: test_08_resize_volume ::::::::::: > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : Attaching volume (ID: b5521198-97f1-4f2c-afea-fcadf70d4249) to VM (ID: bc= a5f583-139f-46e4-87d5-09fb5adac313) > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : sending GET request: attachVolume {'virtualmachineid': u'bca5f583-139f-46= e4-87d5-09fb5adac313', 'id': u'b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : Computed Signature by Marvin: f5e/GdN9winbDJPVI5xe0AV9pi8=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&virtualmachineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&id= =3Db5521198-97f1-4f2c-afea-fcadf70d4249&command=3DattachVolume&signature=3D= f5e%2FGdN9winbDJPVI5xe0AV9pi8%3D&response=3Djson HTTP/1.1" 200 77 > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMg= v7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&virtu= almachineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&id=3Db5521198-97f1-4f2c-= afea-fcadf70d4249&command=3DattachVolume&signature=3Df5e%2FGdN9winbDJPVI5xe= 0AV9pi8%3D&response=3Djson Response: { "attachvolumeresponse" : {"jobid":"f= 86264b5-a60a-45e4-92a9-29de0389507b"} } > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : sending GET request: queryAsyncJobResult {'jobid': u'f86264b5-a60a-45e4-9= 2a9-29de0389507b'} > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : Computed Signature by Marvin: qs67evEFCdG9twTqHxfEi74n39Y=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signatu= re=3Dqs67evEFCdG9twTqHxfEi74n39Y%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnU= T_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsy= ncJobResult&response=3Djson&jobid=3Df86264b5-a60a-45e4-92a9-29de0389507b HT= TP/1.1" 200 430 > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : Request: http://10.223.240.161:8080/client/api?signature=3Dqs67evEFCdG9tw= TqHxfEi74n39Y%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9i= haz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&respons= e=3Djson&jobid=3Df86264b5-a60a-45e4-92a9-29de0389507b Response: { "queryasy= ncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66bc12ed7ec3",= "userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apache.cloudstac= k.api.command.admin.volume.AttachVolumeCmdByAdmin","jobstatus":0,"jobprocst= atus":0,"jobresultcode":0,"jobinstancetype":"Volume","jobinstanceid":"b5521= 198-97f1-4f2c-afea-fcadf70d4249","created":"2014-04-16T16:00:17-0700","jobi= d":"f86264b5-a60a-45e4-92a9-29de0389507b"} } > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : job: f86264b5-a60a-45e4-92a9-29de0389507b still processing,will timeout i= n 3600s > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : sending GET request: queryAsyncJobResult {'jobid': u'f86264b5-a60a-45e4-9= 2a9-29de0389507b'} > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : Computed Signature by Marvin: qs67evEFCdG9twTqHxfEi74n39Y=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signatu= re=3Dqs67evEFCdG9twTqHxfEi74n39Y%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnU= T_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsy= ncJobResult&response=3Djson&jobid=3Df86264b5-a60a-45e4-92a9-29de0389507b HT= TP/1.1" 200 1361 > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG= : Request: http://10.223.240.161:8080/client/api?signature=3Dqs67evEFCdG9tw= TqHxfEi74n39Y%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9i= haz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&respons= e=3Djson&jobid=3Df86264b5-a60a-45e4-92a9-29de0389507b Response: { "queryasy= ncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66bc12ed7ec3",= "userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apache.cloudstac= k.api.command.admin.volume.AttachVolumeCmdByAdmin","jobstatus":1,"jobprocst= atus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"volume":{"= id":"b5521198-97f1-4f2c-afea-fcadf70d4249","name":"TestDiskServ","zoneid":"= 4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","type":"DATADISK",= "deviceid":1,"virtualmachineid":"bca5f583-139f-46e4-87d5-09fb5adac313","vmn= ame":"QA-bca5f583-139f-46e4-87d5-09fb5adac313","vmstate":"Running","size":1= 073741824,"created":"2014-04-16T15:58:03-0700","state":"Ready","account":"t= est-TestVolumes-test_01_create_volume-7K52C0","domainid":"fe2a30b2-c5a8-11e= 3-8f55-66bc12ed7ec3","domain":"ROOT","storagetype":"shared","hypervisor":"X= enServer","diskofferingid":"99abc953-02eb-4b1a-8131-58a520aa4f67","diskoffe= ringname":"Small","diskofferingdisplaytext":"Small","storage":"primary0clus= 0","attached":"2014-04-16T16:00:20-0700","destroyed":false,"isextractable":= true,"tags":[],"displayvolume":true,"path":"a060d7ba-6144-44fd-a45b-e7777e8= e874a","storageid":"ac0c4b04-6b72-38b1-a72f-c7fe7163d17a","quiescevm":false= ,"jobid":"f86264b5-a60a-45e4-92a9-29de0389507b","jobstatus":0}},"created":"= 2014-04-16T16:00:17-0700","jobid":"f86264b5-a60a-45e4-92a9-29de0389507b"} } > test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): CRITI= CAL: EXCEPTION: test_08_resize_volume: 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_volumes.py", lin= e 687, in test_08_resize_volume > hosts =3D Host.list(self.apiClient, id=3Dself.virtual_machine.hostid) > AttributeError: VirtualMachine instance has no attribute 'hostid' > --------------------- >> 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_volumes.py", lin= e 687, in test_08_resize_volume > hosts =3D Host.list(self.apiClient, id=3Dself.virtual_machine.hostid) > 'VirtualMachine instance has no attribute \'hostid\'\n-------------------= - >> begin captured logging << --------------------\ntest_08_resize_volume = (integration.smoke.test_volumes.TestVolumes): DEBUG: ::::::::::::STARTED : = TC: test_08_resize_volume :::::::::::\ntest_08_resize_volume (integration.s= moke.test_volumes.TestVolumes): DEBUG: Attaching volume (ID: b5521198-97f1-= 4f2c-afea-fcadf70d4249) to VM (ID: bca5f583-139f-46e4-87d5-09fb5adac313)\nt= est_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: s= ending GET request: attachVolume {\'virtualmachineid\': u\'bca5f583-139f-46= e4-87d5-09fb5adac313\', \'id\': u\'b5521198-97f1-4f2c-afea-fcadf70d4249\'}\= ntest_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG:= Computed Signature by Marvin: f5e/GdN9winbDJPVI5xe0AV9pi8=3D\nrequests.pac= kages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.22= 3.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/ap= i?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36= icuUoFQkySLQkvQ9K6Dh0Q&virtualmachineid=3Dbca5f583-139f-46e4-87d5-09fb5adac= 313&id=3Db5521198-97f1-4f2c-afea-fcadf70d4249&command=3DattachVolume&signat= ure=3Df5e%2FGdN9winbDJPVI5xe0AV9pi8%3D&response=3Djson HTTP/1.1" 200 77\nte= st_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: Re= quest: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7it= BuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&virtualma= chineid=3Dbca5f583-139f-46e4-87d5-09fb5adac313&id=3Db5521198-97f1-4f2c-afea= -fcadf70d4249&command=3DattachVolume&signature=3Df5e%2FGdN9winbDJPVI5xe0AV9= pi8%3D&response=3Djson Response: { "attachvolumeresponse" : {"jobid":"f8626= 4b5-a60a-45e4-92a9-29de0389507b"} }\ntest_08_resize_volume (integration.smo= ke.test_volumes.TestVolumes): DEBUG: sending GET request: queryAsyncJobResu= lt {\'jobid\': u\'f86264b5-a60a-45e4-92a9-29de0389507b\'}\ntest_08_resize_v= olume (integration.smoke.test_volumes.TestVolumes): DEBUG: Computed Signatu= re by Marvin: qs67evEFCdG9twTqHxfEi74n39Y=3D\nrequests.packages.urllib3.con= nectionpool: INFO: Starting new HTTP connection (1): 10.223.240.161\nreques= ts.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=3Dqs6= 7evEFCdG9twTqHxfEi74n39Y%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzz= COZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobRes= ult&response=3Djson&jobid=3Df86264b5-a60a-45e4-92a9-29de0389507b HTTP/1.1" = 200 430\ntest_08_resize_volume (integration.smoke.test_volumes.TestVolumes)= : DEBUG: Request: http://10.223.240.161:8080/client/api?signature=3Dqs67evE= FCdG9twTqHxfEi74n39Y%3D&apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZX= PL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DqueryAsyncJobResult&= response=3Djson&jobid=3Df86264b5-a60a-45e4-92a9-29de0389507b Response: { "q= ueryasyncjobresultresponse" : {"accountid":"ee1fdc10-c5b4-11e3-8f55-66bc12e= d7ec3","userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7ec3","cmd":"org.apache.cl= oudstack.api.command.admin.volume.AttachVolumeCmdByAdmin","jobstatus":0,"jo= bprocstatus":0,"jobresultcode":0,"jobinstancetype":"Volume","jobinstanceid"= :"b5521198-97f1-4f2c-afea-fcadf70d4249","created":"2014-04-16T16:00:17-0700= ","jobid":"f86264b5-a60a-45e4-92a9-29de0389507b"} }\ntest_08_resize_volume = (integration.smoke.test_volumes.TestVolumes): DEBUG: job: f86264b5-a60a-45e= 4-92a9-29de0389507b still processing,will timeout in 3600s\ntest_08_resize_= volume (integration.smoke.test_volumes.TestVolumes): DEBUG: sending GET req= uest: queryAsyncJobResult {\'jobid\': u\'f86264b5-a60a-45e4-92a9-29de038950= 7b\'}\ntest_08_resize_volume (integration.smoke.test_volumes.TestVolumes): = DEBUG: Computed Signature by Marvin: qs67evEFCdG9twTqHxfEi74n39Y=3D\nreques= ts.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1):= 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /cli= ent/api?signature=3Dqs67evEFCdG9twTqHxfEi74n39Y%3D&apiKey=3DMNQSBTYnkNvc4PC= Mgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&com= mand=3DqueryAsyncJobResult&response=3Djson&jobid=3Df86264b5-a60a-45e4-92a9-= 29de0389507b HTTP/1.1" 200 1361\ntest_08_resize_volume (integration.smoke.t= est_volumes.TestVolumes): DEBUG: Request: http://10.223.240.161:8080/client= /api?signature=3Dqs67evEFCdG9twTqHxfEi74n39Y%3D&apiKey=3DMNQSBTYnkNvc4PCMgv= 7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&comman= d=3DqueryAsyncJobResult&response=3Djson&jobid=3Df86264b5-a60a-45e4-92a9-29d= e0389507b Response: { "queryasyncjobresultresponse" : {"accountid":"ee1fdc1= 0-c5b4-11e3-8f55-66bc12ed7ec3","userid":"ee1fe85e-c5b4-11e3-8f55-66bc12ed7e= c3","cmd":"org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdBy= Admin","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"o= bject","jobresult":{"volume":{"id":"b5521198-97f1-4f2c-afea-fcadf70d4249","= name":"TestDiskServ","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonen= ame":"test0","type":"DATADISK","deviceid":1,"virtualmachineid":"bca5f583-13= 9f-46e4-87d5-09fb5adac313","vmname":"QA-bca5f583-139f-46e4-87d5-09fb5adac31= 3","vmstate":"Running","size":1073741824,"created":"2014-04-16T15:58:03-070= 0","state":"Ready","account":"test-TestVolumes-test_01_create_volume-7K52C0= ","domainid":"fe2a30b2-c5a8-11e3-8f55-66bc12ed7ec3","domain":"ROOT","storag= etype":"shared","hypervisor":"XenServer","diskofferingid":"99abc953-02eb-4b= 1a-8131-58a520aa4f67","diskofferingname":"Small","diskofferingdisplaytext":= "Small","storage":"primary0clus0","attached":"2014-04-16T16:00:20-0700","de= stroyed":false,"isextractable":true,"tags":[],"displayvolume":true,"path":"= a060d7ba-6144-44fd-a45b-e7777e8e874a","storageid":"ac0c4b04-6b72-38b1-a72f-= c7fe7163d17a","quiescevm":false,"jobid":"f86264b5-a60a-45e4-92a9-29de038950= 7b","jobstatus":0}},"created":"2014-04-16T16:00:17-0700","jobid":"f86264b5-= a60a-45e4-92a9-29de0389507b"} }\ntest_08_resize_volume (integration.smoke.t= est_volumes.TestVolumes): CRITICAL: EXCEPTION: test_08_resize_volume: Trace= back (most recent call last):\n File "/usr/local/lib/python2.7/unittest/ca= se.py", line 327, in run\n testMethod()\n File "/root/asf/cloudstack/te= st/integration/smoke/test_volumes.py", line 687, in test_08_resize_volume\n= hosts =3D Host.list(self.apiClient, id=3Dself.virtual_machine.hostid)\n= AttributeError: VirtualMachine instance has no attribute \'hostid\'\n\n----= ----------------- >> end captured logging << ---------------------' -- This message was sent by Atlassian JIRA (v6.2#6252)