test: failure in interface_usdt_net.py #31418

issue fanquake openend 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

    0cmake -B build -DWITH_USDT=ON
    1cmake --build build -j17
    2./build/test/functional/test_runner.py --jobs=17
    
     0123/314 - interface_usdt_net.py failed, Duration: 3 s
     1
     2stdout:
     32024-12-04T14:13:14.071000Z TestFramework (INFO): PRNG seed is: 2457885293535030371
     42024-12-04T14:13:14.072000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20241204_141156/interface_usdt_net_187
     52024-12-04T14:13:14.353000Z TestFramework (INFO): hook into the net:inbound_message and net:outbound_message tracepoints
     62024-12-04T14:13:16.509000Z TestFramework (INFO): connect a P2P test node to our bitcoind node
     72024-12-04T14:13:16.613000Z TestFramework (INFO): check receipt and content of in- and outbound version messages
     82024-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)
     92024-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)
    102024-12-04T14:13:16.742000Z TestFramework (INFO): Stopping nodes
    112024-12-04T14:13:16.794000Z TestFramework (INFO): Cleaning up /tmp/test_runner_₿_🏃_20241204_141156/interface_usdt_net_187 on exit
    122024-12-04T14:13:16.794000Z TestFramework (INFO): Tests successful
    13
    14
    15stderr:
    16/virtual/main.c:70:9: warning: 'MIN' macro redefined [-Wmacro-redefined]
    17   70 | #define MIN(a,b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a < _b ? _a : _b; })
    18      |         ^
    19include/linux/minmax.h:329:9: note: previous definition is here
    20  329 | #define MIN(a,b) __cmp(min,a,b)
    21      |         ^
    221 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


fanquake maflcko 0xB10C

Labels
Tests

Milestone
28.1


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-12-21 18:12 UTC

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