2024-07-25 09:27:49:594 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:49:661 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:49:667 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:49:667 +0000 [main] INFO AbstractJsonRpcTest - [START]test_UnmountEmpty 2024-07-25 09:27:49:667 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:49:669 +0000 [pool-8-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:49:669 +0000 [pool-8-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:49:671 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:49:671 +0000 [main] INFO AbstractJsonRpcTest - [END]test_UnmountEmpty 2024-07-25 09:27:49:671 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:50:090 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:113 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:50:114 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:50:114 +0000 [main] INFO AbstractJsonRpcTest - [START]test_ConfigDriven 2024-07-25 09:27:50:114 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:50:115 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:115 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:50:129 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:129 +0000 [pool-18-thread-1] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-07-25 09:27:50:130 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:50:241 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:252 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:50:260 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing peer from conf demo1 2024-07-25 09:27:50:260 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Creating mapping context for peer demo1 2024-07-25 09:27:50:344 +0000 [pool-18-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:52697}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Initial, name=demo1} 2024-07-25 09:27:50:348 +0000 [pool-18-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:52697}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Processing, name=demo1} 2024-07-25 09:27:50:472 +0000 [pool-18-thread-1] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'demo1' 2024-07-25 09:27:50:525 +0000 [pool-18-thread-1] INFO JsonRPCDataBroker - Broker Instantiated for demo1 2024-07-25 09:27:50:531 +0000 [pool-18-thread-1] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => null 2024-07-25 09:27:50:531 +0000 [pool-18-thread-1] DEBUG AbstractJsonRPCComponent - [demo1][RPC] governance lookup => null 2024-07-25 09:27:50:531 +0000 [pool-18-thread-1] WARN JsonRPCtoRPCBridge - [rpc-method1] RPC 'demo1' cannot be mapped, no known endpoint 2024-07-25 09:27:50:534 +0000 [pool-18-thread-1] INFO JsonRPCtoRPCBridge - [demo1] No RPCs mapped 2024-07-25 09:27:50:534 +0000 [pool-18-thread-1] INFO AbstractPeerContext - [demo1] DOMNotificationService not registered as no notifications has been found in schema 2024-07-25 09:27:50:562 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2024-07-25 09:27:50:564 +0000 [main] DEBUG JsonRPCProvider - Remounting all json rpc peers 2024-07-25 09:27:50:567 +0000 [pool-18-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:52697}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Mounted, name=demo1} 2024-07-25 09:27:50:568 +0000 [pool-18-thread-1] INFO JsonRPCProvider - Peer mounted : MappedPeerContext [peer=demo1, path = /(urn:opendaylight:jsonrpc?revision=2016-12-01)config/configured-endpoints/configured-endpoints[{(urn:opendaylight:jsonrpc?revision=2016-12-01)name=demo1}]] 2024-07-25 09:27:50:580 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:580 +0000 [main] DEBUG JsonRPCProvider - Processing peer from conf demo1 2024-07-25 09:27:50:586 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:50:586 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:50:587 +0000 [main] INFO AbstractJsonRpcTest - [END]test_ConfigDriven 2024-07-25 09:27:50:587 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:50:877 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:895 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:50:896 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:50:896 +0000 [main] INFO AbstractJsonRpcTest - [START]test_InbandModelsSchemaContextProvider 2024-07-25 09:27:50:896 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:50:901 +0000 [pool-27-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:901 +0000 [pool-27-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:50:902 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:902 +0000 [pool-27-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-07-25 09:27:50:903 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:50:983 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:50:983 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing peer from conf demo1 2024-07-25 09:27:50:983 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer demo1 2024-07-25 09:27:50:985 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:50:988 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, modules=[YangIdentifier{value=jsonrpc-inband-models}], mountStatus=Initial, name=demo1, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}} 2024-07-25 09:27:50:989 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, modules=[YangIdentifier{value=jsonrpc-inband-models}], mountStatus=Processing, name=demo1, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}} 2024-07-25 09:27:50:997 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:50:997 +0000 [main] INFO AbstractJsonRpcTest - [END]test_InbandModelsSchemaContextProvider 2024-07-25 09:27:50:997 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:51:021 +0000 [pool-27-thread-2] ERROR JsonRPCProvider - Mount failed for peer 'demo1' java.lang.IllegalStateException: Unable to build SchemaContext at org.opendaylight.jsonrpc.provider.common.InbandModelsSchemaContextProvider.createSchemaContext(InbandModelsSchemaContextProvider.java:79) at org.opendaylight.jsonrpc.model.CombinedSchemaContextProvider.createSchemaContext(CombinedSchemaContextProvider.java:45) at org.opendaylight.jsonrpc.provider.common.MappedPeerContext.(MappedPeerContext.java:72) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.doMountDevice(JsonRPCProvider.java:209) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.mountPeers(JsonRPCProvider.java:160) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotificationInternal(JsonRPCProvider.java:135) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotification(JsonRPCProvider.java:178) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.lambda$new$0(JsonRPCProvider.java:98) at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:44) at org.opendaylight.mdsal.dom.store.inmemory.InMemoryDOMStoreTreeChangePublisher.lambda$new$0(InMemoryDOMStoreTreeChangePublisher.java:43) at org.opendaylight.yangtools.util.concurrent.AbstractQueuedNotificationManager.executeBatch(AbstractQueuedNotificationManager.java:88) at org.opendaylight.yangtools.util.concurrent.AbstractBatchingExecutor$DispatcherTask.invokeWorker(AbstractBatchingExecutor.java:305) at org.opendaylight.yangtools.util.concurrent.AbstractBatchingExecutor$DispatcherTask.run(AbstractBatchingExecutor.java:292) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.NullPointerException: Cannot invoke "org.opendaylight.jsonrpc.model.InbandModelsService.getModules()" because "requester" is null at org.opendaylight.jsonrpc.provider.common.InbandModelsSchemaContextProvider.createSchemaContext(InbandModelsSchemaContextProvider.java:67) ... 15 more 2024-07-25 09:27:51:027 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, failureReason=Cannot invoke "org.opendaylight.jsonrpc.model.InbandModelsService.getModules()" because "requester" is null, modules=[YangIdentifier{value=jsonrpc-inband-models}], mountStatus=Failed, name=demo1, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:33573}, path={}}}} 2024-07-25 09:27:51:229 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:51:249 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:51:249 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:51:249 +0000 [main] INFO AbstractJsonRpcTest - [START]test_OpStateOnlyModel_NoGovernance 2024-07-25 09:27:51:249 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:51:249 +0000 [pool-36-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:51:250 +0000 [pool-36-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:51:255 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:51:255 +0000 [pool-36-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-07-25 09:27:51:256 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:51:298 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:51:298 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:51:299 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing peer from conf test-model-op-only 2024-07-25 09:27:51:299 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer test-model-op-only 2024-07-25 09:27:51:382 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48751}, path={}}}, modules=[YangIdentifier{value=test-model-op-only}], mountStatus=Initial, name=test-model-op-only} 2024-07-25 09:27:51:383 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48751}, path={}}}, modules=[YangIdentifier{value=test-model-op-only}], mountStatus=Processing, name=test-model-op-only} 2024-07-25 09:27:51:388 +0000 [pool-36-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'test-model-op-only' 2024-07-25 09:27:51:391 +0000 [pool-36-thread-2] ERROR JsonRPCProvider - Mount failed for peer 'test-model-op-only' java.lang.IllegalStateException: Unable to build EffectiveModelContext at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:96) at org.opendaylight.jsonrpc.model.CombinedSchemaContextProvider.createSchemaContext(CombinedSchemaContextProvider.java:45) at org.opendaylight.jsonrpc.provider.common.MappedPeerContext.(MappedPeerContext.java:72) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.doMountDevice(JsonRPCProvider.java:209) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.mountPeers(JsonRPCProvider.java:160) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotificationInternal(JsonRPCProvider.java:135) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotification(JsonRPCProvider.java:178) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.lambda$new$0(JsonRPCProvider.java:98) at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:44) at org.opendaylight.mdsal.dom.store.inmemory.InMemoryDOMStoreTreeChangePublisher.lambda$new$0(InMemoryDOMStoreTreeChangePublisher.java:43) at org.opendaylight.yangtools.util.concurrent.AbstractQueuedNotificationManager.executeBatch(AbstractQueuedNotificationManager.java:88) at org.opendaylight.yangtools.util.concurrent.AbstractBatchingExecutor$DispatcherTask.invokeWorker(AbstractBatchingExecutor.java:305) at org.opendaylight.yangtools.util.concurrent.AbstractBatchingExecutor$DispatcherTask.run(AbstractBatchingExecutor.java:292) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: resource /test-model-op-only.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found. at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2087) at com.google.common.cache.LocalCache.get(LocalCache.java:4019) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4042) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5024) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5031) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.lambda$createInternal$5(GovernanceSchemaContextProvider.java:144) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:174) at java.base/java.util.ArrayDeque$DeqSpliterator.forEachRemaining(ArrayDeque.java:848) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createInternal(GovernanceSchemaContextProvider.java:144) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:94) ... 15 more Caused by: java.lang.IllegalArgumentException: resource /test-model-op-only.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found. at com.google.common.base.Preconditions.checkArgument(Preconditions.java:445) at com.google.common.io.Resources.getResource(Resources.java:209) at org.opendaylight.jsonrpc.provider.common.MockGovernance.source(MockGovernance.java:42) at org.opendaylight.jsonrpc.model.RemoteGovernance.source(RemoteGovernance.java:68) at org.opendaylight.jsonrpc.model.RemoteGovernance.source(RemoteGovernance.java:78) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:78) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:74) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3576) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2318) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2191) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2081) ... 31 more 2024-07-25 09:27:51:393 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48751}, path={}}}, failureReason=resource /test-model-op-only.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found., modules=[YangIdentifier{value=test-model-op-only}], mountStatus=Failed, name=test-model-op-only} 2024-07-25 09:27:51:599 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #2 2024-07-25 09:27:51:600 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:51:600 +0000 [main] INFO AbstractJsonRpcTest - [END]test_OpStateOnlyModel_NoGovernance 2024-07-25 09:27:51:600 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:51:779 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:51:796 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:51:796 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:51:796 +0000 [pool-45-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:51:796 +0000 [main] INFO AbstractJsonRpcTest - [START]test_BuiltinSchemaContextProvider 2024-07-25 09:27:51:796 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:51:796 +0000 [pool-45-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:51:799 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:51:799 +0000 [pool-45-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-07-25 09:27:51:801 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:51:873 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:51:874 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:51:875 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing peer from conf test-model 2024-07-25 09:27:51:875 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer test-model 2024-07-25 09:27:51:879 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, modules=[YangIdentifier{value=test-model}], mountStatus=Initial, name=test-model, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}} 2024-07-25 09:27:51:886 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, modules=[YangIdentifier{value=test-model}], mountStatus=Processing, name=test-model, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}} 2024-07-25 09:27:51:888 +0000 [pool-45-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'test-model' 2024-07-25 09:27:51:889 +0000 [pool-45-thread-2] ERROR JsonRPCProvider - Mount failed for peer 'test-model' java.lang.IllegalStateException: Unable to build EffectiveModelContext at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:96) at org.opendaylight.jsonrpc.model.CombinedSchemaContextProvider.createSchemaContext(CombinedSchemaContextProvider.java:45) at org.opendaylight.jsonrpc.provider.common.MappedPeerContext.(MappedPeerContext.java:72) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.doMountDevice(JsonRPCProvider.java:209) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.mountPeers(JsonRPCProvider.java:160) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotificationInternal(JsonRPCProvider.java:135) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotification(JsonRPCProvider.java:178) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.lambda$new$0(JsonRPCProvider.java:98) at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:44) at org.opendaylight.mdsal.dom.store.inmemory.InMemoryDOMStoreTreeChangePublisher.lambda$new$0(InMemoryDOMStoreTreeChangePublisher.java:43) at org.opendaylight.yangtools.util.concurrent.AbstractQueuedNotificationManager.executeBatch(AbstractQueuedNotificationManager.java:88) at org.opendaylight.yangtools.util.concurrent.AbstractBatchingExecutor$DispatcherTask.invokeWorker(AbstractBatchingExecutor.java:305) at org.opendaylight.yangtools.util.concurrent.AbstractBatchingExecutor$DispatcherTask.run(AbstractBatchingExecutor.java:292) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: resource /test-model.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found. at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2087) at com.google.common.cache.LocalCache.get(LocalCache.java:4019) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4042) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5024) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5031) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.lambda$createInternal$5(GovernanceSchemaContextProvider.java:144) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:174) at java.base/java.util.ArrayDeque$DeqSpliterator.forEachRemaining(ArrayDeque.java:848) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createInternal(GovernanceSchemaContextProvider.java:144) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:94) ... 15 more Caused by: java.lang.IllegalArgumentException: resource /test-model.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found. at com.google.common.base.Preconditions.checkArgument(Preconditions.java:445) at com.google.common.io.Resources.getResource(Resources.java:209) at org.opendaylight.jsonrpc.provider.common.MockGovernance.source(MockGovernance.java:42) at org.opendaylight.jsonrpc.model.RemoteGovernance.source(RemoteGovernance.java:68) at org.opendaylight.jsonrpc.model.RemoteGovernance.source(RemoteGovernance.java:78) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:78) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:74) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3576) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2318) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2191) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2081) ... 31 more 2024-07-25 09:27:51:891 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, failureReason=resource /test-model.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found., modules=[YangIdentifier{value=test-model}], mountStatus=Failed, name=test-model, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:33021}, path={}}}} 2024-07-25 09:27:52:174 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #2 2024-07-25 09:27:52:174 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:52:175 +0000 [main] INFO AbstractJsonRpcTest - [END]test_BuiltinSchemaContextProvider 2024-07-25 09:27:52:175 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:52:313 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:52:330 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:52:330 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:52:330 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:52:330 +0000 [main] INFO AbstractJsonRpcTest - [START]testMountInvalid 2024-07-25 09:27:52:330 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:52:330 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-07-25 09:27:52:331 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:52:331 +0000 [pool-54-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-07-25 09:27:52:332 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:52:365 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:52:365 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:52:366 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing peer from conf test-model-op-only 2024-07-25 09:27:52:366 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer test-model-op-only 2024-07-25 09:27:52:402 +0000 [pool-54-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:57611}, path={}}}, modules=[YangIdentifier{value=bad-module}], mountStatus=Initial, name=test-model-op-only} 2024-07-25 09:27:52:403 +0000 [pool-54-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:57611}, path={}}}, modules=[YangIdentifier{value=bad-module}], mountStatus=Processing, name=test-model-op-only} 2024-07-25 09:27:52:406 +0000 [pool-54-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'bad-module' 2024-07-25 09:27:52:407 +0000 [pool-54-thread-2] ERROR JsonRPCProvider - Mount failed for peer 'test-model-op-only' java.lang.IllegalStateException: Unable to build EffectiveModelContext at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:96) at org.opendaylight.jsonrpc.model.CombinedSchemaContextProvider.createSchemaContext(CombinedSchemaContextProvider.java:45) at org.opendaylight.jsonrpc.provider.common.MappedPeerContext.(MappedPeerContext.java:72) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.doMountDevice(JsonRPCProvider.java:209) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.mountPeers(JsonRPCProvider.java:160) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotificationInternal(JsonRPCProvider.java:135) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotification(JsonRPCProvider.java:178) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.lambda$new$0(JsonRPCProvider.java:98) at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:44) at org.opendaylight.mdsal.dom.store.inmemory.InMemoryDOMStoreTreeChangePublisher.lambda$new$0(InMemoryDOMStoreTreeChangePublisher.java:43) at org.opendaylight.yangtools.util.concurrent.AbstractQueuedNotificationManager.executeBatch(AbstractQueuedNotificationManager.java:88) at org.opendaylight.yangtools.util.concurrent.AbstractBatchingExecutor$DispatcherTask.invokeWorker(AbstractBatchingExecutor.java:305) at org.opendaylight.yangtools.util.concurrent.AbstractBatchingExecutor$DispatcherTask.run(AbstractBatchingExecutor.java:292) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: resource /bad-module.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found. at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2087) at com.google.common.cache.LocalCache.get(LocalCache.java:4019) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4042) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5024) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5031) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.lambda$createInternal$5(GovernanceSchemaContextProvider.java:144) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:174) at java.base/java.util.ArrayDeque$DeqSpliterator.forEachRemaining(ArrayDeque.java:848) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createInternal(GovernanceSchemaContextProvider.java:144) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:94) ... 15 more Caused by: java.lang.IllegalArgumentException: resource /bad-module.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found. at com.google.common.base.Preconditions.checkArgument(Preconditions.java:445) at com.google.common.io.Resources.getResource(Resources.java:209) at org.opendaylight.jsonrpc.provider.common.MockGovernance.source(MockGovernance.java:42) at org.opendaylight.jsonrpc.model.RemoteGovernance.source(RemoteGovernance.java:68) at org.opendaylight.jsonrpc.model.RemoteGovernance.source(RemoteGovernance.java:78) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:78) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:74) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3576) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2318) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2191) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2081) ... 31 more 2024-07-25 09:27:52:409 +0000 [pool-54-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:57611}, path={}}}, failureReason=resource /bad-module.yang relative to org.opendaylight.jsonrpc.provider.common.MockGovernance not found., modules=[YangIdentifier{value=bad-module}], mountStatus=Failed, name=test-model-op-only} 2024-07-25 09:27:52:666 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2024-07-25 09:27:52:670 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-07-25 09:27:52:671 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-07-25 09:27:52:671 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Destroying mapping context of peer 'FailedPeerContext [peer=ConfiguredEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:57611}, path={}}}, modules=[YangIdentifier{value=bad-module}], name=test-model-op-only}, cause=Unable to build EffectiveModelContext]' 2024-07-25 09:27:52:672 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Device 'test-model-op-only' unmounted successfully 2024-07-25 09:27:52:672 +0000 [pool-54-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-07-25 09:27:52:971 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2024-07-25 09:27:52:972 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-07-25 09:27:52:972 +0000 [main] INFO AbstractJsonRpcTest - [END]testMountInvalid 2024-07-25 09:27:52:972 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================