cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-4343) [Automation] Failed to create template and BVT test cases failed
Date Thu, 15 Aug 2013 16:40:48 GMT

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

Rayees Namathponnan closed CLOUDSTACK-4343.
-------------------------------------------

    Resolution: Fixed

Min fixed this 

commit : 9a9ef3112cbcdc6fd6cf05d1704f5c3c723c9e56 
                
> [Automation] Failed to create template and BVT test cases failed 
> -----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4343
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4343
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API, Automation, Template
>    Affects Versions: 4.2.0
>         Environment: Automation
> 4.2
>            Reporter: Rayees Namathponnan
>            Assignee: Kishan Kavala
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: CLOUDSTACK-4343.rar
>
>
> Template create test cases failed will NPE in kvm and vmware 
> 2013-08-14 17:26:35,785 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) ===END===
 10.223.240.193 -- GET  signature=Li5Y1cbf3it7czN8zEej50PB18Q%3D&apiKey=H9Z4K8r-PPJf2lCmUj-hW1W0BJQ7opgDKhKpGlqn0OQGjxyDZSwxNfkM0E08OwOoqd7FJ95XymlXsWDaf_jcwA&command=queryAsyncJobResult&response=json&jobid=1505249c-2d2f-4c05-b3bd-d63207ad8785
> 2013-08-14 17:26:37,781 DEBUG [agent.transport.Request] (AgentManager-Handler-3:null)
Seq 2-728170549: Processing:  { Ans: , MgmtId: 73187150500751, via: 2, Ver: v1, Flags: 10,
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/8/205/6ce55ab5-450d-423c-a782-d8b625940672.qcow2","id":0,"format":"QCOW2","accountId":0,"hvm":false,"size":8589934592}},"result":true,"wait":0}}]
}
> 2013-08-14 17:26:37,781 DEBUG [agent.transport.Request] (Job-Executor-29:job-36 = [ 1505249c-2d2f-4c05-b3bd-d63207ad8785
]) Seq 2-728170549: Received:  { Ans: , MgmtId: 73187150500751, via: 2, Ver: v1, Flags: 10,
{ CopyCmdAnswer } }
> 2013-08-14 17:26:37,783 DEBUG [image.store.TemplateObject] (Job-Executor-29:job-36 =
[ 1505249c-2d2f-4c05-b3bd-d63207ad8785 ]) failed to process event and answer
> java.lang.NullPointerException
>         at org.apache.cloudstack.storage.image.store.TemplateObject.processEvent(TemplateObject.java:201)
>         at org.apache.cloudstack.storage.image.TemplateServiceImpl.copyTemplateCallBack(TemplateServiceImpl.java:653)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.dispatch(AsyncCallbackDispatcher.java:142)
>         at org.apache.cloudstack.framework.async.InplaceAsyncCallbackDriver.performCompletionCallback(InplaceAsyncCallbackDriver.java:26)
>         at org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.complete(AsyncCallbackDispatcher.java:120)
>         at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:423)
>         at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:55)
>         at org.apache.cloudstack.storage.image.TemplateServiceImpl.copyAsync(TemplateServiceImpl.java:550)
>         at org.apache.cloudstack.storage.image.TemplateServiceImpl.createTemplateFromVolumeAsync(TemplateServiceImpl.java:563)
>         at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1367)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-08-14 17:26:37,789 DEBUG [storage.image.TemplateServiceImpl] (Job-Executor-29:job-36
= [ 1505249c-2d2f-4c05-b3bd-d63207ad8785 ]) Failed to process copy template callback
> com.cloud.utils.exception.CloudRuntimeException: Failed to process event
>         at org.apache.cloudstack.storage.image.store.TemplateObject.processEvent(TemplateObject.java:220)
>         at org.apache.cloudstack.storage.image.TemplateServiceImpl.copyTemplateCallBack(TemplateServiceImpl.java:653)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.dispatch(AsyncCallbackDispatcher.java:142)
>         at org.apache.cloudstack.framework.async.InplaceAsyncCallbackDriver.performCompletionCallback(InplaceAsyncCallbackDriver.java:26)
>         at org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.complete(AsyncCallbackDispatcher.java:120)
>         at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:423)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message