Page MenuHomePhabricator

Unable to push to repo on Phacility due to pre-receive hook failing because of Herald exception
Closed, ResolvedPublic

Description

Switched to branch master. Updating branch...
The following commit(s) will be landed:

f85b827 T144 remove references to CLI

Switched to branch removeCLIcopy. Identifying and merging...
Landing revision 'D21: T144 remove references to CLI'...
Merging removeCLIcopy into master
Already up-to-date.
Pushing change...

Counting objects: 10, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 1.38 KiB | 0 bytes/s, done.
Total 10 (delta 9), reused 0 (delta 0)
remote: [2015-07-27 15:37:39] EXCEPTION: (AphrontSchemaQueryException) #1146: Table '[REDACTED]_herald.herald_actionrecord' doesn't exist at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:308]
remote: arcanist(head=stable, ref.master=29839e8c72c5, ref.stable=5fcf7b5a3b9e), libcore(), phabricator(head=stable, ref.master=b1a843b21a38, ref.stable=36fc6a622c35), phutil(head=stable, ref.master=992abe4a420c, ref.stable=aa6cd8f7e5e5), services(head=master, ref.master=576ad99b5406)
remote:   #0 AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:275]
remote:   #1 AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:181]
remote:   #2 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6]
remote:   #3 queryfx(AphrontMySQLiDatabaseConnection, string, string, array, string)
remote:   #4 call_user_func_array(string, array) called at [<phutil>/src/xsprintf/queryfx.php:11]
remote:   #5 queryfx_all(AphrontMySQLiDatabaseConnection, string, string, array, string)
remote:   #6 call_user_func_array(string, array) called at [<phutil>/src/aphront/storage/connection/AphrontDatabaseConnection.php:22]
remote:   #7 AphrontDatabaseConnection::queryData(string, string, array, string)
remote:   #8 call_user_func_array(array, array) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:535]
remote:   #9 LiskDAO::loadRawDataWhere(string, array)
remote:   #10 call_user_func_array(array, array) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:476]
remote:   #11 LiskDAO::loadAllWhere(string, array) called at [<phabricator>/src/applications/herald/query/HeraldRuleQuery.php:113]
remote:   #12 HeraldRuleQuery::willFilterPage(array) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:236]
remote:   #13 PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/src/applications/herald/engine/HeraldEngine.php:36]
remote:   #14 HeraldEngine::loadRulesForAdapter(HeraldPreCommitRefAdapter) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:316]
remote:   #15 DiffusionCommitHookEngine::applyHeraldRules(array, HeraldPreCommitRefAdapter, array) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:284]
remote:   #16 DiffusionCommitHookEngine::applyHeraldRefRules(array, array) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:139]
remote:   #17 DiffusionCommitHookEngine::execute() called at [<phabricator>/scripts/repository/commit_hook.php:133]
To ssh://[REDACTED]@vault.phacility.com/diffusion/WSORG/[REDACTED].git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://[REDACTED]@vault.phacility.com/diffusion/WSORG/[REDACTED].git'
  PUSH FAILED!   
Switched back to branch removeCLIcopy.
Usage Exception: 'git push' failed! Fix the error and run 'arc land' again

Event Timeline

swisspol raised the priority of this task from to Needs Triage.
swisspol updated the task description. (Show Details)
swisspol added a subscriber: swisspol.

I think this should be fixed now, let me know if you're still seeing issues?

swisspol claimed this task.

It looks fixed, thanks.