Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8A2F10B98 for ; Tue, 4 Jun 2013 16:47:25 +0000 (UTC) Received: (qmail 43463 invoked by uid 500); 4 Jun 2013 16:47:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 43332 invoked by uid 500); 4 Jun 2013 16:47:22 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 43277 invoked by uid 500); 4 Jun 2013 16:47:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 43266 invoked by uid 99); 4 Jun 2013 16:47:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 16:47:20 +0000 Date: Tue, 4 Jun 2013 16:47:20 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4418) TestNegativeCliDriver failure message if cmd succeeds is misleading MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13674550#comment-13674550 ] Hudson commented on HIVE-4418: ------------------------------ Integrated in Hive-trunk-h0.21 #2127 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2127/]) HIVE-4418 : TestNegativeCliDriver failure message if cmd succeeds is misleading (Thejas Nair via Ashutosh Chauhan) (Revision 1489278) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1489278 Files : * /hive/trunk/ql/src/test/templates/TestNegativeCliDriver.vm > TestNegativeCliDriver failure message if cmd succeeds is misleading > ------------------------------------------------------------------- > > Key: HIVE-4418 > URL: https://issues.apache.org/jira/browse/HIVE-4418 > Project: Hive > Issue Type: Bug > Components: Testing Infrastructure > Affects Versions: 0.10.0 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Fix For: 0.12.0 > > Attachments: HIVE-4418.1.patch > > > If the .q test ends up succeeding (exit code == 0), then the test failure message is misleading. > From the error it seems as if the command actually failed - > {code} > [junit] junit.framework.AssertionFailedError: Client Execution failed with error code = 0 > [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs. > [junit] at junit.framework.Assert.fail(Assert.java:47) > [junit] at org.apache.hadoop.hive.cli.TestNegativeCliDriver.runTest(TestNegativeCliDriver.java:121) > [junit] at org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_desc_tab(TestNegativeCliDriver.java:102) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira