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 03:31:36,535 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state disabled 03:31:36,540 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 03:31:36,553 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library cleaned successfully 03:31:36,554 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer stopped 03:31:36,620 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state enabled 03:31:36,620 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 03:31:36,621 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library cleaned successfully 03:31:36,621 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer stopped 03:31:37,864 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library writer starting update to 1 03:31:37,865 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 03:31:37,873 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library updated successfully 03:31:37,873 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state disabled 03:31:37,980 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library writer starting update to 1 03:31:37,980 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 03:31:37,983 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library updated successfully 03:31:37,983 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state enabled 03:31:38,65 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library writer starting update to 1 03:31:38,65 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 03:31:38,66 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library updated successfully 03:31:38,66 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state disabled 03:31:38,167 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library writer starting update to 1 03:31:38,167 PM [main] [DEBUG] YangLibraryWriter - Allocated new transaction chain 03:31:38,168 PM [main] [DEBUG] YangLibraryWriter - ietf-yang-library updated successfully 03:31:38,169 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state enabled 03:31:38,179 PM [main] [WARN] YangLibraryWriter - ietf-yang-library not present in context, skipping update 03:31:38,179 PM [main] [INFO] YangLibraryWriter - ietf-yang-library writer started with modules-state disabled