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 762012009C6 for ; Tue, 17 May 2016 00:40:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 74C21160A19; Mon, 16 May 2016 22:40:33 +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 BD361160A16 for ; Tue, 17 May 2016 00:40:32 +0200 (CEST) Received: (qmail 20097 invoked by uid 500); 16 May 2016 22:40:32 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 20085 invoked by uid 99); 16 May 2016 22:40:31 -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; Mon, 16 May 2016 22:40:31 +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 3985DC06CB for ; Mon, 16 May 2016 22:40:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 2wuuOowtJLhW for ; Mon, 16 May 2016 22:40:28 +0000 (UTC) Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.161.175]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id E4CB25F39C for ; Mon, 16 May 2016 22:40:27 +0000 (UTC) Received: by mail-yw0-f175.google.com with SMTP id j74so176803454ywg.1 for ; Mon, 16 May 2016 15:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=xqfq9jBsnKj+uzZ0m5jgyvyPHIrQtWXf9CasmVERPmI=; b=LO9Ji7Bx+t8oMJLOCICffFHjpHmEZztLbwi9Vs6ZXRNa8F0TEd6gH1gBgZ0O7RJDnB HJ5Xp2Hj/9vRyrhYR6HazCQvvI3VtvCj92gmOKDZNE1xuKbmh6jB4wbLRCbGYwdxkvXJ Jm/uwbXk2qxaJVEn4IL/CrXS8zxCOQwlj/DzsgVKjXVJJ4P6TA65Y+FEVrGzMn5wz2WG j4aBIks64VsZZpOlYFZ6Nu0c3AfJm6CU8BG+Tpjv67grtxrHL40WG4H2SsX9ktr0KlJ6 ovAiRA6J0GH0dKSqz+yRBqs1WF/BdL6Es58VQ3tJQT8e6Uyy1NlTWcgqSW58ZCVDLtqz 8hcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=xqfq9jBsnKj+uzZ0m5jgyvyPHIrQtWXf9CasmVERPmI=; b=JiQYgGpWEbww3zwiJPvVrGk6G2cDYkzk3PaKhVDdKRWQPUH92jMW+0kAb8sXyRvTr/ Hy6i/EsdciYipS0rbhgrd58wxuzGUx5N0sE0dAwh3zz5tbl7j7vCeOlEQ47VtQqOIWJT pkyTh7AnzPnXbpNykLtfm1CGV8XPIrI7N8D48wlqj+Tdqu+9IwsN3GeANNPe+9ATUrg2 72+UXc6mTSqd03NZPItd7PptBhsMgzQXt28R15ju5JidOMm7Kwja9oTkiy6qB/Ts5nW9 PzqM5vGA1hfFxt6G9wwk9J9Rgc3lk8E8DCuxZ9XL18XHQCVy9hy2aZLwZQLsjhjZWtZa gNoA== X-Gm-Message-State: AOPr4FUK8m9I5xmNI6HxxxsWgpyIcw1cDG8hRqRrPuWTNwxLPWjX4zVTeuyrEufFt+unx2rJt81zowvLKnhttQ== MIME-Version: 1.0 X-Received: by 10.129.27.9 with SMTP id b9mr15713915ywb.173.1463438427029; Mon, 16 May 2016 15:40:27 -0700 (PDT) Received: by 10.37.212.145 with HTTP; Mon, 16 May 2016 15:40:26 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 15:40:26 -0700 Message-ID: Subject: Re: Error messages in reef functional tests From: Dhruv Mahajan To: dev@reef.apache.org Content-Type: multipart/alternative; boundary=001a1142a41a980adc0532fd4fb9 archived-at: Mon, 16 May 2016 22:40:33 -0000 --001a1142a41a980adc0532fd4fb9 Content-Type: text/plain; charset=UTF-8 Seems like an orthogonal issue....I propose merging REEF-1389 since it does not affect any tests or other functionalities and just add APIs. On Mon, May 16, 2016 at 3:38 PM, Andrew Chung wrote: > I've gotten the test logs from Dhruv, and judging from what I see in the > logs prior to looking into the code, what is happening seems like the > following: > > 1. Evaluator fails. > 2. FailedEvaluatorHandler gets called. > 3. We send request for another Evaluator in FailedEvaluatorHandler. > 4. Before the EvaluatorRequestor sends the request, the Driver idleness > handler kicks in and detects that the Driver is idle, i.e. no active > Evaluators and no outstanding requests. > 5. Driver is declared as idle and shut down. > 6. EvaluatorRequestor processes requests. Evaluator starts as Driver is > shutting down. > 7. Test failure. > > I'll take a closer look at the code and provide updates. > > Thanks, > Andrew > > On Mon, May 16, 2016 at 3:03 PM, Dhruv Mahajan > wrote: > > > Did deep cleaning and ran tests from command line...Still getting one > > error. Also got the error window. > > > > > > > Org.Apache.REEF.Tests.Functional.Bridge.TestUnhandledTaskException.TestUnhandledTaskExceptionCrashesEvaluator > > > > Expected number of evaluators to fail (2) differs from actual number > > of failed evaluator indicators (1)\r\nExpected: True\r\nActual: > > False > > > > at > > > Org.Apache.REEF.Tests.Functional.ReefFunctionalTest.ValidateSuccessForLocalRuntime(Int32 > > numberOfContextsToClose, Int32 numberOfTasksToFail, Int32 > > numberOfEvaluatorsToFail, String testFolder) in > > > > > c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Tests\Functional\ReefFunctionalTest.cs:line > > 169 > > at > > > Org.Apache.REEF.Tests.Functional.Bridge.TestUnhandledTaskException.TestUnhandledTaskExceptionCrashesEvaluator() > > in > > > c:\Users\dhrumaha\Desktop\projects\reef\lang\cs\Org.Apache.REEF.Tests\Functional\Bridge\TestUnhandledTaskException.cs:line > > 54 > > > > > > On Mon, May 16, 2016 at 2:29 PM, Dhruv Mahajan > > wrote: > > > > > Command line ... Lemme do deep clean once again. > > > > > > Dhruv > > > > > > On Mon, May 16, 2016 at 2:27 PM, Markus Weimer > wrote: > > > > > >> Are you running from the command line or Visual Studio? The tests pass > > all > > >> the time from the command line for me, and AppVeyor now reports the > same > > >> ... > > >> > > >> Markus > > >> > > > > > > > > > --001a1142a41a980adc0532fd4fb9--