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] [Commented] (CLOUDSTACK-7272) [Automation] Router stop fails with NPE
Date Wed, 06 Aug 2014 19:24:12 GMT

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

Rayees Namathponnan commented on CLOUDSTACK-7272:
-------------------------------------------------

I didn't tested this manually,    

As per the test case "test case integration.smoke.test_routers.TestRouterServices.test_07_stop_router"
its just a stop router 

 636     def test_07_stop_router(self):
 637         """Test stop router
 638         """
 639 
 640         # Validate the following
 641         # 1. listRouter should report the router for the account as stopped
 642 
 643         list_router_response = list_routers(
 644                                     self.apiclient,
 645                                     account=self.account.name,
 646                                     domainid=self.account.domainid
 647                                     )
 648         self.assertEqual(
 649                             isinstance(list_router_response, list),
 650                             True,
 651                             "Check list response returns a valid list"
 652                         )
 653         router = list_router_response[0]
 654         self.debug("Stopping the router with ID: %s" % router.id)
 655         #Stop the router
 656         cmd = stopRouter.stopRouterCmd()
 657         cmd.id = router.id
 658         self.apiclient.stopRouter(cmd)
 659 
 660         #List routers to check state of router
 661         router_response = list_routers(
 662                                     self.apiclient,
 663                                     id=router.id



> [Automation] Router stop fails with NPE
> ---------------------------------------
>
>                 Key: CLOUDSTACK-7272
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7272
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Virtual Router
>    Affects Versions: 4.5.0
>         Environment: KVM - RHEL 6.3
>            Reporter: Rayees Namathponnan
>            Assignee: Nitin Mehta
>            Priority: Blocker
>             Fix For: 4.5.0
>
>         Attachments: Aug_06_KVM.rar
>
>
> Test case integration.smoke.test_routers.TestRouterServices.test_07_stop_router fails
while stopping 
> VR stops with with NPE
> 2014-08-06 08:37:48,703 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-77:ctx-9e4e9ccb
job-379) Unexpected exception while executing org.apache.cloudstack.api.command.admin.router.StopRouterCmd
> java.lang.NullPointerException
>         at com.cloud.api.query.dao.DomainRouterJoinDaoImpl.newDomainRouterResponse(DomainRouterJoinDaoImpl.java:97)
>         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:606)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at com.sun.proxy.$Proxy267.newDomainRouterResponse(Unknown Source)
>         at com.cloud.api.ApiDBUtils.newDomainRouterResponse(ApiDBUtils.java:1574)
>         at com.cloud.api.query.ViewResponseHelper.createDomainRouterResponse(ViewResponseHelper.java:155)
>         at com.cloud.api.ApiResponseHelper.createDomainRouterResponse(ApiResponseHelper.java:1137)
>         at org.apache.cloudstack.api.command.admin.router.StopRouterCmd.execute(StopRouterCmd.java:119)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.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.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(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)



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

Mime
View raw message