Skip to content

Conversation

@xdustinface
Copy link

@xdustinface xdustinface commented Jul 9, 2020

Its not possible to setup default gitlab-ci integration since rpcbind_test.py fails for shared runners in gitlab ci. As this test is also always skipped by our gitlab ci (TestFramework (WARNING): Test Skipped: This test requires IPv6 support.) i guess its ok to disable it in the gitlab ci for now?

Might to be related to bitcoin#17765

rpcbind_test.py fails for shared runners in gitlab ci. As this test is currently also always skipped by our gitlab ci (probably because of the network configuration of our gitlab runner there?) i guess its ok to disable it in the gitlab ci for now?
@xdustinface
Copy link
Author

xdustinface commented Jul 9, 2020

It fails with

AssertionError: not({('7f000001', 19180), ('00000000000000000000000000000001', 19180)} == {('00000000000000000000000000000000', 19180)})

here

assert_equal(set(get_bind_addrs(pid)), set(expected))

due to this test

self.run_bind_test(['127.0.0.1'], '127.0.0.1', [],
[('::0', defaultport)])

It looks like

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

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant