You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After upgrade from 3.5.6 to 3.6.0 - plugin sometimes hangs after test finishesΒ #3500
After upgrade from 3.5.6 to 3.6.0 - plugin sometimes hangs after test finishes.
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.41 s -- in MyTest
[ERROR] Surefire is going to kill self fork JVM. The exit has elapsed 1 seconds after System.exit(0).
I'm not sure how to debug such a situation, any suggestion appreciated.
ah possible issue there but nothing really new in this area from 3.5.x code.
Not sure what could have changed with 3.6.0 to generate this more often.
What is the content of the files target/surefire-reports/*.dump?
Afraid I'm not in a position to do either.
The issue appears only on Linux, as part of a Jenkins build job running a Pax-Exam test (forking an Apache Karaf container)..
Activity
olamy commentedon Oct 1, 2026
Try using
-Xto have some debug. but without more informations (a reproducer) we cannot really help with such low level of informations.lichtin commentedon Oct 1, 2026
Attching jstack output from hanging JVM process.
jenkins 881889 662833 4 13:28 ? 00:00:19 /appl/java/jdk-21.0.12-x86-64/bin/java -XX:+EnableDynamicAgentLoading -jar /.../target/surefire/surefirebooter-20261001132654934_1572.jar /.../target/surefire 2026-10-01T11-43-32_997-jvmRun1 surefire-20261001132654934_1570tmp surefire_172-20261001132654934_1571tmp
jstack-881889.txt
olamy commentedon Oct 3, 2026
ah possible issue there but nothing really new in this area from 3.5.x code.
Not sure what could have changed with 3.6.0 to generate this more often.
What is the content of the files
target/surefire-reports/*.dump?olamy commentedon Oct 3, 2026
possible fix here #3506
lichtin commentedon Oct 4, 2026
It always hangs at the same test, many others of the same kind run fine. It does work with 3.5.6.
it contains dumps from previous tests, but not from this test which hangs
great!
olamy commentedon Oct 4, 2026
@lichtin can you please test your project with the PR because I cannot reproduce anything. If not, please provide a reproducer.
lichtin commentedon Oct 6, 2026
Afraid I'm not in a position to do either.
The issue appears only on Linux, as part of a Jenkins build job running a Pax-Exam test (forking an Apache Karaf container)..
olamy commentedon Oct 8, 2026
Well, I will merge it anyway, but we cannot be sure your problem is fixed, though
Fix forked JVM hanging forever when the exit timeout fires (#3500), Pβ¦