This past 2 days, I recently ran into this issue while trying to push to our hosted instance of phabricator.
- Push received by "designcentersw-01", forwarding to cluster host.
- Waiting up to 120 second(s) for a cluster write lock...
- Acquired write lock immediately.
- Waiting up to 120 second(s) for a cluster read lock on "designcentersw-02"...
- Acquired read lock immediately.
- Device "designcentersw-02" is already a cluster leader and does not need to be synchronized.
- Ready to receive on cluster host "designcentersw-02".
Counting objects: 3, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 440 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 2 (delta 1)
remote: [2017-02-06 23:35:42] EXCEPTION: (CommandException) Command failed with error #128!
remote: COMMAND
remote: git log --format='%H' 'ac4220f1eb15dd3c74f096d9a4783754afd6fdec' --not --all
remote:
remote: STDOUT
remote: (empty)
remote:
remote: STDERR
remote: fatal: bad object ac4220f1eb15dd3c74f096d9a4783754afd6fdec
remote: at [<phutil>/src/future/exec/ExecFuture.php:369]
remote: arcanist(head=stable, ref.master=e5be662d15a8, ref.stable=e17fe43ca3fe), libphremoteuser(head=master, ref.master=eedcadbdd28b), phabricator(head=stable, ref.master=07ea4e6f74e2, ref.stable=27464c96e80d, custom=1), phutil(head=stable, ref.master=9c03af69571f, ref.stable=89984ac20059)
remote: #0 ExecFuture::resolvex() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:565]
remote: #1 DiffusionCommitHookEngine::findGitContentUpdates(array) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:250]
remote: #2 DiffusionCommitHookEngine::findContentUpdates(array) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:133]
remote: #3 DiffusionCommitHookEngine::execute() called at [<phabricator>/scripts/repository/commit_hook.php:186]
Released cluster write lock.
To ssh://git@designcentersw.intel.com:29418/yocto-build.git
! [remote rejected] cgm_sw_r2.0.1er2 -> cgm_sw_r2.0.1er2 (pre-receive hook declined)
! [remote rejected] r6.1.2-er1 -> r6.1.2-er1 (pre-receive hook declined)
! [remote rejected] r6.1.2-ga -> r6.1.2-ga (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@designcentersw.intel.com:29418/yocto-build.git'
git push --all designcentersw