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 B75CF9ED6 for ; Thu, 1 Mar 2012 22:56:22 +0000 (UTC) Received: (qmail 85544 invoked by uid 500); 1 Mar 2012 22:56:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 85507 invoked by uid 500); 1 Mar 2012 22:56: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 85496 invoked by uid 99); 1 Mar 2012 22:56:22 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 22:56:22 +0000 Received: from localhost (HELO mail-we0-f176.google.com) (127.0.0.1) (smtp-auth username hashutosh, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 22:56:22 +0000 Received: by werc1 with SMTP id c1so955829wer.35 for ; Thu, 01 Mar 2012 14:56:20 -0800 (PST) Received-SPF: pass (google.com: domain of hashutosh@apache.org designates 10.180.92.73 as permitted sender) client-ip=10.180.92.73; Authentication-Results: mr.google.com; spf=pass (google.com: domain of hashutosh@apache.org designates 10.180.92.73 as permitted sender) smtp.mail=hashutosh@apache.org Received: from mr.google.com ([10.180.92.73]) by 10.180.92.73 with SMTP id ck9mr15174420wib.2.1330642580267 (num_hops = 1); Thu, 01 Mar 2012 14:56:20 -0800 (PST) Received: by 10.180.92.73 with SMTP id ck9mr12169722wib.2.1330642580251; Thu, 01 Mar 2012 14:56:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.22.16 with HTTP; Thu, 1 Mar 2012 14:56:00 -0800 (PST) In-Reply-To: References: From: Ashutosh Chauhan Date: Thu, 1 Mar 2012 14:56:00 -0800 Message-ID: Subject: Re: 'arc diff' failing with "Invalid or missing field 'Test Plan': You must provide a test plan." To: dev@hive.apache.org Content-Type: multipart/alternative; boundary=f46d043892c551a3b704ba365e77 --f46d043892c551a3b704ba365e77 Content-Type: text/plain; charset=ISO-8859-1 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 > --f46d043892c551a3b704ba365e77--