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@604d23fa] SLF4J(W): Found provider [org.slf4j.simple.SimpleServiceProvider@1cc8416a] 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@604d23fa] 11:17:22.408 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory -- Using SLF4J as the default logging framework 11:17:22.413 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap -- -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 11:17:22.413 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap -- -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 11:17:22.480 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- -Dio.netty.noUnsafe: false 11:17:22.480 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- Java version: 21 11:17:22.481 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe.theUnsafe: available 11:17:22.482 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe base methods: all available 11:17:22.483 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- sun.misc.Unsafe.storeFence: available 11:17:22.484 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.Buffer.address: available 11:17:22.484 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- direct buffer constructor: unavailable: Reflective setAccessible(true) disabled 11:17:22.485 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.Bits.unaligned: available, true 11:17:22.486 [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 @73eb439a 11:17:22.487 [main] DEBUG io.netty.util.internal.PlatformDependent0 -- java.nio.DirectByteBuffer.(long, {int,long}): unavailable 11:17:22.487 [main] DEBUG io.netty.util.internal.PlatformDependent -- sun.misc.Unsafe: available 11:17:22.487 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.tmpdir: /tmp (java.io.tmpdir) 11:17:22.487 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.bitMode: 64 (sun.arch.data.model) 11:17:22.491 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.maxDirectMemory: -1 bytes 11:17:22.491 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.uninitializedArrayAllocationThreshold: -1 11:17:22.493 [main] DEBUG io.netty.util.internal.CleanerJava9 -- java.nio.ByteBuffer.cleaner(): available 11:17:22.493 [main] DEBUG io.netty.util.internal.PlatformDependent -- -Dio.netty.noPreferDirect: false 11:17:22.504 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.workdir: /tmp (io.netty.tmpdir) 11:17:22.504 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.deleteLibAfterLoading: true 11:17:22.504 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.tryPatchShadedId: true 11:17:22.504 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- -Dio.netty.native.detectNativeLibraryDuplicates: true 11:17:22.518 [main] DEBUG io.netty.util.internal.NativeLibraryLoader -- Successfully loaded the library /tmp/libnetty_transport_native_epoll_x86_648127800880089387573.so 11:17:22.527 [main] DEBUG io.netty.util.NetUtil -- -Djava.net.preferIPv4Stack: false 11:17:22.527 [main] DEBUG io.netty.util.NetUtil -- -Djava.net.preferIPv6Addresses: false 11:17:22.530 [main] DEBUG io.netty.util.NetUtilInitializations -- Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo) 11:17:22.532 [main] DEBUG io.netty.util.NetUtil -- /proc/sys/net/core/somaxconn: 4096 11:17:22.541 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup -- -Dio.netty.eventLoopThreads: 16 11:17:22.561 [main] DEBUG io.netty.util.concurrent.GlobalEventExecutor -- -Dio.netty.globalEventExecutor.quietPeriodSeconds: 1 11:17:22.626 [main] DEBUG io.netty.util.internal.PlatformDependent -- org.jctools-core.MpscChunkedArrayQueue: available 11:17:22.780 [Time-limited test] DEBUG io.netty.util.ResourceLeakDetector -- -Dio.netty.leakDetection.level: simple 11:17:22.780 [Time-limited test] DEBUG io.netty.util.ResourceLeakDetector -- -Dio.netty.leakDetection.targetRecords: 4 11:17:22.786 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.numHeapArenas: 16 11:17:22.786 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.numDirectArenas: 16 11:17:22.786 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.pageSize: 8192 11:17:22.786 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxOrder: 9 11:17:22.786 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.chunkSize: 4194304 11:17:22.786 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.smallCacheSize: 256 11:17:22.786 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.normalCacheSize: 64 11:17:22.786 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxCachedBufferCapacity: 32768 11:17:22.787 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.cacheTrimInterval: 8192 11:17:22.787 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.cacheTrimIntervalMillis: 0 11:17:22.787 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.useCacheForAllThreads: false 11:17:22.787 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023 11:17:22.787 [Time-limited test] DEBUG io.netty.buffer.PooledByteBufAllocator -- -Dio.netty.allocator.disableCacheFinalizersForFastThreadLocalThreads: false 11:17:22.813 [Time-limited test] DEBUG io.netty.channel.DefaultChannelId -- -Dio.netty.processId: 43939 (auto-detected) 11:17:22.815 [Time-limited test] DEBUG io.netty.channel.DefaultChannelId -- -Dio.netty.machineId: 02:42:0c:ff:fe:04:b8:2e (auto-detected) 11:17:22.857 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.allocator.type: pooled 11:17:22.857 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.threadLocalDirectBufferSize: 0 11:17:22.857 [Time-limited test] DEBUG io.netty.buffer.ByteBufUtil -- -Dio.netty.maxThreadLocalCharBufferSize: 16384 11:17:22.863 [Time-limited test] DEBUG io.netty.bootstrap.ChannelInitializerExtensions -- -Dio.netty.bootstrap.extensions: null 11:17:22.871 [Time-limited test] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Initiated BMP server at /0.0.0.0:24125. 11:17:22.902 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP Client AbstractBootstrap$PendingRegistrationPromise@325fcb31(incomplete) at /127.212.199.126:24125. 11:17:22.921 [bmp-worker-0] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Connection AbstractBootstrap$PendingRegistrationPromise@325fcb31(success) succeeded! 11:17:22.922 [bmp-worker-0] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.0.0.1:48506 <-> 127.212.199.126/127.212.199.126:24125. 11:17:22.923 [bmp-worker-1] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.212.199.126:24125 <-> /127.0.0.1:48506. 11:17:22.937 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.maxCapacityPerThread: 4096 11:17:22.937 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.ratio: 8 11:17:22.937 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.chunkSize: 32 11:17:22.937 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.blocking: false 11:17:22.937 [bmp-worker-1] DEBUG io.netty.util.Recycler -- -Dio.netty.recycler.batchFastThreadLocalOnly: true 11:17:22.944 [bmp-worker-0] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x9252a0aa, L:/127.0.0.1:48506 ! R:127.212.199.126/127.212.199.126:24125] inactive. 11:17:22.955 [bmp-worker-1] DEBUG io.netty.buffer.AbstractByteBuf -- -Dio.netty.buffer.checkAccessible: true 11:17:22.955 [bmp-worker-1] DEBUG io.netty.buffer.AbstractByteBuf -- -Dio.netty.buffer.checkBounds: true 11:17:22.956 [bmp-worker-1] DEBUG io.netty.util.ResourceLeakDetectorFactory -- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@4df85bb0 11:17:22.968 [bmp-worker-1] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x6d5c7a56, L:/127.212.199.126:24125 ! R:/127.0.0.1:48506] inactive. 11:17:22.982 [bmp-worker-1] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-1 11:17:23.077 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP server AbstractBootstrap$PendingRegistrationPromise@1ebb5eb5(incomplete) at /127.95.102.189:59370. 11:17:23.084 [Time-limited test] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.52.162.238:0 <--> /127.95.102.189:59370 deployed 11:17:23.085 [bmp-worker-32] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.52.162.238:41547 <-> 127.95.102.189/127.95.102.189:59370. 11:17:23.086 [bmp-worker-32] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@3fa982aa(success) succeeded! 11:17:23.087 [bmp-worker-33] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.95.102.189:59370 <-> /127.52.162.238:41547. 11:17:23.097 [bmp-worker-33] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x7293fdae, L:/127.95.102.189:59370 ! R:/127.52.162.238:41547] inactive. 11:17:23.097 [bmp-worker-32] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x736cf526, L:/127.52.162.238:41547 ! R:127.95.102.189/127.95.102.189:59370] inactive. 11:17:23.110 [Timer-1] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.52.162.238:0 <--> /127.95.102.189:59370 deployed 11:17:23.111 [bmp-worker-44] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@62c040e0(success) succeeded! 11:17:23.112 [bmp-worker-44] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.52.162.238:41817 <-> 127.95.102.189/127.95.102.189:59370. 11:17:23.112 [bmp-boss-32] WARN io.netty.channel.AbstractChannel -- Force-closing a channel whose registration task was not accepted by an event loop: [id: 0xa3544186, L:/127.95.102.189:59370 - R:/127.52.162.238:41817] 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) 11:17:23.115 [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) 11:17:23.115 [bmp-worker-44] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0xf227942d, L:/127.52.162.238:41817 ! R:127.95.102.189/127.95.102.189:59370] inactive. 11:17:23.124 [Timer-2] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.52.162.238:0 <--> /127.95.102.189:59370 deployed 11:17:23.126 [bmp-worker-50] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- The connection try to BMP router /127.95.102.189:59370 failed. Next reconnection attempt in 15000 milliseconds. 11:17:23.139 [Time-limited test] DEBUG org.opendaylight.protocol.bmp.impl.BmpDispatcherImpl -- Initiated BMP server AbstractBootstrap$PendingRegistrationPromise@58441e80(incomplete) at /127.95.102.189:59370. 11:17:38.139 [bmp-worker-51] DEBUG org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- Connection AbstractBootstrap$PendingRegistrationPromise@151fde2f(success) succeeded! 11:17:38.140 [bmp-worker-51] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.52.162.238:45633 <-> 127.95.102.189/127.95.102.189:59370. 11:17:38.142 [bmp-worker-52] INFO org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Starting session /127.95.102.189:59370 <-> /127.52.162.238:45633. 11:17:38.143 [bmp-worker-52] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x102d000e, L:/127.95.102.189:59370 ! R:/127.52.162.238:45633] inactive. 11:17:38.149 [bmp-worker-51] DEBUG org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl -- Channel [id: 0x2d5c2518, L:/127.52.162.238:45633 ! R:127.95.102.189/127.95.102.189:59370] inactive. 11:17:38.163 [Timer-3] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- BMP client /127.52.162.238:0 <--> /127.95.102.189:59370 deployed 11:17:38.168 [bmp-worker-68] INFO org.opendaylight.protocol.bmp.mock.BmpMockDispatcher -- The connection try to BMP router /127.95.102.189:59370 failed. Next reconnection attempt in 15000 milliseconds. 11:17:38.196 [bmp-worker-44] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-44 11:17:38.197 [bmp-worker-51] DEBUG io.netty.buffer.PoolThreadCache -- Freed 1 thread-local buffer(s) from thread: bmp-worker-51