2026-03-14 13:00:16:780 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2026-03-14 13:00:16:780 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:60173 2026-03-14 13:00:16:780 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification1' mapped to ws://localhost:60173 2026-03-14 13:00:16:781 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:60173 2026-03-14 13:00:16:781 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@438862179 2026-03-14 13:00:16:781 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2026-03-14 13:00:16:782 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:60173 2026-03-14 13:00:16:782 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification2' mapped to ws://localhost:60173 2026-03-14 13:00:16:782 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:60173 2026-03-14 13:00:16:782 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@323284516 2026-03-14 13:00:16:782 +0000 [multiThreadIoEventLoopGroup-2-6] WARN AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:60173' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:60173 Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.Net.pollConnect(Native Method) at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:694) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:973) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:330) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:384) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:432) at io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:388) at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:596) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:571) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:512) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:484) at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:1583) 2026-03-14 13:00:16:782 +0000 [multiThreadIoEventLoopGroup-2-6] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [N/A]@438862179 2026-03-14 13:00:16:783 +0000 [multiThreadIoEventLoopGroup-2-7] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x2160dac4, L:/127.0.0.1:52432 - R:localhost/127.0.0.1:60173]]@323284516 2026-03-14 13:00:16:784 +0000 [multiThreadIoEventLoopGroup-2-7] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: nQ9463H1LBQ/Ndp57b5WpA==, expected response: Q6xrx/Hmg/MVRuUH/zXoWjaUqZk= 2026-03-14 13:00:16:785 +0000 [multiThreadIoEventLoopGroup-2-10] DEBUG WebSocketServerHandshaker - [id: 0x6595817c, L:/127.0.0.1:60173 - R:/127.0.0.1:52432] WebSocket version V13 server handshake 2026-03-14 13:00:16:785 +0000 [multiThreadIoEventLoopGroup-2-10] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: nQ9463H1LBQ/Ndp57b5WpA==, response: Q6xrx/Hmg/MVRuUH/zXoWjaUqZk= 2026-03-14 13:00:16:786 +0000 [multiThreadIoEventLoopGroup-2-7] DEBUG WebSocketClientHandshake - Client connected on [id: 0x2160dac4, L:/127.0.0.1:52432 - R:localhost/127.0.0.1:60173] 2026-03-14 13:00:17:437 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":1} 2026-03-14 13:00:17:438 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : 1 2026-03-14 13:00:17:438 +0000 [defaultEventExecutorGroup-3-3] ERROR AbstractMessageListenerAdapter - Caught exception on [id: 0x2160dac4, L:/127.0.0.1:52432 - R:localhost/127.0.0.1:60173], closing channel now java.lang.IllegalArgumentException: expected one element but was: at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:326) at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:263) at org.opendaylight.jsonrpc.dom.codec.RpcNotificationBaseCodec.wrapPrimitive(RpcNotificationBaseCodec.java:72) at org.opendaylight.jsonrpc.dom.codec.RpcNotificationBaseCodec.wrapInputIfNecessary(RpcNotificationBaseCodec.java:62) at org.opendaylight.jsonrpc.dom.codec.NotificationCodec.deserialize(NotificationCodec.java:50) at org.opendaylight.jsonrpc.dom.codec.NotificationCodec.deserialize(NotificationCodec.java:31) at org.opendaylight.jsonrpc.impl.JsonRPCNotificationService.handleNotification(JsonRPCNotificationService.java:134) at org.opendaylight.jsonrpc.bus.messagelib.SubscriberHandlerAdapter.handleNotification(SubscriberHandlerAdapter.java:31) at org.opendaylight.jsonrpc.bus.messagelib.NotificationHandlerAdapter.onMessage(NotificationHandlerAdapter.java:44) at org.opendaylight.jsonrpc.bus.spi.AbstractMessageListenerAdapter.processResponse(AbstractMessageListenerAdapter.java:38) at org.opendaylight.jsonrpc.bus.http.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:39) at org.opendaylight.jsonrpc.bus.http.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:26) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356) at io.netty.channel.AbstractChannelHandlerContext.lambda$fireChannelRead$2(AbstractChannelHandlerContext.java:365) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:148) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:1583) 2026-03-14 13:00:17:439 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":{"current-level":1,"max-level":2}} 2026-03-14 13:00:17:439 +0000 [multiThreadIoEventLoopGroup-2-7] WARN DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. java.lang.IllegalArgumentException: expected one element but was: at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:326) at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:263) at org.opendaylight.jsonrpc.dom.codec.RpcNotificationBaseCodec.wrapPrimitive(RpcNotificationBaseCodec.java:72) at org.opendaylight.jsonrpc.dom.codec.RpcNotificationBaseCodec.wrapInputIfNecessary(RpcNotificationBaseCodec.java:62) at org.opendaylight.jsonrpc.dom.codec.NotificationCodec.deserialize(NotificationCodec.java:50) at org.opendaylight.jsonrpc.dom.codec.NotificationCodec.deserialize(NotificationCodec.java:31) at org.opendaylight.jsonrpc.impl.JsonRPCNotificationService.handleNotification(JsonRPCNotificationService.java:134) at org.opendaylight.jsonrpc.bus.messagelib.SubscriberHandlerAdapter.handleNotification(SubscriberHandlerAdapter.java:31) at org.opendaylight.jsonrpc.bus.messagelib.NotificationHandlerAdapter.onMessage(NotificationHandlerAdapter.java:44) at org.opendaylight.jsonrpc.bus.spi.AbstractMessageListenerAdapter.processResponse(AbstractMessageListenerAdapter.java:38) at org.opendaylight.jsonrpc.bus.http.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:39) at org.opendaylight.jsonrpc.bus.http.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:26) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356) at io.netty.channel.AbstractChannelHandlerContext.lambda$fireChannelRead$2(AbstractChannelHandlerContext.java:365) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:148) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:1583) 2026-03-14 13:00:17:439 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : {"current-level":1,"max-level":2} 2026-03-14 13:00:17:440 +0000 [multiThreadIoEventLoopGroup-2-7] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@926764878 2026-03-14 13:00:17:440 +0000 [multiThreadIoEventLoopGroup-2-7] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x2160dac4, L:/127.0.0.1:52432 ! R:localhost/127.0.0.1:60173]]@323284516 2026-03-14 13:00:17:440 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2026-03-14T13:00:17.440799647Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2026-03-14 13:00:17:441 +0000 [defaultEventExecutorGroup-3-3] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f5f745167d8@2f3ba597 with notification JsonRpcNotification [eventTime=2026-03-14T13:00:17.440799647Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2026-03-14 13:00:17:441 +0000 [defaultEventExecutorGroup-3-3] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2026-03-14T13:00:17.440799647Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=2}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2026-03-14 13:00:17:441 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":[1,3]} 2026-03-14 13:00:17:441 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : [1,3] 2026-03-14 13:00:17:441 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2026-03-14T13:00:17.441887540Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=3}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2026-03-14 13:00:17:442 +0000 [defaultEventExecutorGroup-3-3] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f5f745167d8@2f3ba597 with notification JsonRpcNotification [eventTime=2026-03-14T13:00:17.441887540Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=3}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2026-03-14 13:00:17:442 +0000 [defaultEventExecutorGroup-3-3] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2026-03-14T13:00:17.441887540Z, content=ImmutableContainerNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1, body=[ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)current-level, body=1}, ImmutableLeafNode{name=(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)max-level, body=3}]}, schemaPath=Absolute{qnames=[(urn:opendaylight:jsonrpc:test-notif?revision=2020-10-14)notification1]}] 2026-03-14 13:00:17:783 +0000 [multiThreadIoEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:60173 2026-03-14 13:00:17:784 +0000 [multiThreadIoEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@438862179 2026-03-14 13:00:17:786 +0000 [multiThreadIoEventLoopGroup-2-12] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x9f22a191, L:/127.0.0.1:52446 - R:localhost/127.0.0.1:60173]]@438862179 2026-03-14 13:00:17:786 +0000 [multiThreadIoEventLoopGroup-2-12] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: KYzurvb9vAGmH4fgHB+CWQ==, expected response: 4wwxema3klL6bCQZDhJXYX7pAJA= 2026-03-14 13:00:17:789 +0000 [multiThreadIoEventLoopGroup-2-1] DEBUG WebSocketServerHandshaker - [id: 0x9dee851a, L:/127.0.0.1:60173 - R:/127.0.0.1:52446] WebSocket version V13 server handshake 2026-03-14 13:00:17:789 +0000 [multiThreadIoEventLoopGroup-2-1] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: KYzurvb9vAGmH4fgHB+CWQ==, response: 4wwxema3klL6bCQZDhJXYX7pAJA= 2026-03-14 13:00:17:791 +0000 [multiThreadIoEventLoopGroup-2-12] DEBUG WebSocketClientHandshake - Client connected on [id: 0x9f22a191, L:/127.0.0.1:52446 - R:localhost/127.0.0.1:60173] 2026-03-14 13:00:18:441 +0000 [multiThreadIoEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:60173 2026-03-14 13:00:18:441 +0000 [multiThreadIoEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x2160dac4, L:/127.0.0.1:52432 ! R:localhost/127.0.0.1:60173]]@323284516 2026-03-14 13:00:18:443 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x27860716, L:/127.0.0.1:52462 - R:localhost/127.0.0.1:60173]]@323284516 2026-03-14 13:00:18:444 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: s8NszCDZctvRsllCG3NgcA==, expected response: RPGmTlMuvUPiwKcyTLsJEFZuoWc= 2026-03-14 13:00:18:446 +0000 [multiThreadIoEventLoopGroup-2-3] DEBUG WebSocketServerHandshaker - [id: 0xce2f9690, L:/127.0.0.1:60173 - R:/127.0.0.1:52462] WebSocket version V13 server handshake 2026-03-14 13:00:18:447 +0000 [multiThreadIoEventLoopGroup-2-3] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: s8NszCDZctvRsllCG3NgcA==, response: RPGmTlMuvUPiwKcyTLsJEFZuoWc= 2026-03-14 13:00:18:448 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG WebSocketClientHandshake - Client connected on [id: 0x27860716, L:/127.0.0.1:52462 - R:localhost/127.0.0.1:60173] 2026-03-14 13:00:22:438 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractSession [PUB@ws://localhost:60173@1297439621] 2026-03-14 13:00:22:440 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:60173, sessionType=SUB, hashCode=438862179] 2026-03-14 13:00:22:440 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x9f22a191, L:/127.0.0.1:52446 - R:localhost/127.0.0.1:60173]]@438862179 2026-03-14 13:00:22:440 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@926764878 2026-03-14 13:00:22:440 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x27860716, L:/127.0.0.1:52462 ! R:localhost/127.0.0.1:60173]]@323284516 2026-03-14 13:00:22:441 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG DefaultChannelPipeline - Discarded inbound message CloseWebSocketFrame(data: AdaptivePoolingAllocator$AdaptiveByteBuf(ridx: 0, widx: 5, cap: 5)) that reached at the tail of the pipeline. Please check your pipeline configuration. 2026-03-14 13:00:22:441 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x27860716, L:/127.0.0.1:52462 ! R:localhost/127.0.0.1:60173]. 2026-03-14 13:00:22:441 +0000 [multiThreadIoEventLoopGroup-2-12] DEBUG DefaultChannelPipeline - Discarded inbound message CloseWebSocketFrame(data: AdaptivePoolingAllocator$AdaptiveByteBuf(ridx: 0, widx: 5, cap: 5)) that reached at the tail of the pipeline. Please check your pipeline configuration. 2026-03-14 13:00:22:441 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=INITIAL, uri=ws://localhost:60173, sessionType=SUB, hashCode=323284516] 2026-03-14 13:00:22:441 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to DONE [[id: 0x27860716, L:/127.0.0.1:52462 ! R:localhost/127.0.0.1:60173]]@323284516 2026-03-14 13:00:22:441 +0000 [multiThreadIoEventLoopGroup-2-12] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x9f22a191, L:/127.0.0.1:52446 ! R:localhost/127.0.0.1:60173].