problems with slave

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

problems with slave

Jon Schewe
I'm trying to get hudson to use a slave node to do some builds. I've got
it setup to start hudson via ssh and can see the java process running on
the slave. However when I try and run just a simple job that echos to
stdout and touches a file in the workspace I get the following:

Started by user jschewe
Building remotely on Boomerang VM
[Boomerang Short Regression] $ /bin/sh -xe /tmp/hudsoncedur3.sh
FATAL: command execution failed
hudson.util.IOException2: Failed to join the process
    at hudson.Proc$RemoteProc.join(Proc.java:269)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:84)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
    at hudson.model.Build$RunnerImpl.build(Build.java:195)
    at hudson.model.Build$RunnerImpl.doRun(Build.java:151)
    at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:272)
    at hudson.model.Run.run(Run.java:923)
    at hudson.model.Build.run(Build.java:112)
    at hudson.model.ResourceController.execute(ResourceController.java:93)
    at hudson.model.Executor.run(Executor.java:119)
Caused by: java.util.concurrent.ExecutionException:
java.lang.ExceptionInInitializerError
    at hudson.remoting.Channel$1.adapt(Channel.java:514)
    at hudson.remoting.Channel$1.adapt(Channel.java:509)
    at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
    at hudson.Proc$RemoteProc.join(Proc.java:261)
    ... 9 more
Caused by: java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
Recording test results

--
Jon Schewe | http://mtu.net/~jpschewe
If you see an attachment named signature.asc, this is my digital
signature. See http://www.gnupg.org for more information.

For I am convinced that neither death nor life, neither angels nor
demons, neither the present nor the future, nor any powers,
neither height nor depth, nor anything else in all creation, will
be able to separate us from the love of God that is in Christ
Jesus our Lord. - Romans 8:38-39


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: problems with slave

Jon Schewe
Turns out that I had GCJ 1.5.0 installed on the slave instead of Sun's
JDK. Installing Java 1.6 from Sun seems to have fixed the problem.

Jon Schewe wrote:

> I'm trying to get hudson to use a slave node to do some builds. I've got
> it setup to start hudson via ssh and can see the java process running on
> the slave. However when I try and run just a simple job that echos to
> stdout and touches a file in the workspace I get the following:
>
> Started by user jschewe
> Building remotely on Boomerang VM
> [Boomerang Short Regression] $ /bin/sh -xe /tmp/hudsoncedur3.sh
> FATAL: command execution failed
> hudson.util.IOException2: Failed to join the process
>     at hudson.Proc$RemoteProc.join(Proc.java:269)
>     at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:84)
>     at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58)
>     at hudson.model.Build$RunnerImpl.build(Build.java:195)
>     at hudson.model.Build$RunnerImpl.doRun(Build.java:151)
>     at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:272)
>     at hudson.model.Run.run(Run.java:923)
>     at hudson.model.Build.run(Build.java:112)
>     at hudson.model.ResourceController.execute(ResourceController.java:93)
>     at hudson.model.Executor.run(Executor.java:119)
> Caused by: java.util.concurrent.ExecutionException:
> java.lang.ExceptionInInitializerError
>     at hudson.remoting.Channel$1.adapt(Channel.java:514)
>     at hudson.remoting.Channel$1.adapt(Channel.java:509)
>     at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
>     at hudson.Proc$RemoteProc.join(Proc.java:261)
>     ... 9 more
> Caused by: java.lang.ExceptionInInitializerError
> Caused by: java.lang.NullPointerException
> Recording test results
>
>  

--
Jon Schewe | http://mtu.net/~jpschewe
If you see an attachment named signature.asc, this is my digital
signature. See http://www.gnupg.org for more information.

For I am convinced that neither death nor life, neither angels nor
demons, neither the present nor the future, nor any powers,
neither height nor depth, nor anything else in all creation, will
be able to separate us from the love of God that is in Christ
Jesus our Lord. - Romans 8:38-39


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]