mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
1e1d4eed29
Summary: We're seeing failures like this in our CI system: ``` stderr: test_create (eden.fs.integration.basic_test.BasicTest) ... We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. sudo: no tty present and no askpass program specified error: edenfs is not running ERROR ERROR ====================================================================== ERROR: test_create (eden.fs.integration.basic_test.BasicTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "eden/fs/integration/basic_test.py", line 68, in test_create eden = self.init_git_eden() File "eden/fs/integration/lib/testcase.py", line 104, in init_git_eden return self.init_eden(repo_path) File "eden/fs/integration/lib/testcase.py", line 54, in init_eden inst.init(repo_path, *kwargs) File "eden/fs/integration/lib/edenclient.py", line 160, in init self.daemon_cmd(timeout) File "eden/fs/integration/lib/edenclient.py", line 174, in daemon_cmd self._wait_for_thrift(timeout) File "eden/fs/integration/lib/edenclient.py", line 99, in _wait_for_thrift raise Exception("edenfs didn't start within timeout of %s" % timeout) Exception: edenfs didn't start within timeout of 10 ``` This diff improves things by failing faster and printing a little more appropriate context. Reviewed By: bolinfest Differential Revision: D3523257 fbshipit-source-id: 14508a1b820d9d6c773713e2bb7c22955c5b2b66 |
||
---|---|---|
.. | ||
cli | ||
config | ||
inodes | ||
integration | ||
model | ||
overlay | ||
rocksdb | ||
service | ||
store |