-
Bug
-
Resolution: Unresolved
-
Critical
-
Jenkins MASTER:
Jenkins 2.190.1 core and libraries
Script Security Plugin 1.68
Pipeline: Groovy 2.75
linux redhat 3.10.0-957.5.1.el7.x86_64
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
4 cores
8 gb ram
Jenkins NODE:
linux redhat 3.10.0-957.5.1.el7.x86_64
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
4 cores
4 gb ram
Jenkins MASTER: Jenkins 2.190.1 core and libraries Script Security Plugin 1.68 Pipeline: Groovy 2.75 linux redhat 3.10.0-957.5.1.el7.x86_64 openjdk version "1.8.0_222" OpenJDK Runtime Environment (build 1.8.0_222-b10) OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode) 4 cores 8 gb ram Jenkins NODE: linux redhat 3.10.0-957.5.1.el7.x86_64 openjdk version "1.8.0_222" OpenJDK Runtime Environment (build 1.8.0_222-b10) OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode) 4 cores 4 gb ram
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 <------!!