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 <c...@cloudera.com> 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
>

Reply via email to