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 [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service started [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 waiting for cluster-wide mastership [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source started on port 4000 [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Replication sink from localhost/127.0.0.1:4000 waiting for cluster-wide mastership [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Replication sink started with source localhost/127.0.0.1:4000 [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Connecting to Source [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Channel [id: 0x4b5a569a, L:/127.0.0.1:4000 - R:/127.0.0.1:33772] established [nioEventLoopGroup-3-1] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Channel [id: 0x79c71eb2, L:/127.0.0.1:33772 - R:localhost/127.0.0.1:4000] established [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x4b5a569a, L:/127.0.0.1:4000 - R:/127.0.0.1:33772] subscribing to DOMDataTreeIdentifier{datastore=CONFIGURATION, root=/} [nioEventLoopGroup-3-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x4b5a569a, L:/127.0.0.1:4000 ! R:/127.0.0.1:33772] going inactive [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 shutting down [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 shut down [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service stopping [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service stopped [main] INFO org.opendaylight.mdsal.dom.broker.DOMNotificationRouter - DOM Notification Router started [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service started [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 waiting for cluster-wide mastership [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source started on port 4000 [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Replication sink from localhost/127.0.0.1:4000 waiting for cluster-wide mastership [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Replication sink started with source localhost/127.0.0.1:4000 [main] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Connecting to Source [nioEventLoopGroup-5-1] INFO org.opendaylight.mdsal.replicate.netty.SinkSingletonService - Channel [id: 0x85abdbca, L:/127.0.0.1:37466 - R:localhost/127.0.0.1:4000] established [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Channel [id: 0x060848df, L:/127.0.0.1:4000 - R:/127.0.0.1:37466] established [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x060848df, L:/127.0.0.1:4000 - R:/127.0.0.1:37466] subscribing to DOMDataTreeIdentifier{datastore=CONFIGURATION, root=/} [nioEventLoopGroup-5-2] INFO org.opendaylight.mdsal.replicate.netty.SourceRequestHandler - Channel [id: 0x060848df, L:/127.0.0.1:4000 ! R:/127.0.0.1:37466] going inactive [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 shutting down [main] INFO org.opendaylight.mdsal.replicate.netty.SourceSingletonService - Replication source on port 4000 shut down [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service stopping [main] INFO org.opendaylight.mdsal.singleton.impl.EOSClusterSingletonServiceProvider - Cluster Singleton Service stopped