Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61897

With more than one executors on a node, the builds often go bad with "hudson.remoting.ChannelClosedException"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • core

      With more than one executors on a node, the builds often go bad with "hudson.remoting.ChannelClosedException". When two different builds run togheter on two different executors, they go in failed state. Below you can see a log section. 

      Instead if I set just  one executor on the same node, no problem at all.

      I alsto tried these:

      1) set the jvm option -Xmx1048m on the build but same problem!

      2) remove the jvm option and double the ram (8gb) but same problem!

      I'll really appreciate an help on this! Bye, Fabio

      from build output:

      Started by timerRunning as SYSTEMBuilding remotely on monauthbep01-auto in workspace /var/lib/jenkins/workspace/MONAUTH - INCAS - ISSUING - STANDIN [MONAUTH - INCAS - ISSUING - STANDIN] $ /bin/sh xe /tmp/jenkins5004094442920936653.shFATAL: Unable to delete script file /tmp/jenkins5004094442920936653.shjava.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2680) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3155) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:861) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:357) at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49) at hudson.remoting.Command.readFrom(Command.java:140) at hudson.remoting.Command.readFrom(Command.java:126) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:36) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)Caused: java.io.IOException: Unexpected termination of the channel                                              <-----!!! at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:77)Caused: hudson.remoting.ChannelClosedException: Channel "unknown": Remote call on monauthbep01-auto failed. The channel is closing down or has closed down

      from journalctl:

      Mar 26 10:36:00 monauthbep01 sshd[4891]: Received disconnect from 10.102.132.70 port 47270:11: Closed due to user request. <------!!
      Mar 26 10:36:00 monauthbep01 sshd[4891]: Disconnected from 10.102.132.70 port 47270 <------!!
      Mar 26 10:36:00 monauthbep01 sshd[4889]: pam_unix(sshd:session): session closed for user auto <------!!

            Unassigned Unassigned
            marzottifabio FABIO MARZOTTI
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: