2024-09-21 08:36:06:738 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2024-09-21 08:36:06:739 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:41419 2024-09-21 08:36:06:739 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification1' mapped to ws://localhost:41419 2024-09-21 08:36:06:740 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41419 2024-09-21 08:36:06:740 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@586009238 2024-09-21 08:36:06:740 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] map lookup => null 2024-09-21 08:36:06:741 +0000 [main] DEBUG AbstractJsonRPCComponent - [test][NOTIFICATION] governance lookup => ws://localhost:41419 2024-09-21 08:36:06:741 +0000 [main] DEBUG JsonRPCNotificationService - Notification 'notification2' mapped to ws://localhost:41419 2024-09-21 08:36:06:741 +0000 [main] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41419 2024-09-21 08:36:06:741 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@413557766 2024-09-21 08:36:06:741 +0000 [nioEventLoopGroup-2-5] WARN AbstractReconnectingClient - Connection attempt to 'localhost/127.0.0.1:41419' failed io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:41419 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:336) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:339) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) 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) 2024-09-21 08:36:06:742 +0000 [nioEventLoopGroup-2-5] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to INITIAL [N/A]@586009238 2024-09-21 08:36:06:742 +0000 [nioEventLoopGroup-2-6] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x84af17d2, L:/127.0.0.1:50652 - R:localhost/127.0.0.1:41419]]@413557766 2024-09-21 08:36:06:743 +0000 [nioEventLoopGroup-2-6] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: 1ciejYgipXlQP9Nw95081Q==, expected response: U/Hyzf1OHvN8guefNYk3wqr4Zdg= 2024-09-21 08:36:06:744 +0000 [nioEventLoopGroup-2-9] DEBUG WebSocketServerHandshaker - [id: 0x9dbe9249, L:/127.0.0.1:41419 - R:/127.0.0.1:50652] WebSocket version V13 server handshake 2024-09-21 08:36:06:744 +0000 [nioEventLoopGroup-2-9] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: 1ciejYgipXlQP9Nw95081Q==, response: U/Hyzf1OHvN8guefNYk3wqr4Zdg= 2024-09-21 08:36:06:745 +0000 [nioEventLoopGroup-2-6] DEBUG WebSocketClientHandshake - Client connected on [id: 0x84af17d2, L:/127.0.0.1:50652 - R:localhost/127.0.0.1:41419] 2024-09-21 08:36:07:395 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":1} 2024-09-21 08:36:07:396 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : 1 2024-09-21 08:36:07:396 +0000 [defaultEventExecutorGroup-3-3] ERROR AbstractMessageListenerAdapter - Caught exception on [id: 0x84af17d2, L:/127.0.0.1:50652 - R:localhost/127.0.0.1:41419], closing channel now java.lang.IllegalArgumentException: expected one element but was: at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:322) 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.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) 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) 2024-09-21 08:36:07:397 +0000 [nioEventLoopGroup-2-6] 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:322) 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.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) 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) 2024-09-21 08:36:07:397 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":{"current-level":1,"max-level":2}} 2024-09-21 08:36:07:397 +0000 [nioEventLoopGroup-2-6] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@882004246 2024-09-21 08:36:07:398 +0000 [nioEventLoopGroup-2-6] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x84af17d2, L:/127.0.0.1:50652 ! R:localhost/127.0.0.1:41419]]@413557766 2024-09-21 08:36:07:398 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : {"current-level":1,"max-level":2} 2024-09-21 08:36:07:399 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2024-09-21T08:36:07.399074175Z, 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]}] 2024-09-21 08:36:07:399 +0000 [defaultEventExecutorGroup-3-3] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f669451f468@56c95789 with notification JsonRpcNotification [eventTime=2024-09-21T08:36:07.399074175Z, 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]}] 2024-09-21 08:36:07:399 +0000 [defaultEventExecutorGroup-3-3] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2024-09-21T08:36:07.399074175Z, 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]}] 2024-09-21 08:36:07:399 +0000 [defaultEventExecutorGroup-3-3] DEBUG NotificationHandlerAdapter - Notification : {"jsonrpc":"2.0","method":"notification1","params":[1,3]} 2024-09-21 08:36:07:400 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] input : [1,3] 2024-09-21 08:36:07:400 +0000 [defaultEventExecutorGroup-3-3] TRACE NotificationCodec - [decode][notification1] result : JsonRpcNotification [eventTime=2024-09-21T08:36:07.400833875Z, 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]}] 2024-09-21 08:36:07:401 +0000 [defaultEventExecutorGroup-3-3] DEBUG JsonRPCNotificationService - Invoking listener org.opendaylight.jsonrpc.provider.common.JsonRPCNotificationServiceTest$$Lambda/0x00007f669451f468@56c95789 with notification JsonRpcNotification [eventTime=2024-09-21T08:36:07.400833875Z, 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]}] 2024-09-21 08:36:07:401 +0000 [defaultEventExecutorGroup-3-3] INFO JsonRPCNotificationServiceTest - Received notification : JsonRpcNotification [eventTime=2024-09-21T08:36:07.400833875Z, 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]}] 2024-09-21 08:36:07:743 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41419 2024-09-21 08:36:07:743 +0000 [nioEventLoopGroup-2-8] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@586009238 2024-09-21 08:36:07:746 +0000 [nioEventLoopGroup-2-11] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xb90be957, L:/127.0.0.1:50656 - R:localhost/127.0.0.1:41419]]@586009238 2024-09-21 08:36:07:746 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: QjJQjTdJLmIxsUMJ5y0VUA==, expected response: pCjLszNZeaJAbKAu9hqJfrMvDGo= 2024-09-21 08:36:07:750 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketServerHandshaker - [id: 0x032a2458, L:/127.0.0.1:41419 - R:/127.0.0.1:50656] WebSocket version V13 server handshake 2024-09-21 08:36:07:750 +0000 [nioEventLoopGroup-2-12] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: QjJQjTdJLmIxsUMJ5y0VUA==, response: pCjLszNZeaJAbKAu9hqJfrMvDGo= 2024-09-21 08:36:07:752 +0000 [nioEventLoopGroup-2-11] DEBUG WebSocketClientHandshake - Client connected on [id: 0xb90be957, L:/127.0.0.1:50656 - R:localhost/127.0.0.1:41419] 2024-09-21 08:36:08:400 +0000 [nioEventLoopGroup-2-10] DEBUG AbstractReconnectingClient - (Re)connecting to localhost/127.0.0.1:41419 2024-09-21 08:36:08:400 +0000 [nioEventLoopGroup-2-10] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [[id: 0x84af17d2, L:/127.0.0.1:50652 ! R:localhost/127.0.0.1:41419]]@413557766 2024-09-21 08:36:08:402 +0000 [nioEventLoopGroup-2-1] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x19036f36, L:/127.0.0.1:50662 - R:localhost/127.0.0.1:41419]]@413557766 2024-09-21 08:36:08:403 +0000 [nioEventLoopGroup-2-1] DEBUG WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: SBRiEwxsVrBbrfWaVStkQw==, expected response: aLIGbJa2FoWYX9Hv95I4OHsc5kE= 2024-09-21 08:36:08:405 +0000 [nioEventLoopGroup-2-2] DEBUG WebSocketServerHandshaker - [id: 0xcd600b0b, L:/127.0.0.1:41419 - R:/127.0.0.1:50662] WebSocket version V13 server handshake 2024-09-21 08:36:08:406 +0000 [nioEventLoopGroup-2-2] DEBUG WebSocketServerHandshaker - WebSocket version 13 server handshake key: SBRiEwxsVrBbrfWaVStkQw==, response: aLIGbJa2FoWYX9Hv95I4OHsc5kE= 2024-09-21 08:36:08:408 +0000 [nioEventLoopGroup-2-1] DEBUG WebSocketClientHandshake - Client connected on [id: 0x19036f36, L:/127.0.0.1:50662 - R:localhost/127.0.0.1:41419] 2024-09-21 08:36:12:398 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractSession [PUB@ws://localhost:41419@1709175435] 2024-09-21 08:36:12:402 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:41419, sessionType=SUB, hashCode=586009238] 2024-09-21 08:36:12:403 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0xb90be957, L:/127.0.0.1:50656 - R:localhost/127.0.0.1:41419]]@586009238 2024-09-21 08:36:12:403 +0000 [nioEventLoopGroup-2-11] DEBUG DefaultChannelPipeline - Discarded inbound message CloseWebSocketFrame(data: PooledUnsafeDirectByteBuf(ridx: 0, widx: 5, cap: 5)) that reached at the tail of the pipeline. Please check your pipeline configuration. 2024-09-21 08:36:12:403 +0000 [nioEventLoopGroup-2-11] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0xb90be957, L:/127.0.0.1:50656 - R:localhost/127.0.0.1:41419]. 2024-09-21 08:36:12:404 +0000 [nioEventLoopGroup-2-1] DEBUG AbstractReconnectingClient - Scheduling reconnect because state is CONNECTED@882004246 2024-09-21 08:36:12:404 +0000 [nioEventLoopGroup-2-1] DEBUG AbstractReconnectingClient - Changing connection state from CONNECTED to INITIAL [[id: 0x19036f36, L:/127.0.0.1:50662 ! R:localhost/127.0.0.1:41419]]@413557766 2024-09-21 08:36:12:404 +0000 [nioEventLoopGroup-2-1] DEBUG DefaultChannelPipeline - Discarded inbound message CloseWebSocketFrame(data: PooledUnsafeDirectByteBuf(ridx: 0, widx: 5, cap: 5)) that reached at the tail of the pipeline. Please check your pipeline configuration. 2024-09-21 08:36:12:404 +0000 [nioEventLoopGroup-2-1] DEBUG DefaultChannelPipeline - Discarded message pipeline : [ws-decoder, ws-encoder, client-handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x19036f36, L:/127.0.0.1:50662 ! R:localhost/127.0.0.1:41419]. 2024-09-21 08:36:12:404 +0000 [main] DEBUG AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://localhost:41419, sessionType=SUB, hashCode=413557766] 2024-09-21 08:36:12:405 +0000 [main] DEBUG AbstractReconnectingClient - Changing connection state from INITIAL to DONE [[id: 0x19036f36, L:/127.0.0.1:50662 ! R:localhost/127.0.0.1:41419]]@413557766