See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/1243/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 3830 lines...]
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Results :
Failed tests:
TestYarnConfigurationFields>TestConfigurationFieldsBase.testCompareXmlAgainstConfigurationClass:464
yarn-default.xml has 6 properties missing in class
org.apache.hadoop.yarn.conf.YarnConfiguration
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop YARN ................................ SUCCESS [ 3.430 s]
[INFO] Apache Hadoop YARN API ............................ FAILURE [ 14.123 s]
[INFO] Apache Hadoop YARN Common ......................... SKIPPED
[INFO] Apache Hadoop YARN Server ......................... SKIPPED
[INFO] Apache Hadoop YARN Server Common .................. SKIPPED
[INFO] Apache Hadoop YARN NodeManager .................... SKIPPED
[INFO] Apache Hadoop YARN Web Proxy ...................... SKIPPED
[INFO] Apache Hadoop YARN ApplicationHistoryService ...... SKIPPED
[INFO] Apache Hadoop YARN ResourceManager ................ SKIPPED
[INFO] Apache Hadoop YARN Server Tests ................... SKIPPED
[INFO] Apache Hadoop YARN Client ......................... SKIPPED
[INFO] Apache Hadoop YARN SharedCacheManager ............. SKIPPED
[INFO] Apache Hadoop YARN Timeline Plugin Storage ........ SKIPPED
[INFO] Apache Hadoop YARN Applications ................... SKIPPED
[INFO] Apache Hadoop YARN DistributedShell ............... SKIPPED
[INFO] Apache Hadoop YARN Unmanaged Am Launcher .......... SKIPPED
[INFO] Apache Hadoop YARN Site ........................... SKIPPED
[INFO] Apache Hadoop YARN Registry ....................... SKIPPED
[INFO] Apache Hadoop YARN Project ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.759 s
[INFO] Finished at: 2016-03-31T20:54:58+00:00
[INFO] Final Memory: 50M/282M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on
project hadoop-yarn-api: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/jenkins/jenkins-slave/workspace/Hadoop-Yarn-trunk-Java8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/target/surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-yarn-api
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
Sending e-mails to: [email protected]
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
###################################################################################
############################## FAILED TESTS (if any)
##############################
1 tests failed.
FAILED:
org.apache.hadoop.yarn.conf.TestYarnConfigurationFields.testCompareXmlAgainstConfigurationClass
Error Message:
yarn-default.xml has 6 properties missing in class
org.apache.hadoop.yarn.conf.YarnConfiguration
Stack Trace:
java.lang.AssertionError: yarn-default.xml has 6 properties missing in class
org.apache.hadoop.yarn.conf.YarnConfiguration
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at
org.apache.hadoop.conf.TestConfigurationFieldsBase.testCompareXmlAgainstConfigurationClass(TestConfigurationFieldsBase.java:464)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)