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 960FF200C39 for ; Thu, 16 Mar 2017 22:51:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 94B76160B8E; Thu, 16 Mar 2017 21:51:49 +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 DD048160B72 for ; Thu, 16 Mar 2017 22:51:48 +0100 (CET) Received: (qmail 3362 invoked by uid 500); 16 Mar 2017 21:51:46 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 3351 invoked by uid 99); 16 Mar 2017 21:51:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2017 21:51:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 111D4C0FD6 for ; Thu, 16 Mar 2017 21:51:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id sCNHPWfjXqHv for ; Thu, 16 Mar 2017 21:51:45 +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 CB1595FBE4 for ; Thu, 16 Mar 2017 21:51:44 +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 DFD2BE086A for ; Thu, 16 Mar 2017 21:51:41 +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 A05FD254B7 for ; Thu, 16 Mar 2017 21:51:41 +0000 (UTC) Date: Thu, 16 Mar 2017 21:51:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ZOOKEEPER-2722) Flaky Test: org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Mar 2017 21:51:49 -0000 [ https://issues.apache.org/jira/browse/ZOOKEEPER-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928972#comment-15928972 ] ASF GitHub Bot commented on ZOOKEEPER-2722: ------------------------------------------- Github user skamille commented on the issue: https://github.com/apache/zookeeper/pull/191 I think your idea to create a connector that waits for specific types of connection (RO or R/W) is a good idea to try to fix this issue. > Flaky Test: org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment > ------------------------------------------------------------------------------- > > Key: ZOOKEEPER-2722 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2722 > Project: ZooKeeper > Issue Type: Bug > Components: tests > Affects Versions: 3.4.9, 3.5.2 > Reporter: Michael Han > Assignee: Michael Han > Labels: flaky, flaky-build, flaky-test > Fix For: 3.5.3, 3.6.0 > > > {noformat} > Error Message > KeeperErrorCode = ConnectionLoss for /test > Stacktrace > org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /test > at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) > at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) > at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1423) > at org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment(ReadOnlyModeTest.java:238) > at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.lang.Thread.run(Thread.java:745) > {noformat} > Looks like we should retry before giving up. -- This message was sent by Atlassian JIRA (v6.3.15#6346)