2026-01-31 18:50:41:499 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2026-01-31 18:50:41:499 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:44827 2026-01-31 18:50:41:499 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification2' mapped to ws://localhost:44827 2026-01-31 18:50:41:500 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:44827 2026-01-31 18:50:41:500 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@703190139 2026-01-31 18:50:41:500 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2026-01-31 18:50:41:500 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:44827 2026-01-31 18:50:41:500 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification1' mapped to ws://localhost:44827 2026-01-31 18:50:41:500 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:44827 2026-01-31 18:50:41:501 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1724321304 2026-01-31 18:50:41:501 +0000 [multiThreadIoEventLoopGroup-2-7] WARN AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:44827' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:44827 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:682) 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:381) at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:587) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:562) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:503) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:475) 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-01-31 18:50:41:502 +0000 [multiThreadIoEventLoopGroup-2-7] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [N/A]@703190139 2026-01-31 18:50:41:503 +0000 [multiThreadIoEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x6e78684d, L:/127.0.0.1:59064 - R:localhost/127.0.0.1:44827]]@1724321304 2026-01-31 18:50:41:503 +0000 [multiThreadIoEventLoopGroup-2-8] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: kM7IQJr926qrnGzgBVVnhQ==, expected response: yS9ddf2LaTWmIIsyvO6c0mtTkew= 2026-01-31 18:50:41:505 +0000 [multiThreadIoEventLoopGroup-2-11] DEBUG WebSocketServerHandshaker - [id: 0x562949cb, L:/127.0.0.1:44827 - R:/127.0.0.1:59064] WebSocket version V13 server handshake 2026-01-31 18:50:41:505 +0000 [multiThreadIoEventLoopGroup-2-11] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: kM7IQJr926qrnGzgBVVnhQ==, response: yS9ddf2LaTWmIIsyvO6c0mtTkew= 2026-01-31 18:50:41:507 +0000 [multiThreadIoEventLoopGroup-2-8] DEBUG WebSocketClientHandshake - Client connected on [id: 0x6e78684d, L:/127.0.0.1:59064 - R:localhost/127.0.0.1:44827] 2026-01-31 18:50:42:156 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":1} 2026-01-31 18:50:42:156 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : 1 2026-01-31 18:50:42:156 +0000 [defaultEventExecutorGroup-3-3] ERROR AbstractMessageListenerAdapter - Caught exception on [id: 0x6e78684d, L:/127.0.0.1:59064 - R:localhost/127.0.0.1:44827], 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:262) 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-01-31 18:50:42:157 +0000 [multiThreadIoEventLoopGroup-2-8] 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:262) 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-01-31 18:50:42:157 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":{"current-level":1,"max-level":2}} 2026-01-31 18:50:42:158 +0000 [multiThreadIoEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@2040241407 2026-01-31 18:50:42:158 +0000 [multiThreadIoEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x6e78684d, L:/127.0.0.1:59064 ! R:localhost/127.0.0.1:44827]]@1724321304 2026-01-31 18:50:42:158 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : {"current-level":1,"max-level":2} 2026-01-31 18:50:42:159 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2026-01-31T18:50:42.159375278Z, 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-01-31 18:50:42:159 +0000 [defaultEventExecutorGroup-3-3] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f304c516708@77d5c4c6 with notification JsonRpcNotification [eventTime=2026-01-31T18:50:42.159375278Z, 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-01-31 18:50:42:159 +0000 [defaultEventExecutorGroup-3-3] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2026-01-31T18:50:42.159375278Z, 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-01-31 18:50:42:160 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":[1,3]} 2026-01-31 18:50:42:160 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : [1,3] 2026-01-31 18:50:42:161 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2026-01-31T18:50:42.161067675Z, 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-01-31 18:50:42:161 +0000 [defaultEventExecutorGroup-3-3] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f304c516708@77d5c4c6 with notification JsonRpcNotification [eventTime=2026-01-31T18:50:42.161067675Z, 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-01-31 18:50:42:161 +0000 [defaultEventExecutorGroup-3-3] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2026-01-31T18:50:42.161067675Z, 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-01-31 18:50:42:503 +0000 [multiThreadIoEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:44827 2026-01-31 18:50:42:503 +0000 [multiThreadIoEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@703190139 2026-01-31 18:50:42:504 +0000 [multiThreadIoEventLoopGroup-2-1] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x8b14ec17, L:/127.0.0.1:59076 - R:localhost/127.0.0.1:44827]]@703190139 2026-01-31 18:50:42:504 +0000 [multiThreadIoEventLoopGroup-2-1] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: oECOjP1i60EPseitDeSnwA==, expected response: +ygkIRXbL4lPpYqnbf5D9zOJZMw= 2026-01-31 18:50:42:507 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG WebSocketServerHandshaker - [id: 0xf6359fb8, L:/127.0.0.1:44827 - R:/127.0.0.1:59076] WebSocket version V13 server handshake 2026-01-31 18:50:42:507 +0000 [multiThreadIoEventLoopGroup-2-2] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: oECOjP1i60EPseitDeSnwA==, response: +ygkIRXbL4lPpYqnbf5D9zOJZMw= 2026-01-31 18:50:42:509 +0000 [multiThreadIoEventLoopGroup-2-1] DEBUG WebSocketClientHandshake - Client connected on [id: 0x8b14ec17, L:/127.0.0.1:59076 - R:localhost/127.0.0.1:44827] 2026-01-31 18:50:43:159 +0000 [multiThreadIoEventLoopGroup-2-12] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:44827 2026-01-31 18:50:43:159 +0000 [multiThreadIoEventLoopGroup-2-12] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x6e78684d, L:/127.0.0.1:59064 ! R:localhost/127.0.0.1:44827]]@1724321304 2026-01-31 18:50:43:161 +0000 [multiThreadIoEventLoopGroup-2-3] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xc474599a, L:/127.0.0.1:59084 - R:localhost/127.0.0.1:44827]]@1724321304 2026-01-31 18:50:43:161 +0000 [multiThreadIoEventLoopGroup-2-3] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: aw+yFCZdJ8HYcHFX3KdBRQ==, expected response: YM2H25mlpEWKscWh9nvVRoCMSEQ= 2026-01-31 18:50:43:163 +0000 [multiThreadIoEventLoopGroup-2-4] DEBUG WebSocketServerHandshaker - [id: 0xaa49cb4b, L:/127.0.0.1:44827 - R:/127.0.0.1:59084] WebSocket version V13 server handshake 2026-01-31 18:50:43:164 +0000 [multiThreadIoEventLoopGroup-2-4] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: aw+yFCZdJ8HYcHFX3KdBRQ==, response: YM2H25mlpEWKscWh9nvVRoCMSEQ= 2026-01-31 18:50:43:166 +0000 [multiThreadIoEventLoopGroup-2-3] DEBUG WebSocketClientHandshake - Client connected on [id: 0xc474599a, L:/127.0.0.1:59084 - R:localhost/127.0.0.1:44827] 2026-01-31 18:50:47:158 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractSession [PUB@ws://localhost:44827@387608529] 2026-01-31 18:50:47:159 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:44827, sessionType=SUB, hashCode=703190139] 2026-01-31 18:50:47:160 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x8b14ec17, L:/127.0.0.1:59076 - R:localhost/127.0.0.1:44827]]@703190139 2026-01-31 18:50:47:160 +0000 [multiThreadIoEventLoopGroup-2-3] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@2040241407 2026-01-31 18:50:47:160 +0000 [multiThreadIoEventLoopGroup-2-3] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0xc474599a, L:/127.0.0.1:59084 ! R:localhost/127.0.0.1:44827]]@1724321304 2026-01-31 18:50:47:161 +0000 [multiThreadIoEventLoopGroup-2-3] 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-01-31 18:50:47:161 +0000 [multiThreadIoEventLoopGroup-2-3] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0xc474599a, L:/127.0.0.1:59084 ! R:localhost/127.0.0.1:44827]. 2026-01-31 18:50:47:163 +0000 [multiThreadIoEventLoopGroup-2-1] 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-01-31 18:50:47:163 +0000 [multiThreadIoEventLoopGroup-2-1] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x8b14ec17, L:/127.0.0.1:59076 ! R:localhost/127.0.0.1:44827]. 2026-01-31 18:50:47:163 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=INITIAL, uri=ws://localhost:44827, sessionType=SUB, hashCode=1724321304] 2026-01-31 18:50:47:163 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to DONE [[id: 0xc474599a, L:/127.0.0.1:59084 ! R:localhost/127.0.0.1:44827]]@1724321304