Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-45730

[XDP] test_promiscuous_selfload test fails

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • xdp-tools
    • None
    • None
    • None
    • rhel-sst-networking-core
    • ssg_networking
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      /usr/share/xdp-tools/run_tests.sh

      Please provide the package NVR for which bug is seen:

      kernel: 6.10.0-0.rc4.11.el10.x86_64

      xdp-tools-1.4.2-1.el10.x86_64

      How reproducible:

      Always

      Steps to reproduce

      1.  [root@netqe52 ~]# /usr/share/xdp-tools/run_tests.sh
        Running all tests from /usr/share/xdp-tools/tests
            Running tests from /usr/share/xdp-tools/tests/xdp-bench/test-xdp-bench.sh
             [test_drop]                   PASS
             [test_pass]                   PASS
             [test_tx]                     PASS
             [test_xdp_load_bytes]         PASS
             [test_rxq_stats]              PASS
             [test_redirect]               PASS
             [test_redirect_cpu]           PASS
             [test_redirect_map]           PASS
             [test_redirect_map_egress]    PASS
             [test_redirect_multi]         PASS
             [test_redirect_multi_egress]  PASS
            Running tests from /usr/share/xdp-tools/tests/xdpdump/test-xdpdump.sh
             [test_help]                   PASS
             [test_interfaces]             PASS
             [test_capt_pcap]              PASS
             [test_capt_pcapng]            PASS
             [test_capt_term]              PASS
             [test_exitentry]              PASS
             [test_snap]                   PASS
             [test_multi_pkt]              PASS
             [test_perf_wakeup]            PASS
             [test_promiscuous_selfload]   FAIL
                  No XDP program loaded on xdptest
                  PING fc42:dead:cafe:1::2 (fc42:dead:cafe:1::2) 56 data bytes
                  64 bytes from fc42:dead:cafe:1::2: icmp_seq=1 ttl=64 time=0.030 ms
                  64 bytes from fc42:dead:cafe:1::2: icmp_seq=2 ttl=64 time=0.020 ms
                  64 bytes from fc42:dead:cafe:1::2: icmp_seq=3 ttl=64 time=0.030 ms
                  64 bytes from fc42:dead:cafe:1::2: icmp_seq=4 ttl=64 time=0.021 ms

                — fc42:dead:cafe:1::2 ping statistics —
                4 packets transmitted, 4 received, 0% packet loss, time 3100ms
                rtt min/avg/max/mdev = 0.020/0.025/0.030/0.004 ms
                ERROR: Failed enabling promiscuous mode on legacy interface
                ==== RESULT: ====
                [  298.382700] xdptest: entered promiscuous mode
                [  303.482085] xdptest: left promiscuous mode
                ==== END ====
                Test test_promiscuous_selfload exited with return code: 1
           [test_promiscuous_preload]    FAIL
                PING fc42:dead:cafe:1::2 (fc42:dead:cafe:1::2) 56 data bytes
                64 bytes from fc42:dead:cafe:1::2: icmp_seq=1 ttl=64 time=0.044 ms

                — fc42:dead:cafe:1::2 ping statistics —
                1 packets transmitted, 1 received, 0% packet loss, time 0ms
                rtt min/avg/max/mdev = 0.044/0.044/0.044/0.000 ms
                ERROR: Failed enabling promiscuous mode on interface
                ==== RESULT: ====
                [  305.564635] xdptest: entered promiscuous mode
                [  307.566414] xdptest: left promiscuous mode
                ==== END ====
                Test test_promiscuous_preload exited with return code: 1
           [test_none_xdp]               PASS
           [test_pname_parse]            PASS
           [test_multi_prog]             PASS
           [test_xdp_load]               PASS
          Running tests from /usr/share/xdp-tools/tests/xdp-filter/test-xdp-filter.sh
           [test_load]                   PASS
           [test_print]                  PASS
           [test_output_remove]          PASS
           [test_ports_allow]            PASS
           [test_ports_deny]             PASS
           [test_ipv6_allow]             PASS
           [test_ipv6_deny]              PASS
           [test_ipv4_allow]             PASS
           [test_ipv4_deny]              PASS
           [test_ether_allow]            PASS
           [test_ether_deny]             PASS
           [test_python_basic]           SKIPPED
           [test_python_slow]            SKIPPED
          Running tests from /usr/share/xdp-tools/tests/xdp-loader/test-xdp-loader.sh
           [test_load]                   PASS
           [test_section]                PASS
           [test_prog_name]              PASS
           [test_load_multi]             PASS
           [test_load_incremental]       PASS
           [test_load_clobber]           PASS
           [test_features]               PASS
          Running tests from /usr/share/xdp-tools/tests/xdp-monitor/test-xdp-monitor.sh
           [test_monitor]                PASS
          Running tests from /usr/share/xdp-tools/tests/xdp-trafficgen/test-xdp-trafficgen.sh
           [test_udp]                    PASS
           [test_tcp]                    PASS
      [root@netqe52 ~]

      Expected results

      test_promiscuous_selfload runs without error

      Actual results

      test_promiscuous_selfload fails

              tohojo Toke Høiland-Jørgensen
              ralongi@redhat.com Rick Alongi
              Toke Høiland-Jørgensen Toke Høiland-Jørgensen
              Rick Alongi Rick Alongi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: