See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2906/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE 
###########################
[...truncated 31539 lines...]
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.09 sec - in 
org.apache.hadoop.mapreduce.v2.hs.webapp.TestHsWebServices
Running org.apache.hadoop.mapreduce.v2.hs.TestJobListCache
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.692 sec - in 
org.apache.hadoop.mapreduce.v2.hs.TestJobListCache

Results :

Failed tests: 
  TestJobHistory.testRefreshJobRetentionSettings:202 
Wanted but not invoked:
historyFileInfo.delete();
-> at 
org.apache.hadoop.mapreduce.v2.hs.TestJobHistory.testRefreshJobRetentionSettings(TestJobHistory.java:202)
Actually, there were zero interactions with this mock.


Tests in error: 
  TestHistoryServerFileSystemStateStoreService.testTokenStoreHdfs:180 ยป 
NoClassDefFound

Tests run: 200, Failures: 1, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Hadoop MapReduce Client .................... SUCCESS [  2.860 s]
[INFO] Apache Hadoop MapReduce Core ...................... SUCCESS [01:53 min]
[INFO] Apache Hadoop MapReduce Common .................... SUCCESS [ 29.178 s]
[INFO] Apache Hadoop MapReduce Shuffle ................... SUCCESS [  4.925 s]
[INFO] Apache Hadoop MapReduce App ....................... SUCCESS [09:15 min]
[INFO] Apache Hadoop MapReduce HistoryServer ............. FAILURE [05:41 min]
[INFO] Apache Hadoop MapReduce JobClient ................. SKIPPED
[INFO] Apache Hadoop MapReduce HistoryServer Plugins ..... SKIPPED
[INFO] Apache Hadoop MapReduce NativeTask ................ SKIPPED
[INFO] Apache Hadoop MapReduce Examples .................. SKIPPED
[INFO] Apache Hadoop MapReduce ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:29 min
[INFO] Finished at: 2016-02-02T03:20:30+00:00
[INFO] Final Memory: 43M/862M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on 
project hadoop-mapreduce-client-hs: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/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-mapreduce-client-hs
Build step 'Execute shell' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###################################################################################
############################## FAILED TESTS (if any) 
##############################
2 tests failed.
FAILED:  
org.apache.hadoop.mapreduce.v2.hs.TestHistoryServerFileSystemStateStoreService.testTokenStoreHdfs

Error Message:
org/apache/hadoop/security/authentication/server/AuthenticationFilter

Stack Trace:
java.lang.NoClassDefFoundError: 
org/apache/hadoop/security/authentication/server/AuthenticationFilter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at 
org.apache.hadoop.http.HttpServer2.constructSecretProvider(HttpServer2.java:448)
        at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:340)
        at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:115)
        at 
org.apache.hadoop.http.HttpServer2$Builder.build(HttpServer2.java:291)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:126)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:822)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:680)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:884)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:863)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1581)
        at 
org.apache.hadoop.hdfs.MiniDFSCluster.createNameNode(MiniDFSCluster.java:1247)
        at 
org.apache.hadoop.hdfs.MiniDFSCluster.configureNameService(MiniDFSCluster.java:1016)
        at 
org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:891)
        at 
org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:823)
        at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:482)
        at 
org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:441)
        at 
org.apache.hadoop.mapreduce.v2.hs.TestHistoryServerFileSystemStateStoreService.testTokenStoreHdfs(TestHistoryServerFileSystemStateStoreService.java:180)


FAILED:  
org.apache.hadoop.mapreduce.v2.hs.TestJobHistory.testRefreshJobRetentionSettings

Error Message:

Wanted but not invoked:
historyFileInfo.delete();
-> at 
org.apache.hadoop.mapreduce.v2.hs.TestJobHistory.testRefreshJobRetentionSettings(TestJobHistory.java:202)
Actually, there were zero interactions with this mock.


Stack Trace:
org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
historyFileInfo.delete();
-> at 
org.apache.hadoop.mapreduce.v2.hs.TestJobHistory.testRefreshJobRetentionSettings(TestJobHistory.java:202)
Actually, there were zero interactions with this mock.

        at 
org.apache.hadoop.mapreduce.v2.hs.TestJobHistory.testRefreshJobRetentionSettings(TestJobHistory.java:202)


Reply via email to