Re: Unable to start slave on macosx, solaris and netbsd after upgrading to jenkins 1.520

2013-07-16 Thread crbeng
None unfortunately.  Manual emulation of ssh commands i.e. ssh $slave then cd
$JENKINSHOME && java -jar slave.jar succeeded.  Yet the slave connection
still fails with remote call on  failed ... error in opening zip
file.  



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Unable-to-start-slave-on-macosx-solaris-and-netbsd-after-upgrading-to-jenkins-1-520-tp4671324p4673045.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Unable to start slave on macosx, solaris and netbsd after upgrading to jenkins 1.520

2013-07-01 Thread crbeng
I tried a few times more and now it gives me "remote call ... failed".  And 
I can run java -jar slave.jar locally on the slave although it gives the 
expected complaint that I should not be starting the slave from the console.

[07/01/13 16:52:10] [SSH] Checking java version of java
[07/01/13 16:52:10] [SSH] java -version returned 1.6.0_27.
[07/01/13 16:52:10] [SSH] Starting sftp client.
[07/01/13 16:52:10] [SSH] Copying latest slave.jar...
[07/01/13 16:52:10] [SSH] Copied 326,006 bytes.
Expanded the channel window size to 4MB
[07/01/13 16:52:10] [SSH] Starting slave process: cd '/jenkins_home' && java  
-jar slave.jar

<===[JENKINS REMOTING CAPACITY]===>channel started
java.io.IOException: Remote call on b-solarisx86-02 failed
at hudson.remoting.Channel.call(Channel.java:731)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:451)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:347)
at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:712)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:498)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230)
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)

...




builder@b-solarisx86-02:/jenkins_home$ java -jar slave.jar 
WARNING: Are you running slave agent from an interactive console?
If so, you are probably using it incorrectly.
See 
http://wiki.jenkins-ci.org/display/JENKINS/Launching+slave.jar+from+from+console
<===[JENKINS REMOTING 
CAPACITY]===>rO0ABXNyABpodWRzb24ucmVtb3RpbmcuQ2FwYWJpbGl0eQABAgABSgAEbWFza3hwAB4=??

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Unable to start slave on macosx, solaris and netbsd after upgrading to jenkins 1.520

2013-07-01 Thread crbeng
These slaves were using java 1.5.  So I upgraded them all to 1.6.  But 
slaves cannot start using the same old method (launch slave agents on Unix 
machines using ssh) as before the upgrade.  I tried to debug by switching 
to launch slave vis execution of command on Master.  ssh  
scp :/jenkins/data/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.3.jar 
/jenkins_home/maven-agent.jar worked fine but ssh  cd 
/jenkins/home && java -jar slave.jar failed. There is no permission 
problem. Why did the copy fail? (My other slaves e.g. linux, linux ia64, 
freebsd etc that have been using java 1.6 all came up without any problems.)
...

[07/01/13 16:14:52] [SSH] Checking java version of java

[07/01/13 16:14:52] [SSH] java -version returned 1.6.0_27.
[07/01/13 16:14:52] [SSH] Starting sftp client.
[07/01/13 16:14:52] [SSH] Copying latest slave.jar...
[07/01/13 16:14:52] [SSH] Copied 326,006 bytes.
Expanded the channel window size to 4MB
[07/01/13 16:14:52] [SSH] Starting slave process: cd '/jenkins_home' && java  
-jar slave.jar
<===[JENKINS REMOTING CAPACITY]===>channel started

Slave.jar version: 2.24
This is a Unix slave

hudson.util.IOException2: Failed to copy 
/jenkins/data/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.3.jar to 
/jenkins_home/maven-agent.jar
at hudson.FilePath.copyTo(FilePath.java:1731)
at 
hudson.maven.MavenComputerListener.copyJar(MavenComputerListener.java:90)
at 
hudson.maven.MavenComputerListener.preOnline(MavenComputerListener.java:57)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:473)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:347)
at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:712)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:498)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230)
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)
Caused by: java.io.IOException: Remote call on b-solarisx86-02 failed
at hudson.remoting.Channel.call(Channel.java:731)
at hudson.FilePath.write(FilePath.java:1625)
at hudson.FilePath.copyTo(FilePath.java:1724)
... 12 more
Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/io/input/ProxyInputStream
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at 
hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:289)
at 
hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredField(Class.java:1880)
at 
java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1610)
at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:425)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.(ObjectStreamClass.java:413)
at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:547)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
at hudson.remoting.UserRequest.perform(UserRequest.java:98)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
... 5 mo