[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Ivan Fernandez Calvo commented on JENKINS-55363 Re: Support different SSH providers I'm working on this branch https://github.com/jenkinsci/ssh-slaves-plugin/tree/ssh-slaves-2.0 it is not ready to use yet Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.196466.154610799.6206.1564740120367%40Atlassian.JIRA.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Thai Pham commented on JENKINS-55363 Re: Support different SSH providers Ivan Fernandez Calvo do you happen to have any progress on implementing this feature? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.196466.154610799.6041.1564721100130%40Atlassian.JIRA.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Thai Pham commented on JENKINS-55363 Re: Support different SSH providers Ivan Fernandez Calvo, I meant to answer your previous comments, didn't mean to hijack it to get support. Anyway, how is the progress of this ticket? I can help to test it if you need a hand. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.196466.154610799.20504.1557274080177%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Ivan Fernandez Calvo commented on JENKINS-55363 Re: Support different SSH providers ec2 plugin used SSH or JNLP depends on how you configure it, please do not hijack this Jira issue to get support if you have questions, please use the google groups, if you have an issue report it on the plugin you use with enough data to replicate it. see How to report an issue Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Thai Pham commented on JENKINS-55363 Re: Support different SSH providers Ivan Fernandez Calvo, I didn't try it as it seems to be against the general recommendations. I doubt that it improve anything as I don't have any issue when I use the `ec2` plugin which I believe doesn't use the `ssh-slaves-plugin` to connect to the slaves. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Ivan Fernandez Calvo commented on JENKINS-55363 Re: Support different SSH providers Did you try to disable the Slave+To+Master+Access+Control? I've found it several times related to random disconnections. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Thai Pham commented on JENKINS-55363 Re: Support different SSH providers Awesome! I've tried a few different ways to improve the connectivity between the Jenkins master and the slaves but had no luck so far. I tried disabling PingThread as suggested by https://speakerdeck.com/onenashev/day-of-jenkins-2017-dealing-with-agent-connectivity-issues?slide=29 but haven't found anything that could lead to the root cause as all the stack trace patterns were the same as the one I posted above. I also tried reducing the TCP keepalive settings on both the master and the slaves but it didn't improve anything. I look forwards to using the new feature as I believe it will solve our issue. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Ivan Fernandez Calvo commented on JENKINS-55363 Re: Support different SSH providers I am working on this one, right now I have some stuff but it is not ready to use yet. About your issue, you would check the troubleshooting guide Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Thai Pham edited a comment on JENKINS-55363 Re: Support different SSH providers Is there any plan to work on this? I think that the SSH native client worked more reliably for me when I used the `ec2` plugin with the SSH process enabled . After switching to the `ec2-fleet` plugin, which uses this plugin as a computer connector , I started to see more and more instances getting terminated{quote}Apr 08, 2019 6:55:13 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run INFO: I/O error in channel i-0544c80944d28d2a7 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.(ObjectInputStream.java:358) at hudson.remoting.ObjectInputStreamEx.(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){quote}TBH, I'm not sure if this is an issue of the remoting plugin or not but it didn't happen to me this often when I used the SSH process client with the `ec2` plugin. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Thai Pham edited a comment on JENKINS-55363 Re: Support different SSH providers Is there any plan to work on this? I think that the SSH native client worked more reliably for me when I used the `ec2` plugin. After switching to this plugin, I started to see more and more instances getting terminated { { quote} Apr 08, 2019 6:55:13 AM hudson.remoting.SynchronousCommandTransport$ReaderThread runINFO: I/O error in channel i-0544c80944d28d2a7java.io.IOException: Unexpected termination of the channelat hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:77)Caused by: java.io.EOFExceptionat 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.(ObjectInputStream.java:358)at hudson.remoting.ObjectInputStreamEx.(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) {quote } } TBH, I'm not sure if this is an issue of the remoting plugin or not but it didn't happen to me this often when I used the `ec2` plugin. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Thai Pham commented on JENKINS-55363 Re: Support different SSH providers Is there any plan to work on this? I think that the SSH native client worked more reliably for me when I used the `ec2` plugin. After switching to this plugin, I started to see more and more instances getting terminated {{Apr 08, 2019 6:55:13 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run INFO: I/O error in channel i-0544c80944d28d2a7 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.(ObjectInputStream.java:358) at hudson.remoting.ObjectInputStreamEx.(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)}} TBH, I'm not sure if this is an issue of the remoting plugin or not but it didn't happen to me this often when I used the `ec2` plugin. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-55363) Support different SSH providers
Title: Message Title Ivan Fernandez Calvo created an issue Jenkins / JENKINS-55363 Support different SSH providers Issue Type: New Feature Assignee: Ivan Fernandez Calvo Components: ssh-slaves-plugin Created: 2018-12-29 18:26 Priority: Minor Reporter: Ivan Fernandez Calvo The only SSH provider used now is the trilead-ssh2 library, there is not a direct way to replace this library with other implementation or use the SSH native client, thus we want to make the SSH implementation used pluggable, then you can choose the implementation used to connect by SSH. We are going to create an SSHProvider interface and implement two providers the current one trilead-ssh2 and a new native client provider. Add Comment