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 2015/10/27 10:51:27 UTC

[jira] [Commented] (HBASE-14702) TestZKProcedureControllers.testZKCoordinatorControllerWithSingleMemberCohort is a flakey

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

Hudson commented on HBASE-14702:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #6966 (See [https://builds.apache.org/job/HBase-TRUNK/6966/])
HBASE-14702 (stack: rev ac746e09056192e4957766f06b4f94d7c5c34d18)
* hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java


> TestZKProcedureControllers.testZKCoordinatorControllerWithSingleMemberCohort is a flakey
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-14702
>                 URL: https://issues.apache.org/jira/browse/HBASE-14702
>             Project: HBase
>          Issue Type: Sub-task
>          Components: flakey, test
>            Reporter: stack
>            Assignee: stack
>             Fix For: 2.0.0, 1.2.0, 1.3.0
>
>         Attachments: 14702.txt
>
>
> Tests fail in TestZKProcedureControllers with some regularity. Here is an example: https://builds.apache.org/view/H-L/view/HBase/job/HBase-1.3/309/jdk=latest1.8,label=Hadoop/testReport/org.apache.hadoop.hbase.procedure/TestZKProcedureControllers/testZKCoordinatorControllerWithSingleMemberCohort/
> {code}
> org.mockito.exceptions.verification.TooManyActualInvocations: 
> procedureMember.submitSubprocedure(<any>);
> Wanted 1 time:
> -> at org.apache.hadoop.hbase.procedure.TestZKProcedureControllers.verifyCohort(TestZKProcedureControllers.java:364)
> But was 2 times. Undesired invocation:
> -> at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs.startNewSubprocedure(ZKProcedureMemberRpcs.java:214)
> 	at org.apache.hadoop.hbase.procedure.TestZKProcedureControllers.verifyCohort(TestZKProcedureControllers.java:364)
> 	at org.apache.hadoop.hbase.procedure.TestZKProcedureControllers.runMockCommitWithOrchestratedControllers(TestZKProcedureControllers.java:235)
> 	at org.apache.hadoop.hbase.procedure.TestZKProcedureControllers.testZKCoordinatorControllerWithSingleMemberCohort(TestZKProcedureControllers.java:158)
> {code}
> Tests in this suite fail always in this Mockito verify step. Always double the number of calls expected. Strikes me as a Mockito bug or Mockito usage interesting behavior. Unless someone intercedes, I'm just going to loosen this assert to be at least N rather than exactly N.
> Lets see if it fails again soon... so I have another example to paste in here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)