-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
To test the timeout settings I've created Jenkins job which run the simple sleep script:
while true; do sleep 20; done
(see attachment for exact settings).
I set absolute timeout to 3 minutes and run the job, but job wasn't aborted in next 10 minutes until I abort it manually.
Server: jenkins-1.524-1.1.noarch on Fedora 18
Slave: Ubuntu 13.04
Jenkins Build Timeout plugin is 1.12.2
The thread dump looks as follow:
"Executor #3 for ss0078 : executing testme #3 / waiting for hudson.remoting.Channel@1b87b386:ss0078" Id=47 Group=main TIMED_WAITING on hudson.remoting.UserRequest@2f227a2 at java.lang.Object.wait(Native Method) - waiting on hudson.remoting.UserRequest@2f227a2 at hudson.remoting.Request.call(Request.java:146) at hudson.remoting.Channel.call(Channel.java:713) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:167) at com.sun.proxy.$Proxy57.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:925) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:91) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1593) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:247)
Off-topic: Such issue may appear on a Windows node with Cygwin.
If yes, the Cygwin Process Killer plugin would resolve your issue.
https://wiki.jenkins-ci.org/display/JENKINS/Cygwin+Process+Killer+Plugin
In the case of Ubuntu nodes such issue should not appear