hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.EOFException

Jenkins JIRA | pestalella | 7 years ago
  1. 0

    [JENKINS-5073] hudson.util.IOException2: Failed to join the process - on a Windows slave - Jenkins JIRA

    jenkins-ci.org | 12 months ago
    hudson.util.IOException2: Failed to join the process
  2. 0

    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}

    Jenkins JIRA | 7 years ago | pestalella
    hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.EOFException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    When executing a free-style job in a Windows agent, this error appers: {noformat} //wc/psp/Branches/Release/PSP/content/EaTrax/MichaelFranti.wav#1 - added as P:\Release\PSP\content\EaTrax\MichaelFranti.wav //wc/psp/Branches/Release/PSP/content/EaTrax/MiikeSnow.wav#1 - added as P:\Release\PSPFATAL: command execution failed hudson.util.IOException2: Failed to join the process at hudson.Proc$RemoteProc.join(Proc.java:311) at hudson.Launcher$ProcStarter.join(Launcher.java:275) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:577) at hudson.model.Build$RunnerImpl.build(Build.java:165) at hudson.model.Build$RunnerImpl.doRun(Build.java:133) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1176) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.EOFException at hudson.remoting.Request$1.get(Request.java:218) at hudson.remoting.Request$1.get(Request.java:172) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.Proc$RemoteProc.join(Proc.java:303) ... 12 more 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) FATAL: Unable to delete script file C:\DOCUME~1\pcfarm08\LOCALS~1\Temp\2\hudson2101488692771117152.bat hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:677) at hudson.FilePath.act(FilePath.java:665) at hudson.FilePath.delete(FilePath.java:922) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:93) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:577) at hudson.model.Build$RunnerImpl.build(Build.java:165) at hudson.model.Build$RunnerImpl.doRun(Build.java:133) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1176) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Caused by: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:408) at hudson.remoting.Request.call(Request.java:105) at hudson.remoting.Channel.call(Channel.java:547) at hudson.FilePath.act(FilePath.java:672) ... 13 more [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released FATAL: channel is already closed hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:408) at hudson.remoting.Request.call(Request.java:105) at hudson.remoting.Channel.call(Channel.java:547) at hudson.Launcher$RemoteLauncher.kill(Launcher.java:734) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:422) at hudson.model.Run.run(Run.java:1176) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) {noformat} The job executes a batch command and it tooks 1h 17 min to fail in Hudson 1.336.

    Jenkins JIRA | 7 years ago | deccico
    hudson.util.IOException2: Failed to join the process
  5. 0

    When executing a free-style job in a Windows agent, this error appers: {noformat} //wc/psp/Branches/Release/PSP/content/EaTrax/MichaelFranti.wav#1 - added as P:\Release\PSP\content\EaTrax\MichaelFranti.wav //wc/psp/Branches/Release/PSP/content/EaTrax/MiikeSnow.wav#1 - added as P:\Release\PSPFATAL: command execution failed hudson.util.IOException2: Failed to join the process at hudson.Proc$RemoteProc.join(Proc.java:311) at hudson.Launcher$ProcStarter.join(Launcher.java:275) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:83) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:577) at hudson.model.Build$RunnerImpl.build(Build.java:165) at hudson.model.Build$RunnerImpl.doRun(Build.java:133) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1176) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.EOFException at hudson.remoting.Request$1.get(Request.java:218) at hudson.remoting.Request$1.get(Request.java:172) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.Proc$RemoteProc.join(Proc.java:303) ... 12 more 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) FATAL: Unable to delete script file C:\DOCUME~1\pcfarm08\LOCALS~1\Temp\2\hudson2101488692771117152.bat hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:677) at hudson.FilePath.act(FilePath.java:665) at hudson.FilePath.delete(FilePath.java:922) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:93) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:577) at hudson.model.Build$RunnerImpl.build(Build.java:165) at hudson.model.Build$RunnerImpl.doRun(Build.java:133) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1176) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Caused by: hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:408) at hudson.remoting.Request.call(Request.java:105) at hudson.remoting.Channel.call(Channel.java:547) at hudson.FilePath.act(FilePath.java:672) ... 13 more [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released FATAL: channel is already closed hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:408) at hudson.remoting.Request.call(Request.java:105) at hudson.remoting.Channel.call(Channel.java:547) at hudson.Launcher$RemoteLauncher.kill(Launcher.java:734) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:422) at hudson.model.Run.run(Run.java:1176) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) {noformat} The job executes a batch command and it tooks 1h 17 min to fail in Hudson 1.336.

    Jenkins JIRA | 7 years ago | deccico
    hudson.util.IOException2: Failed to join the process

  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(Unknown Source)
    2. java.io.ObjectInputStream.readObject0(Unknown Source)
    3. java.io.ObjectInputStream.readObject(Unknown Source)
    3 frames
  3. Hudson :: Remoting Layer
    Channel$ReaderThread.run
    1. hudson.remoting.Channel$ReaderThread.run(Channel.java:852)
    1 frame