Has the user that connect permissions on c:\JenkinsSlave? Is the folder 
c:\JenkinsSlave\remoting created? Are there some err_pid* files or log 
files in c:\JenkinsSlave folder?

El martes, 1 de septiembre de 2020 a las 17:48:39 UTC+2, Jérôme Godbout 
escribió:

> Hi,
>
>  
>
> I did solve my issue with the ssh agent I had earlier, but when I try to 
> do the same on another Windows client machine I get this weird error below. 
> The log on the slave are empty (c:\JenkinsSlave\remoting). The error is a 
> bit vague and I have no clue what is wrong. I can connect with ssh, I also 
> did it on the master node to approve the address to ensure it was not an 
> issue. Seem like the exchange stream are breaking down!?! what is going on?
>
>  
>
> [09/01/20 11:33:18] [SSH] Checking java version of 
> C:\Java\1_8_0_261\/bin/java
>
> [09/01/20 11:33:19] [SSH] C:\Java\1_8_0_261\/bin/java -version returned 
> 1.8.0_261.
>
> [09/01/20 11:33:19] [SSH] Starting sftp client.
>
> [09/01/20 11:33:19] [SSH] Copying latest remoting.jar...
>
> Source agent hash is E5FEC468D6F172BF394E1F2571EA686C. Installed agent 
> hash is E5FEC468D6F172BF394E1F2571EA686C
>
> Verified agent jar. No update is necessary.
>
> Expanded the channel window size to 4MB
>
> [09/01/20 11:33:35] [SSH] Starting agent process: cd "c:\JenkinsSlave" && 
> C:\Java\1_8_0_261\/bin/java  -jar remoting.jar -workDir c:\JenkinsSlave 
> -jar-cache c:\JenkinsSlave/remoting/jarCache
>
> <===[JENKINS REMOTING CAPACITY]===>Sep 01, 2020 11:33:35 AM 
> org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
>
> INFO: Using c:\JenkinsSlave\remoting as a remoting work directory
>
> Sep 01, 2020 11:33:35 AM org.jenkinsci.remoting.engine.WorkDirManager 
> setupLogging
>
> INFO: Both error and output logs will be printed to 
> c:\JenkinsSlave\remoting
>
> <===[JENKINS REMOTING CAPACITY]===>Exception in thread "main" 
> java.io.EOFException: unexpected stream termination
>
>         at 
> hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:415)
>
>         at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:360)
>
>         at hudson.remoting.Launcher.main(Launcher.java:770)
>
>         at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:718)
>
>         at hudson.remoting.Launcher.run(Launcher.java:398)
>
>         at hudson.remoting.Launcher.main(Launcher.java:298)
>
> ERROR: ERROR: Connection terminated
>
> java.io.IOException: Unexpected termination of the channel
>
> java.io.EOFException
>
>         at 
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681)
>
>         at 
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3156)
>
>         at 
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:862)
>
>         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:358)
>
>         at 
> hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
>
>         at hudson.remoting.Command.readFrom(Command.java:142)
>
>         at hudson.remoting.Command.readFrom(Command.java:128)
>
>         at 
> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
>
>         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)
>
> hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected 
> termination of the channel
>
>         at hudson.remoting.Request.abort(Request.java:340)
>
>         at hudson.remoting.Channel.terminate(Channel.java:1081)
>
>         at 
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:94)
>
>         Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote 
> call to KeilDellGris
>
>                at 
> hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
>
>                at hudson.remoting.Request.call(Request.java:202)
>
>                at hudson.remoting.Channel.call(Channel.java:997)
>
>                at 
> hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:642)
>
>                at 
> hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:424)
>
>                at 
> hudson.plugins.sshslaves.SSHLauncher.startAgent(SSHLauncher.java:623)
>
>                at 
> hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:112)
>
>                at 
> hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:457)
>
>                at 
> hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:422)
>
>                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: Unexpected termination of the channel
>
>         at 
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:77)
>
> Caused by: java.io.EOFException
>
>         at 
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681)
>
>         at 
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3156)
>
>         at 
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:862)
>
>         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:358)
>
>         at 
> hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
>
>         at hudson.remoting.Command.readFrom(Command.java:142)
>
>         at hudson.remoting.Command.readFrom(Command.java:128)
>
>         at 
> hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
>
>         at 
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)
>
> [09/01/20 11:33:37] Launch failed - cleaning up connection
>
> [09/01/20 11:33:37] [SSH] Connection closed.
>
>  
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0dc7e0f8-a8c3-42b7-8822-5b2da5bcf9a2n%40googlegroups.com.

Reply via email to