Hi Amit, The common-dev list is more suited for Apache Hadoop development-related questions, so I've moved it to that and bcc'd user@. Each failed test also produces a log under the build directory for the real reason of failure - can you also inspect that to determine the reason behind the failures? If there are genuine bugs from your analysis, and the failures are consistent, please do file a JIRA as well.
On Sun, Apr 28, 2013 at 12:05 AM, Amit Sela <am...@infolinks.com> wrote: > Hi all, > > I'm trying to run ant test on a clean Hadoop branch-1 checkout. > ant works fine but when I run ant test I get a lot of failures: > > Test org.apache.hadoop.cli.TestCLI FAILED > Test org.apache.hadoop.fs.TestFileUtil FAILED > Test org.apache.hadoop.fs.TestHarFileSystem FAILED > Test org.apache.hadoop.fs.TestUrlStreamHandler FAILED > Test org.apache.hadoop.hdfs.TestAbandonBlock FAILED > Test org.apache.hadoop.hdfs.TestBlocksScheduledCounter FAILED > Test org.apache.hadoop.hdfs.TestDFSShell FAILED > Test org.apache.hadoop.hdfs.TestDFSShellGenericOptions FAILED > Test org.apache.hadoop.hdfs.TestDataTransferProtocol FAILED > Test org.apache.hadoop.hdfs.TestDatanodeReport FAILED > Test org.apache.hadoop.hdfs.TestDistributedFileSystem FAILED > Test org.apache.hadoop.hdfs.TestFSInputChecker FAILED > Test org.apache.hadoop.hdfs.TestFSOutputSummer FAILED > Test org.apache.hadoop.hdfs.TestFileAppend FAILED > Test org.apache.hadoop.hdfs.TestFileAppend2 FAILED > Test org.apache.hadoop.hdfs.TestFileAppend3 FAILED > Test org.apache.hadoop.hdfs.TestFileCorruption FAILED > Test org.apache.hadoop.hdfs.TestFileStatus FAILED > Test org.apache.hadoop.hdfs.TestGetBlocks FAILED > Test org.apache.hadoop.hdfs.TestHDFSTrash FAILED > Test org.apache.hadoop.hdfs.TestLease FAILED > Test org.apache.hadoop.hdfs.TestLeaseRecovery FAILED > Test org.apache.hadoop.hdfs.TestLocalDFS FAILED > Test org.apache.hadoop.hdfs.TestMissingBlocksAlert FAILED > Test org.apache.hadoop.hdfs.TestPread FAILED > Test org.apache.hadoop.hdfs.TestQuota FAILED > Test org.apache.hadoop.hdfs.TestRestartDFS FAILED > > and more.... > > I do get some warnings before the tests start: > Clover not found. Code coverage reports disabled. > warning: [options] bootstrap class path not set in conjunction with -source > 1.6 > 3/04/27 21:29:44 INFO mortbay.log: Logging to > org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via > org.mortbay.log.Slf4jLog > Trying to override old definition of task jsp-compile > warning: [options] bootstrap class path not set in conjunction with -source > 1.6 > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Thanks, > > Amit. > -- Harsh J