forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
From #3598
It fails with
AssertionError: not({('7f000001', 19180), ('00000000000000000000000000000001', 19180)} == {('00000000000000000000000000000000', 19180)})here
dash/test/functional/rpcbind_test.py
Line 37 in 82472d1
assert_equal(set(get_bind_addrs(pid)), set(expected)) due to this test
dash/test/functional/rpcbind_test.py
Lines 81 to 82 in 82472d1
self.run_bind_test(['127.0.0.1'], '127.0.0.1', [], [('::0', defaultport)]) It looks like
dash/test/functional/test_framework/netutil.py
Lines 76 to 85 in 82472d1
def get_bind_addrs(pid): ''' Get bind addresses as (host,port) tuples for process pid. ''' inodes = get_socket_inodes(pid) bind_addrs = [] for conn in netstat('tcp') + netstat('tcp6'): if conn[3] == STATE_LISTEN and conn[4] in inodes: bind_addrs.append(conn[1]) return bind_addrs is just not working properly for some setups. Which causes this wrong "host,port" tuple ->
('7f000001', 19180)and on top it looks like this
dash/test/functional/rpcbind_test.py
Lines 81 to 82 in 82472d1
self.run_bind_test(['127.0.0.1'], '127.0.0.1', [], [('::0', defaultport)]) should rather be
self.run_bind_test(['127.0.0.1'], '127.0.0.1', [], [('::1', defaultport)])Im not sure at all so this would require some investigation from my side.. maybe someone else has a clue already?
Metadata
Metadata
Assignees
Labels
No labels