incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon" <edwardy...@apache.org>
Subject Re: Unit tests Failing
Date Wed, 04 May 2011 06:40:19 GMT
Fyi, you also need to shutdown bsp daemons.

Sent from my iPhone

On 2011. 5. 4., at 오전 11:29, "ChiaHung Lin" <chl501@nuk.edu.tw> wrote:

> I build with trunk and the process works well. Which version are you using? 
> 
>    [exec] BUILD SUCCESSFUL
>     [exec] Total time: 8 seconds
>     [copy] Copying 81 files to /home/user/hama-trunk/build/docs/site
>     [copy] Copied 9 empty directories to 3 empty directories under /home/user/hama-trunk/build/docs/site
>   [delete] Deleting directory /home/user/hama-trunk/src/docs/build
> 
> BUILD SUCCESSFUL
> Total time: 1 minute 37 seconds
> 
> The command used is `ant clean test docs -Dforrest.home=$FORREST_HOME`
> 
> `ant clean test docs -Dforrest.home={$FORREST_HOME}` will throw error because ant can
not recognize the variable `{$FORREST_HOME}'
> 
> The error may be 
> 
>    Execute failed: java.io.IOException: Cannot run program "{/home/user/apache-forrest-0.9/}/bin/forrest"
(in directory "/home/user/hama-trunk/src/docs"): java.io.IOException: error=2, No such file
or directory
> 
> 
> From the error message shown in the mail, it looks like the test case TestSerializePrinting
does not get passed. Have you checked the output located under $HAMA_HOME/build/reports/tests/?
It might provide more information on what goes wrong. 
> 
> 
> -----Original message-----
> From:Ashish Agarwal <ashish.a77777@gmail.com>
> To:hama-dev@incubator.apache.org
> Date:Tue, 3 May 2011 04:33:42 -0600
> Subject:Unit tests Failing
> 
> 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
> 
> 
> --
> ChiaHung Lin
> Department of Information Management
> National University of Kaohsiung
> Taiwan

Mime
View raw message