Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AA6E18C01 for ; Tue, 27 Oct 2015 05:37:35 +0000 (UTC) Received: (qmail 41030 invoked by uid 500); 27 Oct 2015 05:37:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 40180 invoked by uid 500); 27 Oct 2015 05:37:28 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 40168 invoked by uid 99); 27 Oct 2015 05:37:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2015 05:37:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B923C2C14E1 for ; Tue, 27 Oct 2015 05:37:27 +0000 (UTC) Date: Tue, 27 Oct 2015 05:37:27 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-14702) TestZKProcedureControllers.testZKCoordinatorControllerWithSingleMemberCohort is a flakey MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-14702. --------------------------- Resolution: Fixed Assignee: stack Fix Version/s: 1.3.0 1.2.0 2.0.0 Pushed to branch-1.2+ > 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(); > 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)