I have a test that (unfortunately) occasionally hangs waiting on an external dependency. I recently noticed that if the test is aborted, the surefire instance remains running on the slave machine!
This does not happen when running "sleep 50000" in a command window (e.g. this is killed with the job).
I have a test that (unfortunately) occasionally hangs waiting on an external dependency. I recently noticed that if the test is aborted, the surefire instance remains running on the slave machine!
This does not happen when running "sleep 50000" in a command window (i.e.g. this is killed with the job).
I have a test that (unfortunately) occasionally hangs waiting on an external dependency. I recently noticed that if the test is aborted, the surefire instance remains running on the slave machine!
This does not happen when running "sleep 50000" in a command window (i.e. this is killed with the job).
ScriptI worked out a baseline procedure to create recreate the problem.
Steps: 1. Create a workspace with new Maven Project 2. Add a hung shell pre-step to setup the workspace. It should have the contents of [^JENKINS-28968.txt] 3. Add the goal " test" to the build step 4. Run and after the console prints "Now sleeping" Abort.
Expected Results: 1. Surefire is no longer running on the slave machine