Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # dev - 'arc diff' failing with "Invalid or missing field 'Test Plan': You must provide a test plan."


+
Carl Steinbach 2012-03-01, 22:45
Copy link to this message
-
Re: 'arc diff' failing with "Invalid or missing field 'Test Plan': You must provide a test plan."
Ashutosh Chauhan 2012-03-01, 22:56
Hi Carl,

Include in your git commit message following line
Test Plan: <Include your test plan here>.

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 <[EMAIL PROTECTED]> 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> conduit.connect()
> <<< [0] <conduit> 318,295 us
> >>> [1] <exec> $ (cd '/Users/carl/Work/repos/hive4'; git rev-parse
> --show-cdup)
> <<< [1] <exec> 14,662 us
> >>> [2] <exec> $ (cd '/Users/carl/Work/repos/hive4/'; git rev-parse
> --verify HEAD^)
> <<< [2] <exec> 16,343 us
> >>> [3] <exec> $ (cd '/Users/carl/Work/repos/hive4/'; git log
> --first-parent --format=medium 'HEAD^'..HEAD)
> <<< [3] <exec> 15,040 us
> >>> [4] <conduit> differential.parsecommitmessage()
> <<< [4] <conduit> 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
>
+
Carl Steinbach 2012-03-01, 23:15
+
Ashutosh Chauhan 2012-03-01, 23:20