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 655131093D for ; Tue, 27 May 2014 23:26:02 +0000 (UTC) Received: (qmail 63694 invoked by uid 500); 27 May 2014 23:26:02 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 63675 invoked by uid 500); 27 May 2014 23:26:02 -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 63667 invoked by uid 500); 27 May 2014 23:26:02 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 63664 invoked by uid 99); 27 May 2014 23:26:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 23:26:02 +0000 Date: Tue, 27 May 2014 23:26:02 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-6768) [Automation]: Test case failure in test_scale_vm.py 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-6768?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-6768: -------------------------------------------- Issue Type: Test (was: Bug) > [Automation]: Test case failure in test_scale_vm.py > --------------------------------------------------- > > Key: CLOUDSTACK-6768 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-676= 8 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Automation, XenServer > Affects Versions: 4.4.0 > Reporter: Harikrishna Patnala > Fix For: 4.4.0 > > > There is test case failure in test_scale_vm.py > integration.smoke.test_scale_vm.TestScaleVm.test_01_scale_vm > Error Message: > Job failed: {jobprocstatus : 0, created : u'2014-05-25T23:32:18-0700', cm= d : u'org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin', userid= : u'4564901e-e49c-11e3-a141-00163e189e44', jobstatus : 2, jobid : u'f1a26b= 8c-2f9d-44ea-a416-3161f48ebc29', jobresultcode : 530, jobresulttype : u'obj= ect', jobresult : {errorcode : 530, errortext : u'Dynamically scaling virtu= al machines is disabled for this zone, please contact your admin'}, account= id : u'45646896-e49c-11e3-a141-00163e189e44'} > -------------------- >> begin captured stdout << --------------------- > =3D=3D=3D TestName: test_01_scale_vm | Status : EXCEPTION =3D=3D=3D > Management Server log Error Message:=20 > 2014-05-25 23:32:18,719 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-= Executor-67:ctx-93e7a535 job-140) Executing AsyncJobVO {id:140, userId: 2, = accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudst= ack.api.command.admin.vm.ScaleVMCmdByAdmin, cmdInfo: {"response":"json","id= ":"58b294b4-5f45-4a29-a175-628a0ebb5b8f","serviceofferingid":"f0779c9b-ed1d= -47bd-b006-05fc0d78bc0c","ctxDetails":"{\"com.cloud.vm.VirtualMachine\":6,\= "VirtualMachine\":\"58b294b4-5f45-4a29-a175-628a0ebb5b8f\",\"com.cloud.offe= ring.ServiceOffering\":19}","cmdEventType":"VM.UPGRADE","ctxUserId":"2","ht= tpmethod":"GET","uuid":"58b294b4-5f45-4a29-a175-628a0ebb5b8f","ctxAccountId= ":"2","ctxStartEventId":"421","apiKey":"kDUSTcbO-_FZ70vm6gGrUqsX7vkomsJKI8H= BWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w","signature":"UrhuP7QKI= tf4GumSa8BHToytHm0\u003d"}, cmdVersion: 0, status: IN_PROGRESS, processStat= us: 0, resultCode: 0, result: null, initMsid: 95531081284, completeMsid: nu= ll, lastUpdated: null, lastPolled: null, created: null} > 2014-05-25 23:32:18,726 DEBUG [c.c.a.ApiServlet] (1336641565@qtp-21724583= 9-11:ctx-ea2448f1) =3D=3D=3DSTART=3D=3D=3D 172.16.88.7 -- GET jobid=3Df1a= 26b8c-2f9d-44ea-a416-3161f48ebc29&apiKey=3DkDUSTcbO-_FZ70vm6gGrUqsX7vkomsJK= I8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpNDM6w&command=3DqueryAsync= JobResult&response=3Djson&signature=3D50XUcypSsgXBwxlx%2F6RoQ4tK97o%3D > 2014-05-25 23:32:18,732 WARN [c.c.a.d.ParamGenericValidationWorker] (API= -Job-Executor-67:ctx-93e7a535 job-140 ctx-928b66be) Received unknown parame= ters for command scaleVirtualMachine. Unknown parameters : ctxdetails > 2014-05-25 23:32:18,745 DEBUG [c.c.a.ApiServlet] (1336641565@qtp-21724583= 9-11:ctx-ea2448f1 ctx-4e31fedb ctx-3b5a1616) =3D=3D=3DEND=3D=3D=3D 172.16.= 88.7 -- GET jobid=3Df1a26b8c-2f9d-44ea-a416-3161f48ebc29&apiKey=3DkDUSTcbO= -_FZ70vm6gGrUqsX7vkomsJKI8HBWK4J8rQNPwQ0WbDjlejsKcq3Mmj5zsEKk8pf7Z8nK3ebpND= M6w&command=3DqueryAsyncJobResult&response=3Djson&signature=3D50XUcypSsgXBw= xlx%2F6RoQ4tK97o%3D > 2014-05-25 23:32:18,762 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Exec= utor-67:ctx-93e7a535 job-140) Unexpected exception while executing org.apac= he.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin > com.cloud.exception.PermissionDeniedException: Dynamically scaling virtua= l machines is disabled for this zone, please contact your admin > at com.cloud.vm.UserVmManagerImpl.upgradeRunningVirtualMachine(Us= erVmManagerImpl.java:1348) > at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmMan= agerImpl.java:1287) > at com.cloud.vm.UserVmManagerImpl.upgradeVirtualMachine(UserVmMan= agerImpl.java:1223) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingR= eflection(AopUtils.java:317) > at org.springframework.aop.framework.ReflectiveMethodInvocation.i= nvokeJoinpoint(ReflectiveMethodInvocation.java:183) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:150) > at org.apache.cloudstack.network.contrail.management.EventUtils$E= ventInterceptor.invoke(EventUtils.java:106) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:161) > at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInter= ceptor.java:51) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:161) > at org.springframework.aop.interceptor.ExposeInvocationIntercepto= r.invoke(ExposeInvocationInterceptor.java:91) > at org.springframework.aop.framework.ReflectiveMethodInvocation.p= roceed(ReflectiveMethodInvocation.java:172) > at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(Jd= kDynamicAopProxy.java:204) > at com.sun.proxy.$Proxy218.upgradeVirtualMachine(Unknown Source) > at org.apache.cloudstack.api.command.admin.vm.ScaleVMCmdByAdmin.e= xecute(ScaleVMCmdByAdmin.java:46) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatch= er.java:108) > at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$= 5.runInContext(AsyncJobManagerImpl.java:503) > at org.apache.cloudstack.managed.context.ManagedContextRunnable$1= .run(ManagedContextRunnable.java:49) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt$1.call(DefaultManagedContext.java:56) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt.callWithContext(DefaultManagedContext.java:103) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt.runWithContext(DefaultManagedContext.java:53) > at org.apache.cloudstack.managed.context.ManagedContextRunnable.r= un(ManagedContextRunnable.java:46) > at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$= 5.run(AsyncJobManagerImpl.java:460) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.= java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > 2014-05-25 23:32:18,763 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-= Executor-67:ctx-93e7a535 job-140) Complete async job-140, jobStatus: FAILED= , resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResp= onse/null/{"uuidList":[],"errorcode":530,"errortext":"Dynamically scaling v= irtual machines is disabled for this zone, please contact your admin"} > 2014-05-25 23:32:18,781 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-= Executor-67:ctx-93e7a535 job-140) Done executing org.apache.cloudstack.api.= command.admin.vm.ScaleVMCmdByAdmin for job-140 > 2014-05-25 23:32:18,786 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Exec= utor-67:ctx-93e7a535 job-140) Remove job-140 from job monitoring -- This message was sent by Atlassian JIRA (v6.2#6252)