小编Ond*_*káč的帖子

Jenkins在构建和构建后之间徘徊

在将Jenkins更新到2.156版(从1.6版开始)之后,我们的一些构建作业在完成后以及移至构建后动作之前会卡住。作业本身在5分钟内完成(与之前相同),然后挂起5-10分钟,然后继续前进。

我设法将其缩小为:

"Executor #10 for master : executing 03_masa #4390" Id=34464 Group=main TIMED_WAITING
    at java.lang.Thread.sleep(Native Method)
    at hudson.util.ProcessTree$WindowsOSProcess.killSoftly(ProcessTree.java:560)
    at hudson.util.ProcessTree$WindowsOSProcess.killRecursively(ProcessTree.java:520)
    at hudson.util.ProcessTree$Windows.killAll(ProcessTree.java:666)
    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)
Run Code Online (Sandbox Code Playgroud)

可以在此处找到引用的代码(自2.141版本开始提供)。

threadDump#1,threadDump#2

我们可以做些什么吗?

java hang jenkins thread-sleep

5
推荐指数
1
解决办法
714
查看次数

标签 统计

hang ×1

java ×1

jenkins ×1

thread-sleep ×1