Jira: https://issues.apache.org/jira/browse/TEZ-2581 Build: https://builds.apache.org/job/PreCommit-TEZ-Build/1273/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 2915 lines...] [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 :tez-dag {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12770216/TEZ-2581-WIP-8.patch against master revision e84d797. {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 16 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 javadoc{color}. The javadoc tool appears to have generated 2 warning messages. See https://builds.apache.org/job/PreCommit-TEZ-Build/1273//artifact/patchprocess/diffJavadocWarnings.txt for details. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 3.0.1) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in : org.apache.tez.dag.app.dag.impl.TestDAGRecovery Test results: https://builds.apache.org/job/PreCommit-TEZ-Build/1273//testReport/ Console output: https://builds.apache.org/job/PreCommit-TEZ-Build/1273//console This message is automatically generated. ====================================================================== ====================================================================== Adding comment to Jira. ====================================================================== ====================================================================== Comment added. 42e9455577b82a56698e0c3fb9b0cb28683d26d4 logged out ====================================================================== ====================================================================== Finished build. ====================================================================== ====================================================================== Build step 'Execute shell' marked build as failure Archiving artifacts [description-setter] Could not determine description. 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.tez.dag.app.dag.impl.TestDAGRecovery.testTaskRecoverFromSucceeded Error Message: when() requires an argument which has to be 'a method call on a mock'. For example: when(mock.getArticles()).thenReturn(articles); Also, this error might show up because: 1. you stub either of: final/private/equals()/hashCode() methods. Those methods *cannot* be stubbed/verified. Mocking methods declared on non-public parent classes is not supported. 2. inside when() you don't call method on mock but on some other object. Stack Trace: org.mockito.exceptions.misusing.MissingMethodInvocationException: when() requires an argument which has to be 'a method call on a mock'. For example: when(mock.getArticles()).thenReturn(articles); Also, this error might show up because: 1. you stub either of: final/private/equals()/hashCode() methods. Those methods *cannot* be stubbed/verified. Mocking methods declared on non-public parent classes is not supported. 2. inside when() you don't call method on mock but on some other object. at org.apache.tez.dag.app.dag.impl.TestDAGRecovery.testTaskRecoverFromSucceeded(TestDAGRecovery.java:832) FAILED: org.apache.tez.dag.app.dag.impl.TestDAGRecovery.testTARecoverFromSucceeded Error Message: when() requires an argument which has to be 'a method call on a mock'. For example: when(mock.getArticles()).thenReturn(articles); Also, this error might show up because: 1. you stub either of: final/private/equals()/hashCode() methods. Those methods *cannot* be stubbed/verified. Mocking methods declared on non-public parent classes is not supported. 2. inside when() you don't call method on mock but on some other object. Stack Trace: org.mockito.exceptions.misusing.MissingMethodInvocationException: when() requires an argument which has to be 'a method call on a mock'. For example: when(mock.getArticles()).thenReturn(articles); Also, this error might show up because: 1. you stub either of: final/private/equals()/hashCode() methods. Those methods *cannot* be stubbed/verified. Mocking methods declared on non-public parent classes is not supported. 2. inside when() you don't call method on mock but on some other object. at org.apache.tez.dag.app.dag.impl.TestDAGRecovery.testTARecoverFromSucceeded(TestDAGRecovery.java:976)
