-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
Jenkins 2.150.1, Windows
After the last build step finishes, there is a long pause of about 10 minutes.
The step type is "Execute Windows batch command", and Jenkins hangs after printing the `exit 0` in the console.
While it hangs, `/threadDump` says:
"Executor #0 for master : executing Build all trunk #8106" Id=45 Group=main TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at hudson.util.ProcessTree$WindowsOSProcess.killSoftly(ProcessTree.java:557)
at hudson.util.ProcessTree$WindowsOSProcess.killRecursively(ProcessTree.java:517)
at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:663)
at hudson.Launcher$LocalLauncher.kill(Launcher.java:955)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
at hudson.model.Run.execute(Run.java:1810)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
In `procexp` I can see that jenkins.exe has only one child process, java.exe.
Anything else I can do to debug this?