Arcanist/Phabricator broken (arc diff returns error)? #45287

Closed
opened 2015-07-03 12:55:43 +02:00 by Bastien Montagne · 7 comments

System Information
Linux debian testing 64bits

Short description of error
Trying to update asset-experiments patch on phabricator (D1316) with (up-to-date) arcanist, I’m getting this error:

P238: (An Untitled Masterwork)

$ arc --trace diff
libphutil loaded from '/home/i74700deb64/arcanist/libphutil/src'.
arcanist loaded from '/home/i74700deb64/arcanist/arcanist/src'.
Config: Reading user configuration file "/home/i74700deb64/.arcrc"...
Config: Did not find system configuration at "/etc/arcconfig".
Working Copy: Reading .arcconfig from "/home/i74700deb64/blender/__work__/src/.arcconfig".
Working Copy: Path "/home/i74700deb64/blender/__work__/src" is part of `git` working copy "/home/i74700deb64/blender/__work__/src".
Working Copy: Project root is at "/home/i74700deb64/blender/__work__/src".
Config: Did not find local configuration at "/home/i74700deb64/blender/__work__/src/.git/arc/config".
>>> - [x] <conduit> conduit.connect() <bytes = 462>
>>> - [x] <http> https://developer.blender.org/api/conduit.connect
<<< - [x] <http> 779 us
<<< - [x] <conduit> 779 us
>>> - [x] <exec> $ git diff --no-ext-diff --no-textconv --raw 'HEAD' --
>>> - [x] <exec> $ git ls-files --others --exclude-standard
<<< - [x] <exec> 14 us
<<< - [x] <exec> 24 us
>>> - [x] <exec> $ git diff-files --name-only
<<< - [x] <exec> 14 us
>>> - [x] <event> diff.didCollectChanges <listeners = 0>
<<< - [x] <event> 71 us
>>> - [x] <exec> $ git rev-parse --verify HEAD^
<<< - [x] <exec> 2 us
>>> - [x] <exec> $ git cat-file -t 'origin/master'
<<< - [x] <exec> 2 us
>>> - [x] <exec> $ git merge-base 'origin/master' HEAD
<<< - [x] <exec> 34 us
>>> - [x] <exec> $ git rev-parse 'HEAD'
<<< - [x] <exec> 2 us
>>> [10] <exec> $ git log --first-parent --format=medium '2b5e150db03a0e4e1c7e57274399123571fcc66d'..'c2049e740e3ce467ea7c260f8b14b511daa84e78'
<<< [10] <exec> 39 us
>>> [11] <exec> $ git log 'c2049e740e3ce467ea7c260f8b14b511daa84e78' --not '2b5e150db03a0e4e1c7e57274399123571fcc66d' --format='%H%x01%T%x01%P%x01%at%x01%an%x01%aE%x01%s%x01%s%n%n%b%x02' --
<<< [11] <exec> 37 us
>>> [12] <conduit> differential.query() <bytes = 51146>
>>> [13] <http> https://developer.blender.org/api/differential.query
<<< [13] <http> 462 us
<<< [12] <conduit> 462 us

[2015-07-03 10:50:02] EXCEPTION: (ConduitClientException) ERR-CONDUIT-CORE: Invalid parameter information was passed to method 'differential.query' at [<phutil>/src/conduit/ConduitFuture.php:58]
arcanist(head=master, ref.master=d54cb072facd), phutil(head=master, ref.master=72ea80ff1468)
  #0 ConduitFuture::didReceiveResult(array) called at [<phutil>/src/future/FutureProxy.php:60]
  #1 FutureProxy::getResult() called at [<phutil>/src/future/FutureProxy.php:37]
  #2 FutureProxy::resolve() called at [<phutil>/src/conduit/ConduitClient.php:58]
  #3 ConduitClient::callMethodSynchronous(string, array) called at [<arcanist>/src/repository/api/ArcanistGitAPI.php:1049]
  #4 ArcanistGitAPI::loadWorkingCopyDifferentialRevisions(ConduitClient, array) called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:1496]
  #5 ArcanistDiffWorkflow::buildCommitMessage() called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:461]
  #6 ArcanistDiffWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382]
**System Information** Linux debian testing 64bits **Short description of error** Trying to update asset-experiments patch on phabricator ([D1316](https://archive.blender.org/developer/D1316)) with (up-to-date) arcanist, I’m getting this error: [P238: (An Untitled Masterwork)](https://archive.blender.org/developer/P238.txt) ``` $ arc --trace diff libphutil loaded from '/home/i74700deb64/arcanist/libphutil/src'. arcanist loaded from '/home/i74700deb64/arcanist/arcanist/src'. Config: Reading user configuration file "/home/i74700deb64/.arcrc"... Config: Did not find system configuration at "/etc/arcconfig". Working Copy: Reading .arcconfig from "/home/i74700deb64/blender/__work__/src/.arcconfig". Working Copy: Path "/home/i74700deb64/blender/__work__/src" is part of `git` working copy "/home/i74700deb64/blender/__work__/src". Working Copy: Project root is at "/home/i74700deb64/blender/__work__/src". Config: Did not find local configuration at "/home/i74700deb64/blender/__work__/src/.git/arc/config". >>> - [x] <conduit> conduit.connect() <bytes = 462> >>> - [x] <http> https://developer.blender.org/api/conduit.connect <<< - [x] <http> 779 us <<< - [x] <conduit> 779 us >>> - [x] <exec> $ git diff --no-ext-diff --no-textconv --raw 'HEAD' -- >>> - [x] <exec> $ git ls-files --others --exclude-standard <<< - [x] <exec> 14 us <<< - [x] <exec> 24 us >>> - [x] <exec> $ git diff-files --name-only <<< - [x] <exec> 14 us >>> - [x] <event> diff.didCollectChanges <listeners = 0> <<< - [x] <event> 71 us >>> - [x] <exec> $ git rev-parse --verify HEAD^ <<< - [x] <exec> 2 us >>> - [x] <exec> $ git cat-file -t 'origin/master' <<< - [x] <exec> 2 us >>> - [x] <exec> $ git merge-base 'origin/master' HEAD <<< - [x] <exec> 34 us >>> - [x] <exec> $ git rev-parse 'HEAD' <<< - [x] <exec> 2 us >>> [10] <exec> $ git log --first-parent --format=medium '2b5e150db03a0e4e1c7e57274399123571fcc66d'..'c2049e740e3ce467ea7c260f8b14b511daa84e78' <<< [10] <exec> 39 us >>> [11] <exec> $ git log 'c2049e740e3ce467ea7c260f8b14b511daa84e78' --not '2b5e150db03a0e4e1c7e57274399123571fcc66d' --format='%H%x01%T%x01%P%x01%at%x01%an%x01%aE%x01%s%x01%s%n%n%b%x02' -- <<< [11] <exec> 37 us >>> [12] <conduit> differential.query() <bytes = 51146> >>> [13] <http> https://developer.blender.org/api/differential.query <<< [13] <http> 462 us <<< [12] <conduit> 462 us [2015-07-03 10:50:02] EXCEPTION: (ConduitClientException) ERR-CONDUIT-CORE: Invalid parameter information was passed to method 'differential.query' at [<phutil>/src/conduit/ConduitFuture.php:58] arcanist(head=master, ref.master=d54cb072facd), phutil(head=master, ref.master=72ea80ff1468) #0 ConduitFuture::didReceiveResult(array) called at [<phutil>/src/future/FutureProxy.php:60] #1 FutureProxy::getResult() called at [<phutil>/src/future/FutureProxy.php:37] #2 FutureProxy::resolve() called at [<phutil>/src/conduit/ConduitClient.php:58] #3 ConduitClient::callMethodSynchronous(string, array) called at [<arcanist>/src/repository/api/ArcanistGitAPI.php:1049] #4 ArcanistGitAPI::loadWorkingCopyDifferentialRevisions(ConduitClient, array) called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:1496] #5 ArcanistDiffWorkflow::buildCommitMessage() called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:461] #6 ArcanistDiffWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382] ```

Changed status to: 'Open'

Changed status to: 'Open'
Sergey Sharybin was assigned by Bastien Montagne 2015-07-03 12:55:43 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Try using arc revision f9cefb7, there might be some API changes which will require server side update.

Try using arc revision f9cefb7, there might be some API changes which will require server side update.

Does not work, getting exact same issue with f9cefb7…

Does not work, getting exact same issue with f9cefb7…

I don't see any issues here using arc f9cefb7 and phutils bd087f5.

If same revisions doesn't work for you try setting explicitly which revision you're updating and which branch you;re creating patch against.

I don't see any issues here using arc f9cefb7 and phutils bd087f5. If same revisions doesn't work for you try setting explicitly which revision you're updating and which branch you;re creating patch against.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Gah 'update libphutils' is key word here! Working now, thanks and sorry for the noise :)

Gah 'update libphutils' is key word here! Working now, thanks and sorry for the noise :)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/blender-org#45287
No description provided.