From which package does "java" on the slave come from? -- Sami
Rich Pixley <[email protected]> kirjoitti 28.7.2012 kello 0.24: > I'm trying to set up my first slave and I'm running into a problem I don't > understand or know how to debug. > > Both machines are ubuntu-12.04, standard ubuntu jenkins install, configured > for " Project-based Matrix Authorization Strategy". > > It looks to me as though my script has successfully contacted the slave, > downloaded slave.jar, and launched it, but for reasons that aren't clear, the > jenkins protocol is getting screwed up. > > Can anyone tell me what this might mean? > > --rich > > [07/27/12 14:12:36] Launching slave agent > $ /bin/sh -x /var/lib/jenkins/runslave.sh ape.palm.com > + set -e > + '[' -n ape.palm.com ']' > + target=/home/jenkins/slave.jar > + ssh ape.palm.com wget -q --auth-no-challenge --no-check-certificate -O > /home/jenkins/slave.jar-new > https://slave:[email protected]/jenkins/jnlpJars/slave.jar > + ssh ape.palm.com mv /home/jenkins/slave.jar-new /home/jenkins/slave.jar > + ssh ape.palm.com /usr/bin/java -jar /home/jenkins/slave.jar > <===[JENKINS REMOTING CAPACITY]===>channel started > Ping failed. Terminating > ERROR: Connection terminated > ERROR: Unexpected error in launching a slave. This is probably a bug in > Jenkins > hudson.remoting.RequestAbortedException: > hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected > termination of the channel > java.io.IOException: Unexpected termination of the channel > at hudson.remoting.Channel$ReaderThread.run(Channel.java:1037) > Caused by: java.io.EOFException > at > java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570) > at hudson.remoting.Request.call(Request.java:149) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314) > at hudson.remoting.Channel.call(Channel.java:668) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) > at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:333) > at hudson.slaves.CommandLauncher.launch(CommandLauncher.java:121) > at hudson.remoting.Channel$ReaderThread.run(Channel.java:1031) > at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:198) > ERROR: Process terminated with exit code 255 > 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) > Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: > Unexpected termination of the channel > at hudson.remoting.Request.abort(Request.java:273) > at hudson.remoting.Channel.terminate(Channel.java:719) > at hudson.remoting.Channel$ReaderThread.run(Channel.java:1060) > Caused by: java.io.IOException: Unexpected termination of the channel > at hudson.remoting.Channel$ReaderThread.run(Channel.java:1037) > Caused by: java.io.EOFException > at > java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) > at hudson.remoting.Channel$ReaderThread.run(Channel.java:1031) >
