java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Remoting issue - Jenkins - Jenkins Wiki
    via by Unknown author,
  • Commits · gluster/jenkins-ssh-slaves-plugin · GitHub
    via by Unknown author,
  • Remoting issue - Jenkins - Jenkins Wiki
    via by Unknown author,
  • SmartGit - gitosis
    via by Unknown author,
  • Every time there is a svn update for a job I get the following java exception and failure of job. * Restarted Jenkins server after updating plugin * Rolling back plugin to 1.34 resolves issue At revision 111811 hudson.util.IOException2: revision check failed on svn+ssh://[hostname]/repo/trunk at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:170) at hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:112) at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:562) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:709) at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:568) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:457) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: org.tmatesoft.svn.core.SVNException: svn: Sorry, this connection is closed. at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:154) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:74) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1242) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getLatestRevision(SVNRepositoryImpl.java:168) at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:482) at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:876) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:1020) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:895) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:827) at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:158) ... 10 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: Sorry, this connection is closed. at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:101) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:153) ... 20 more Caused by: java.io.IOException: Sorry, this connection is closed. at com.trilead.ssh2.transport.TransportManager.sendMessage(TransportManager.java:637) at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:582) at com.trilead.ssh2.Session.<init>(Session.java:40) at com.trilead.ssh2.Connection.openSession(Connection.java:1047) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshConnection.openSession(SshConnection.java:22) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshHost.openSession(SshHost.java:139) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshSessionPool.openSession(SshSessionPool.java:83) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:131) ... 20 more Caused by: java.io.IOException: Cannot read full block, EOF reached. at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81) at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108) at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:672) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:470) at java.lang.Thread.run(Thread.java:613)
    via by guillermo c,
  • Every time there is a svn update for a job I get the following java exception and failure of job. * Restarted Jenkins server after updating plugin * Rolling back plugin to 1.34 resolves issue At revision 111811 hudson.util.IOException2: revision check failed on svn+ssh://[hostname]/repo/trunk at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:170) at hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:112) at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:562) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:709) at hudson.model.AbstractProject.checkout(AbstractProject.java:1195) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:568) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:457) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: org.tmatesoft.svn.core.SVNException: svn: Sorry, this connection is closed. at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:154) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:74) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1242) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getLatestRevision(SVNRepositoryImpl.java:168) at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:482) at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:876) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:1020) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:895) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:827) at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:158) ... 10 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: Sorry, this connection is closed. at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:101) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:153) ... 20 more Caused by: java.io.IOException: Sorry, this connection is closed. at com.trilead.ssh2.transport.TransportManager.sendMessage(TransportManager.java:637) at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:582) at com.trilead.ssh2.Session.<init>(Session.java:40) at com.trilead.ssh2.Connection.openSession(Connection.java:1047) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshConnection.openSession(SshConnection.java:22) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshHost.openSession(SshHost.java:139) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshSessionPool.openSession(SshSessionPool.java:83) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:131) ... 20 more Caused by: java.io.IOException: Cannot read full block, EOF reached. at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81) at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108) at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:672) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:470) at java.lang.Thread.run(Thread.java:613)
    via by guillermo c,
  • The connection to the slave was working properly, happily compiling the assigned projects. One day the slave was marked as offline and I have been unable to put it online again. SSH logs attached: {noformat} [01/26/10 08:49:09] [SSH] Opening SSH connection to linuxbuilds_pc:22. [01/26/10 08:49:09] [SSH] Authenticating as ntr/******. [01/26/10 08:49:14] [SSH] Authentication successful. [01/26/10 08:49:14] [SSH] The remote users environment is: BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" [5]="i486-pc-linux-gnu") BASH_VERSION='3.2.48(1)-release' DIRSTACK=() EUID=1001 GROUPS=() HOME=/home/ntr HOSTNAME=linuxbuilds HOSTTYPE=i486 IFS=$' \t\n' LANG=en_US.UTF-8 LOGNAME=ntr MACHTYPE=i486-pc-linux-gnu MAIL=/var/mail/ntr OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PIPESTATUS=([0]="0") PPID=4288 PS4='+ ' PWD=/home/ntr SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='192.168.0.126 1248 22' SSH_CONNECTION='192.168.0.126 1248 192.168.0.149 22' TERM=dumb UID=1001 USER=ntr XDG_SESSION_COOKIE=4dcb3640c21109919ee3b7ef49f1c05c-1264492152.139463-403602541 _=']' [01/26/10 08:49:14] [SSH] Checking java version of java [01/26/10 08:49:15] [SSH] java -version returned 1.6.0_16. [01/26/10 08:49:15] [SSH] Starting sftp client. [01/26/10 08:49:15] [SSH] Copying latest slave.jar... hudson.util.IOException2: Could not copy slave.jar to slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:376) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:191) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:180) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: hudson.util.IOException2: Could not copy slave.jar to slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:373) ... 7 more Caused by: java.io.IOException: Unexpected end of sftp stream. at com.trilead.ssh2.SFTPv3Client.readBytes(SFTPv3Client.java:218) at com.trilead.ssh2.SFTPv3Client.receiveMessage(SFTPv3Client.java:241) at com.trilead.ssh2.SFTPv3Client.write(SFTPv3Client.java:1341) at hudson.plugins.sshslaves.SFTPClient$1.write(SFTPClient.java:78) at org.apache.commons.io.output.ProxyOutputStream.write(ProxyOutputStream.java:70) at org.apache.commons.io.output.CountingOutputStream.write(CountingOutputStream.java:71) at hudson.Util.copyStream(Util.java:405) at hudson.Util.copyStreamAndClose(Util.java:417) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:368) ... 7 more [01/26/10 08:49:15] [SSH] Connection closed. [01/26/10 09:02:44] [SSH] Opening SSH connection to linuxbuilds_pc:22. [01/26/10 09:02:44] [SSH] Authenticating as ntr/******. [01/26/10 09:02:49] [SSH] Authentication successful. [01/26/10 09:02:49] [SSH] The remote users environment is: BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" [5]="i486-pc-linux-gnu") BASH_VERSION='3.2.48(1)-release' DIRSTACK=() EUID=1001 GROUPS=() HOME=/home/ntr HOSTNAME=linuxbuilds HOSTTYPE=i486 IFS=$' \t\n' LANG=en_US.UTF-8 LOGNAME=ntr MACHTYPE=i486-pc-linux-gnu MAIL=/var/mail/ntr OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PIPESTATUS=([0]="0") PPID=4907 PS4='+ ' PWD=/home/ntr SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='192.168.0.126 1259 22' SSH_CONNECTION='192.168.0.126 1259 192.168.0.149 22' TERM=dumb UID=1001 USER=ntr XDG_SESSION_COOKIE=4dcb3640c21109919ee3b7ef49f1c05c-1264492966.674119-170607766 _=']' [01/26/10 09:02:49] [SSH] Checking java version of java [01/26/10 09:02:49] [SSH] java -version returned 1.6.0_16. [01/26/10 09:02:49] [SSH] Starting sftp client. [01/26/10 09:02:49] [SSH] Copying latest slave.jar... [01/26/10 09:02:49] [SSH] Copied 212,808 bytes. [01/26/10 09:02:49] [SSH] Starting slave process: cd '/home/ntr/hudson' && java -jar slave.jar <===[HUDSON REMOTING CAPACITY]===>channel started Slave.jar version: 1.341 This is a Unix slave Unexpected error in launching a slave. This is probably a bug in Hudson. hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.EOFException at hudson.remoting.Request.call(Request.java:137) at hudson.remoting.Channel.call(Channel.java:547) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:318) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:300) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:193) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:180) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: hudson.remoting.RequestAbortedException: java.io.EOFException at hudson.remoting.Request.abort(Request.java:257) at hudson.remoting.Channel.terminate(Channel.java:594) at hudson.remoting.Channel$ReaderThread.run(Channel.java:872) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:852) [01/26/10 09:02:50] [SSH] Error deleting file. java.io.IOException: Sorry, this connection is closed. at com.trilead.ssh2.transport.TransportManager.sendMessage(TransportManager.java:637) at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:582) at com.trilead.ssh2.Session.<init>(Session.java:40) at com.trilead.ssh2.Connection.openSession(Connection.java:1047) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:100) at com.trilead.ssh2.SFTPv3Client.<init>(SFTPv3Client.java:120) at hudson.plugins.sshslaves.SSHLauncher.afterDisconnect(SSHLauncher.java:487) at hudson.slaves.ComputerLauncher.afterDisconnect(ComputerLauncher.java:101) at hudson.slaves.SlaveComputer$2.onClosed(SlaveComputer.java:299) at hudson.remoting.Channel.terminate(Channel.java:609) at hudson.remoting.Channel$ReaderThread.run(Channel.java:872) Caused by: java.io.IOException: Remote sent corrupt MAC. at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:270) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:672) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:470) at java.lang.Thread.run(Unknown Source) [01/26/10 09:02:50] [SSH] Connection closed. [01/26/10 09:02:50] slave agent was terminated java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:852) {noformat}
    via by pestalella,
    • java.io.IOException: Cannot read full block, EOF reached. at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81) at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108) at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:685) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:481) at java.lang.Thread.run(Thread.java:722)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,