As per title: I\'m trying to run Maven automated test from Jenkins slave that is containerized and after battling this for a week now I\'m running out of ideas. It works as
Try downgrading to Surefire 1.18.1. I ran into this issue tonight and spent a couple hours on it, so far it's not easily apparent why newer builds of Surefire break under Docker.
* Update *
I was having an issue with Alpine linux, but when using an Ubuntu or Debian base image everything was fine. So something within 1.21 is breaking compatibility with certain operating systems.