2025-09-06 08:34:50:682 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2025-09-06 08:34:50:682 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:40513 2025-09-06 08:34:50:682 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification2' mapped to ws://localhost:40513 2025-09-06 08:34:50:683 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:40513 2025-09-06 08:34:50:683 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@781231070 2025-09-06 08:34:50:685 +0000 [nioEventLoopGroup-2-3] WARN AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:40513' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:40513 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:575) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:550) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:491) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:468) at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:206) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:177) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1073) 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) 2025-09-06 08:34:50:685 +0000 [nioEventLoopGroup-2-3] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [N/A]@781231070 2025-09-06 08:34:50:685 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2025-09-06 08:34:50:685 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:40513 2025-09-06 08:34:50:685 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification1' mapped to ws://localhost:40513 2025-09-06 08:34:50:686 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:40513 2025-09-06 08:34:50:686 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1657585045 2025-09-06 08:34:50:688 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x2131f167, L:/127.0.0.1:56538 - R:localhost/127.0.0.1:40513]]@1657585045 2025-09-06 08:34:50:688 +0000 [nioEventLoopGroup-2-5] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: TzcNZs+KL7ipd60Fr8Obkg==, expected response: n6Y7fkOUu//rsOR24xPZhntp+lA= 2025-09-06 08:34:50:691 +0000 [nioEventLoopGroup-2-7] DEBUG WebSocketServerHandshaker - [id: 0x69e829c5, L:/127.0.0.1:40513 - R:/127.0.0.1:56538] WebSocket version V13 server handshake 2025-09-06 08:34:50:691 +0000 [nioEventLoopGroup-2-7] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: TzcNZs+KL7ipd60Fr8Obkg==, response: n6Y7fkOUu//rsOR24xPZhntp+lA= 2025-09-06 08:34:50:692 +0000 [nioEventLoopGroup-2-5] DEBUG WebSocketClientHandshake - Client connected on [id: 0x2131f167, L:/127.0.0.1:56538 - R:localhost/127.0.0.1:40513] 2025-09-06 08:34:51:341 +0000 [defaultEventExecutorGroup-3-2] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":1} 2025-09-06 08:34:51:342 +0000 [defaultEventExecutorGroup-3-2] TRACE NotificationCodec - [decode][notification1] input : 1 2025-09-06 08:34:51:342 +0000 [defaultEventExecutorGroup-3-2] ERROR AbstractMessageListenerAdapter - Caught exception on [id: 0x2131f167, L:/127.0.0.1:56538 - R:localhost/127.0.0.1:40513], 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:357) at io.netty.channel.AbstractChannelHandlerContext.lambda$fireChannelRead$2(AbstractChannelHandlerContext.java:366) 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:1073) 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) 2025-09-06 08:34:51:343 +0000 [nioEventLoopGroup-2-5] 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:357) at io.netty.channel.AbstractChannelHandlerContext.lambda$fireChannelRead$2(AbstractChannelHandlerContext.java:366) 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:1073) 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) 2025-09-06 08:34:51:343 +0000 [defaultEventExecutorGroup-3-2] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":{"current-level":1,"max-level":2}} 2025-09-06 08:34:51:344 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@330228787 2025-09-06 08:34:51:344 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x2131f167, L:/127.0.0.1:56538 ! R:localhost/127.0.0.1:40513]]@1657585045 2025-09-06 08:34:51:344 +0000 [defaultEventExecutorGroup-3-2] TRACE NotificationCodec - [decode][notification1] input : {"current-level":1,"max-level":2} 2025-09-06 08:34:51:345 +0000 [defaultEventExecutorGroup-3-2] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2025-09-06T08:34:51.345784121Z, 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]}] 2025-09-06 08:34:51:346 +0000 [defaultEventExecutorGroup-3-2] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007fd65c502ff8@c7485d2 with notification JsonRpcNotification [eventTime=2025-09-06T08:34:51.345784121Z, 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]}] 2025-09-06 08:34:51:346 +0000 [defaultEventExecutorGroup-3-2] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2025-09-06T08:34:51.345784121Z, 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]}] 2025-09-06 08:34:51:346 +0000 [defaultEventExecutorGroup-3-2] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":[1,3]} 2025-09-06 08:34:51:347 +0000 [defaultEventExecutorGroup-3-2] TRACE NotificationCodec - [decode][notification1] input : [1,3] 2025-09-06 08:34:51:347 +0000 [defaultEventExecutorGroup-3-2] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2025-09-06T08:34:51.347884514Z, 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]}] 2025-09-06 08:34:51:348 +0000 [defaultEventExecutorGroup-3-2] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007fd65c502ff8@c7485d2 with notification JsonRpcNotification [eventTime=2025-09-06T08:34:51.347884514Z, 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]}] 2025-09-06 08:34:51:348 +0000 [defaultEventExecutorGroup-3-2] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2025-09-06T08:34:51.347884514Z, 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]}] 2025-09-06 08:34:51:686 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:40513 2025-09-06 08:34:51:687 +0000 [nioEventLoopGroup-2-4] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@781231070 2025-09-06 08:34:51:689 +0000 [nioEventLoopGroup-2-9] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x48808248, L:/127.0.0.1:56548 - R:localhost/127.0.0.1:40513]]@781231070 2025-09-06 08:34:51:690 +0000 [nioEventLoopGroup-2-9] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: 2bEEKrYZE4eVgHe2GEHHuw==, expected response: TujGEB1d0GIJg4jNU/r4clKjt/w= 2025-09-06 08:34:51:692 +0000 [nioEventLoopGroup-2-10] DEBUG WebSocketServerHandshaker - [id: 0x0cc195ea, L:/127.0.0.1:40513 - R:/127.0.0.1:56548] WebSocket version V13 server handshake 2025-09-06 08:34:51:693 +0000 [nioEventLoopGroup-2-10] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: 2bEEKrYZE4eVgHe2GEHHuw==, response: TujGEB1d0GIJg4jNU/r4clKjt/w= 2025-09-06 08:34:51:695 +0000 [nioEventLoopGroup-2-9] DEBUG WebSocketClientHandshake - Client connected on [id: 0x48808248, L:/127.0.0.1:56548 - R:localhost/127.0.0.1:40513] 2025-09-06 08:34:52:346 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:40513 2025-09-06 08:34:52:346 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x2131f167, L:/127.0.0.1:56538 ! R:localhost/127.0.0.1:40513]]@1657585045 2025-09-06 08:34:52:348 +0000 [nioEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x29a1ce16, L:/127.0.0.1:56558 - R:localhost/127.0.0.1:40513]]@1657585045 2025-09-06 08:34:52:349 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: 56SDI2AWnDw6QUV5hCwy4Q==, expected response: rfFOc7qiACgUjkO/95H0hSxCDX0= 2025-09-06 08:34:52:351 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketServerHandshaker - [id: 0xebf345de, L:/127.0.0.1:40513 - R:/127.0.0.1:56558] WebSocket version V13 server handshake 2025-09-06 08:34:52:351 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: 56SDI2AWnDw6QUV5hCwy4Q==, response: rfFOc7qiACgUjkO/95H0hSxCDX0= 2025-09-06 08:34:52:353 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketClientHandshake - Client connected on [id: 0x29a1ce16, L:/127.0.0.1:56558 - R:localhost/127.0.0.1:40513] 2025-09-06 08:34:56:344 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractSession [PUB@ws://localhost:40513@449204547] 2025-09-06 08:34:56:345 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:40513, sessionType=SUB, hashCode=781231070] 2025-09-06 08:34:56:345 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x48808248, L:/127.0.0.1:56548 - R:localhost/127.0.0.1:40513]]@781231070 2025-09-06 08:34:56:346 +0000 [nioEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@330228787 2025-09-06 08:34:56:346 +0000 [nioEventLoopGroup-2-9] 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. 2025-09-06 08:34:56:346 +0000 [nioEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x29a1ce16, L:/127.0.0.1:56558 ! R:localhost/127.0.0.1:40513]]@1657585045 2025-09-06 08:34:56:346 +0000 [nioEventLoopGroup-2-9] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x48808248, L:/127.0.0.1:56548 ! R:localhost/127.0.0.1:40513]. 2025-09-06 08:34:56:346 +0000 [nioEventLoopGroup-2-11] 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. 2025-09-06 08:34:56:346 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=INITIAL, uri=ws://localhost:40513, sessionType=SUB, hashCode=1657585045] 2025-09-06 08:34:56:346 +0000 [nioEventLoopGroup-2-11] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x29a1ce16, L:/127.0.0.1:56558 ! R:localhost/127.0.0.1:40513]. 2025-09-06 08:34:56:346 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to DONE [[id: 0x29a1ce16, L:/127.0.0.1:56558 ! R:localhost/127.0.0.1:40513]]@1657585045