[JIRA] (JENKINS-17388) ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)

2013-03-29 Thread s.sog...@gmail.com (JIRA)















































sogabe
 resolved  JENKINS-17388 as Fixed


ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)
















already fixed. see https://github.com/jenkinsci/ssh-slaves-plugin/commit/9e6f0300cfdbb7da9072363a87a1856bc9ad361b





Change By:


sogabe
(29/Mar/13 6:55 AM)




Status:


Open
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.




[JIRA] (JENKINS-17388) ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)

2013-03-28 Thread kay...@blizzard.com (JIRA)














































Kenny Ayers
 commented on  JENKINS-17388


ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)















Same issue here. Jenkins ver. 1.489.

Jenkins SSH Slaves plugin 0.23

ERROR: Failed to expand buffer size
java.lang.NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)
	at java.lang.Class.getMethod(Class.java:1622)
	at hudson.plugins.sshslaves.SSHLauncher.expandChannelBufferSize(SSHLauncher.java:711)
	at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:661)
	at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:472)
	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.




[JIRA] (JENKINS-17388) ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)

2013-03-27 Thread panc...@java.net (JIRA)














































pancake
 created  JENKINS-17388


ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)















Issue Type:


Bug



Assignee:


Kohsuke Kawaguchi



Components:


ssh-slaves



Created:


27/Mar/13 3:34 PM



Description:


After updating SSH Slaves plugin to 0.23 we get this when slave is starting: 


[03/27/13 10:07:14] [SSH] Checking java version of /home/hudson/JDK_HOME_1_6_0/bin/java
[03/27/13 10:07:15] [SSH] /home/hudson/JDK_HOME_1_6_0/bin/java -version returned 1.6.0_16.
[03/27/13 10:07:15] [SSH] Starting sftp client.
[03/27/13 10:07:15] [SSH] Copying latest slave.jar...
[03/27/13 10:07:15] [SSH] Copied 278,201 bytes.
ERROR: Failed to expand buffer size
java.lang.NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)
	at java.lang.Class.getMethod(Class.java:1622)
	at hudson.plugins.sshslaves.SSHLauncher.expandChannelBufferSize(SSHLauncher.java:711)
	at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:661)
	at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:472)
	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
[03/27/13 10:07:15] [SSH] Starting slave process: cd '/home/hudson/HUDSON_HOME'  /home/hudson/JDK_HOME_1_6_0/bin/java -Xmx1024m -XX:HeapDumpPath=/home/hudson/HUDSON_HOME/_dumps/ -jar slave.jar

===[JENKINS REMOTING CAPACITY]===channel started
Slave.jar version: 2.17
This is a Unix slave
Copied maven-agent.jar
Copied maven3-agent.jar
Copied maven3-interceptor.jar
Copied maven-interceptor.jar
Copied maven2.1-interceptor.jar
Copied plexus-classworld.jar
Copied classworlds.jar
Evacuated stdout
Slave successfully connected and online




We had to downgrade to SSH Slaves plugin to 0.22, which resolved the problem:

[03/27/13 10:16:32] [SSH] Checking java version of /home/hudson/JDK_HOME_1_6_0/bin/java
[03/27/13 10:16:33] [SSH] /home/hudson/JDK_HOME_1_6_0/bin/java -version returned 1.6.0_16.
[03/27/13 10:16:33] [SSH] Starting sftp client.
[03/27/13 10:16:33] [SSH] Copying latest slave.jar...
[03/27/13 10:16:33] [SSH] Copied 278,201 bytes.
[03/27/13 10:16:33] [SSH] Starting slave process: cd '/home/hudson/HUDSON_HOME'  /home/hudson/JDK_HOME_1_6_0/bin/java -Xmx1024m -XX:HeapDumpPath=/home/hudson/HUDSON_HOME/_dumps/ -jar slave.jar
===[JENKINS REMOTING CAPACITY]===channel started
Slave.jar version: 2.17
This is a Unix slave
Copied maven-agent.jar
Copied maven3-agent.jar
Copied maven3-interceptor.jar
Copied maven-interceptor.jar
Copied maven2.1-interceptor.jar
Copied plexus-classworld.jar
Copied classworlds.jar
Evacuated stdout
Slave successfully connected and online




BTW, during this upgrade...downgrade process SSH slave credentials somehow got reset:

[03/27/13 10:14:02] [SSH] Opening SSH connection to jenkins-l64b.ourcompany.com:22.
[03/27/13 10:14:02] [SSH] Authenticating as jenkins/**.
[03/27/13 10:14:02] [SSH] Authentication failed.
hudson.AbortException: Authentication failed.
	at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:753)
	at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:278)
	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
[03/27/13 10:14:02] [SSH] Connection closed.





We've been using hudson/jenkins for many years and had to switch to LTS since so called "normal" version would get broken in 95%+ of all plugin/Jenkins updates. And now we observe similar problem with LTS. I guess many Jenkins users would agree with 

[JIRA] (JENKINS-17388) ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)

2013-03-27 Thread panc...@java.net (JIRA)














































pancake
 commented on  JENKINS-17388


ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)















JIC: if SSH Slaves plugin 0.23 is incompatible with LTS 1.480.3, I expect to see this in Jenkins Plugin Manager:

Warning: This plugin is built for Jenkins X.Y.Z or newer. It may or may not work in your Jenkins.





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.




[JIRA] (JENKINS-17388) ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)

2013-03-27 Thread scott.os...@inventrio.com (JIRA)














































Scott Oster
 commented on  JENKINS-17388


ssh-slaves 0.23: NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)















I have this same problem with jenkins 1.506.
03/27/13 12:44:29 SSH Starting sftp client.
03/27/13 12:44:29 SSH Copying latest slave.jar...
03/27/13 12:44:29 SSH Copied 284,160 bytes.
ERROR: Failed to expand buffer size
java.lang.NoSuchMethodException: com.trilead.ssh2.Session.setWindowSize(int)
	at java.lang.Class.getMethod(Class.java:1605)
	at hudson.plugins.sshslaves.SSHLauncher.expandChannelBufferSize(SSHLauncher.java:711)
	at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:661)
	at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:472)
	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:222)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
REDACTED
===JENKINS REMOTING CAPACITY===channel started
Slave.jar version: 2.22


Likewise, when upgrading to ssh-slave 0.23, all my ssh authentication broke (it created credentials for each slave, but the authentication didn't work; I had to manually create my own credential setting, and change it slave to use it).



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.