[main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connected. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - No context chain found for device: deviceInfo, creating new. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - An auxiliary connection was added to device: deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connected. [main] WARN org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo already connected. Closing previous connection [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Closed clustering services registration for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating DeviceContext$MockitoMock$1YuK145e[NEW] service for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RpcContext$MockitoMock$id4oxzkp[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating StatisticsContext$MockitoMock$T9bTdsRI[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RoleContext$MockitoMock$GxX2qIzi[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Old connection dropped, creating new context chain for device deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo disconnected. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Closed clustering services registration for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating DeviceContext$MockitoMock$1YuK145e[NEW] service for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RpcContext$MockitoMock$id4oxzkp[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating StatisticsContext$MockitoMock$T9bTdsRI[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RoleContext$MockitoMock$GxX2qIzi[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connected. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - No context chain found for device: deviceInfo, creating new. [main] ERROR org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Not able to set SLAVE role on device deviceInfo, reason: Test reason [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Closed clustering services registration for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating DeviceContext$MockitoMock$1YuK145e[NEW] service for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RpcContext$MockitoMock$id4oxzkp[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating StatisticsContext$MockitoMock$T9bTdsRI[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RoleContext$MockitoMock$GxX2qIzi[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Closed clustering services registration for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating DeviceContext$MockitoMock$1YuK145e[NEW] service for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RpcContext$MockitoMock$id4oxzkp[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating StatisticsContext$MockitoMock$T9bTdsRI[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RoleContext$MockitoMock$GxX2qIzi[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connection is enabled by reconciliation framework. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connection is enabled by reconciliation framework. [main] ERROR org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Not able to set MASTER role on device deviceInfo, reason: Test reason [main] WARN org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - This mastering is mandatory, destroying context chain and closing connection for device deviceInfo. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Closed clustering services registration for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating DeviceContext$MockitoMock$1YuK145e[NEW] service for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RpcContext$MockitoMock$id4oxzkp[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating StatisticsContext$MockitoMock$T9bTdsRI[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RoleContext$MockitoMock$GxX2qIzi[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connected. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - No context chain found for device: deviceInfo, creating new. [main] ERROR org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Not able to set MASTER role on device deviceInfo, reason: Test reason [main] WARN org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - This mastering is mandatory, destroying context chain and closing connection for device deviceInfo. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Closed clustering services registration for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating DeviceContext$MockitoMock$1YuK145e[NEW] service for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RpcContext$MockitoMock$id4oxzkp[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating StatisticsContext$MockitoMock$T9bTdsRI[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RoleContext$MockitoMock$GxX2qIzi[NEW] service for node null [main] WARN org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Reconciliation framework failure for device deviceInfo java.lang.Throwable: test at org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImplTest.reconciliationFrameworkFailure(ContextChainHolderImplTest.java:147) 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.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55) 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.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:42) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) 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.openflowplugin.impl.lifecycle.ContextChainImpl - Closed clustering services registration for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating DeviceContext$MockitoMock$1YuK145e[NEW] service for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RpcContext$MockitoMock$id4oxzkp[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating StatisticsContext$MockitoMock$T9bTdsRI[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RoleContext$MockitoMock$GxX2qIzi[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connection is enabled by reconciliation framework. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Device deviceInfo is able to work as master [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Role MASTER was granted to device deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connection is enabled by reconciliation framework. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Device deviceInfo is able to work as master [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Role MASTER was granted to device deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Entity ownership change received for node : EntityOwnershipChange [entity=Entity [type=EntityTest, id=KeyedInstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.core.general.entity.rev150930.Entity, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.core.general.entity.rev150930.Entity[key=EntityKey{name=openflow:test}]]}], state=LOCAL_OWNERSHIP_LOST_NEW_OWNER [wasOwner=true, isOwner=false, hasOwner=true], inJeopardy=false] [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Device deviceInfo connection is enabled by reconciliation framework. [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Device deviceInfo is able to work as master [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Role MASTER was granted to device deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Entity ownership change received for node : EntityOwnershipChange [entity=Entity [type=EntityTest, id=KeyedInstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.core.general.entity.rev150930.Entity, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.core.general.entity.rev150930.Entity[key=EntityKey{name=openflow:test}]]}], state=LOCAL_OWNERSHIP_LOST_NO_OWNER [wasOwner=true, isOwner=false, hasOwner=false], inJeopardy=false] [node-cleaner-0] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Try to remove device openflow:test from operational DS [main] WARN org.opendaylight.openflowplugin.impl.lifecycle.ContextChainHolderImpl - Reconciliation framework failure for device deviceInfo with resultState DISCONNECT [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl - Closed clustering services registration for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating DeviceContext$MockitoMock$1YuK145e[NEW] service for node deviceInfo [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RpcContext$MockitoMock$id4oxzkp[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating StatisticsContext$MockitoMock$T9bTdsRI[NEW] service for node null [main] INFO org.opendaylight.openflowplugin.impl.lifecycle.GuardedContextImpl - Terminating RoleContext$MockitoMock$GxX2qIzi[NEW] service for node null