Page MenuHomePhabricator
Paste P2095

(An Untitled Masterwork)
ActivePublic

Authored by amckinley on Apr 13 2018, 6:29 PM.
Tags
None
Referenced Files
F5521154:
Apr 13 2018, 6:29 PM
Subscribers
None
~/src/phacility/phabricator (master) $ arc diff
Linting...
OKAY No lint messages.
LINT OKAY No lint problems.
Running unit tests...
Exception
Unable to establish a connection to any database host (while trying "local_config"). All masters and replicas are completely unreachable.
(Run with `--trace` for a full exception trace.)

Event Timeline

With --trace:

~/src/phacility/phabricator (master) $ arc diff --trace
 ARGV  '/Users/amckinley/src/phacility/core/lib/arcanist/bin/../scripts/arcanist.php' 'diff' '--trace'
 LOAD  Loaded "phutil" from "/Users/amckinley/src/phacility/core/lib/libphutil/src".
 LOAD  Loaded "arcanist" from "/Users/amckinley/src/phacility/core/lib/arcanist/src".
Config: Reading user configuration file "/Users/amckinley/.arcrc"...
Config: Did not find system configuration at "/etc/arcconfig".
Working Copy: Reading .arcconfig from "/Users/amckinley/src/phacility/core/lib/phabricator/.arcconfig".
Working Copy: Path "/Users/amckinley/src/phacility/core/lib/phabricator" is part of `git` working copy "/Users/amckinley/src/phacility/core/lib/phabricator".
Working Copy: Project root is at "/Users/amckinley/src/phacility/core/lib/phabricator".
Config: Did not find local configuration at "/Users/amckinley/src/phacility/core/lib/phabricator/.git/arc/config".
Loading phutil library from '/Users/amckinley/src/phacility/core/lib/phabricator/src'...
>>> [0] <http> https://secure.phabricator.com/api/user.whoami
<<< [0] <http> 209,093 us
>>> [1] <exec> $ git --version
<<< [1] <exec> 11,008 us
>>> [2] <exec> $ git status --porcelain=2 -z
<<< [2] <exec> 133,719 us
>>> [3] <event> diff.didCollectChanges <listeners = 0>
<<< [3] <event> 66 us
>>> [4] <exec> $ git rev-parse --verify HEAD^
<<< [4] <exec> 14,375 us
>>> [5] <exec> $ git rev-parse --abbrev-ref --symbolic-full-name '@{upstream}'
<<< [5] <exec> 12,984 us
>>> [6] <exec> $ git cat-file -t 'origin/master'
<<< [6] <exec> 13,037 us
>>> [7] <exec> $ git merge-base 'origin/master' HEAD
<<< [7] <exec> 16,593 us
>>> [8] <exec> $ git rev-parse 'HEAD'
<<< [8] <exec> 15,244 us
>>> [9] <exec> $ git log --first-parent --format=medium 'd6ef32a7b7546639626b4903473eec56687524e0'..'641f31a2f3e2c6b0dd5fcb1b660c9678b37cafa7'
<<< [9] <exec> 19,397 us
>>> [10] <exec> $ git log '641f31a2f3e2c6b0dd5fcb1b660c9678b37cafa7' --not 'd6ef32a7b7546639626b4903473eec56687524e0' --format='%H%x01%T%x01%P%x01%at%x01%an%x01%aE%x01%s%x01%s%n%n%b%x02' --
<<< [10] <exec> 16,010 us
>>> [11] <http> https://secure.phabricator.com/api/differential.query
<<< [11] <http> 77,239 us
>>> [12] <exec> $ git rev-parse --git-dir
<<< [12] <exec> 13,405 us
>>> [13] <exec> $ git log '641f31a2f3e2c6b0dd5fcb1b660c9678b37cafa7' --not 'd6ef32a7b7546639626b4903473eec56687524e0' --format='%H%x01%T%x01%P%x01%at%x01%an%x01%aE%x01%s%x01%s%n%n%b%x02' --
<<< [13] <exec> 16,101 us
>>> [14] <exec> $ git log -n1 --format=%s%n%n%b 'd6ef32a7b7546639626b4903473eec56687524e0' --
<<< [14] <exec> 14,580 us
>>> [15] <exec> $ git symbolic-ref --quiet HEAD
<<< [15] <exec> 11,788 us
>>> [16] <exec> $ git rev-parse --symbolic-full-name 'master'@{upstream}
<<< [16] <exec> 12,888 us
>>> [17] <exec> $ git ls-remote --get-url 'origin'
<<< [17] <exec> 13,873 us
>>> [18] <conduit> repository.query() <bytes = 233>
>>> [19] <http> https://secure.phabricator.com/api/repository.query
<<< [19] <http> 137,043 us
<<< [18] <conduit> 137,222 us
>>> [20] <conduit> differential.query() <bytes = 212>
>>> [21] <http> https://secure.phabricator.com/api/differential.query
<<< [21] <http> 86,588 us
<<< [20] <conduit> 86,899 us
>>> [22] <conduit> differential.query() <bytes = 143>
>>> [23] <http> https://secure.phabricator.com/api/differential.query
<<< [23] <http> 172,748 us
<<< [22] <conduit> 172,924 us
>>> [24] <http> https://secure.phabricator.com/api/differential.parsecommitmessage
<<< [24] <http> 86,632 us
>>> [25] <event> diff.willBuildMessage <listeners = 0>
<<< [25] <event> 53 us
>>> [26] <http> https://secure.phabricator.com/api/differential.getcommitmessage
<<< [26] <http> 124,295 us
>>> [27] <exec> $ git symbolic-ref --quiet HEAD
<<< [27] <exec> 15,674 us
>>> [28] <exec> $ subl -n -w  '/var/folders/4g/dbmszf7560q1n_1jm7z6c8c80000gn/T/edit.5lt0196kay888wcs/new-commit'
<<< [28] <exec> 1,669,433 us
>>> [29] <http> https://secure.phabricator.com/api/differential.parsecommitmessage
<<< [29] <http> 101,884 us
>>> [30] <conduit> user.query() <bytes = 176>
>>> [31] <http> https://secure.phabricator.com/api/user.query
<<< [31] <http> 108,772 us
<<< [30] <conduit> 109,035 us
>>> [32] <event> diff.didBuildMessage <listeners = 0>
<<< [32] <event> 72 us
Linting...
>>> [33] <exec> $ git rev-parse 'HEAD'
<<< [33] <exec> 19,874 us
>>> [34] <exec> $ git merge-base 'd6ef32a7b7546639626b4903473eec56687524e0' '641f31a2f3e2c6b0dd5fcb1b660c9678b37cafa7'
<<< [34] <exec> 15,094 us
>>> [35] <exec> $ git diff --no-ext-diff --no-textconv --submodule=short --raw 'd6ef32a7b7546639626b4903473eec56687524e0' HEAD --
<<< [35] <exec> 15,404 us
>>> [36] <exec> $ git diff --no-ext-diff --no-textconv --submodule=short --no-color --src-prefix=a/ --dst-prefix=b/ -U32767 -M -C 'd6ef32a7b7546639626b4903473eec56687524e0' --
<<< [36] <exec> 167,503 us
Examining paths for linter 'chmod'.
Found 2 matching paths for linter 'chmod'.
Examining paths for linter 'filename'.
Found 2 matching paths for linter 'filename'.
Examining paths for linter 'generated'.
Found 2 matching paths for linter 'generated'.
Examining paths for linter 'javelin'.
Found 0 matching paths for linter 'javelin'.
Examining paths for linter 'jshint-browser'.
Found 0 matching paths for linter 'jshint-browser'.
Examining paths for linter 'jshint-node'.
Found 0 matching paths for linter 'jshint-node'.
Examining paths for linter 'json'.
Found 0 matching paths for linter 'json'.
Examining paths for linter 'merge-conflict'.
Found 2 matching paths for linter 'merge-conflict'.
Examining paths for linter 'nolint'.
Found 2 matching paths for linter 'nolint'.
Examining paths for linter 'phutil-library'.
Found 2 matching paths for linter 'phutil-library'.
Examining paths for linter 'spelling'.
Found 2 matching paths for linter 'spelling'.
Examining paths for linter 'text'.
Found 2 matching paths for linter 'text'.
Examining paths for linter 'text-without-length'.
Found 0 matching paths for linter 'text-without-length'.
Examining paths for linter 'xhpast'.
Found 2 matching paths for linter 'xhpast'.
>>> [37] <exec> $ which javelinsymbols
<<< [37] <exec> 7,262 us
>>> [38] <exec> $ which 'jshint'
<<< [38] <exec> 6,834 us
>>> [39] <exec> $ which 'jshint'
<<< [39] <exec> 5,845 us
>>> [40] <exec> $ 'jshint' --version
<<< [40] <exec> 257,662 us
>>> [41] <exec> $ which 'jshint'
<<< [41] <exec> 6,147 us
>>> [42] <exec> $ which 'jshint'
<<< [42] <exec> 5,903 us
>>> [43] <exec> $ 'jshint' --version
<<< [43] <exec> 187,518 us
>>> [44] <exec> $ '/Users/amckinley/src/phacility/core/lib/libphutil/src/parser/xhpast/bin/xhpast' --version
<<< [44] <exec> 9,302 us
>>> [45] <lint> Lint Disabler <paths = 2>
<<< [45] <lint> 102 us
>>> [46] <lint> Generated Code <paths = 2>
<<< [46] <lint> 69 us
>>> [47] <lint> Basic Text Linter <paths = 2>
<<< [47] <lint> 1,080 us
>>> [48] <lint> Chmod <paths = 2>
<<< [48] <lint> 116 us
>>> [49] <lint> Filename <paths = 2>
<<< [49] <lint> 52 us
>>> [50] <lint> Merge Conflicts <paths = 2>
<<< [50] <lint> 318 us
>>> [51] <lint> Spellchecker <paths = 2>
<<< [51] <lint> 10,159 us
>>> [52] <lint> XHPAST Lint <paths = 2>
>>> [53] <exec> $ '/Users/amckinley/src/phacility/core/lib/libphutil/src/parser/xhpast/bin/xhpast'
>>> [54] <exec> $ '/Users/amckinley/src/phacility/core/lib/libphutil/src/parser/xhpast/bin/xhpast'
<<< [52] <lint> 1,399 us
>>> [55] <lint> Phutil Library Linter <paths = 2>
>>> [56] <exec> $ which 'find'
<<< [56] <exec> 6,607 us
>>> [57] <exec> $ find . "(" '-path' '*/.*' ")" -prune -o -type 'f' "(" '-name' '*.php' ")" -print0
<<< [57] <exec> 21,228 us
>>> [58] <exec> $ which 'find'
<<< [58] <exec> 6,057 us
>>> [59] <exec> $ find . "(" '-path' '*/.*' ")" -prune -o -type 'f' "(" '-name' '*.php' ")" -print0
<<< [59] <exec> 27,249 us
>>> [60] <exec> $ which 'find'
<<< [60] <exec> 6,458 us
>>> [61] <exec> $ find . "(" '-path' '*/.*' ")" -prune -o -type 'f' "(" '-name' '*.php' ")" -print0
<<< [61] <exec> 129,173 us
<<< [55] <lint> 1,433,860 us
>>> [62] <lint> Lint Disabler <paths = 2>
<<< [62] <lint> 28 us
>>> [63] <lint> Generated Code <paths = 2>
<<< [63] <lint> 17 us
>>> [64] <lint> Basic Text Linter <paths = 2>
<<< [64] <lint> 40 us
>>> [65] <lint> Chmod <paths = 2>
<<< [65] <lint> 18 us
>>> [66] <lint> Filename <paths = 2>
<<< [66] <lint> 26 us
>>> [67] <lint> Merge Conflicts <paths = 2>
<<< [67] <lint> 21 us
>>> [68] <lint> Spellchecker <paths = 2>
<<< [68] <lint> 37 us
>>> [69] <lint> XHPAST Lint <paths = 2>
<<< [54] <exec> 1,437,947 us
<<< [53] <exec> 1,462,985 us
<<< [69] <lint> 36,052 us
>>> [70] <lint> Phutil Library Linter <paths = 2>
<<< [70] <lint> 26 us
 OKAY  No lint messages.
 LINT OKAY  No lint problems.
Running unit tests...
>>> [71] <connect> local_config
<<< [71] <connect> 502 us

[2018-04-13 18:27:43] EXCEPTION: (PhabricatorClusterStrandedException) Unable to establish a connection to any database host (while trying "local_config"). All masters and replicas are completely unreachable. at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:140]
arcanist(head=experimental, ref.master=73f5afd44110, ref.experimental=925c60e7b837), corgi(head=master, ref.master=6371578c9d32), instances(head=master, ref.master=1be99c80bea2), libcore(), phabricator(head=master, ref.master=641f31a2f3e2), phutil(head=master, ref.master=20eff1c8d14f), services(head=stats-service, ref.master=140004446f6c, ref.stats-service=140004446f6c)
  #0 PhabricatorLiskDAO::raiseUnreachable(string) called at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:111]
  #1 PhabricatorLiskDAO::newClusterConnection(string, string, string) called at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:66]
  #2 PhabricatorLiskDAO::establishLiveConnection(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1008]
  #3 LiskDAO::establishConnection(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:516]
  #4 LiskDAO::loadRawDataWhere(string, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:476]
  #5 LiskDAO::loadAllWhere(string, string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:19]
  #6 PhabricatorConfigDatabaseSource::loadConfig(string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:7]
  #7 PhabricatorConfigDatabaseSource::__construct(string) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:249]
  #8 PhabricatorEnv::buildConfigurationSourceStack(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:95]
  #9 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:75]
  #10 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [<phabricator>/scripts/init/lib.php:22]
  #11 init_phabricator_script(array) called at [<phabricator>/scripts/init/init-script.php:9]
  #12 require_once(string) called at [<phabricator>/scripts/__init_script__.php:3]
  #13 require_once(string) called at [<phabricator>/src/infrastructure/testing/PhabricatorTestCase.php:62]
  #14 PhabricatorTestCase::willRunTestCases(array) called at [<arcanist>/src/unit/engine/PhutilUnitTestEngine.php:64]
  #15 PhutilUnitTestEngine::run() called at [<arcanist>/src/unit/engine/ArcanistConfigurationDrivenUnitTestEngine.php:147]
  #16 ArcanistConfigurationDrivenUnitTestEngine::run() called at [<arcanist>/src/workflow/ArcanistUnitWorkflow.php:170]
  #17 ArcanistUnitWorkflow::run() called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:1366]
  #18 ArcanistDiffWorkflow::runUnit() called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:1256]
  #19 ArcanistDiffWorkflow::runLintUnit() called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:441]
  #20 ArcanistDiffWorkflow::run() called at [<arcanist>/scripts/arcanist.php:420]