java.io.IOException: Unexpected termination of the channel

Jenkins JIRA | Ryan Wightman | 4 years ago
  1. 0

    Build failing because Jenkins is unable to delete a tmp file

    Google Groups | 4 years ago | Stefano Perticoni
    hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channelhudson.remoting.RequestAbortedException <http://stacktrace.jenkins-ci.org/search?query=hudson.remoting.RequestAbortedException>: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.call(Request.java:174) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request.call&entity=method> at hudson.remoting.Channel.call(Channel.java:663) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.call&entity=method> at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.RemoteInvocationHandler.invoke&entity=method>
  2. 0

    When the master attempts to connect to the OS X slave via SSH, it will establish the SSH connection, but fails with OutOfMemoryError during remoting communication. [09/20/12 11:45:56] [SSH] Opening SSH connection to mavis:22. [09/20/12 11:45:56] [SSH] Authenticating as jenkins with E:\Jenkins\id_dsa. [09/20/12 11:45:57] [SSH] Authentication successful. [09/20/12 11:45:58] [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]="x86_64-apple-darwin12") BASH_VERSION='3.2.48(1)-release' DIRSTACK=() EUID=1571527887 GROUPS=() HOME=/Users/jenkins HOSTNAME=mavis.local HOSTTYPE=x86_64 IFS=$' \t\n' LOGNAME=jenkins MACHTYPE=x86_64-apple-darwin12 MAIL=/var/mail/jenkins OPTERR=1 OPTIND=1 OSTYPE=darwin12 PATH=/usr/bin:/bin:/usr/sbin:/sbin PPID=71651 PS4='+ ' PWD=/Users/jenkins SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='10.234.1.39 39636 22' SSH_CONNECTION='10.234.1.39 39636 10.234.1.24 22' TERM=dumb TMPDIR=/var/folders/vp/nsslsj0x1fv8j8cw_3mkmw3dftq76g/T/ UID=1571527887 USER=jenkins _=bash [09/20/12 11:45:58] [SSH] Checking java version of java [09/20/12 11:45:58] [SSH] java -version returned 1.6.0_33. [09/20/12 11:45:58] [SSH] Starting sftp client. [09/20/12 11:45:58] [SSH] Copying latest slave.jar... [09/20/12 11:45:58] [SSH] Copied 278,201 bytes. [09/20/12 11:45:58] [SSH] Starting slave process: cd '/var/jenkins' && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.17 This is a Unix slave ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.reflect.MethodAccessorGenerator.generate(Unknown Source) at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(Unknown Source) at sun.reflect.ReflectionFactory.newConstructorForSerialization(Unknown Source) at java.io.ObjectStreamClass.getSerializableConstructor(Unknown Source) at java.io.ObjectStreamClass.access$1500(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) [09/20/12 11:45:59] [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(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) ERROR: [09/20/12 11:45:59] 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(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

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

    When the master attempts to connect to the OS X slave via SSH, it will establish the SSH connection, but fails with OutOfMemoryError during remoting communication. [09/20/12 11:45:56] [SSH] Opening SSH connection to mavis:22. [09/20/12 11:45:56] [SSH] Authenticating as jenkins with E:\Jenkins\id_dsa. [09/20/12 11:45:57] [SSH] Authentication successful. [09/20/12 11:45:58] [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]="x86_64-apple-darwin12") BASH_VERSION='3.2.48(1)-release' DIRSTACK=() EUID=1571527887 GROUPS=() HOME=/Users/jenkins HOSTNAME=mavis.local HOSTTYPE=x86_64 IFS=$' \t\n' LOGNAME=jenkins MACHTYPE=x86_64-apple-darwin12 MAIL=/var/mail/jenkins OPTERR=1 OPTIND=1 OSTYPE=darwin12 PATH=/usr/bin:/bin:/usr/sbin:/sbin PPID=71651 PS4='+ ' PWD=/Users/jenkins SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='10.234.1.39 39636 22' SSH_CONNECTION='10.234.1.39 39636 10.234.1.24 22' TERM=dumb TMPDIR=/var/folders/vp/nsslsj0x1fv8j8cw_3mkmw3dftq76g/T/ UID=1571527887 USER=jenkins _=bash [09/20/12 11:45:58] [SSH] Checking java version of java [09/20/12 11:45:58] [SSH] java -version returned 1.6.0_33. [09/20/12 11:45:58] [SSH] Starting sftp client. [09/20/12 11:45:58] [SSH] Copying latest slave.jar... [09/20/12 11:45:58] [SSH] Copied 278,201 bytes. [09/20/12 11:45:58] [SSH] Starting slave process: cd '/var/jenkins' && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.17 This is a Unix slave ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.OutOfMemoryError: PermGen space at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.reflect.MethodAccessorGenerator.generate(Unknown Source) at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(Unknown Source) at sun.reflect.ReflectionFactory.newConstructorForSerialization(Unknown Source) at java.io.ObjectStreamClass.getSerializableConstructor(Unknown Source) at java.io.ObjectStreamClass.access$1500(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) [09/20/12 11:45:59] [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(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) ERROR: [09/20/12 11:45:59] 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(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Jenkins JIRA | 4 years ago | Ryan Wightman
    java.io.IOException: Unexpected termination of the channel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-6817] FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel - Jenkins JIRA

    jenkins-ci.org | 11 months ago
    hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
  6. 0

    Jenkins slave terminated error message

    Google Groups | 3 years ago | Lily Fu
    java.io.IOException: Unexpected termination of the channel

  1. ex00 1 times, last 2 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
    SynchronousCommandTransport$ReaderThread.run
    1. hudson.remoting.Command.readFrom(Command.java:90)
    2. hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
    3. hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
    3 frames