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 68647200C56 for ; Fri, 14 Apr 2017 23:26:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 670FC160B8C; Fri, 14 Apr 2017 21:26:39 +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 AEF19160B8A for ; Fri, 14 Apr 2017 23:26:38 +0200 (CEST) Received: (qmail 2470 invoked by uid 500); 14 Apr 2017 21:26:37 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 2448 invoked by uid 99); 14 Apr 2017 21:26:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2017 21:26:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3D2DB180159; Fri, 14 Apr 2017 21:26:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.201 X-Spam-Level: **** X-Spam-Status: No, score=4.201 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id G_GQJ8b15JKW; Fri, 14 Apr 2017 21:26:36 +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 6BE4F5FCD7; Fri, 14 Apr 2017 21:26:35 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9C366E0069; Fri, 14 Apr 2017 21:26:34 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 6FE33C4040D; Fri, 14 Apr 2017 21:26:34 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3834898792327663987==" MIME-Version: 1.0 Subject: Re: Review Request 58462: Fix bug. Do not increase current_consecutive_successes if .healthchecksnooze present From: Santhosh Kumar Shanmugham To: Joshua Cohen , Zameer Manji Cc: Santhosh Kumar Shanmugham , Aurora , Vladimir Khalatyan Date: Fri, 14 Apr 2017 21:26:34 -0000 Message-ID: <20170414212634.20123.59752@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Santhosh Kumar Shanmugham X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/58462/ X-Sender: Santhosh Kumar Shanmugham References: <20170414203534.20122.10529@reviews-vm2.apache.org> In-Reply-To: <20170414203534.20122.10529@reviews-vm2.apache.org> Reply-To: Santhosh Kumar Shanmugham X-ReviewRequest-Repository: aurora archived-at: Fri, 14 Apr 2017 21:26:39 -0000 --===============3834898792327663987== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58462/#review172032 ----------------------------------------------------------- src/main/python/apache/aurora/executor/common/health_checker.py Lines 163-166 (patched) This will cause a task to get stuck in `STARTING` since `self.running` will never be set to `True`. Can you explain the particular usecase here? Also add a test case to exercise this branch. - Santhosh Kumar Shanmugham On April 14, 2017, 1:35 p.m., Vladimir Khalatyan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/58462/ > ----------------------------------------------------------- > > (Updated April 14, 2017, 1:35 p.m.) > > > Review request for Aurora, Joshua Cohen and Zameer Manji. > > > Repository: aurora > > > Description > ------- > > Fix bug. Do not increase current_consecutive_successes if .healthchecksnooze present > > > Diffs > ----- > > src/main/python/apache/aurora/executor/common/health_checker.py e9e4129af2db5202a82e9f6d54109a00bbae97ce > > > Diff: https://reviews.apache.org/r/58462/diff/1/ > > > Testing > ------- > > The Health Check is succeeding when the .healthchecksnooze is present. But it should just snooze which means there shouldn't be any increase in consecutive successes or consecutive failures. > > > Thanks, > > Vladimir Khalatyan > > --===============3834898792327663987==--