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 67390200B91 for ; Thu, 25 Aug 2016 01:06:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 65E94160AB1; Wed, 24 Aug 2016 23:06:22 +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 AD0CC160AC1 for ; Thu, 25 Aug 2016 01:06:21 +0200 (CEST) Received: (qmail 90022 invoked by uid 500); 24 Aug 2016 23:06:20 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 89908 invoked by uid 99); 24 Aug 2016 23:06:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 23:06:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8162B2C0158 for ; Wed, 24 Aug 2016 23:06:20 +0000 (UTC) Date: Wed, 24 Aug 2016 23:06:20 +0000 (UTC) From: "Sean Po (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5389) TestYarnClient#testReservationDelete fails in trunk MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 24 Aug 2016 23:06:22 -0000 [ https://issues.apache.org/jira/browse/YARN-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15435907#comment-15435907 ] Sean Po commented on YARN-5389: ------------------------------- Thanks for the comments [~jlowe]. I agree - in the next patch, I will revert changes that remove code that does something similar to the following: {code} try { sResponse = client.submitReservation(sRequest); } catch (Exception e) { Assert.fail(e.getMessage()); } {code} I've created YARN-5560 to track cleaning up such patterns in TestYarnClient. > TestYarnClient#testReservationDelete fails in trunk > --------------------------------------------------- > > Key: YARN-5389 > URL: https://issues.apache.org/jira/browse/YARN-5389 > Project: Hadoop YARN > Issue Type: Test > Reporter: Rohith Sharma K S > Assignee: Sean Po > Labels: test > Attachments: YARN-5389.v1.patch, YARN-5389.v2.patch, YARN-5389.v3.patch > > > In build report [report|https://builds.apache.org/job/PreCommit-YARN-Build/12341/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt], below test fails. > {noformat} > Tests run: 28, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 26.066 sec <<< FAILURE! - in org.apache.hadoop.yarn.client.api.impl.TestYarnClient > testReservationDelete(org.apache.hadoop.yarn.client.api.impl.TestYarnClient) Time elapsed: 2.213 sec <<< FAILURE! > java.lang.AssertionError: Exhausted attempts in checking if node capacity was added to the plan > at org.junit.Assert.fail(Assert.java:88) > at org.apache.hadoop.yarn.client.api.impl.TestYarnClient.setupMiniYARNCluster(TestYarnClient.java:1222) > at org.apache.hadoop.yarn.client.api.impl.TestYarnClient.testReservationDelete(TestYarnClient.java:1584) > testListReservationsByInvalidTimeInterval(org.apache.hadoop.yarn.client.api.impl.TestYarnClient) Time elapsed: 2.215 sec <<< FAILURE! > java.lang.AssertionError: Exhausted attempts in checking if node capacity was added to the plan > at org.junit.Assert.fail(Assert.java:88) > at org.apache.hadoop.yarn.client.api.impl.TestYarnClient.setupMiniYARNCluster(TestYarnClient.java:1222) > at org.apache.hadoop.yarn.client.api.impl.TestYarnClient.testListReservationsByInvalidTimeInterval(TestYarnClient.java:1444) > testListReservationsByTimeIntervalContainingNoReservations(org.apache.hadoop.yarn.client.api.impl.TestYarnClient) Time elapsed: 2.206 sec <<< FAILURE! > java.lang.AssertionError: Exhausted attempts in checking if node capacity was added to the plan > at org.junit.Assert.fail(Assert.java:88) > at org.apache.hadoop.yarn.client.api.impl.TestYarnClient.setupMiniYARNCluster(TestYarnClient.java:1222) > at org.apache.hadoop.yarn.client.api.impl.TestYarnClient.testListReservationsByTimeIntervalContainingNoReservations(TestYarnClient.java:1494) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org