test: failure in `interface_usdt_net.py` #31418

issue fanquake opened this issue on December 4, 2024
  1. fanquake commented at 2:17 PM on December 4, 2024: member

    Master @ ae69fc37e4fff237a119225061d68f69e6cd61d7. Running on Rawhide. GCC: gcc (GCC) 14.2.1 20241104 (Red Hat 14.2.1-6). Systemtap: systemtap-5.2-1.fc42.src.rpm

    cmake -B build -DWITH_USDT=ON
    cmake --build build -j17
    ./build/test/functional/test_runner.py --jobs=17
    
    123/314 - interface_usdt_net.py failed, Duration: 3 s
    
    stdout:
    2024-12-04T14:13:14.071000Z TestFramework (INFO): PRNG seed is: 2457885293535030371
    2024-12-04T14:13:14.072000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20241204_141156/interface_usdt_net_187
    2024-12-04T14:13:14.353000Z TestFramework (INFO): hook into the net:inbound_message and net:outbound_message tracepoints
    2024-12-04T14:13:16.509000Z TestFramework (INFO): connect a P2P test node to our bitcoind node
    2024-12-04T14:13:16.613000Z TestFramework (INFO): check receipt and content of in- and outbound version messages
    2024-12-04T14:13:16.613000Z TestFramework (INFO): check_p2p_message(): inbound P2PMessage(peer=0, addr=127.0.0.1:46824, conn_type=inbound, msg_type=version, msg_size=111)
    2024-12-04T14:13:16.615000Z TestFramework (INFO): check_p2p_message(): outbound P2PMessage(peer=0, addr=127.0.0.1:46824, conn_type=inbound, msg_type=version, msg_size=114)
    2024-12-04T14:13:16.742000Z TestFramework (INFO): Stopping nodes
    2024-12-04T14:13:16.794000Z TestFramework (INFO): Cleaning up /tmp/test_runner_₿_🏃_20241204_141156/interface_usdt_net_187 on exit
    2024-12-04T14:13:16.794000Z TestFramework (INFO): Tests successful
    
    
    stderr:
    /virtual/main.c:70:9: warning: 'MIN' macro redefined [-Wmacro-redefined]
       70 | #define MIN(a,b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a < _b ? _a : _b; })
          |         ^
    include/linux/minmax.h:329:9: note: previous definition is here
      329 | #define MIN(a,b) __cmp(min,a,b)
          |         ^
    1 warning generated.
    
  2. maflcko added the label Tests on Dec 4, 2024
  3. maflcko commented at 2:22 PM on December 4, 2024: member

    cc @0xB10C

  4. fanquake commented at 2:24 PM on December 4, 2024: member

    This also happens on 28.x.

  5. fanquake added this to the milestone 28.1 on Dec 4, 2024
  6. maflcko commented at 2:29 PM on December 4, 2024: member

    I guess an easy fix would be to just rename MIN to net_tracepoints_MIN?

  7. 0xB10C referenced this in commit 00c1dbd26d on Dec 4, 2024
  8. 0xB10C commented at 2:57 PM on December 4, 2024: contributor

    I guess an easy fix would be to just rename MIN to net_tracepoints_MIN?

    doing this in https://github.com/bitcoin/bitcoin/pull/31419

  9. fanquake closed this on Dec 4, 2024

  10. fanquake referenced this in commit 893ccea7e4 on Dec 4, 2024
  11. fanquake referenced this in commit 166fea73eb on Dec 4, 2024
  12. achow101 referenced this in commit 227642d5af on Dec 11, 2024
  13. l0rinc referenced this in commit 0fa8ca9b15 on Jan 9, 2025
  14. janus referenced this in commit 6770884dfe on Jan 19, 2025
  15. knst referenced this in commit 7cda369612 on Oct 22, 2025
  16. bitcoin locked this on Dec 4, 2025

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: 2026-05-04 15:13 UTC

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