You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by sebb <se...@gmail.com> on 2010/01/12 16:25:27 UTC

Hudson - remote builds strange behaviour

There seem to be some odd happenings when JMeter tries to build remotely.

See the forwarded message, which says that the build failed because it
could not find:

java.io.IOException: Cannot run program "ant" (in directory
"<http://hudson.zones.apache.org/hudson/job/JMeter-trunk/ws/trunk")>:
java.io.IOException: error=2, No such file or directory

However, the Console output for the job says:

java.io.IOException: Cannot run program "ant" (in directory
"/home/hudson/hudson-slave/workspace/JMeter-trunk/trunk"):
java.io.IOException: error=2, No such file or directory

Is it possible to login to the slave to see what is really going on here?

---------- Forwarded message ----------
From: Apache Hudson Server <hu...@hudson.zones.apache.org>
Date: 12 Jan 2010 13:26
Subject: Build failed in Hudson: JMeter-trunk #801
To: sebbaz@gmail.com


See <http://hudson.zones.apache.org/hudson/job/JMeter-trunk/801/>

 ------------------------------------------
 Started by timer
 Building remotely on vesta.apache.org (Ubuntu)
 Updating http://svn.apache.org/repos/asf/jakarta/jmeter/trunk
 U         xdocs/changes.xml
 U         NOTICE
 U         src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java
 U         src/protocol/http/org/apache/jmeter/protocol/http/parser/JTidyHTMLParser.java
 U         src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParsingUtils.java
 U         src/components/org/apache/jmeter/assertions/HTMLAssertion.java
 U         src/core/org/apache/jmeter/util/XPathUtil.java
 U         build.properties
 U         README
 U         build.xml
 U         eclipse.classpath
 D         lib/Tidy.jar
 U         lib/aareadme.txt
  U        lib
  U        bin/shutdown.sh
  U        bin/stoptest.sh
 At revision 898314
 no change for http://svn.apache.org/repos/asf/jakarta/jmeter/trunk
since the previous build
 [locks-and-latches] Checking to see if we really have the locks
 [locks-and-latches] Have all the locks, build can start
 FATAL: command execution failed.Maybe you need to configure the job
to choose one of your Ant installations?
 java.io.IOException: Cannot run program "ant" (in directory
"<http://hudson.zones.apache.org/hudson/job/JMeter-trunk/ws/trunk")>:
java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at hudson.Proc$LocalProc.<init>(Proc.java:148)
        at hudson.Proc$LocalProc.<init>(Proc.java:120)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
        at hudson.Launcher$ProcStarter.start(Launcher.java:268)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:775)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:753)
        at hudson.remoting.UserRequest.perform(UserRequest.java:104)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:236)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        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:619)
 Caused by: java.io.IOException: java.io.IOException: error=2, No such
file or directory
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        ... 15 more
 [locks-and-latches] Releasing all the locks
 [locks-and-latches] All the locks released