Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build what is described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.3 WARNING: A Java agent has been loaded dynamically (/tmp/r/net/bytebuddy/byte-buddy-agent/1.15.3/byte-buddy-agent-1.15.3.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build what is described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.3 2024-12-21 08:35:34:787 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:34:832 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:34:834 +0000 [pool-8-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:34:834 +0000 [pool-8-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:34:834 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:34:835 +0000 [main] INFO AbstractJsonRpcTest - [START]test_UnmountEmpty 2024-12-21 08:35:34:835 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:34:836 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:34:836 +0000 [main] INFO AbstractJsonRpcTest - [END]test_UnmountEmpty 2024-12-21 08:35:34:836 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:166 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:188 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:35:189 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:189 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:189 +0000 [main] INFO AbstractJsonRpcTest - [START]test_ConfigDriven 2024-12-21 08:35:35:189 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:189 +0000 [pool-18-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:35:198 +0000 [pool-18-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:199 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:35:199 +0000 [pool-18-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:35:330 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:35:330 +0000 [pool-18-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:336 +0000 [pool-18-thread-2] DEBUG JsonRPCProvider - Processing peer from conf demo1 2024-12-21 08:35:35:336 +0000 [pool-18-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer demo1 2024-12-21 08:35:35:432 +0000 [pool-18-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:43949}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Initial, name=demo1} 2024-12-21 08:35:35:435 +0000 [pool-18-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:43949}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Processing, name=demo1} 2024-12-21 08:35:35:504 +0000 [pool-18-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'demo1' 2024-12-21 08:35:35:537 +0000 [pool-18-thread-2] INFO JsonRPCDataBroker - Broker Instantiated for demo1 2024-12-21 08:35:35:540 +0000 [pool-18-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => null 2024-12-21 08:35:35:540 +0000 [pool-18-thread-2] DEBUG AbstractJsonRPCComponent - [demo1][RPC] governance lookup => null 2024-12-21 08:35:35:540 +0000 [pool-18-thread-2] WARN JsonRPCtoRPCBridge - [rpc-method1] RPC 'demo1' cannot be mapped, no known endpoint 2024-12-21 08:35:35:552 +0000 [pool-18-thread-2] INFO JsonRPCtoRPCBridge - [demo1] No RPCs mapped 2024-12-21 08:35:35:553 +0000 [pool-18-thread-2] INFO AbstractPeerContext - [demo1] DOMNotificationService not registered as no notifications has been found in schema 2024-12-21 08:35:35:563 +0000 [pool-18-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:43949}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Mounted, name=demo1} 2024-12-21 08:35:35:563 +0000 [pool-18-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}]] 2024-12-21 08:35:35:636 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2024-12-21 08:35:35:638 +0000 [main] DEBUG JsonRPCProvider - Remounting all json rpc peers 2024-12-21 08:35:35:638 +0000 [main] DEBUG JsonRPCProvider - Destroying mapping context of peer '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-12-21 08:35:35:643 +0000 [main] DEBUG JsonRPCProvider - Device 'demo1' unmounted successfully 2024-12-21 08:35:35:643 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:643 +0000 [main] DEBUG JsonRPCProvider - Processing peer from conf demo1 2024-12-21 08:35:35:644 +0000 [main] DEBUG JsonRPCProvider - Creating mapping context for peer demo1 2024-12-21 08:35:35:645 +0000 [main] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:43949}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Initial, name=demo1} 2024-12-21 08:35:35:647 +0000 [main] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:43949}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Processing, name=demo1} 2024-12-21 08:35:35:649 +0000 [main] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'demo1' 2024-12-21 08:35:35:655 +0000 [main] INFO JsonRPCDataBroker - Broker Instantiated for demo1 2024-12-21 08:35:35:655 +0000 [main] DEBUG AbstractJsonRPCComponent - [demo1][RPC] map lookup => null 2024-12-21 08:35:35:655 +0000 [main] DEBUG AbstractJsonRPCComponent - [demo1][RPC] governance lookup => null 2024-12-21 08:35:35:655 +0000 [main] WARN JsonRPCtoRPCBridge - [rpc-method1] RPC 'demo1' cannot be mapped, no known endpoint 2024-12-21 08:35:35:655 +0000 [main] INFO JsonRPCtoRPCBridge - [demo1] No RPCs mapped 2024-12-21 08:35:35:656 +0000 [main] INFO AbstractPeerContext - [demo1] DOMNotificationService not registered as no notifications has been found in schema 2024-12-21 08:35:35:656 +0000 [main] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:43949}, path={}}}, modules=[YangIdentifier{value=demo1}], mountStatus=Mounted, name=demo1} 2024-12-21 08:35:35:656 +0000 [main] 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-12-21 08:35:35:659 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:35:659 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:659 +0000 [main] INFO AbstractJsonRpcTest - [END]test_ConfigDriven 2024-12-21 08:35:35:660 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:884 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:896 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:35:896 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:897 +0000 [main] INFO AbstractJsonRpcTest - [START]test_InbandModelsSchemaContextProvider 2024-12-21 08:35:35:897 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:898 +0000 [pool-27-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:898 +0000 [pool-27-thread-1] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:35:904 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:904 +0000 [pool-27-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:35:905 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:35:959 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:35:960 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Processing peer from conf demo1 2024-12-21 08:35:35:960 +0000 [pool-27-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer demo1 2024-12-21 08:35:35:963 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}, modules=[YangIdentifier{value=jsonrpc-inband-models}], mountStatus=Initial, name=demo1, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}} 2024-12-21 08:35:35:965 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}, modules=[YangIdentifier{value=jsonrpc-inband-models}], mountStatus=Processing, name=demo1, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}} 2024-12-21 08:35:35:970 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:35:970 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:970 +0000 [main] INFO AbstractJsonRpcTest - [END]test_InbandModelsSchemaContextProvider 2024-12-21 08:35:35:971 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:35:975 +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:80) 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:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 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:68) ... 15 more 2024-12-21 08:35:35:978 +0000 [pool-27-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, 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:56023}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:56023}, path={}}}} 2024-12-21 08:35:36:187 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:36:199 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:36:199 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:36:199 +0000 [pool-36-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:36:199 +0000 [main] INFO AbstractJsonRpcTest - [START]test_OpStateOnlyModel_NoGovernance 2024-12-21 08:35:36:200 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:36:202 +0000 [pool-36-thread-1] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:36:206 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:36:206 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:36:207 +0000 [pool-36-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:36:234 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:36:234 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:36:234 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Processing peer from conf test-model-op-only 2024-12-21 08:35:36:235 +0000 [pool-36-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer test-model-op-only 2024-12-21 08:35:36:262 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:44987}, path={}}}, modules=[YangIdentifier{value=test-model-op-only}], mountStatus=Initial, name=test-model-op-only} 2024-12-21 08:35:36:263 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:44987}, path={}}}, modules=[YangIdentifier{value=test-model-op-only}], mountStatus=Processing, name=test-model-op-only} 2024-12-21 08:35:36:266 +0000 [pool-36-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'test-model-op-only' 2024-12-21 08:35:36:268 +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:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 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:2085) at com.google.common.cache.LocalCache.get(LocalCache.java:4017) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4040) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4989) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4996) 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:184) at java.base/java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:174) at java.base/java.util.ArrayDeque$DeqSpliterator.forEachRemaining(ArrayDeque.java:847) 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:151) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) 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:446) 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:3574) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2316) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2189) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2079) ... 31 more 2024-12-21 08:35:36:270 +0000 [pool-36-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:44987}, 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-12-21 08:35:36:535 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #2 2024-12-21 08:35:36:536 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:36:536 +0000 [main] INFO AbstractJsonRpcTest - [END]test_OpStateOnlyModel_NoGovernance 2024-12-21 08:35:36:536 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:36:698 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:36:708 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:36:708 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:36:708 +0000 [pool-45-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:36:709 +0000 [main] INFO AbstractJsonRpcTest - [START]test_BuiltinSchemaContextProvider 2024-12-21 08:35:36:709 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:36:711 +0000 [pool-45-thread-1] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:36:712 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:36:717 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:36:718 +0000 [pool-45-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:36:753 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:36:753 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:36:753 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Processing peer from conf test-model 2024-12-21 08:35:36:754 +0000 [pool-45-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer test-model 2024-12-21 08:35:36:758 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}, modules=[YangIdentifier{value=test-model}], mountStatus=Initial, name=test-model, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}} 2024-12-21 08:35:36:759 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}, modules=[YangIdentifier{value=test-model}], mountStatus=Processing, name=test-model, notificationEndpoints={NotificationEndpointsKey{path={}}=NotificationEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}} 2024-12-21 08:35:36:763 +0000 [pool-45-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'test-model' 2024-12-21 08:35:36:764 +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:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 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:2085) at com.google.common.cache.LocalCache.get(LocalCache.java:4017) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4040) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4989) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4996) 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:184) at java.base/java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:174) at java.base/java.util.ArrayDeque$DeqSpliterator.forEachRemaining(ArrayDeque.java:847) 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:151) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) 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:446) 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:3574) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2316) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2189) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2079) ... 31 more 2024-12-21 08:35:36:766 +0000 [pool-45-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataConfigEndpoints={DataConfigEndpointsKey{path={}}=DataConfigEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}, dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, 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:48451}, path={}}}, rpcEndpoints={RpcEndpointsKey{path={}}=RpcEndpoints{endpointUri=Uri{value=zmq://localhost:48451}, path={}}}} 2024-12-21 08:35:37:054 +0000 [Time-limited test] INFO AbstractJsonRpcTest - Try #2 2024-12-21 08:35:37:055 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:37:055 +0000 [main] INFO AbstractJsonRpcTest - [END]test_BuiltinSchemaContextProvider 2024-12-21 08:35:37:055 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:37:188 +0000 [main] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:37:201 +0000 [main] DEBUG JsonRPCProvider - No configured endpoints 2024-12-21 08:35:37:201 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:37:201 +0000 [main] INFO AbstractJsonRpcTest - [START]testMountInvalid 2024-12-21 08:35:37:201 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:37:202 +0000 [pool-54-thread-1] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:37:203 +0000 [pool-54-thread-1] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:37:206 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:37:207 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:37:207 +0000 [pool-54-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:37:230 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:37:230 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing peer from conf test-model-op-only 2024-12-21 08:35:37:230 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Creating mapping context for peer test-model-op-only 2024-12-21 08:35:37:234 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:37:251 +0000 [pool-54-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:46423}, path={}}}, modules=[YangIdentifier{value=bad-module}], mountStatus=Initial, name=test-model-op-only} 2024-12-21 08:35:37:252 +0000 [pool-54-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:46423}, path={}}}, modules=[YangIdentifier{value=bad-module}], mountStatus=Processing, name=test-model-op-only} 2024-12-21 08:35:37:255 +0000 [pool-54-thread-2] DEBUG GovernanceSchemaContextProvider - Resolving dependencies of 'bad-module' 2024-12-21 08:35:37:255 +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: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:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) 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:2085) at com.google.common.cache.LocalCache.get(LocalCache.java:4017) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4040) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4989) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4996) 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:184) at java.base/java.util.stream.DistinctOps$1$2.accept(DistinctOps.java:174) at java.base/java.util.ArrayDeque$DeqSpliterator.forEachRemaining(ArrayDeque.java:847) 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:151) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) 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:446) 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:3574) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2316) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2189) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2079) ... 31 more 2024-12-21 08:35:37:257 +0000 [pool-54-thread-2] DEBUG AbstractPeerContext - Changing op state to ActualEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:46423}, 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-12-21 08:35:37:535 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2024-12-21 08:35:37:539 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Processing notification 2024-12-21 08:35:37:539 +0000 [main] INFO AbstractJsonRpcTest - Try #1 2024-12-21 08:35:37:539 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Destroying mapping context of peer 'FailedPeerContext [peer=ConfiguredEndpoints{dataOperationalEndpoints={DataOperationalEndpointsKey{path={}}=DataOperationalEndpoints{endpointUri=Uri{value=zmq://localhost:46423}, path={}}}, modules=[YangIdentifier{value=bad-module}], name=test-model-op-only}, cause=Unable to build EffectiveModelContext]' 2024-12-21 08:35:37:541 +0000 [pool-54-thread-2] DEBUG JsonRPCProvider - Device 'test-model-op-only' unmounted successfully 2024-12-21 08:35:37:541 +0000 [pool-54-thread-2] INFO JsonRPCProvider - JSON RPC Provider configuration absent 2024-12-21 08:35:37:840 +0000 [main] INFO AbstractJsonRpcTest - Try #2 2024-12-21 08:35:37:841 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================ 2024-12-21 08:35:37:841 +0000 [main] INFO AbstractJsonRpcTest - [END]testMountInvalid 2024-12-21 08:35:37:841 +0000 [main] INFO AbstractJsonRpcTest - ================================================================================