Community
Participate
Working Groups
E.g. Virgo.test.snapshot runs happily on slave2 but gives this error on slave1: BUILD FAILED /opt/users/hudsonbuild/workspace/virgo.test.snapshot/virgo-build/multi-bundle/artifact.xml:57: The following error occurred while executing this line: /opt/users/hudsonbuild/workspace/virgo.test.snapshot/virgo-build/multi-bundle/common.xml:138: The following error occurred while executing this line: /opt/users/hudsonbuild/workspace/virgo.test.snapshot/virgo-build/common/common.xml:150: Execute failed: java.io.IOException: Cannot run program "ant" (in directory "/opt/users/hudsonbuild/workspace/virgo.test.snapshot/org.eclipse.virgo.test.framework"): java.io.IOException: error=2, No such file or directory which implies that the command "ant" fails to run. This is probably because it is not in the path (normal ant commands are issued by hudson steps using an explicit path to the executable -- this is a command being executed explicitly). Please check the set-up for slave1 and slave2 -- I expect the paths to be constructed similarly. I am running ant 1.8.1 explicitly in this job. Currently, the job disposition is "build2" which means I don't care which of slave1/2 it runs on.
Created attachment 180955 [details] Diff between diagnostics on slave1 and slave2 The diff file shows, among other things, that the PATH environment variables and the java.library.path properties are different for the two slaves -- whereas the job spec is identical. The PATH discrepancy accounts for this build problem. Please can we match the execution environments as much as possible?
I've tweaked the path and run your test build without issue on slave1. -M.
Thank you You appear to have modified the virgo.test.snapshot build configuration. I shall be adjusting them all (virgo.*) back to build2.