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.4/byte-buddy-agent-1.15.4.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 SLF4J(W): Class path contains multiple SLF4J providers. SLF4J(W): Found provider [org.slf4j.simpl.SimpleServiceProvider@642ee49c] SLF4J(W): Found provider [org.slf4j.simple.SimpleServiceProvider@294aba23] SLF4J(W): See https://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J(I): Actual provider is of type [org.slf4j.simpl.SimpleServiceProvider@642ee49c] [main] INFO org.eclipse.jetty.util.log - Logging initialized @3445ms to org.eclipse.jetty.util.log.Slf4jLog [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.54.v20240208; built: 2024-02-08T19:42:39.027Z; git: cef3fbd6d736a21e7d541a5db490381d95a2047d; jvm 21.0.5+11-Ubuntu-1ubuntu120.04 [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@6b8b5020{/test,null,AVAILABLE} [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@622d7e4{HTTP/1.1, (http/1.1)}{localhost:46251} [main] INFO org.eclipse.jetty.server.Server - Started @3740ms [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Started Jetty-based HTTP web server on port 46251 [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Stopping Jetty-based web server... [main] INFO org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@622d7e4{HTTP/1.1, (http/1.1)}{localhost:0} [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@6b8b5020{/test,null,STOPPED} [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Stopped Jetty-based web server. [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.54.v20240208; built: 2024-02-08T19:42:39.027Z; git: cef3fbd6d736a21e7d541a5db490381d95a2047d; jvm 21.0.5+11-Ubuntu-1ubuntu120.04 [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@7afe0e67{/test,null,AVAILABLE} [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@83b0d0f{HTTP/1.1, (http/1.1)}{localhost:36337} [main] INFO org.eclipse.jetty.server.Server - Started @4149ms [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Started Jetty-based HTTP web server on port 36337 [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Stopping Jetty-based web server... [main] INFO org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@83b0d0f{HTTP/1.1, (http/1.1)}{localhost:0} [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@7afe0e67{/test,null,STOPPED} [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Stopped Jetty-based web server. [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.54.v20240208; built: 2024-02-08T19:42:39.027Z; git: cef3fbd6d736a21e7d541a5db490381d95a2047d; jvm 21.0.5+11-Ubuntu-1ubuntu120.04 [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@2c8a445b{/test,null,AVAILABLE} [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@11d2714a{HTTP/1.1, (http/1.1)}{localhost:33597} [main] INFO org.eclipse.jetty.server.Server - Started @4173ms [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Started Jetty-based HTTP web server on port 33597 [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Stopping Jetty-based web server... [main] INFO org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@11d2714a{HTTP/1.1, (http/1.1)}{localhost:0} [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@2c8a445b{/test,null,STOPPED} [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Stopped Jetty-based web server. [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.54.v20240208; built: 2024-02-08T19:42:39.027Z; git: cef3fbd6d736a21e7d541a5db490381d95a2047d; jvm 21.0.5+11-Ubuntu-1ubuntu120.04 [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@62b0bf85{/test,null,AVAILABLE} [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@7b211077{HTTP/1.1, (http/1.1)}{localhost:42015} [main] INFO org.eclipse.jetty.server.Server - Started @4192ms [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Started Jetty-based HTTP web server on port 42015 [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Stopping Jetty-based web server... [main] INFO org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@7b211077{HTTP/1.1, (http/1.1)}{localhost:0} [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@62b0bf85{/test,null,STOPPED} [main] INFO org.opendaylight.infrautils.testutils.web.TestWebServer - Stopped Jetty-based web server.