mjava.net.SocketException: Socket closed

Jenkins JIRA | Alex Gnooshin | 3 years ago
  1. 0

    after upgrading from 1.500 to 1.521 slave unstable become online and offline with the rule "Take this slave on-line when in demand and off-line when idle". Sorry, i cant found any log, except JNLP agent connected from /<ip_address> <===[JENKINS REMOTING CAPACITY]===> This is a Unix slave Slave successfully connected and online ERROR: Connection terminated ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=java.net.SocketException: Socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552) 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:72) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) slave run on AIX, 6.1 with the java 1.5 default, but 1.6 also installed. <slave> <name>4appt</name> <description></description> <remoteFS>/home/co/jenkins</remoteFS> <numExecutors>2</numExecutors> <mode>NORMAL</mode> <retentionStrategy class="hudson.slaves.RetentionStrategy$Demand"> <inDemandDelay>1</inDemandDelay> <idleDelay>1</idleDelay> </retentionStrategy> <launcher class="hudson.slaves.CommandLauncher"> <agentCommand>ssh co@<ip_address> &quot;cd /home/co/jenkins &amp;&amp; /usr/java6_64/jre/bin/java -Dfile.encoding=UTF-8 -jar slave.jar -jnlpUrl http://cpapp:10599/computer/4appt/slave-agent.jnlp -secret <hexamail_string>&quot;</agentCommand> </launcher> <label></label> <nodeProperties> <hudson.slaves.EnvironmentVariablesNodeProperty> <envVars serialization="custom"> <unserializable-parents/> <tree-map> <default> <comparator class="hudson.util.CaseInsensitiveComparator"/> </default> <int>2</int> <string>LANG</string> <string>RU_RU.UTF-8</string> <string>PATH</string> <string>/usr/java6_64/jre/bin/:/usr/java6_64/bin/:$PATH</string> </tree-map> </envVars> </hudson.slaves.EnvironmentVariablesNodeProperty> </nodeProperties> </slave> from http://SERVER/systemInfo: java.class.path jenkins.zip java.class.version 50.0 java.endorsed.dirs /usr/java/jdk1.6.0_18/jre/lib/endorsed Please, request, if needed any additional information - I'll add it.

    Jenkins JIRA | 3 years ago | Alex Gnooshin
    mjava.net.SocketException: Socket closed
  2. 0

    after upgrading from 1.500 to 1.521 slave unstable become online and offline with the rule "Take this slave on-line when in demand and off-line when idle". Sorry, i cant found any log, except JNLP agent connected from /<ip_address> <===[JENKINS REMOTING CAPACITY]===> This is a Unix slave Slave successfully connected and online ERROR: Connection terminated ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=java.net.SocketException: Socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552) 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:72) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) slave run on AIX, 6.1 with the java 1.5 default, but 1.6 also installed. <slave> <name>4appt</name> <description></description> <remoteFS>/home/co/jenkins</remoteFS> <numExecutors>2</numExecutors> <mode>NORMAL</mode> <retentionStrategy class="hudson.slaves.RetentionStrategy$Demand"> <inDemandDelay>1</inDemandDelay> <idleDelay>1</idleDelay> </retentionStrategy> <launcher class="hudson.slaves.CommandLauncher"> <agentCommand>ssh co@<ip_address> &quot;cd /home/co/jenkins &amp;&amp; /usr/java6_64/jre/bin/java -Dfile.encoding=UTF-8 -jar slave.jar -jnlpUrl http://cpapp:10599/computer/4appt/slave-agent.jnlp -secret <hexamail_string>&quot;</agentCommand> </launcher> <label></label> <nodeProperties> <hudson.slaves.EnvironmentVariablesNodeProperty> <envVars serialization="custom"> <unserializable-parents/> <tree-map> <default> <comparator class="hudson.util.CaseInsensitiveComparator"/> </default> <int>2</int> <string>LANG</string> <string>RU_RU.UTF-8</string> <string>PATH</string> <string>/usr/java6_64/jre/bin/:/usr/java6_64/bin/:$PATH</string> </tree-map> </envVars> </hudson.slaves.EnvironmentVariablesNodeProperty> </nodeProperties> </slave> from http://SERVER/systemInfo: java.class.path jenkins.zip java.class.version 50.0 java.endorsed.dirs /usr/java/jdk1.6.0_18/jre/lib/endorsed Please, request, if needed any additional information - I'll add it.

    Jenkins JIRA | 3 years ago | Alex Gnooshin
    mjava.net.SocketException: Socket closed

    Root Cause Analysis

    1. mjava.net.SocketException

      Socket closed

      at java.net.SocketInputStream.socketRead0()
    2. Java RT
      ObjectInputStream.readObject
      1. java.net.SocketInputStream.socketRead0(Native Method)
      2. java.net.SocketInputStream.read(SocketInputStream.java:129)
      3. java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      4. java.io.BufferedInputStream.read(BufferedInputStream.java:237)
      5. java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249)
      6. java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542)
      7. java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552)
      8. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
      9. java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      9 frames
    3. Hudson :: Remoting Layer
      SynchronousCommandTransport$ReaderThread.run
      1. hudson.remoting.Command.readFrom(Command.java:92)
      2. hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:72)
      3. hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
      3 frames