You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Carl Steinbach <ca...@cloudera.com> on 2012/03/01 23:45:41 UTC

'arc diff' failing with "Invalid or missing field 'Test Plan': You must provide a test plan."

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

Re: 'arc diff' failing with "Invalid or missing field 'Test Plan': You must provide a test plan."

Posted by Ashutosh Chauhan <ha...@apache.org>.
I don't know if there is a way to disable it. But, then I don't know much
about phabricator/arc infra.

On Thu, Mar 1, 2012 at 15:15, Carl Steinbach <ca...@cloudera.com> wrote:

> Thanks for the tip. Is there any way to disable this behavior?
>
> On Thu, Mar 1, 2012 at 2:56 PM, Ashutosh Chauhan <hashutosh@apache.org
> >wrote:
>
> > 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 <ca...@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
> > >
> >
>

Re: 'arc diff' failing with "Invalid or missing field 'Test Plan': You must provide a test plan."

Posted by Carl Steinbach <ca...@cloudera.com>.
Thanks for the tip. Is there any way to disable this behavior?

On Thu, Mar 1, 2012 at 2:56 PM, Ashutosh Chauhan <ha...@apache.org>wrote:

> 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 <ca...@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
> >
>

Re: 'arc diff' failing with "Invalid or missing field 'Test Plan': You must provide a test plan."

Posted by Ashutosh Chauhan <ha...@apache.org>.
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 <ca...@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
>