Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5FFEA200D0F for ; Thu, 14 Sep 2017 20:18:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5EED91609C6; Thu, 14 Sep 2017 18:18:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A34EC1609CD for ; Thu, 14 Sep 2017 20:18:04 +0200 (CEST) Received: (qmail 89125 invoked by uid 500); 14 Sep 2017 18:18:03 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 89115 invoked by uid 99); 14 Sep 2017 18:18:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2017 18:18:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 53D161A4D39 for ; Thu, 14 Sep 2017 18:18:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id fEDNQEWZSH9c for ; Thu, 14 Sep 2017 18:18:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 489FE6102C for ; Thu, 14 Sep 2017 18:18:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7B1E9E002C for ; Thu, 14 Sep 2017 18:18:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 37A5D25381 for ; Thu, 14 Sep 2017 18:18:00 +0000 (UTC) Date: Thu, 14 Sep 2017 18:18:00 +0000 (UTC) From: "Nick Reich (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-3180) CI failure: org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.testFullTreeOfColocatedChildPRsWithMissingRegions fails with org.mockito.exceptions.verification.NoInteractionsWanted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 14 Sep 2017 18:18:05 -0000 [ https://issues.apache.org/jira/browse/GEODE-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16166762#comment-16166762 ] Nick Reich commented on GEODE-3180: ----------------------------------- As much as I want to remove the checking for log messages, this entire test class is completely based on log checking. This is far from ideal, but it would take a long time (and possibly significant code refactoring elsewhere) to retool this test to follow better patterns. This seems to be a rare issue, so I am leaning towards refactoring away from Thread.sleep to the more preferred pattern (used elsewhere in this test) of awaitility to hopefully stabilize this test. This may have been a missed location in the previous attempt to stabilize this test. If that does not work, we will have to consider either ignoring the test or putting in the work to redo these tests. > CI failure: org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.testFullTreeOfColocatedChildPRsWithMissingRegions fails with org.mockito.exceptions.verification.NoInteractionsWanted > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: GEODE-3180 > URL: https://issues.apache.org/jira/browse/GEODE-3180 > Project: Geode > Issue Type: Bug > Components: regions > Reporter: Lynn Gallinat > Assignee: Nick Reich > Labels: storage_3 > > {noformat} > org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest > testFullTreeOfColocatedChildPRsWithMissingRegions FAILED > java.lang.AssertionError: An exception occurred during asynchronous invocation. > at org.apache.geode.test.dunit.AsyncInvocation.checkException(AsyncInvocation.java:148) > at org.apache.geode.test.dunit.AsyncInvocation.get(AsyncInvocation.java:422) > at org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest.testFullTreeOfColocatedChildPRsWithMissingRegions(PersistentColocatedPartitionedRegionDUnitTest.java:1298) > Caused by: > org.mockito.exceptions.verification.NoInteractionsWanted: > No interactions wanted here: > -> at org.apache.geode.internal.cache.partitioned.PersistentColocatedPartitionedRegionDUnitTest$14.call(PersistentColocatedPartitionedRegionDUnitTest.java:1232) > But found this interaction on mock 'appender': > -> at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156) > *** > For your reference, here is the list of all invocations ([?] - means unverified). > 1. -> at org.apache.logging.log4j.core.config.AbstractConfiguration.addLoggerAppender(AbstractConfiguration.java:694) > 2. -> at org.apache.logging.log4j.core.config.AppenderControl.(AppenderControl.java:51) > 3. -> at org.apache.logging.log4j.core.config.AppenderControl.ensureAppenderStarted(AppenderControl.java:134) > 4. -> at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156) > 5. -> at org.apache.logging.log4j.core.config.AppenderControl.ensureAppenderStarted(AppenderControl.java:134) > 6. [?]-> at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156){noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)