How can I run skipped Bitcoin functional tests? I’m trying to run the feature test feature_bind_port_discover.py as described in the answer to your question. I tried configuring routable addresses on my Ubuntu machine as follows:
Run the following command:
ifconfig lo:0 1.1.1.1/32 up && ifconfig lo:1 2.2.2.2/32 up # settings
It looks like you configured it correctly. Running ifconfig gives the following output:
lo:0: flags=73
mtu 65536 inet 1.1.1.1 netmask 0.0.0.0 loop txqueuelen 1000 (local loopback) lo:1: flags=73
mtu 65536 inet 2.2.2.2 netmask 0.0.0.0 loop txqueuelen 1000 (local loopback)
However, when I run the test using test/function/feature_bind_port_externalip.py –ihave1111 it doesn’t work.
You can see the following error in the log:
2024-01-01T22:15:36.009000Z TestFramework.utils (ERROR): wait_until() failed. Predicate: ''''
self.wait_until(lambda: sum(peer('version') != 0 for peer in from_connection.getpeerinfo()) == from_num_peers)
'''
2024-01-01T22:15:36.009000Z TestFramework (ERROR): Assertion failed
Tr
How do I test this functional test? The same problem occurs in feature_bind_port_externalip.py.
thank you.