I have configured a Windows 10 workstation as a remote agent for our RedHat 7 Bamboo Server.
I can run all of our integration tests on the system by hand with not issues:
mvn test -Pintegration-tests
When I have the same baseline building on the remote agent, I suddenly get problems with the maven surefire plugin:
ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
I have modified the <reuseForks> setting for the surefire plugin to no avail. I first saw this with 2.23.2 and moved to 3.0.0 M3 with no improvement.
What puzzles me is that with the same pom file the same build step works fine on the same system. I have configured the agent to run as a service with the same account I use to build the source code. I made sure I am not relying on USER environment variables.
Has anyone had a similar experience?