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 SLF4J(W): Class path contains multiple SLF4J providers. SLF4J(W): Found provider [ch.qos.logback.classic.spi.LogbackServiceProvider@28157173] SLF4J(W): Found provider [org.slf4j.simple.SimpleServiceProvider@11c713b7] SLF4J(W): See https://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J(I): Actual provider is of type [ch.qos.logback.classic.spi.LogbackServiceProvider@28157173] 19:15:33.334 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory -- Using SLF4J as the default logging framework 19:15:33.339 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap -- -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 19:15:33.339 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap -- -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 19:15:33.412 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- -Dio.netty.noUnsafe: false 19:15:33.412 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- Java version: 21 19:15:33.413 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe.theUnsafe: available 19:15:33.414 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe base methods: all available 19:15:33.415 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe.storeFence: available 19:15:33.416 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.Buffer.address: available 19:15:33.417 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- direct buffer constructor: unavailable: Reflective setAccessible(true) disabled 19:15:33.418 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.Bits.unaligned: available, true 19:15:33.419 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable: class io.netty.util.internal.PlatformDependent0$7 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @35841320 19:15:33.420 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.DirectByteBuffer.(long, {int,long}): unavailable 19:15:33.420 [main] DEBUG io.netty.util.internal.PlatformDependent -- sun.misc.Unsafe: available 19:15:33.421 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.tmpdir: /tmp (java.io.tmpdir) 19:15:33.421 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.bitMode: 64 (sun.arch.data.model) 19:15:33.423 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.maxDirectMemory: -1 bytes 19:15:33.424 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.uninitializedArrayAllocationThreshold: -1 19:15:33.426 [main] DEBUG io.netty.util.internal.CleanerJava9 -- java.nio.ByteBuffer.cleaner(): available 19:15:33.426 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.noPreferDirect: false 19:15:33.437 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.workdir: /tmp (io.netty.tmpdir) 19:15:33.437 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.deleteLibAfterLoading: true 19:15:33.437 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.tryPatchShadedId: true 19:15:33.437 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.detectNativeLibraryDuplicates: true 19:15:33.452 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- Successfully loaded the library /tmp/libnetty_transport_native_epoll_x86_646091323172753900830.so 19:15:33.461 [main] DEBUG io.netty.util.NetUtil -- -Djava.net.preferIPv4Stack: false 19:15:33.461 [main] DEBUG io.netty.util.NetUtil -- -Djava.net.preferIPv6Addresses: false 19:15:33.464 [main] DEBUG io.netty.util.NetUtilInitializations -- Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo) 19:15:33.466 [main] DEBUG io.netty.util.NetUtil -- /proc/sys/net/core/somaxconn: 4096 19:15:33.475 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup -- -Dio.netty.eventLoopThreads: 16 19:15:33.494 [main] DEBUG io.netty.util.concurrent.GlobalEventExecutor -- -Dio.netty.globalEventExecutor.quietPeriodSeconds: 1 19:15:33.594 [main] DEBUG io.netty.util.internal.PlatformDependent -- org.jctools-core.MpscChunkedArrayQueue: available 19:15:33.744 [Time-limited test] DEBUG io.netty.util.ResourceLeakDetector -- -Dio.netty.leakDetection.level: simple 19:15:33.745 [Time-limited test] DEBUG io.netty.util.ResourceLeakDetector -- -Dio.netty.leakDetection.targetRecords: 4 19:15:33.750 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.numHeapArenas: 16 19:15:33.750 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.numDirectArenas: 16 19:15:33.750 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.pageSize: 8192 19:15:33.750 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxOrder: 9 19:15:33.750 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.chunkSize: 4194304 19:15:33.750 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.smallCacheSize: 256 19:15:33.751 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.normalCacheSize: 64 19:15:33.751 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxCachedBufferCapacity: 32768 19:15:33.751 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.cacheTrimInterval: 8192 19:15:33.751 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.cacheTrimIntervalMillis: 0 19:15:33.751 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.useCacheForAllThreads: false 19:15:33.751 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023 19:15:33.751 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.disableCacheFinalizersForFastThreadLocalThreads: false 19:15:33.774 [Time-limited test] DEBUG io.netty.channel.DefaultChannelId -- -Dio.netty.processId: 43726 (auto-detected) 19:15:33.776 [Time-limited test] DEBUG io.netty.channel.DefaultChannelId -- -Dio.netty.machineId: 02:42:b6:ff:fe:3a:63:d5 (auto-detected) 19:15:33.819 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.allocator.type: pooled 19:15:33.819 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.threadLocalDirectBufferSize: 0 19:15:33.819 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.maxThreadLocalCharBufferSize: 16384 19:15:33.824 [Time-limited test] DEBUG io.netty.bootstrap.ChannelInitializerExtensions -- -Dio.netty.bootstrap.extensions: null 19:15:33.833 [Time-limited test] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Initiated BMP server at /0.0.0.0:46741. 19:15:33.863 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP Client AbstractBootstrap$PendingRegistrationPromise@457e8051(incomplete) at /127.230.144.209:46741. 19:15:33.886 [bmp-worker-1] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.230.144.209:46741 <-> /127.0.0.1:56648. 19:15:33.887 [bmp-worker-0] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Connection AbstractBootstrap$PendingRegistrationPromise@457e8051(success) succeeded! 19:15:33.888 [bmp-worker-0] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.0.0.1:56648 <-> 127.230.144.209/127.230.144.209:46741. 19:15:33.902 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.maxCapacityPerThread: 4096 19:15:33.902 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.ratio: 8 19:15:33.902 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.chunkSize: 32 19:15:33.902 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.blocking: false 19:15:33.902 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.batchFastThreadLocalOnly: true 19:15:33.925 [bmp-worker-1] DEBUG io.netty.buffer.AbstractByteBuf -- -Dio.netty.buffer.checkAccessible: true 19:15:33.926 [bmp-worker-1] DEBUG io.netty.buffer.AbstractByteBuf -- -Dio.netty.buffer.checkBounds: true 19:15:33.927 [bmp-worker-1] DEBUG io.netty.util.ResourceLeakDetectorFactory -- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@2f1123b0 19:15:33.925 [bmp-worker-0] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x7ab616c7, L:/127.0.0.1:56648 ! R:127.230.144.209/127.230.144.209:46741] inactive. 19:15:33.946 [bmp-worker-1] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xcf7d30f5, L:/127.230.144.209:46741 ! R:/127.0.0.1:56648] inactive. 19:15:33.973 [bmp-worker-1] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-1 19:15:34.106 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP server AbstractBootstrap$PendingRegistrationPromise@2e4bece8(incomplete) at /127.51.172.133:49214. 19:15:34.112 [Time-limited test] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.189.72.115:0 <--> /127.51.172.133:49214 deployed 19:15:34.114 [bmp-worker-32] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.189.72.115:33445 <-> 127.51.172.133/127.51.172.133:49214. 19:15:34.115 [bmp-worker-32] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@144a95dc(success) succeeded! 19:15:34.115 [bmp-worker-33] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.51.172.133:49214 <-> /127.189.72.115:33445. 19:15:34.126 [bmp-worker-32] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xecb23f3f, L:/127.189.72.115:33445 ! R:127.51.172.133/127.51.172.133:49214] inactive. 19:15:34.126 [bmp-worker-33] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xbc98cbe5, L:/127.51.172.133:49214 ! R:/127.189.72.115:33445] inactive. 19:15:34.153 [Timer-1] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.189.72.115:0 <--> /127.51.172.133:49214 deployed 19:15:34.160 [bmp-worker-43] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@61518967(success) succeeded! 19:15:34.161 [bmp-worker-43] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.189.72.115:37159 <-> 127.51.172.133/127.51.172.133:49214. 19:15:34.160 [bmp-boss-32] WARN io.netty.channel.AbstractChannel -- Force-closing a channel whose registration task was not accepted by an event loop: [id: 0x36e49126, L:/127.51.172.133:49214 - R:/127.189.72.115:37159] java.util.concurrent.RejectedExecutionException: event executor terminated at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:934) at io.netty.util.concurrent.SingleThreadEventExecutor.offerTask(SingleThreadEventExecutor.java:353) at io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:346) at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:836) at io.netty.util.concurrent.SingleThreadEventExecutor.execute0(SingleThreadEventExecutor.java:827) at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:817) at io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:482) at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:89) at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:83) at io.netty.channel.MultithreadEventLoopGroup.register(MultithreadEventLoopGroup.java:86) at io.netty.bootstrap.ServerBootstrap$ServerBootstrapAcceptor.channelRead(ServerBootstrap.java:241) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) at io.netty.channel.epoll.AbstractEpollServerChannel$EpollServerSocketUnsafe.epollInReady(AbstractEpollServerChannel.java:120) at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 19:15:34.164 [bmp-boss-32] ERROR io.netty.util.concurrent.DefaultPromise.rejectedExecution -- Failed to submit a listener notification task. Event loop shut down? java.util.concurrent.RejectedExecutionException: event executor terminated at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:934) at io.netty.util.concurrent.SingleThreadEventExecutor.offerTask(SingleThreadEventExecutor.java:353) at io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:346) at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:836) at io.netty.util.concurrent.SingleThreadEventExecutor.execute0(SingleThreadEventExecutor.java:827) at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:817) at io.netty.util.concurrent.DefaultPromise.safeExecute(DefaultPromise.java:862) at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:500) at io.netty.util.concurrent.DefaultPromise.addListener(DefaultPromise.java:185) at io.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:95) at io.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:30) at io.netty.bootstrap.ServerBootstrap$ServerBootstrapAcceptor.channelRead(ServerBootstrap.java:241) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868) at io.netty.channel.epoll.AbstractEpollServerChannel$EpollServerSocketUnsafe.epollInReady(AbstractEpollServerChannel.java:120) at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 19:15:34.168 [bmp-worker-43] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x8324fa01, L:/127.189.72.115:37159 ! R:127.51.172.133/127.51.172.133:49214] inactive. 19:15:34.188 [Timer-2] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.189.72.115:0 <--> /127.51.172.133:49214 deployed 19:15:34.190 [bmp-worker-50] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- The connection try to BMP router /127.51.172.133:49214 failed. Next reconnection attempt in 15000 milliseconds. 19:15:34.191 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP server AbstractBootstrap$PendingRegistrationPromise@70ad8f5c(incomplete) at /127.51.172.133:49214. 19:15:49.209 [bmp-worker-51] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@1c9de79f(success) succeeded! 19:15:49.209 [bmp-worker-51] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.189.72.115:45045 <-> 127.51.172.133/127.51.172.133:49214. 19:15:49.212 [bmp-worker-52] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.51.172.133:49214 <-> /127.189.72.115:45045. 19:15:49.221 [bmp-worker-52] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x85766441, L:/127.51.172.133:49214 ! R:/127.189.72.115:45045] inactive. 19:15:49.227 [bmp-worker-51] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xbcdcd3b3, L:/127.189.72.115:45045 ! R:127.51.172.133/127.51.172.133:49214] inactive. 19:15:49.241 [Timer-3] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.189.72.115:0 <--> /127.51.172.133:49214 deployed 19:15:49.243 [bmp-worker-51] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-51 19:15:49.244 [bmp-worker-43] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-43 19:15:49.244 [bmp-worker-68] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- The connection try to BMP router /127.51.172.133:49214 failed. Next reconnection attempt in 15000 milliseconds.