This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

    • 120.v1307d168def8

      As we have seen lately XShell is not able to kill a running process once it is running on the slave, and the user aborts the job on the master machine.

      Current result is that the job is marked as aborted on the master, but it is still running on the client. This totally breaks our testruns because Jenkins thinks the node is free again, and schedules the next job for this node. But given that by our definition only a single job can run on a node, it will fail.

      The Jenkins log shows the following when aborting a job:

      mozilla-aurora_update #2 aborted
      java.lang.InterruptedException: sleep interrupted
      at java.lang.Thread.sleep(Native Method)
      at hudson.plugins.xshell.XShellBuilder.perform(XShellBuilder.java:158)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      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:585)
      at hudson.model.Run.execute(Run.java:1684)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)

            Assignee:
            Jeremy Marshall
            Reporter:
            Henrik Skupin
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: