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

Absolute build-timeout doesn't work on a simple sleep job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • build-timeout-plugin
    • 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)
      

            Unassigned Unassigned
            bookwar Aleksandra Fedorova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: