Standard ubuntu-12.04 openjdk:
rich@gecko> java --version
Unrecognized option: --version
Could not create the Java virtual machine.
rich@gecko> java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
rich@gecko> dpkg -l | grep openjdk
ii openjdk-6-jre 6b24-1.11.3-1ubuntu0.12.04.1 OpenJDK Java runtime,
using Hotspot JIT
ii openjdk-6-jre-headless 6b24-1.11.3-1ubuntu0.12.04.1 OpenJDK Java
runtime, using Hotspot JIT (headless)
ii openjdk-6-jre-lib 6b24-1.11.3-1ubuntu0.12.04.1 OpenJDK Java
runtime (architecture independent libraries)
rich@ape> java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
rich@ape> dpkg -l | grep openjdk
ii openjdk-6-jre 6b24-1.11.3-1ubuntu0.12.04.1 OpenJDK Java
runtime, using Hotspot JIT
ii openjdk-6-jre-headless 6b24-1.11.3-1ubuntu0.12.04.1 OpenJDK
Java runtime, using Hotspot JIT (headless)
ii openjdk-6-jre-lib 6b24-1.11.3-1ubuntu0.12.04.1 OpenJDK Java
runtime (architecture independent libraries)
--rich
On 7/29/12 11:55 , Sami Tikka wrote:
From which package does "java" on the slave come from?
-- Sami
Rich Pixley <rich.pix...@palm.com <mailto:rich.pix...@palm.com>>
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.shape.palm.com <http://ape.palm.com>
+ set -e
+ '[' -nape.palm.com <http://ape.palm.com> ']'
+ target=/home/jenkins/slave.jar
+ sshape.palm.com <http://ape.palm.com> wget -q --auth-no-challenge
--no-check-certificate -O
/home/jenkins/slave.jar-newhttps://slave:pointl...@gecko.palm.com/jenkins/jnlpJars/slave.jar
+ sshape.palm.com <http://ape.palm.com> mv /home/jenkins/slave.jar-new
/home/jenkins/slave.jar
+ sshape.palm.com <http://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
<http://stacktrace.jenkins-ci.org/search?query=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 <http://stacktrace.jenkins-ci.org/search?query=Caused%20by>:
java.io.EOFException
atjava.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570)
<http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream$BlockDataInputStream.peekByte&entity=method>
atjava.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314)
<http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readObject0&entity=method>
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
<http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readObject&entity=method>
athudson.remoting.Channel$ReaderThread.run(Channel.java:1031)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel$ReaderThread.run&entity=method>