[main] INFO org.opendaylight.bgpcep.config.loader.impl.AbstractConfigLoader - Loading initial config routing-policy-config.xml [main] INFO org.opendaylight.bgpcep.config.loader.spi.AbstractConfigFileProcessor - Routing Policy Config Loader registered [main] INFO org.opendaylight.bgpcep.config.loader.spi.AbstractConfigFileProcessor - Routing Policy Config Loader unregistered [main] INFO org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer - BGP Deployer network-test started. [pool-80-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - BGPClusterSingletonService bgp-service-group registered [pool-80-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.RibImpl - Starting BGP instance bgp [pool-80-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Global config Ipv4Address{value=127.0.0.1} updated, new configuration Global{afiSafis=AfiSafis{afiSafi={AfiSafiKey{afiSafiName=IPV6UNICAST{qname=(http://openconfig.net/yang/bgp-types?revision=2015-10-09)IPV6-UNICAST}}=AfiSafi{afiSafiName=IPV6UNICAST{qname=(http://openconfig.net/yang/bgp-types?revision=2015-10-09)IPV6-UNICAST}, augmentation=[GlobalAddPathsConfig{receive=true, sendMax=0}]}}}, config=Config{as=AsNumber{value=72}, routerId=Ipv4Address{value=127.0.0.1}}, state=State{as=AsNumber{value=72}}} [pool-80-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.RibImpl - Closing RIB instance Uri{value=bgp} [pool-80-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.RibImpl - Unregistering state provider for RIB instance Uri{value=bgp} [pool-80-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.RibImpl - Starting BGP instance bgp [pool-80-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.RibImpl - Closing RIB instance Uri{value=bgp} [pool-80-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.RibImpl - Unregistering state provider for RIB instance Uri{value=bgp} [main] INFO org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer - Closing BGP Deployer. [main] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Closing BGPClusterSingletonService bgp-service-group [main] WARN org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer - Failed to close BGP Cluster Singleton Service. java.lang.NullPointerException: Cannot invoke "org.opendaylight.protocol.bgp.rib.impl.config.RibImpl.stop()" because ".ribImpl" is null at org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService.closeRibInstance(BGPClusterSingletonService.java:206) at org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService.close(BGPClusterSingletonService.java:248) at org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer.lambda$close$7(DefaultBgpDeployer.java:261) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer.close(DefaultBgpDeployer.java:259) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) at org.mockito.internal.util.reflection.InstrumentationMemberAccessor$Dispatcher$ByteBuddy$Adv6aSZQ.invokeWithArguments(Unknown Source) at org.mockito.internal.util.reflection.InstrumentationMemberAccessor.invoke(InstrumentationMemberAccessor.java:251) at org.mockito.internal.util.reflection.ModuleMemberAccessor.invoke(ModuleMemberAccessor.java:55) at org.mockito.internal.creation.bytebuddy.MockMethodAdvice.tryInvoke(MockMethodAdvice.java:314) at org.mockito.internal.creation.bytebuddy.MockMethodAdvice$RealMethodCall.invoke(MockMethodAdvice.java:234) at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:142) at org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:45) at org.mockito.Answers.answer(Answers.java:90) at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:111) at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34) at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82) at org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134) at org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer.close(DefaultBgpDeployer.java:252) at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerTest.testDeployerRib(BgpDeployerTest.java:161) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [main] INFO org.opendaylight.bgpcep.config.loader.impl.AbstractConfigLoader - Loading initial config routing-policy-config.xml [main] INFO org.opendaylight.bgpcep.config.loader.spi.AbstractConfigFileProcessor - Routing Policy Config Loader registered [main] INFO org.opendaylight.bgpcep.config.loader.spi.AbstractConfigFileProcessor - Routing Policy Config Loader unregistered [main] INFO org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer - BGP Deployer network-test started. [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - BGPClusterSingletonService bgp-service-group registered [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.RibImpl - Starting BGP instance bgp [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Creating Peer instance IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} with configuration: Neighbor{addPaths=AddPaths{config=Config{receive=true, sendMax=0}}, afiSafis=AfiSafis{afiSafi={AfiSafiKey{afiSafiName=IPV4UNICAST{qname=(http://openconfig.net/yang/bgp-types?revision=2015-10-09)IPV4-UNICAST}}=AfiSafi{afiSafiName=IPV4UNICAST{qname=(http://openconfig.net/yang/bgp-types?revision=2015-10-09)IPV4-UNICAST}, augmentation=[NeighborAddPathsConfig{receive=true, sendMax=0}]}}}, config=Config{authPassword=123, localAs=AsNumber{value=73}, peerAs=AsNumber{value=72}, peerType=INTERNAL, routeFlapDamping=false, sendCommunity=NONE}, neighborAddress=IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}}, routeReflector=RouteReflector{config=Config{routeReflectorClient=false, routeReflectorClusterId=RrClusterIdType{ipv4Address=Ipv4Address{value=127.0.0.1}}}}, timers=Timers{config=Config{connectRetry=30.0, holdTime=30.0, keepaliveInterval=30.0, minimumAdvertisementInterval=30.0}}, transport=Transport{config=Config{mtuDiscovery=false, passiveMode=false, augmentation=[NeighborTransportConfig{remotePort=PortNumber{value=179}}]}}} [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BgpPeer - Starting BgPeer instance IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.AbstractPeer - Creating DOM peer chain null [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BgpPeer - New BGP Peer /127.0.0.1:179:null AS AsNumber{value=72} instance for BGP id Ipv4Address{value=127.0.0.1} created with activeConnection: true [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Peer instance created IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Updating Peer IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} with new configuration: Neighbor{addPaths=AddPaths{config=Config{receive=true, sendMax=0}}, afiSafis=AfiSafis{afiSafi={AfiSafiKey{afiSafiName=IPV4UNICAST{qname=(http://openconfig.net/yang/bgp-types?revision=2015-10-09)IPV4-UNICAST}}=AfiSafi{afiSafiName=IPV4UNICAST{qname=(http://openconfig.net/yang/bgp-types?revision=2015-10-09)IPV4-UNICAST}, augmentation=[NeighborAddPathsConfig{receive=true, sendMax=0}]}}}, config=Config{authPassword=123, localAs=AsNumber{value=73}, peerAs=AsNumber{value=72}, peerType=INTERNAL, routeFlapDamping=false, sendCommunity=NONE}, neighborAddress=IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}}, timers=Timers{config=Config{connectRetry=30.0, holdTime=30.0, keepaliveInterval=30.0, minimumAdvertisementInterval=30.0}}, transport=Transport{config=Config{mtuDiscovery=false, passiveMode=false, augmentation=[NeighborTransportConfig{remotePort=PortNumber{value=179}}]}}} [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BgpPeer - Closing BGP Peer IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BgpPeer - Peer IpAddressNoZone{ipv4AddressNoZone=Ipv4Address{value=127.0.0.1}} already closed [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Peer instance IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} closed [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BgpPeer - Starting BgPeer instance IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.AbstractPeer - Creating DOM peer chain null [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BgpPeer - New BGP Peer /127.0.0.1:179:null AS AsNumber{value=72} instance for BGP id Ipv4Address{value=127.0.0.1} created with activeConnection: true [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Removing Peer instance: IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BgpPeer - Closing BGP Peer IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BgpPeer - Peer IpAddressNoZone{ipv4AddressNoZone=Ipv4Address{value=127.0.0.1}} already closed [pool-84-thread-1] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Peer instance IpAddress{ipv4Address=Ipv4Address{value=127.0.0.1}} closed [main] INFO org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer - Closing BGP Deployer. [main] INFO org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService - Closing BGPClusterSingletonService bgp-service-group [main] WARN org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer - Failed to close BGP Cluster Singleton Service. java.lang.NullPointerException: Cannot invoke "org.opendaylight.protocol.bgp.rib.impl.config.RibImpl.stop()" because ".ribImpl" is null at org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService.closeRibInstance(BGPClusterSingletonService.java:206) at org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService.close(BGPClusterSingletonService.java:248) at org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer.lambda$close$7(DefaultBgpDeployer.java:261) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer.close(DefaultBgpDeployer.java:259) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) at org.mockito.internal.util.reflection.InstrumentationMemberAccessor$Dispatcher$ByteBuddy$Adv6aSZQ.invokeWithArguments(Unknown Source) at org.mockito.internal.util.reflection.InstrumentationMemberAccessor.invoke(InstrumentationMemberAccessor.java:251) at org.mockito.internal.util.reflection.ModuleMemberAccessor.invoke(ModuleMemberAccessor.java:55) at org.mockito.internal.creation.bytebuddy.MockMethodAdvice.tryInvoke(MockMethodAdvice.java:314) at org.mockito.internal.creation.bytebuddy.MockMethodAdvice$RealMethodCall.invoke(MockMethodAdvice.java:234) at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:142) at org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:45) at org.mockito.Answers.answer(Answers.java:90) at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:111) at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34) at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82) at org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134) at org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer.close(DefaultBgpDeployer.java:252) at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerTest.testDeployerCreateNeighbor(BgpDeployerTest.java:190) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)