Hi guys,  
     I have the same problem on Jenkins ver. 2.164.1 <https://jenkins.io/>, 
Selenium Grid 3.12.0 and when start the slave in console will throw me this 
error:
<https://10.1.1.7:8443/pluginManager/plugin/selenium/thirdPartyLicenses>


Expanded the channel window size to 4MB
[04/02/19 09:05:15] [SSH] Starting slave process: cd "/var/jenkins" && 
/usr/lib/jvm/jdk1.8.0_191/bin/java -Xmx128m -Xms128m -jar slave.jar

<===[JENKINS REMOTING CAPACITY]===>channel started
Remoting version: 3.29
This is a Unix agent
Evacuated stdout
Starting Selenium nodes on automation-jenkins-node

Apr 02, 2019 9:05:17 AM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
WARNING: Attempt to (de-)serialize anonymous class 
hudson.plugins.selenium.configuration.DirectJsonInputConfiguration$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/

hudson.util.IOException2: Slave JVM has not reported exit code. Is it still 
running?
        at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:984)
        at hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:137)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:725)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:706)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Failed to copy 
/var/lib/jenkins/plugins/selenium/WEB-INF/lib/selenium-server-standalone-3.12.0.jar
 to /var/jenkins/selenium-server-standalone-3.12.0.jar
        at hudson.FilePath.copyTo(FilePath.java:2191)


Could someone help me? 

Thank you!



On Tuesday, June 13, 2017 at 11:05:40 PM UTC+3, Peter Berghold wrote:
>
> I'm trying to re-establish connectivity to an SSH slave that used to work 
> when I was running a much older version of Jenkins.  Currently I'm using 
> v2.65. What I'm seeing (somewhat trimmed) in the log is the following:
>
> [06/13/17 20:04:05] [SSH] Checking java version of java
> [06/13/17 20:04:05] [SSH] java -version returned 1.7.0_75.
> [06/13/17 20:04:05] [SSH] Starting sftp client.
> [06/13/17 20:04:05] [SSH] Copying latest slave.jar...
> [06/13/17 20:04:05] [SSH] Copied 719,269 bytes.
> Expanded the channel window size to 4MB
> [06/13/17 20:04:05] [SSH] Starting slave process: cd "/data/jenkins-slave" && 
> java  -jar slave.jar
> <===[JENKINS REMOTING CAPACITY]===>channel started
> Slave JVM has not reported exit code. Is it still running?
> [06/13/17 20:04:09] Launch failed - cleaning up connection
> [06/13/17 20:04:09] [SSH] Connection closed.
> ERROR: Connection terminated
> java.io.EOFException
>       at 
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2353)
>       at 
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2822)
>       at 
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:804)
>       at java.io.ObjectInputStream.<init>(ObjectInputStream.java:301)
>       at 
> hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
>       at 
> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
>       at 
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59)
> Caused: java.io.IOException: Unexpected termination of the channel
>       at 
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:73)
>
>
> At a loss...
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5c965224-776f-4d5e-8a29-80139e901c63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to