|
|
-
JUint test failing in HDFS when building Hadoop from source.Leena Rajendran 2013-02-19, 17:33
Hi,
I am posting for the first time. Please let me know if this needs to go to any other mailing list. I am trying to build Hadoop from source code, and I am able to successfully build until the Hadoop-Common-Project. However, in case of HDFS the test called "TestHftpURLTimeouts" is failing intermittently. Please note that when I run the test individually, it passes. I have taken care of all steps given in HowToContribute twiki page of Hadoop. Please let me know , 1. Whether this kind of behaviour is expected 2. Can this intermittent test case failure be ignored. 3. Will it be a reliable build if I use the -DskipTests option in mvn command Adding build results below for the following command : mvn -e package -Pdist,native -Dtar Results : Failed tests: testHftpSocketTimeout(org.apache.hadoop.hdfs.TestHftpURLTimeouts): expected:<connect timed out> but was:<null> Tests run: 705, Failures: 1, Errors: 0, Skipped: 3 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop Main ................................ SUCCESS [2.280s] [INFO] Apache Hadoop Project POM ......................... SUCCESS [2.339s] [INFO] Apache Hadoop Annotations ......................... SUCCESS [3.916s] [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.323s] [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [2.762s] [INFO] Apache Hadoop Auth ................................ SUCCESS [7.695s] [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [1.997s] [INFO] Apache Hadoop Common .............................. SUCCESS [14:13.276s] [INFO] Apache Hadoop Common Project ...................... SUCCESS [0.026s] [INFO] Apache Hadoop HDFS ................................ FAILURE [1:36:02.602s] [INFO] Apache Hadoop HttpFS .............................. SKIPPED [INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED [INFO] Apache Hadoop HDFS Project ........................ SKIPPED [INFO] hadoop-yarn ....................................... SKIPPED [INFO] hadoop-yarn-api ................................... SKIPPED [INFO] hadoop-yarn-common ................................ SKIPPED [INFO] hadoop-yarn-server ................................ SKIPPED [INFO] hadoop-yarn-server-common ......................... SKIPPED [INFO] hadoop-yarn-server-nodemanager .................... SKIPPED [INFO] hadoop-yarn-server-web-proxy ...................... SKIPPED [INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED [INFO] hadoop-yarn-server-tests .......................... SKIPPED [INFO] hadoop-yarn-client ................................ SKIPPED [INFO] hadoop-yarn-applications .......................... SKIPPED [INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED [INFO] hadoop-mapreduce-client ........................... SKIPPED [INFO] hadoop-mapreduce-client-core ...................... SKIPPED [INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SKIPPED [INFO] hadoop-yarn-site .................................. SKIPPED [INFO] hadoop-yarn-project ............................... SKIPPED [INFO] hadoop-mapreduce-client-common .................... SKIPPED [INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED [INFO] hadoop-mapreduce-client-app ....................... SKIPPED [INFO] hadoop-mapreduce-client-hs ........................ SKIPPED [INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED [INFO] hadoop-mapreduce-client-hs-plugins ................ SKIPPED [INFO] Apache Hadoop MapReduce Examples .................. SKIPPED [INFO] hadoop-mapreduce .................................. SKIPPED [INFO] Apache Hadoop MapReduce Streaming ................. SKIPPED [INFO] Apache Hadoop Distributed Copy .................... SKIPPED [INFO] Apache Hadoop Archives ............................ SKIPPED [INFO] Apache Hadoop Rumen ............................... SKIPPED [INFO] Apache Hadoop Gridmix ............................. SKIPPED [INFO] Apache Hadoop Data Join ........................... SKIPPED [INFO] Apache Hadoop Extras .............................. SKIPPED [INFO] Apache Hadoop Pipes ............................... SKIPPED [INFO] Apache Hadoop Tools Dist .......................... SKIPPED [INFO] Apache Hadoop Tools ............................... SKIPPED [INFO] Apache Hadoop Distribution ........................ SKIPPED [INFO] Apache Hadoop Client .............................. SKIPPED [INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1:50:38.618s [INFO] Finished at: Sat Feb 16 08:52:55 IST 2013 [INFO] Final Memory: 55M/416M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project hadoop-hdfs: ExecutionException; nested exception is java.util.concurrent.ExecutionException: java.lang.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project hadoop-hdfs: ExecutionException; nested exception is java.util.concurrent.ExecutionException: java.lang.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild |