[
https://issues.apache.org/jira/browse/HBASE-23051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16934228#comment-16934228
]
Hudson commented on HBASE-23051:
--------------------------------
Results for branch branch-2.1
[build #1622 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1622/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1622//General_Nightly_Build_Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1622//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1622//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Remove unneeded Mockito.mock invocations
> ----------------------------------------
>
> Key: HBASE-23051
> URL: https://issues.apache.org/jira/browse/HBASE-23051
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0, 2.3.0, 2.1.7, 2.2.2
> Reporter: Peter Somogyi
> Assignee: Peter Somogyi
> Priority: Major
> Fix For: 3.0.0, 2.3.0, 2.1.7, 2.2.2
>
> Attachments: HBASE-23051-branch-2-addendum.patch
>
>
> ErrorProne fails the build using the new Mockito version.
> {noformat}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile
> (default-testCompile) on project hbase-server: Compilation failure:
> Compilation failure:
> [ERROR]
> /home/jenkins/jenkins-slave/workspace/HBase_Nightly_master/component/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/MockMasterServices.java:[147,16]
> error: [CheckReturnValue] Ignored return value of method that is annotated
> with @CheckReturnValue
> [ERROR] (see https://errorprone.info/bugpattern/CheckReturnValue)
> [ERROR] Did you mean to remove this line?
> [ERROR]
> /home/jenkins/jenkins-slave/workspace/HBase_Nightly_master/component/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java:[331,16]
> error: [CheckReturnValue] Ignored return value of method that is annotated
> with @CheckReturnValue
> [ERROR] (see https://errorprone.info/bugpattern/CheckReturnValue)
> [ERROR] Did you mean to remove this line?
> [ERROR] -> [Help 1] {noformat}
> [https://builds.apache.org/job/HBase%20Nightly/job/master/1456/artifact/output-jdk8-hadoop2/patch-compile-root.txt]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)