java.io.IOException: Unexpected termination of the channel

Jenkins JIRA | hlau | 3 years ago
  1. 0

    [JENKINS-18782] slave connection failed starting with 1.519 - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    java.io.IOException: Unexpected termination of the channel
  2. 0

    I tried this multiple times: slaves fail to connect when using version 1.519 or later; the same slaves connects fine when using 1.518 or earlier (as early as 1.501). The experiments were done with a simple jenkins with no jobs configured, and with only the master and a couple of slaves. Log shows the following error: ... [07/16/13 15:39:19] [SSH] Checking java version of java [07/16/13 15:39:19] [SSH] java -version returned 1.6.0_10. [07/16/13 15:39:19] [SSH] Starting sftp client. [07/16/13 15:39:19] [SSH] Copying latest slave.jar... [07/16/13 15:39:19] [SSH] Copied 326,006 bytes. Expanded the channel window size to 4MB [07/16/13 15:39:19] [SSH] Starting slave process: cd '/data00/hudson_home_analysis' && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.24 This is a Unix slave hudson.util.IOException2: Failed to copy /jenkins/data/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.3.jar to /hudson_home/maven-agent.jar at hudson.FilePath.copyTo(FilePath.java:1726) at hudson.maven.MavenComputerListener.copyJar(MavenComputerListener.java:90) at hudson.maven.MavenComputerListener.preOnline(MavenComputerListener.java:57) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:469) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:343) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:712) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:498) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:226) 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:619) Caused by: java.io.IOException: Remote call on repo-01 failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.FilePath.write(FilePath.java:1625) at hudson.FilePath.copyTo(FilePath.java:1719) ... 12 more Caused by: java.lang.NoClassDefFoundError: org/apache/commons/io/input/ProxyInputStream at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.lang.ClassLoader.defineClass(ClassLoader.java:466) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:289) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredField(Class.java:1880) at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1610) at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52) at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:425) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413) at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:547) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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) ... 5 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.ProxyInputStream at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:237) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 37 more Caused by: java.util.concurrent.ExecutionException: java.util.zip.ZipException: error in opening zip file at hudson.remoting.ResourceImageInJar$1.adapt(ResourceImageInJar.java:48) at hudson.remoting.ResourceImageInJar$1.adapt(ResourceImageInJar.java:42) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229) ... 40 more Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:114) at java.util.jar.JarFile.<init>(JarFile.java:133) at java.util.jar.JarFile.<init>(JarFile.java:70) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:53) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132) at java.net.URL.openStream(URL.java:1009) at hudson.remoting.ResourceImageInJar$1.adapt(ResourceImageInJar.java:46) ... 43 more [07/16/13 15:39:20] [SSH] Connection closed. ERROR: Connection terminated java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) ERROR: [07/16/13 15:39:20] slave agent was terminated java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Jenkins JIRA | 3 years ago | hlau
    java.io.IOException: Unexpected termination of the channel
  3. 0

    My projects run on separate slave machines/nodes. Some of these projects have testcases that change the system clock. This causes Jenkins and the slave to immediately disconnect. It always happens. I've tried to dig into it a bit and here's what I have: I'm looking at hudson.remoting.PingThread.java The timeout on the channel ping is enforced by calculating the difference between 2 counter values, each obtained with System.currentTimeMillis(). However System.currentTimeMillis() is not the right way of obtaining such counters - the values are not monotonically increasing. If wall-clock time changes for any reason (like maybe Daylight savings or a manual change) then the value returned might become smaller than a moment ago. Obtaining the counter values with System.nanoTime() would solve this. STACK TRACE below: FATAL: Unable to delete script file C:\WINDOWS\TEMP\hudson2959765976006672203.bat 00:44:00 hudson.util.IOException2: remote file operation failed: C:\WINDOWS\TEMP\hudson2959765976006672203.bat at hudson.remoting.Channel@62ec4e:UTM-RT5AUTOM027 00:44:00 at hudson.FilePath.act(FilePath.java:901) 00:44:00 at hudson.FilePath.act(FilePath.java:878) 00:44:00 at hudson.FilePath.delete(FilePath.java:1263) 00:44:00 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:101) 00:44:00 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) 00:44:00 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 00:44:00 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) 00:44:00 at hudson.model.Build$BuildExecution.build(Build.java:199) 00:44:00 at hudson.model.Build$BuildExecution.doRun(Build.java:160) 00:44:00 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) 00:44:00 at hudson.model.Run.execute(Run.java:1592) 00:44:00 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:44:00 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:44:00 at hudson.model.Executor.run(Executor.java:237) 00:44:00 Caused by: hudson.remoting.ChannelClosedException: channel is already closed 00:44:00 at hudson.remoting.Channel.send(Channel.java:494) 00:44:00 at hudson.remoting.Request.call(Request.java:129) 00:44:00 at hudson.remoting.Channel.call(Channel.java:672) 00:44:00 at hudson.FilePath.act(FilePath.java:894) 00:44:00 ... 13 more 00:44:00 Caused by: java.io.IOException: Unexpected termination of the channel 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) 00:44:00 Caused by: java.io.EOFException 00:44:00 at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) 00:44:00 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) 00:44:00 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) 00:44:00 at hudson.remoting.Command.readFrom(Command.java:92) 00:44:00 at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) 00:44:00 FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 00:44:00 hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 00:44:00 at hudson.remoting.Request.call(Request.java:174) 00:44:00 at hudson.remoting.Channel.call(Channel.java:672) 00:44:00 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) 00:44:00 at $Proxy45.join(Unknown Source) 00:44:00 at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:925) 00:44:00 at hudson.Launcher$ProcStarter.join(Launcher.java:360) 00:44:00 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:91) 00:44:00 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) 00:44:00 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 00:44:00 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) 00:44:00 at hudson.model.Build$BuildExecution.build(Build.java:199) 00:44:00 at hudson.model.Build$BuildExecution.doRun(Build.java:160) 00:44:00 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) 00:44:00 at hudson.model.Run.execute(Run.java:1592) 00:44:00 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:44:00 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:44:00 at hudson.model.Executor.run(Executor.java:237) 00:44:00 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 00:44:00 at hudson.remoting.Request.abort(Request.java:299) 00:44:00 at hudson.remoting.Channel.terminate(Channel.java:732) 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) 00:44:00 Caused by: java.io.IOException: Unexpected termination of the channel 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) 00:44:00 Caused by: java.io.EOFException 00:44:00 at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) 00:44:00 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) 00:44:00 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) 00:44:00 at hudson.remoting.Command.readFrom(Command.java:92) 00:44:00 at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Jenkins JIRA | 3 years ago | Ben Combrink
    hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I tried this multiple times: slaves fail to connect when using version 1.519 or later; the same slaves connects fine when using 1.518 or earlier (as early as 1.501). The experiments were done with a simple jenkins with no jobs configured, and with only the master and a couple of slaves. Log shows the following error: ... [07/16/13 15:39:19] [SSH] Checking java version of java [07/16/13 15:39:19] [SSH] java -version returned 1.6.0_10. [07/16/13 15:39:19] [SSH] Starting sftp client. [07/16/13 15:39:19] [SSH] Copying latest slave.jar... [07/16/13 15:39:19] [SSH] Copied 326,006 bytes. Expanded the channel window size to 4MB [07/16/13 15:39:19] [SSH] Starting slave process: cd '/data00/hudson_home_analysis' && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.24 This is a Unix slave hudson.util.IOException2: Failed to copy /jenkins/data/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.3.jar to /hudson_home/maven-agent.jar at hudson.FilePath.copyTo(FilePath.java:1726) at hudson.maven.MavenComputerListener.copyJar(MavenComputerListener.java:90) at hudson.maven.MavenComputerListener.preOnline(MavenComputerListener.java:57) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:469) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:343) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:712) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:498) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:226) 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:619) Caused by: java.io.IOException: Remote call on repo-01 failed at hudson.remoting.Channel.call(Channel.java:731) at hudson.FilePath.write(FilePath.java:1625) at hudson.FilePath.copyTo(FilePath.java:1719) ... 12 more Caused by: java.lang.NoClassDefFoundError: org/apache/commons/io/input/ProxyInputStream at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.lang.ClassLoader.defineClass(ClassLoader.java:466) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:289) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredField(Class.java:1880) at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1610) at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52) at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:425) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413) at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:547) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) at hudson.remoting.UserRequest.perform(UserRequest.java:98) 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) ... 5 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.ProxyInputStream at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:237) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 37 more Caused by: java.util.concurrent.ExecutionException: java.util.zip.ZipException: error in opening zip file at hudson.remoting.ResourceImageInJar$1.adapt(ResourceImageInJar.java:48) at hudson.remoting.ResourceImageInJar$1.adapt(ResourceImageInJar.java:42) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229) ... 40 more Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:114) at java.util.jar.JarFile.<init>(JarFile.java:133) at java.util.jar.JarFile.<init>(JarFile.java:70) at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:53) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132) at java.net.URL.openStream(URL.java:1009) at hudson.remoting.ResourceImageInJar$1.adapt(ResourceImageInJar.java:46) ... 43 more [07/16/13 15:39:20] [SSH] Connection closed. ERROR: Connection terminated java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) ERROR: [07/16/13 15:39:20] slave agent was terminated java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Jenkins JIRA | 3 years ago | hlau
    java.io.IOException: Unexpected termination of the channel
  6. 0

    My projects run on separate slave machines/nodes. Some of these projects have testcases that change the system clock. This causes Jenkins and the slave to immediately disconnect. It always happens. I've tried to dig into it a bit and here's what I have: I'm looking at hudson.remoting.PingThread.java The timeout on the channel ping is enforced by calculating the difference between 2 counter values, each obtained with System.currentTimeMillis(). However System.currentTimeMillis() is not the right way of obtaining such counters - the values are not monotonically increasing. If wall-clock time changes for any reason (like maybe Daylight savings or a manual change) then the value returned might become smaller than a moment ago. Obtaining the counter values with System.nanoTime() would solve this. STACK TRACE below: FATAL: Unable to delete script file C:\WINDOWS\TEMP\hudson2959765976006672203.bat 00:44:00 hudson.util.IOException2: remote file operation failed: C:\WINDOWS\TEMP\hudson2959765976006672203.bat at hudson.remoting.Channel@62ec4e:UTM-RT5AUTOM027 00:44:00 at hudson.FilePath.act(FilePath.java:901) 00:44:00 at hudson.FilePath.act(FilePath.java:878) 00:44:00 at hudson.FilePath.delete(FilePath.java:1263) 00:44:00 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:101) 00:44:00 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) 00:44:00 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 00:44:00 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) 00:44:00 at hudson.model.Build$BuildExecution.build(Build.java:199) 00:44:00 at hudson.model.Build$BuildExecution.doRun(Build.java:160) 00:44:00 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) 00:44:00 at hudson.model.Run.execute(Run.java:1592) 00:44:00 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:44:00 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:44:00 at hudson.model.Executor.run(Executor.java:237) 00:44:00 Caused by: hudson.remoting.ChannelClosedException: channel is already closed 00:44:00 at hudson.remoting.Channel.send(Channel.java:494) 00:44:00 at hudson.remoting.Request.call(Request.java:129) 00:44:00 at hudson.remoting.Channel.call(Channel.java:672) 00:44:00 at hudson.FilePath.act(FilePath.java:894) 00:44:00 ... 13 more 00:44:00 Caused by: java.io.IOException: Unexpected termination of the channel 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) 00:44:00 Caused by: java.io.EOFException 00:44:00 at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) 00:44:00 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) 00:44:00 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) 00:44:00 at hudson.remoting.Command.readFrom(Command.java:92) 00:44:00 at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) 00:44:00 FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 00:44:00 hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 00:44:00 at hudson.remoting.Request.call(Request.java:174) 00:44:00 at hudson.remoting.Channel.call(Channel.java:672) 00:44:00 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) 00:44:00 at $Proxy45.join(Unknown Source) 00:44:00 at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:925) 00:44:00 at hudson.Launcher$ProcStarter.join(Launcher.java:360) 00:44:00 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:91) 00:44:00 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) 00:44:00 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 00:44:00 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) 00:44:00 at hudson.model.Build$BuildExecution.build(Build.java:199) 00:44:00 at hudson.model.Build$BuildExecution.doRun(Build.java:160) 00:44:00 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) 00:44:00 at hudson.model.Run.execute(Run.java:1592) 00:44:00 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:44:00 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:44:00 at hudson.model.Executor.run(Executor.java:237) 00:44:00 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 00:44:00 at hudson.remoting.Request.abort(Request.java:299) 00:44:00 at hudson.remoting.Channel.terminate(Channel.java:732) 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) 00:44:00 Caused by: java.io.IOException: Unexpected termination of the channel 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) 00:44:00 Caused by: java.io.EOFException 00:44:00 at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) 00:44:00 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) 00:44:00 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) 00:44:00 at hudson.remoting.Command.readFrom(Command.java:92) 00:44:00 at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) 00:44:00 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Jenkins JIRA | 3 years ago | Ben Combrink
    hudson.util.IOException2: remote file operation failed: C:\WINDOWS\TEMP\hudson2959765976006672203.bat at hudson.remoting.Channel@62ec4e:UTM-RT5AUTOM027

  1. ex00 1 times, last 3 weeks ago
  2. eti22 1 times, last 1 month ago
  3. pnaranja 1 times, last 5 months ago
8 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.EOFException

    No message provided

    at java.io.ObjectInputStream$BlockDataInputStream.peekByte()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
    2. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
    3. java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    3 frames
  3. Hudson :: Remoting Layer
    SynchronousCommandTransport$ReaderThread.run
    1. hudson.remoting.Command.readFrom(Command.java:92)
    2. hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
    3. hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
    3 frames