Sunday, December 22, 2024

Bother executing Bitcoin Purposeful Check ‘feature_bind_port_discover.py’ on Ubuntu

I am making an attempt to execute the practical take a look at feature_bind_port_discover.py, as defined within the reply to the query How can I run the skipped Bitcoin Purposeful Exams?. I’ve tried to configure the routable addresses on my Ubuntu 22.04 LTS machine as follows:

  1. I run the command:

    ifconfig lo:0 1.1.1.1/32 up && ifconfig lo:1 2.2.2.2/32 up # to arrange

  2. It appears to configure appropriately; after I run ifconfig, I get this:

    lo:0: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 1.1.1.1 netmask 0.0.0.0
    loop txqueuelen 1000 (Native Loopback)

    lo:1: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 2.2.2.2 netmask 0.0.0.0
    loop txqueuelen 1000 (Native Loopback)

Nevertheless, after I run the take a look at with take a look at/practical/feature_bind_port_externalip.py –ihave1111, it does not work.

Within the log, the error may be seen:

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

What can I do to check this practical take a look at? I am encountering the identical downside with feature_bind_port_externalip.py.

Thanks.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles