You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2019/09/19 21:01:00 UTC

[jira] [Commented] (HBASE-23051) Remove unneeded Mockito.mock invocations

    [ https://issues.apache.org/jira/browse/HBASE-23051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933758#comment-16933758 ] 

Hudson commented on HBASE-23051:
--------------------------------

Results for branch branch-2.2
	[build #625 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/625/]: (x) *{color:red}-1 overall{color}*
----
details (if available):

(x) {color:red}-1 general checks{color}
-- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/625//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/625//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.2/625//JDK8_Nightly_Build_Report_(Hadoop3)/]


(x) {color:red}-1 source release artifact{color}
-- See build output for details.


(x) {color:red}-1 client integration test{color}
-- Something went wrong with this stage, [check relevant console output|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/625//console].


> 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
>
>
> 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)