Functional tests: feature_bind_port_discover.py is failing #31336

issue andremralves openend this issue on November 20, 2024
  1. andremralves commented at 5:21 pm on November 20, 2024: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    The test is failing due to Discover() not being able to finding the local addresses “1.1.1.1” and “2.2.2.2”.

    Expected behaviour

    The test should pass. Addr1 and Addr2 should be found.

    Steps to reproduce

    Run the following commands:

    0sudo ifconfig lo:0 1.1.1.1/32 up && sudo ifconfig lo:1 2.2.2.2/32 up
    1./build/test/functional/test_runner.py --ihave1111and2222 feature_bind_port_discover.py
    

    Relevant log output

     0andre@acer:~/repos/bitcoin$ build/test/functional/test_runner.py --ihave1111and2222 feature_bind_port_discover.py
     1Temporary test directory at /tmp/test_runner_₿_🏃_20241120_141406
     2Remaining jobs: [feature_bind_port_discover.py]
     31/1 - feature_bind_port_discover.py failed, Duration: 1 s
     4
     5stdout:
     62024-11-20T17:14:06.192000Z TestFramework (INFO): PRNG seed is: 4142310399432710311
     72024-11-20T17:14:06.193000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20241120_141406/feature_bind_port_discover_0
     82024-11-20T17:14:06.511000Z TestFramework (INFO): Test that if -bind= is not passed then all addresses are added to localaddresses
     92024-11-20T17:14:06.512000Z TestFramework (ERROR): Assertion failed
    10Traceback (most recent call last):
    11  File "/home/andre/repos/bitcoin/test/functional/test_framework/test_framework.py", line 132, in main
    12    self.run_test()
    13  File "/home/andre/repos/bitcoin/build/test/functional/feature_bind_port_discover.py", line 63, in run_test
    14    assert found_addr1
    15AssertionError
    162024-11-20T17:14:06.563000Z TestFramework (INFO): Stopping nodes
    172024-11-20T17:14:06.716000Z TestFramework (WARNING): Not cleaning up dir /tmp/test_runner_₿_🏃_20241120_141406/feature_bind_port_discover_0
    182024-11-20T17:14:06.716000Z TestFramework (ERROR): Test failed. Test logging available at /tmp/test_runner_₿_🏃_20241120_141406/feature_bind_port_discover_0/test_framework.log
    192024-11-20T17:14:06.716000Z TestFramework (ERROR): 
    202024-11-20T17:14:06.716000Z TestFramework (ERROR): Hint: Call /home/andre/repos/bitcoin/test/functional/combine_logs.py '/tmp/test_runner_₿_🏃_20241120_141406/feature_bind_port_discover_0' to consolidate all logs
    212024-11-20T17:14:06.716000Z TestFramework (ERROR): 
    222024-11-20T17:14:06.716000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
    232024-11-20T17:14:06.716000Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues
    242024-11-20T17:14:06.716000Z TestFramework (ERROR): 
    25
    26
    27stderr:
    28
    29
    30
    31TEST                          | STATUS    | DURATION
    32
    33feature_bind_port_discover.py | ✖ Failed  | 1 s
    34
    35ALL                           | ✖ Failed  | 1 s (accumulated) 
    36Runtime: 1 s
    

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    Bitcoin Core daemon version v28.99.0-22ef95dbe3e4

    Operating system and version

    Ubuntu 22.04

    Machine specifications

    No response

  2. andremralves commented at 10:38 pm on November 20, 2024: none


andremralves


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me