[JIRA] (JENKINS-55422) Long pause after build step

5 views
Skip to first unread message

andreas.haferburg@stryker.com (JIRA)

unread,
Jan 7, 2019, 7:32:03 AM1/7/19
to jenkinsc...@googlegroups.com
Andreas Haferburg created an issue
 
Jenkins / Bug JENKINS-55422
Long pause after build step
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-01-07 12:31
Environment: Jenkins 2.150.1, Windows
Priority: Minor Minor
Reporter: Andreas Haferburg

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)}}

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

andreas.haferburg@stryker.com (JIRA)

unread,
Jan 7, 2019, 7:33:02 AM1/7/19
to jenkinsc...@googlegroups.com
Andreas Haferburg updated an issue
Change By: Andreas Haferburg
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)}} }}
Add Comment Add Comment
 

andreas.haferburg@stryker.com (JIRA)

unread,
Jan 7, 2019, 7:35:02 AM1/7/19
to jenkinsc...@googlegroups.com


 

In `procexp` I can see that jenkins.exe has only one child process, java.exe.

Anything else I can do to debug this?

andreas.haferburg@stryker.com (JIRA)

unread,
Jan 7, 2019, 8:14:02 AM1/7/19
to jenkinsc...@googlegroups.com

andreas.haferburg@stryker.com (JIRA)

unread,
Jul 10, 2019, 8:49:02 AM7/10/19
to jenkinsc...@googlegroups.com
Change By: Andreas Haferburg
Status: Open Fixed but Unreleased
Resolution: Won't Do

andreas.haferburg@stryker.com (JIRA)

unread,
Jul 10, 2019, 8:49:02 AM7/10/19
to jenkinsc...@googlegroups.com
Andreas Haferburg closed an issue as Won't Do
Change By: Andreas Haferburg
Status: Resolved Closed

andreas.haferburg@stryker.com (JIRA)

unread,
Jul 10, 2019, 8:49:02 AM7/10/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages