java.io.IOException: Remote call on channel failed

Jenkins JIRA | hiteswar kumar | 4 years ago
  1. 0

    Hi, seems this is a memory leak at slave as there are too many objects in attached DumpExportTable of slave. slave log having below lines in last at log . slave connected to master with parameter -Xms2g -Xmx2g -XX:MaxPermSize=512m. hudson.util.ProcessTree getKillers WARNING: Failed to obtain killers java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.util.ProcessTree.getKillers(ProcessTree.java:160) at hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:219) at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:552) at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:559) at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:558) at hudson.util.ProcessTree.killAll(ProcessTree.java:147) at hudson.Proc$LocalProc.destroy(Proc.java:379) at hudson.Proc$LocalProc.join(Proc.java:352) at hudson.Launcher$RemoteLaunchCallable$1.join(Launcher.java:937) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

    Jenkins JIRA | 4 years ago | hiteswar kumar
    java.io.IOException: Remote call on channel failed
  2. 0

    Hi, seems this is a memory leak at slave as there are too many objects in attached DumpExportTable of slave. slave log having below lines in last at log . slave connected to master with parameter -Xms2g -Xmx2g -XX:MaxPermSize=512m. hudson.util.ProcessTree getKillers WARNING: Failed to obtain killers java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.util.ProcessTree.getKillers(ProcessTree.java:160) at hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:219) at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:552) at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:559) at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:558) at hudson.util.ProcessTree.killAll(ProcessTree.java:147) at hudson.Proc$LocalProc.destroy(Proc.java:379) at hudson.Proc$LocalProc.join(Proc.java:352) at hudson.Launcher$RemoteLaunchCallable$1.join(Launcher.java:937) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

    Jenkins JIRA | 4 years ago | hiteswar kumar
    java.io.IOException: Remote call on channel failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I've experienced strange error in my [future?] plugin, which utilizes tool installation. After upgrading to custom core, tool installation fails with a IncompatibleClassChange exception. Probably, change has been caused by https://github.com/jenkinsci/jenkins/commit/b1267334b97c011f682e6d9b9130757bd8ca1c55 {quote} Oct 06, 2013 3:00:48 PM hudson.util.ProcessTree$OSProcess killByKiller WARNING: Failed to kill pid=6540 java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:723) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinProcessKiller.kill(CygwinProcessKiller.java:60) at hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:221) at hudson.util.ProcessTree$Windows$1.kill(ProcessTree.java:418) at hudson.util.ProcessTree$Windows$1.killRecursively(ProcessTree.java:412) at hudson.util.ProcessTree.killAll(ProcessTree.java:147) at hudson.Proc$LocalProc.destroy(Proc.java:379) .... at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IncompatibleClassChangeError: vtable stub at java.util.ArrayList.<init>(ArrayList.java:164) at hudson.util.CopyOnWriteList.replaceBy(CopyOnWriteList.java:127) at hudson.util.PersistedList.replaceBy(PersistedList.java:78) at hudson.tools.ToolInstallation.<init>(ToolInstallation.java:102) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinKillerInstallation.<init>(CygwinKillerInstallation.java:44) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinKillerInstallation.forNode(CygwinKillerInstallation.java:49) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.getCygwinHome(CygwinKillHelper.java:180) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.getSubstitutedHome(CygwinKillHelper.java:163) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.getCygwinBinaryCommand(CygwinKillHelper.java:129) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.execCommand(CygwinKillHelper.java:108) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.isCygwin(CygwinKillHelper.java:78) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinProcessKiller$KillerRemoteCall.call(CygwinProcessKiller.java:112) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinProcessKiller$KillerRemoteCall.call(CygwinProcessKiller.java:87) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) {quote}

    Jenkins JIRA | 3 years ago | Oleg Nenashev
    java.io.IOException: Remote call on channel failed
  5. 0

    I've experienced strange error in my [future?] plugin, which utilizes tool installation. After upgrading to custom core, tool installation fails with a IncompatibleClassChange exception. Probably, change has been caused by https://github.com/jenkinsci/jenkins/commit/b1267334b97c011f682e6d9b9130757bd8ca1c55 {quote} Oct 06, 2013 3:00:48 PM hudson.util.ProcessTree$OSProcess killByKiller WARNING: Failed to kill pid=6540 java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:723) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinProcessKiller.kill(CygwinProcessKiller.java:60) at hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:221) at hudson.util.ProcessTree$Windows$1.kill(ProcessTree.java:418) at hudson.util.ProcessTree$Windows$1.killRecursively(ProcessTree.java:412) at hudson.util.ProcessTree.killAll(ProcessTree.java:147) at hudson.Proc$LocalProc.destroy(Proc.java:379) .... at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IncompatibleClassChangeError: vtable stub at java.util.ArrayList.<init>(ArrayList.java:164) at hudson.util.CopyOnWriteList.replaceBy(CopyOnWriteList.java:127) at hudson.util.PersistedList.replaceBy(PersistedList.java:78) at hudson.tools.ToolInstallation.<init>(ToolInstallation.java:102) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinKillerInstallation.<init>(CygwinKillerInstallation.java:44) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinKillerInstallation.forNode(CygwinKillerInstallation.java:49) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.getCygwinHome(CygwinKillHelper.java:180) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.getSubstitutedHome(CygwinKillHelper.java:163) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.getCygwinBinaryCommand(CygwinKillHelper.java:129) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.execCommand(CygwinKillHelper.java:108) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.util.CygwinKillHelper.isCygwin(CygwinKillHelper.java:78) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinProcessKiller$KillerRemoteCall.call(CygwinProcessKiller.java:112) at com.synopsys.arc.jenkinsci.plugins.cygwinprocesskiller.CygwinProcessKiller$KillerRemoteCall.call(CygwinProcessKiller.java:87) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) {quote}

    Jenkins JIRA | 3 years ago | Oleg Nenashev
    java.io.IOException: Remote call on channel failed

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Remote call on channel failed

      at hudson.remoting.Channel.call()
    2. Hudson :: Remoting Layer
      Channel.call
      1. hudson.remoting.Channel.call(Channel.java:690)
      1 frame
    3. Hudson
      Launcher$RemoteLaunchCallable$1.join
      1. hudson.util.ProcessTree.getKillers(ProcessTree.java:160)
      2. hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:219)
      3. hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:552)
      4. hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:559)
      5. hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:558)
      6. hudson.util.ProcessTree.killAll(ProcessTree.java:147)
      7. hudson.Proc$LocalProc.destroy(Proc.java:379)
      8. hudson.Proc$LocalProc.join(Proc.java:352)
      9. hudson.Launcher$RemoteLaunchCallable$1.join(Launcher.java:937)
      9 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
      2. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
      3. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      4. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      5. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      6. hudson.remoting.Request$2.run(Request.java:287)
      6 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames