-
Notifications
You must be signed in to change notification settings - Fork 38.7k
[qa] blockstore: Switch to dumb dbm #8834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Concept ACK, this is by far the most straightforward solution, if there is no need for platform-specific exceptions then let's avoid them. |
|
Interesting, apparently this causes the NULLDUMMY test to fail during close, on some platforms. I don't understand why this file would suddenly be missing during close: I can reproduce this locally on FreeBSD. |
|
Failed on my OSX machine: Trying again.... |
|
"Connection reset by peer" is a different issue, unrelated to the database. I have the same on FreeBSD. @jonasschnelli can you try: diff --git a/qa/rpc-tests/test_framework/authproxy.py b/qa/rpc-tests/test_framework/authproxy.py
index f5e0be2..fd7f32b 100644
--- a/qa/rpc-tests/test_framework/authproxy.py
+++ b/qa/rpc-tests/test_framework/authproxy.py
@@ -130,8 +130,9 @@ class AuthServiceProxy(object):
return self._get_response()
else:
raise
- except BrokenPipeError:
- # Python 3.5+ raises this instead of BadStatusLine when the connection was reset
+ except (BrokenPipeError,ConnectionResetError):
+ # Python 3.5+ raises BrokenPipeError instead of BadStatusLine when the connection was reset
+ # ConnectionResetError happens on FreeBSD with Python 3.4
self.__conn.close()
self.__conn.request(method, path, postdata, headers)
return self._get_response() |
|
Passed after adding |
Unrelated to this pull, but needs travis retriggered after #8835 |
Done |
This is necessary on FreeBSD and MacOSX, at least. See bitcoin#8834 (comment)
|
Tested ACK fa9cd25 |
fa9cd25 [qa] blockstore: Switch to dumb dbm (MarcoFalke)
Github-Pull: bitcoin#8834 Rebased-From: fa9cd25
This is necessary on FreeBSD and MacOSX, at least. See bitcoin#8834 (comment) Github-Pull: bitcoin#8839 Rebased-From: 1d28faf
This is necessary on FreeBSD and MacOSX, at least. See bitcoin/bitcoin#8834 (comment)
This is necessary on FreeBSD and MacOSX, at least. See bitcoin/bitcoin#8834 (comment)
This is necessary on FreeBSD and MacOSX, at least. See bitcoin/bitcoin#8834 (comment)
This is necessary on FreeBSD and MacOSX, at least. See bitcoin/bitcoin#8834 (comment)
This is necessary on FreeBSD and MacOSX, at least. See bitcoin/bitcoin#8834 (comment)
This is necessary on FreeBSD and MacOSX, at least. See bitcoin#8834 (comment)
fa9cd25 [qa] blockstore: Switch to dumb dbm (MarcoFalke)
fa9cd25 [qa] blockstore: Switch to dumb dbm (MarcoFalke)
Closes #8605
I could not see any performance degradation by this commit:
$ time qa/pull-tester/rpc-tests.py p2p-fullblocktestBefore:
After: