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

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE 
###########################
[...truncated 31936 lines...]
Running org.apache.hadoop.mapred.TestSpecialCharactersInOutputPath
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.571 sec - in 
org.apache.hadoop.mapred.TestSpecialCharactersInOutputPath
Running org.apache.hadoop.mapred.TestSequenceFileAsBinaryOutputFormat
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.234 sec - in 
org.apache.hadoop.mapred.TestSequenceFileAsBinaryOutputFormat

Results :

Failed tests: 
  TestNetworkedJob.testNetworkedJob:174 expected:<[[Sat Jan 23 01:32:43 +0000 
2016] Application is Activated, waiting for resources to be assigned for AM.  
Details : AM Partition = <DEFAULT_PARTITION> ; Partition Resource = 
<memory:8192, vCores:16> ; Queue's Absolute capacity = 100.0 % ; Queue's 
Absolute used capacity = 0.0 % ; Queue's Absolute max capacity = 100.0 % ; ]> 
but was:<[]>

Tests in error: 
  
TestMRIntermediateDataEncryption.testSingleReducer:55->doEncryptionTest:75->doEncryptionTest:95->runMergeTest:161->verifyOutput:171
 » FileNotFound
  TestYARNRunner.testResourceMgrDelegate:266 » YarnRuntime 
java.lang.reflect.Inv...
  TestYARNRunner.setUp:139 UnfinishedStubbing 
Unfinished stubbing detected here...
  TestYARNRunner.testJobSubmissionFailure:236 » NoClassDefFound 
org/apache/hadoo...

Tests run: 527, Failures: 1, Errors: 4, Skipped: 11

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Hadoop MapReduce Client .................... SUCCESS [  3.271 s]
[INFO] Apache Hadoop MapReduce Core ...................... SUCCESS [02:22 min]
[INFO] Apache Hadoop MapReduce Common .................... SUCCESS [ 34.226 s]
[INFO] Apache Hadoop MapReduce Shuffle ................... SUCCESS [  5.342 s]
[INFO] Apache Hadoop MapReduce App ....................... SUCCESS [10:08 min]
[INFO] Apache Hadoop MapReduce HistoryServer ............. SUCCESS [06:05 min]
[INFO] Apache Hadoop MapReduce JobClient ................. FAILURE [  01:43 h]
[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: 02:03 h
[INFO] Finished at: 2016-01-23T01:40:10+00:00
[INFO] Final Memory: 34M/719M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on 
project hadoop-mapreduce-client-jobclient: 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-jobclient/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-jobclient
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) 
##############################
5 tests failed.
FAILED:  
org.apache.hadoop.mapred.TestMRIntermediateDataEncryption.testSingleReducer

Error Message:
File /test/output does not exist.

Stack Trace:
java.io.FileNotFoundException: File /test/output does not exist.
        at 
org.apache.hadoop.hdfs.DistributedFileSystem.listStatusInternal(DistributedFileSystem.java:804)
        at 
org.apache.hadoop.hdfs.DistributedFileSystem.access$700(DistributedFileSystem.java:107)
        at 
org.apache.hadoop.hdfs.DistributedFileSystem$20.doCall(DistributedFileSystem.java:861)
        at 
org.apache.hadoop.hdfs.DistributedFileSystem$20.doCall(DistributedFileSystem.java:858)
        at 
org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
        at 
org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:858)
        at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1533)
        at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1576)
        at 
org.apache.hadoop.mapred.TestMRIntermediateDataEncryption.verifyOutput(TestMRIntermediateDataEncryption.java:171)
        at 
org.apache.hadoop.mapred.TestMRIntermediateDataEncryption.runMergeTest(TestMRIntermediateDataEncryption.java:161)
        at 
org.apache.hadoop.mapred.TestMRIntermediateDataEncryption.doEncryptionTest(TestMRIntermediateDataEncryption.java:95)
        at 
org.apache.hadoop.mapred.TestMRIntermediateDataEncryption.doEncryptionTest(TestMRIntermediateDataEncryption.java:75)
        at 
org.apache.hadoop.mapred.TestMRIntermediateDataEncryption.testSingleReducer(TestMRIntermediateDataEncryption.java:55)


FAILED:  org.apache.hadoop.mapred.TestNetworkedJob.testNetworkedJob

Error Message:
expected:<[[Sat Jan 23 01:32:43 +0000 2016] Application is Activated, waiting 
for resources to be assigned for AM.  Details : AM Partition = 
<DEFAULT_PARTITION> ; Partition Resource = <memory:8192, vCores:16> ; Queue's 
Absolute capacity = 100.0 % ; Queue's Absolute used capacity = 0.0 % ; Queue's 
Absolute max capacity = 100.0 % ; ]> but was:<[]>

Stack Trace:
org.junit.ComparisonFailure: expected:<[[Sat Jan 23 01:32:43 +0000 2016] 
Application is Activated, waiting for resources to be assigned for AM.  Details 
: AM Partition = <DEFAULT_PARTITION> ; Partition Resource = <memory:8192, 
vCores:16> ; Queue's Absolute capacity = 100.0 % ; Queue's Absolute used 
capacity = 0.0 % ; Queue's Absolute max capacity = 100.0 % ; ]> but was:<[]>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at 
org.apache.hadoop.mapred.TestNetworkedJob.testNetworkedJob(TestNetworkedJob.java:174)


FAILED:  org.apache.hadoop.mapred.TestYARNRunner.testResourceMgrDelegate

Error Message:
java.lang.reflect.InvocationTargetException

Stack Trace:
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
java.lang.reflect.InvocationTargetException
        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.yarn.proto.YarnServiceProtos$KillApplicationResponseProto.<clinit>(YarnServiceProtos.java:15518)
        at 
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.KillApplicationResponsePBImpl.<init>(KillApplicationResponsePBImpl.java:33)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at 
org.apache.hadoop.yarn.factories.impl.pb.RecordFactoryPBImpl.newRecordInstance(RecordFactoryPBImpl.java:70)
        at org.apache.hadoop.yarn.util.Records.newRecord(Records.java:36)
        at 
org.apache.hadoop.yarn.api.protocolrecords.KillApplicationResponse.newInstance(KillApplicationResponse.java:52)
        at 
org.apache.hadoop.mapred.TestYARNRunner.testResourceMgrDelegate(TestYARNRunner.java:266)


FAILED:  org.apache.hadoop.mapred.TestYARNRunner.testAMAdminCommandOpts

Error Message:

Unfinished stubbing detected here:
-> at 
org.apache.hadoop.mapred.TestYARNRunner.testResourceMgrDelegate(TestYARNRunner.java:266)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation 
(mock()) call inside a thenReturn method (see issue 53)


Stack Trace:
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at 
org.apache.hadoop.mapred.TestYARNRunner.testResourceMgrDelegate(TestYARNRunner.java:266)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. although stubbed methods may return mocks, you cannot inline mock creation 
(mock()) call inside a thenReturn method (see issue 53)

        at 
org.apache.hadoop.mapred.TestYARNRunner.setUp(TestYARNRunner.java:139)


FAILED:  org.apache.hadoop.mapred.TestYARNRunner.testJobSubmissionFailure

Error Message:
org/apache/hadoop/yarn/api/records/LogAggregationStatus

Stack Trace:
java.lang.NoClassDefFoundError: 
org/apache/hadoop/yarn/api/records/LogAggregationStatus
        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 java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
        at java.lang.Class.getDeclaredMethods(Class.java:1855)
        at 
org.mockito.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:349)
        at org.mockito.cglib.proxy.Enhancer.getMethods(Enhancer.java:422)
        at org.mockito.cglib.proxy.Enhancer.generateClass(Enhancer.java:457)
        at 
org.mockito.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
        at 
org.mockito.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:217)
        at org.mockito.cglib.proxy.Enhancer.createHelper(Enhancer.java:378)
        at org.mockito.cglib.proxy.Enhancer.createClass(Enhancer.java:318)
        at 
org.mockito.internal.creation.jmock.ClassImposterizer.createProxyClass(ClassImposterizer.java:93)
        at 
org.mockito.internal.creation.jmock.ClassImposterizer.imposterise(ClassImposterizer.java:50)
        at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:54)
        at org.mockito.internal.MockitoCore.mock(MockitoCore.java:45)
        at org.mockito.Mockito.mock(Mockito.java:921)
        at org.mockito.Mockito.mock(Mockito.java:816)
        at 
org.apache.hadoop.mapred.TestYARNRunner.testJobSubmissionFailure(TestYARNRunner.java:236)


Reply via email to