Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55422

Long pause after build step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • core
    • 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?

            Unassigned Unassigned
            andreas_haferburg Andreas Haferburg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: