It means that there are one failure test case in your build.
You can go to hadoop-common-project/hadoop-common/target/surefile-report/
directory
to check to output and log in order to find the reason of failure.

As far as I know, testDelegationTokenSecretManager failure may caused by
missing some configuration of environment.

BR
Yanbo

2012/9/29 Chandrashekhar Kotekar <shekhar.kote...@gmail.com>

> Hi,
>
> I am trying to build hadoop from source code but some test cases are
> failing.
>
> I gave following command :
>
> mvn clean install -Pdist -Dtar -Ptest-patch
>
> and then following test cases are failing :
>
> Results :
>
> Failed tests:
> testIsMethodSupported(org.apache.hadoop.ipc.TestRPCCompatibility)
>
> Tests in error:
>
> testDelegationTokenSecretManager(org.apache.hadoop.security.token.delegation.TestDelegationToken):
> User JobTracker tried to renew an expired token
>
>
> testRandomHealthAndDisconnects(org.apache.hadoop.ha.TestZKFailoverControllerStress):
> test timed out after 40000 milliseconds
>
> Tests run: 1766, Failures: 1, Errors: 2, Skipped: 17
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Hadoop Annotations ......................... SUCCESS
> [17.062s]
> [INFO] Apache Hadoop Auth ................................ SUCCESS
> [14.794s]
> [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [4.789s]
>
> [INFO] Apache Hadoop Common .............................. FAILURE
> [13:40.934s]
> [INFO] Apache Hadoop Common Project ...................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 14:19.774s
> [INFO] Finished at: Sat Sep 29 12:11:28 IST 2012
> [INFO] Final Memory: 20M/253M
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project hadoop-common: There are test failures.
>
>
> Can anyone please guide me what to do next? Shall I look into test cases
> and try to fix the code or first log a bug in JIRA?
>
>
> Thanks & Regards,
> Chandrash3khar K0tekar
> Mobile - 9766632117
>

Reply via email to