2025-02-16 11:51:39:084 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:39:162 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:39:165 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:39:165 +0000 [main] INFO AbstractJsonRpcTest - [START]test_UnmountEmpty 2025-02-16 11:51:39:165 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:39:168 +0000 [pool-8-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:39:168 +0000 [pool-8-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:39:169 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:39:169 +0000 [main] INFO AbstractJsonRpcTest - [END]test_UnmountEmpty 2025-02-16 11:51:39:169 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:39:579 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:39:600 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:39:601 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:39:601 +0000 [main] INFO AbstractJsonRpcTest - [START]test_ConfigDriven 2025-02-16 11:51:39:601 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:39:601 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:39:602 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:39:618 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:39:618 +0000 [pool-18-thread-1] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2025-02-16 11:51:39:618 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:39:728 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:39:729 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:39:738 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing peer from conf demo1 2025-02-16 11:51:39:738 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Creating mapping context for peer demo1 2025-02-16 11:51:39:818 +0000 [pool-18-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:45715}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Initial, name=demo1} 2025-02-16 11:51:39:826 +0000 [pool-18-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:45715}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Processing, name=demo1} 2025-02-16 11:51:39:947 +0000 [pool-18-thread-1] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'demo1' 2025-02-16 11:51:39:998 +0000 [pool-18-thread-1] INFO JsonRPCDataBroker - Broker Instantiated for demo1 2025-02-16 11:51:40:029 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2025-02-16 11:51:40:030 +0000 [pool-18-thread-1] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => null 2025-02-16 11:51:40:030 +0000 [pool-18-thread-1] DEBUG AbstractJsonRPCComponent - [demo1][RPC] governance lookup => null 2025-02-16 11:51:40:030 +0000 [pool-18-thread-1] WARN JsonRPCtoRPCBridge - [rpc-method1] RPC 'demo1' cannot be mapped, no known endpoint 2025-02-16 11:51:40:032 +0000 [main] DEBUG JsonRPCProvider - Remounting all json rpc peers 2025-02-16 11:51:40:033 +0000 [pool-18-thread-1] INFO JsonRPCtoRPCBridge - [demo1] No RPCs mapped 2025-02-16 11:51:40:034 +0000 [pool-18-thread-1] INFO AbstractPeerContext - [demo1] DOMNotificationService not registered as no notifications has been found in schema 2025-02-16 11:51:40:058 +0000 [pool-18-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:45715}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Mounted, name=demo1} 2025-02-16 11:51:40:058 +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}]] 2025-02-16 11:51:40:060 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:40:060 +0000 [main] DEBUG JsonRPCProvider - Processing peer from conf demo1 2025-02-16 11:51:40:066 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:40:066 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:40:066 +0000 [main] INFO AbstractJsonRpcTest - [END]test_ConfigDriven 2025-02-16 11:51:40:067 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:40:354 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:40:373 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:40:373 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:40:374 +0000 [main] INFO AbstractJsonRpcTest - [START]test_InbandModelsSchemaContextProvider 2025-02-16 11:51:40:374 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:40:374 +0000 [pool-27-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:40:381 +0000 [pool-27-thread-1] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2025-02-16 11:51:40:381 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:40:387 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:40:387 +0000 [pool-27-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2025-02-16 11:51:40:469 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:40:469 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:40:469 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing peer from conf demo1 2025-02-16 11:51:40:470 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer demo1 2025-02-16 11:51:40:475 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, modules=[YangIdentifier{value=jsonrpc-inband-models}], mountStatus=Initial, name=demo1, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}} 2025-02-16 11:51:40:476 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, modules=[YangIdentifier{value=jsonrpc-inband-models}], mountStatus=Processing, name=demo1, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}} 2025-02-16 11:51:40:637 +0000 [pool-27-thread-2] INFO JsonRPCDataBroker - Broker Instantiated for demo1 2025-02-16 11:51:40:638 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:638 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [multiply-ll] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:669 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:670 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [multiply-list] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:673 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:673 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [get-any-xml] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:676 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:676 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [removeCoffeePot] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:679 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:679 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [method-with-anyxml] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:681 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:682 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [get-all-numbers] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:684 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:684 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [error-method] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:687 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:687 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [factorial] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:690 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:690 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [simple-method] RPC 'zmq://localhost:46833' mapped to demo1 2025-02-16 11:51:40:693 +0000 [pool-27-thread-2] INFO JsonRPCtoRPCBridge - [demo1] RPC bridge instantiated with 9 methods 2025-02-16 11:51:40:696 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][NOTIFICATION] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:697 +0000 [pool-27-thread-2] DEBUG JsonRPCNotificationService - Notification 'notification1' mapped to zmq://localhost:46833 2025-02-16 11:51:40:698 +0000 [pool-27-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][NOTIFICATION] map lookup => zmq://localhost:46833 2025-02-16 11:51:40:698 +0000 [pool-27-thread-2] DEBUG JsonRPCNotificationService - Notification 'notification2' mapped to zmq://localhost:46833 2025-02-16 11:51:40:700 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, modules=[YangIdentifier{value=ietf-inet-types}, YangIdentifier{value=test-model-data}, YangIdentifier{value=test-model-notification}, YangIdentifier{value=test-model-rpc}, YangIdentifier{value=network-topology}, YangIdentifier{value=ietf-yang-types}, YangIdentifier{value=test-model-base}, YangIdentifier{value=test-model-ext}, YangIdentifier{value=test-model-ext2}], mountStatus=Mounted, name=demo1, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:46833}, path={}}}} 2025-02-16 11:51:40:701 +0000 [pool-27-thread-2] 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}]] 2025-02-16 11:51:40:770 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2025-02-16 11:51:40:770 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:40:771 +0000 [main] INFO AbstractJsonRpcTest - [END]test_InbandModelsSchemaContextProvider 2025-02-16 11:51:40:771 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:41:047 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:41:065 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:41:065 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:41:065 +0000 [pool-36-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:41:066 +0000 [main] INFO AbstractJsonRpcTest - [START]test_OpStateOnlyModel_NoGovernance 2025-02-16 11:51:41:066 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:41:066 +0000 [pool-36-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:41:068 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:41:068 +0000 [pool-36-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2025-02-16 11:51:41:069 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:41:109 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:41:109 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:41:109 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing peer from conf test-model-op-only 2025-02-16 11:51:41:109 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer test-model-op-only 2025-02-16 11:51:41:155 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:55381}, path={}}}, modules=[YangIdentifier{value=test-model-op-only}], mountStatus=Initial, name=test-model-op-only} 2025-02-16 11:51:41:156 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:55381}, path={}}}, modules=[YangIdentifier{value=test-model-op-only}], mountStatus=Processing, name=test-model-op-only} 2025-02-16 11:51:41:160 +0000 [pool-36-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'test-model-op-only' 2025-02-16 11:51:41:162 +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:102) at org.opendaylight.jsonrpc.model.CombinedSchemaContextProvider.createSchemaContext(CombinedSchemaContextProvider.java:45) at org.opendaylight.jsonrpc.provider.common.MappedPeerContext.(MappedPeerContext.java:70) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.doMountDevice(JsonRPCProvider.java:211) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.mountPeers(JsonRPCProvider.java:162) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotificationInternal(JsonRPCProvider.java:137) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotification(JsonRPCProvider.java:180) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.lambda$new$0(JsonRPCProvider.java:100) at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:55) at org.opendaylight.mdsal.dom.store.inmemory.InMemoryDOMStoreTreeChangePublisher.lambda$new$0(InMemoryDOMStoreTreeChangePublisher.java:36) 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:150) 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:150) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:100) ... 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:84) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:80) 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 2025-02-16 11:51:41:168 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:55381}, 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} 2025-02-16 11:51:41:409 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #2 2025-02-16 11:51:41:410 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:41:410 +0000 [main] INFO AbstractJsonRpcTest - [END]test_OpStateOnlyModel_NoGovernance 2025-02-16 11:51:41:411 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:41:663 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:41:684 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:41:684 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:41:684 +0000 [main] INFO AbstractJsonRpcTest - [START]test_BuiltinSchemaContextProvider 2025-02-16 11:51:41:684 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:41:686 +0000 [pool-45-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:41:687 +0000 [pool-45-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:41:693 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:41:693 +0000 [pool-45-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2025-02-16 11:51:41:694 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:41:773 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:41:773 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:41:774 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing peer from conf test-model 2025-02-16 11:51:41:774 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer test-model 2025-02-16 11:51:41:779 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}, modules=[YangIdentifier{value=test-model}], mountStatus=Initial, name=test-model, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}} 2025-02-16 11:51:41:780 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}, modules=[YangIdentifier{value=test-model}], mountStatus=Processing, name=test-model, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}} 2025-02-16 11:51:41:791 +0000 [pool-45-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'test-model' 2025-02-16 11:51:41:792 +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:102) at org.opendaylight.jsonrpc.model.CombinedSchemaContextProvider.createSchemaContext(CombinedSchemaContextProvider.java:45) at org.opendaylight.jsonrpc.provider.common.MappedPeerContext.(MappedPeerContext.java:70) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.doMountDevice(JsonRPCProvider.java:211) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.mountPeers(JsonRPCProvider.java:162) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotificationInternal(JsonRPCProvider.java:137) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotification(JsonRPCProvider.java:180) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.lambda$new$0(JsonRPCProvider.java:100) at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:55) at org.opendaylight.mdsal.dom.store.inmemory.InMemoryDOMStoreTreeChangePublisher.lambda$new$0(InMemoryDOMStoreTreeChangePublisher.java:36) 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:150) 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:150) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:100) ... 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:84) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:80) 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 2025-02-16 11:51:41:796 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, 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:48737}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:48737}, path={}}}} 2025-02-16 11:51:42:073 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #2 2025-02-16 11:51:42:074 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:42:074 +0000 [main] INFO AbstractJsonRpcTest - [END]test_BuiltinSchemaContextProvider 2025-02-16 11:51:42:074 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:42:284 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:42:299 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2025-02-16 11:51:42:299 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:42:299 +0000 [main] INFO AbstractJsonRpcTest - [START]testMountInvalid 2025-02-16 11:51:42:300 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:42:302 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:42:302 +0000 [pool-54-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2025-02-16 11:51:42:303 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:42:309 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:42:309 +0000 [pool-54-thread-1] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2025-02-16 11:51:42:338 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:42:338 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:42:338 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Processing peer from conf test-model-op-only 2025-02-16 11:51:42:339 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Creating mapping context for peer test-model-op-only 2025-02-16 11:51:42:378 +0000 [pool-54-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:55861}, path={}}}, modules=[YangIdentifier{value=bad-module}], mountStatus=Initial, name=test-model-op-only} 2025-02-16 11:51:42:379 +0000 [pool-54-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:55861}, path={}}}, modules=[YangIdentifier{value=bad-module}], mountStatus=Processing, name=test-model-op-only} 2025-02-16 11:51:42:381 +0000 [pool-54-thread-1] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'bad-module' 2025-02-16 11:51:42:382 +0000 [pool-54-thread-1] 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:102) at org.opendaylight.jsonrpc.model.CombinedSchemaContextProvider.createSchemaContext(CombinedSchemaContextProvider.java:45) at org.opendaylight.jsonrpc.provider.common.MappedPeerContext.(MappedPeerContext.java:70) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.doMountDevice(JsonRPCProvider.java:211) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.mountPeers(JsonRPCProvider.java:162) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotificationInternal(JsonRPCProvider.java:137) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.processNotification(JsonRPCProvider.java:180) at org.opendaylight.jsonrpc.provider.single.JsonRPCProvider.lambda$new$0(JsonRPCProvider.java:100) at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:55) at org.opendaylight.mdsal.dom.store.inmemory.InMemoryDOMStoreTreeChangePublisher.lambda$new$0(InMemoryDOMStoreTreeChangePublisher.java:36) 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:150) 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:150) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider.createSchemaContext(GovernanceSchemaContextProvider.java:100) ... 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:84) at org.opendaylight.jsonrpc.provider.common.GovernanceSchemaContextProvider$2.load(GovernanceSchemaContextProvider.java:80) 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 2025-02-16 11:51:42:384 +0000 [pool-54-thread-1] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:55861}, 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} 2025-02-16 11:51:42:638 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2025-02-16 11:51:42:644 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Processing notification 2025-02-16 11:51:42:645 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Destroying mapping context of peer 'FailedPeerContext [peer=ConfiguredEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:55861}, path={}}}, modules=[YangIdentifier{value=bad-module}], name=test-model-op-only}, cause=Unable to build EffectiveModelContext]' 2025-02-16 11:51:42:646 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Device 'test-model-op-only' unmounted successfully 2025-02-16 11:51:42:646 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2025-02-16 11:51:42:646 +0000 [pool-54-thread-1] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2025-02-16 11:51:42:947 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2025-02-16 11:51:42:948 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2025-02-16 11:51:42:948 +0000 [main] INFO AbstractJsonRpcTest - [END]testMountInvalid 2025-02-16 11:51:42:948 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================