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 022A99034 for ; Thu, 1 Mar 2012 23:16:04 +0000 (UTC) Received: (qmail 61771 invoked by uid 500); 1 Mar 2012 23:16:03 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 61739 invoked by uid 500); 1 Mar 2012 23:16:03 -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 61731 invoked by uid 99); 1 Mar 2012 23:16:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 23:16:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carl@cloudera.com designates 209.85.216.41 as permitted sender) Received: from [209.85.216.41] (HELO mail-qw0-f41.google.com) (209.85.216.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 23:15:58 +0000 Received: by qafl39 with SMTP id l39so2997620qaf.14 for ; Thu, 01 Mar 2012 15:15:37 -0800 (PST) Received-SPF: pass (google.com: domain of carl@cloudera.com designates 10.229.77.78 as permitted sender) client-ip=10.229.77.78; Authentication-Results: mr.google.com; spf=pass (google.com: domain of carl@cloudera.com designates 10.229.77.78 as permitted sender) smtp.mail=carl@cloudera.com Received: from mr.google.com ([10.229.77.78]) by 10.229.77.78 with SMTP id f14mr1149959qck.67.1330643737537 (num_hops = 1); Thu, 01 Mar 2012 15:15:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.77.78 with SMTP id f14mr979410qck.67.1330643737305; Thu, 01 Mar 2012 15:15:37 -0800 (PST) Received: by 10.229.184.65 with HTTP; Thu, 1 Mar 2012 15:15:37 -0800 (PST) In-Reply-To: References: Date: Thu, 1 Mar 2012 15:15:37 -0800 Message-ID: Subject: Re: 'arc diff' failing with "Invalid or missing field 'Test Plan': You must provide a test plan." From: Carl Steinbach To: dev@hive.apache.org Content-Type: multipart/alternative; boundary=00235447143c48e43204ba36a3ef X-Gm-Message-State: ALoCoQlkNQp1OMdsELHplhI/PLYUPnCfkmYHnqL2/gqyyJAfVs1dk1ETJVQjsuBajH1BOZJF25mN X-Virus-Checked: Checked by ClamAV on apache.org --00235447143c48e43204ba36a3ef Content-Type: text/plain; charset=ISO-8859-1 Thanks for the tip. Is there any way to disable this behavior? On Thu, Mar 1, 2012 at 2:56 PM, Ashutosh Chauhan wrote: > Hi Carl, > > Include in your git commit message following line > Test Plan: . > > It is looking for string "Test Plan" in your commit message and fails if > cant find one. > > Hope it helps, > Ashutosh > > On Thu, Mar 1, 2012 at 14:45, Carl Steinbach wrote: > > > Hey, > > > > Today I started getting the following error when I try to create a > > phabricator review request using arc: > > > > % arc diff --jira HIVE-2831 > > > > Exception: > > Invalid or missing field 'Test Plan': You must provide a test plan. > > (Run with --trace for a full exception trace.) > > > > > > Here's the complete trace: > > > > % arc --trace diff --jira HIVE-2831 > > Loading phutil library 'arc_jira_lib' from > > '/Users/carl/Work/repos/hive4/.arc_jira_lib'... > > >>> [0] conduit.connect() > > <<< [0] 318,295 us > > >>> [1] $ (cd '/Users/carl/Work/repos/hive4'; git rev-parse > > --show-cdup) > > <<< [1] 14,662 us > > >>> [2] $ (cd '/Users/carl/Work/repos/hive4/'; git rev-parse > > --verify HEAD^) > > <<< [2] 16,343 us > > >>> [3] $ (cd '/Users/carl/Work/repos/hive4/'; git log > > --first-parent --format=medium 'HEAD^'..HEAD) > > <<< [3] 15,040 us > > >>> [4] differential.parsecommitmessage() > > <<< [4] 547,222 us > > > > Fatal error: Uncaught exception > > 'ArcanistDifferentialCommitMessageParserException' with message 'Invalid > or > > missing field 'Test Plan': You must provide a test plan.' in > > > > > /Users/carl/.local/pkg/arcanist/src/differential/commitmessage/ArcanistDifferentialCommitMessage.php:88 > > Stack trace: > > #0 > > > > > /Users/carl/Work/repos/hive4/.arc_jira_lib/arcanist/ArcJIRAConfiguration.php(88): > > > > > ArcanistDifferentialCommitMessage->pullDataFromConduit(Object(ConduitClient)) > > #1 > > > > > /Users/carl/Work/repos/hive4/.arc_jira_lib/arcanist/ArcJIRAConfiguration.php(364): > > ArcJIRAConfiguration->willRunDiffWorkflow() > > #2 /Users/carl/.local/pkg/arcanist/scripts/arcanist.php(264): > > ArcJIRAConfiguration->willRunWorkflow('diff', > Object(ArcanistDiffWorkflow)) > > #3 {main} > > thrown in > > > > > /Users/carl/.local/pkg/arcanist/src/differential/commitmessage/ArcanistDifferentialCommitMessage.php > > on line 88 > > > > > > Anyone know what's going on here? > > > > Thanks. > > > > Carl > > > --00235447143c48e43204ba36a3ef--