Hi,
I am trying to run the Unit tests using the command
ant clean test docs -Dforrest.home={$FORREST_HOME}
and the build is failing. The output is -
Buildfile: /home/hadoop/had/hadoop/hama-trunk/build.xml
clean:
pre-init:
[mkdir] Created dir: /home/hadoop/had/hadoop/hama-trunk/build
[mkdir] Created dir: /home/hadoop/had/hadoop/hama-trunk/build/classes
[mkdir] Created dir: /home/hadoop/had/hadoop/hama-trunk/build/test
[mkdir] Created dir: /home/hadoop/had/hadoop/hama-trunk/build/examples
[mkdir] Created dir:
/home/hadoop/had/hadoop/hama-trunk/build/reports/tests
[mkdir] Created dir: /home/hadoop/had/hadoop/hama-trunk/build/lib
[copy] Copying 15 files to /home/hadoop/had/hadoop/hama-trunk/build/lib
[touch] Creating /tmp/null1070640997
[delete] Deleting: /tmp/null1070640997
eval.reset.conf:
pre-init-reset-conf:
[copy] Copying 3 files to /home/hadoop/had/hadoop/hama-trunk/conf
[copy] Copying
/home/hadoop/had/hadoop/hama-trunk/conf/groomservers.template to
/home/hadoop/had/hadoop/hama-trunk/conf/groomservers
[copy] Copying
/home/hadoop/had/hadoop/hama-trunk/conf/hama-site.xml.template to
/home/hadoop/had/hadoop/hama-trunk/conf/hama-site.xml
[copy] Copying
/home/hadoop/had/hadoop/hama-trunk/conf/hama-env.sh.template to
/home/hadoop/had/hadoop/hama-trunk/conf/hama-env.sh
init:
compile:
[mkdir] Created dir: /home/hadoop/had/hadoop/hama-trunk/build/src
[javac] Compiling 77 source files to
/home/hadoop/had/hadoop/hama-trunk/build/classes
compile-test:
[javac] Compiling 15 source files to
/home/hadoop/had/hadoop/hama-trunk/build/test
[jar] Building jar:
/home/hadoop/had/hadoop/hama-trunk/build/hama-0.3.0-test.jar
test:
[junit] Running org.apache.hama.bsp.TestBSPMasterGroomServer
[junit] Running org.apache.hama.bsp.TestBSPMasterGroomServer
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.apache.hama.bsp.TestBSPMasterGroomServer FAILED
(timeout)
[junit] Running org.apache.hama.bsp.TestBSPMessageBundle
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.033 sec
[junit] Running org.apache.hama.bsp.TestBSPPeer
[junit] Running org.apache.hama.bsp.TestBSPPeer
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.apache.hama.bsp.TestBSPPeer FAILED (timeout)
[junit] Running org.apache.hama.bsp.TestClusterStatus
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.205 sec
[junit] Running org.apache.hama.bsp.TestSerializePrinting
[junit] Running org.apache.hama.bsp.TestSerializePrinting
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.apache.hama.bsp.TestSerializePrinting FAILED (timeout)
[junit] Running org.apache.hama.ipc.TestIPC
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 12.127 sec
[junit] Running org.apache.hama.ipc.TestRPC
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.663 sec
[junit] Running org.apache.hama.util.TestBytes
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.145 sec
[junit] Running org.apache.hama.util.TestNumeric
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.121 sec
[junit] Running org.apache.hama.util.TestRandomVariable
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.009 sec
BUILD FAILED
/home/hadoop/had/hadoop/hama-trunk/build.xml:329: Tests failed!
Total time: 30 minutes 24 seconds
Kind Regards,
Ashish