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

Job failure on remote node running JDK1.8 - java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)

XMLWordPrintable

      When attempting to build on a remote node running linux the following exception is thrown
      Caused by: java.lang.LinkageError
      at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:618)
      at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:552)
      at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:572)
      at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:496)
      at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:899)
      at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:890)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:328)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)
      at java.lang.Class.getDeclaredMethod(Class.java:2117)
      at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:607)
      ... 13 more

      This seems to be due to java.lang.UNIXProcess.destroyProcess no longer existing in Java1.8

            Unassigned Unassigned
            audumla Marius Gleeson
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: