Page MenuHomeFreeBSD

ifconfig: make interface & address listing use Netlink
ClosedPublic

Authored by melifaro on May 10 2023, 1:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 7:21 PM
Unknown Object (File)
Mon, Oct 28, 2:41 AM
Unknown Object (File)
Oct 3 2024, 6:17 AM
Unknown Object (File)
Oct 1 2024, 12:34 PM
Unknown Object (File)
Oct 1 2024, 7:27 AM
Unknown Object (File)
Sep 30 2024, 2:16 PM
Unknown Object (File)
Sep 30 2024, 1:09 PM
Unknown Object (File)
Sep 27 2024, 5:20 AM
Subscribers

Details

Summary

Start ifconfig conversion to Netlink with switching read-only interface/ifaddrs listings using Netlink interfaces instead of ioctl and rtsock ones.

The change is intended to be fully-compatible and provide the same output.
One can always switch back to the old interfaces, compiling ifconfig without Netlink, similar to route(8) and netstat(8).

Test Plan
15:16 [0] m@devel0 for i in netinet netinet6 netlink ; do s kyua test -k /usr/tests/sys/$i/Kyuafile ; done
arp:arp_add_success  ->  passed  [0.055s]
arp:arp_del_success  ->  passed  [1.083s]
arp:pending_delete_if  ->  passed  [1.593s]
carp:basic_v4  ->  passed  [5.228s]
carp:basic_v6  ->  passed  [5.296s]
carp:nd6_ns_source_mac  ->  passed  [18.591s]
carp:negative_demotion  ->  passed  [6.366s]
carp:switch  ->  passed  [0.033s]
carp:unicast_v4  ->  passed  [5.410s]
carp:unicast_v6  ->  passed  [5.396s]
carp.py:TestCarp::test_source_mac  ->  passed  [3.948s]
carp.py:TestCarpBasicIPv4::test_carp  ->  passed  [5.971s]
carp.py:TestCarpBasicIPv6::test_carp  ->  passed  [5.875s]
divert:ipdivert_ip_input_local_success  ->  skipped: ipdivert module is not loaded  [0.009s]
divert:ipdivert_ip_output_remote_success  ->  skipped: ipdivert module is not loaded  [0.008s]
fibs:fibs_ifroutes1_success  ->  passed  [0.031s]
fibs_test:arpresolve_checks_interface_fib  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:default_route_with_multiple_fibs_on_same_subnet  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:default_route_with_multiple_fibs_on_same_subnet_inet6  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:loopback_and_network_routes_on_nondefault_fib  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:loopback_and_network_routes_on_nondefault_fib_inet6  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:same_ip_multiple_ifaces  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:same_ip_multiple_ifaces_fib0  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:same_ip_multiple_ifaces_inet6  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:slaac_on_nondefault_fib6  ->  skipped: Required configuration property 'allow_sysctl_side_effects' not defined  [0.001s]
fibs_test:subnet_route_with_multiple_fibs_on_same_subnet  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:subnet_route_with_multiple_fibs_on_same_subnet_inet6  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:udp_dontroute  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
fibs_test:udp_dontroute6  ->  skipped: Required configuration property 'fibs' not defined  [0.001s]
forward:fwd_ip_icmp_gw_fast_success  ->  passed  [0.766s]
forward:fwd_ip_icmp_gw_slow_success  ->  passed  [0.764s]
forward:fwd_ip_icmp_iface_fast_success  ->  passed  [0.707s]
forward:fwd_ip_icmp_iface_slow_success  ->  passed  [0.792s]
ip_reass_test:ip_reass__large_fragment  ->  passed  [0.014s]
ip_reass_test:ip_reass__multiple_last_fragments  ->  passed  [0.030s]
ip_reass_test:ip_reass__zero_length_fragment  ->  passed  [0.014s]
lpm:lpm_test1_success  ->  passed  [0.150s]
lpm:lpm_test2_success  ->  passed  [0.146s]
output:output_raw_flowid_mpath_success  ->  passed  [0.318s]
output:output_raw_success  ->  passed  [0.058s]
output:output_tcp_flowid_mpath_success  ->  passed  [1.125s]
output:output_tcp_setup_success  ->  passed  [0.090s]
output:output_udp_flowid_mpath_success  ->  passed  [7.976s]
output:output_udp_setup_success  ->  passed  [1.265s]
redirect:valid_redirect  ->  passed  [0.792s]
so_reuseport_lb_test:basic_ipv4  ->  passed  [0.538s]
so_reuseport_lb_test:basic_ipv6  ->  passed  [0.576s]
socket_afinet:socket_afinet  ->  passed  [0.001s]
socket_afinet:socket_afinet_bind_ok  ->  passed  [0.001s]
socket_afinet:socket_afinet_bind_zero  ->  passed  [0.001s]
socket_afinet:socket_afinet_poll_no_rdhup  ->  passed  [0.002s]
socket_afinet:socket_afinet_poll_rdhup  ->  passed  [0.001s]
tcp_connect_port_test:basic_ipv4  ->  skipped: Required configuration property 'allow_sysctl_side_effects' not defined  [0.001s]
tcp_connect_port_test:basic_ipv6  ->  skipped: Required configuration property 'allow_sysctl_side_effects' not defined  [0.001s]
tcp_md5_getsockopt:tcp_md5_getsockopt_v4  ->  skipped: Test requires the tcpmd5 kernel module to be loaded  [0.001s]
tcp_md5_getsockopt:tcp_md5_getsockopt_v6  ->  skipped: Test requires the tcpmd5 kernel module to be loaded  [0.001s]
libalias/1_instance:1_singleinit  ->  passed  [0.012s]
libalias/1_instance:2_destroynull  ->  expected_failure: Code expects valid pointer.  [0.001s]
libalias/1_instance:3_multiinit  ->  passed  [0.007s]
libalias/1_instance:4_multiinstance  ->  passed  [0.066s]
libalias/2_natout:1_simplemasq  ->  passed  [0.003s]
libalias/2_natout:2_unregistered  ->  passed  [0.003s]
libalias/2_natout:3_cgn  ->  passed  [0.003s]
libalias/2_natout:4_udp  ->  passed  [0.003s]
libalias/2_natout:5_sameport  ->  passed  [0.003s]
libalias/2_natout:6_cleartable  ->  passed  [0.003s]
libalias/2_natout:7_stress  ->  passed  [0.056s]
libalias/2_natout:8_portrange  ->  passed  [0.002s]
libalias/3_natin:1_portforward  ->  passed  [0.002s]
libalias/3_natin:2_portoverlap  ->  passed  [0.002s]
libalias/3_natin:3_redirectany  ->  passed  [0.002s]
libalias/3_natin:4_redirectaddr  ->  passed  [0.002s]
libalias/3_natin:5_lsnat  ->  passed  [0.002s]
libalias/3_natin:6_oneshot  ->  passed  [0.002s]
tcp6_v4mapped_bind_test:v4mapped  ->  skipped: Required configuration property 'allow_sysctl_side_effects' not defined  [0.001s]

Results file id is usr_tests_sys_netinet.20230516-151636-550410
Results saved to /home/melifaro/.kyua/store/results.usr_tests_sys_netinet.20230516-151636-550410.db

75/75 passed (0 failed)
divert:ipdivert_ip6_output_remote_success  ->  skipped: ipdivert module is not loaded  [0.016s]
exthdr:exthdr  ->  passed  [99.279s]
fibs6:fibs6_ifroutes1_success  ->  passed  [2.121s]
forward6:fwd_ip6_gu_icmp_gw_gu_fast_success  ->  passed  [2.347s]
forward6:fwd_ip6_gu_icmp_gw_gu_slow_success  ->  passed  [2.275s]
forward6:fwd_ip6_gu_icmp_gw_ll_fast_success  ->  passed  [2.099s]
forward6:fwd_ip6_gu_icmp_gw_ll_slow_success  ->  passed  [2.815s]
forward6:fwd_ip6_gu_icmp_iface_fast_success  ->  passed  [2.403s]
forward6:fwd_ip6_gu_icmp_iface_slow_success  ->  passed  [2.754s]
lpm6:lpm6_test1_success  ->  passed  [1.652s]
lpm6:lpm6_test2_success  ->  passed  [1.874s]
mld:mldraw01  ->  passed  [3.848s]
ndp:ndp_add_gu_success  ->  passed  [1.643s]
ndp:ndp_del_gu_success  ->  passed  [2.532s]
output6:output6_raw_flowid_mpath_success  ->  passed  [2.308s]
output6:output6_raw_success  ->  passed  [1.985s]
output6:output6_tcp_flowid_mpath_success  ->  passed  [2.372s]
output6:output6_tcp_setup_success  ->  passed  [1.955s]
output6:output6_udp_flowid_mpath_success  ->  passed  [4.596s]
output6:output6_udp_setup_success  ->  passed  [3.010s]
proxy_ndp:pndp_add_gu_success  ->  passed  [1.860s]
proxy_ndp:pndp_del_gu_success  ->  passed  [6.108s]
proxy_ndp:pndp_ifdestroy_success  ->  passed  [2.014s]
proxy_ndp:pndp_neighbor_advert  ->  passed  [4.400s]
redirect:valid_redirect  ->  passed  [2.363s]
scapyi386:scapyi386  ->  passed  [3.837s]
test_ip6_output.py:TestIP6Output::test_output6_base  ->  passed  [0.522s]
test_ip6_output.py:TestIP6Output::test_output6_nhop  ->  passed  [0.455s]
test_ip6_output.py:TestIP6Output::test_output6_pktinfo[empty]  ->  passed  [0.476s]
test_ip6_output.py:TestIP6Output::test_output6_pktinfo[ifsame]  ->  passed  [0.505s]
test_ip6_output.py:TestIP6Output::test_output6_pktinfo[ipandif]  ->  passed  [0.498s]
test_ip6_output.py:TestIP6Output::test_output6_pktinfo[iponly1]  ->  passed  [0.494s]
test_ip6_output.py:TestIP6Output::test_output6_pktinfo[nolocalip]  ->  passed  [0.478s]
test_ip6_output.py:TestIP6OutputLL::test_output6_linklocal  ->  passed  [0.503s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_tcp[gu-no_sav]  ->  passed  [0.343s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_tcp[gu-sav]  ->  passed  [0.345s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_tcp[ll-no_sav]  ->  passed  [0.328s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_tcp[ll-sav]  ->  passed  [0.332s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_tcp[lo-no_sav]  ->  passed  [0.376s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_tcp[lo-sav]  ->  passed  [0.351s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_udp[gu-no_sav]  ->  passed  [0.342s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_udp[gu-sav]  ->  passed  [0.368s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_udp[ll-no_sav]  ->  passed  [0.311s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_udp[ll-sav]  ->  passed  [0.354s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_udp[lo-no_sav]  ->  passed  [0.347s]
test_ip6_output.py:TestIP6OutputLoopback::test_output6_self_udp[lo-sav]  ->  passed  [0.322s]
test_ip6_output.py:TestIP6OutputMulticast::test_output6_multicast[ff02]  ->  passed  [0.466s]
test_ip6_output.py:TestIP6OutputMulticast::test_output6_multicast[ff05]  ->  passed  [0.445s]
test_ip6_output.py:TestIP6OutputMulticast::test_output6_multicast[ff08]  ->  passed  [0.482s]
test_ip6_output.py:TestIP6OutputMulticast::test_output6_multicast[ff0e]  ->  passed  [0.503s]
test_ip6_output.py:TestIP6OutputNhopLL::test_output6_nhop_linklocal  ->  passed  [0.450s]
test_ip6_output.py:TestIP6OutputScope::test_output6_linklocal_scope[gu_to_ll]  ->  passed  [0.521s]
test_ip6_output.py:TestIP6OutputScope::test_output6_linklocal_scope[ll_differentif1]  ->  passed  [0.469s]
test_ip6_output.py:TestIP6OutputScope::test_output6_linklocal_scope[ll_differentif2]  ->  passed  [0.519s]
test_ip6_output.py:TestIP6OutputScope::test_output6_linklocal_scope[same]  ->  passed  [0.493s]
frag6/frag6_01:frag6_01  ->  skipped: Sending IPv6 Jumbograms needs 1 kernel changes and BPF fixes  [0.016s]
frag6/frag6_02:frag6_02  ->  passed  [4.021s]
frag6/frag6_03:frag6_03  ->  passed  [4.109s]
frag6/frag6_04:frag6_04  ->  passed  [3.848s]
frag6/frag6_05:frag6_05_0  ->  passed  [79.211s]
frag6/frag6_05:frag6_05_1  ->  passed  [79.100s]
frag6/frag6_06:frag6_06_0  ->  passed  [3.960s]
frag6/frag6_07:frag6_07  ->  passed  [79.995s]
frag6/frag6_08:frag6_08  ->  passed  [79.974s]
frag6/frag6_09:frag6_09  ->  passed  [78.876s]
frag6/frag6_10:frag6_10  ->  passed  [78.966s]
frag6/frag6_11:frag6_11  ->  passed  [79.030s]
frag6/frag6_12:frag6_12  ->  passed  [79.017s]
frag6/frag6_13:frag6_13  ->
passed  [78.937s]
frag6/frag6_14:frag6_14  ->  passed  [78.837s]
frag6/frag6_15:frag6_15  ->  passed  [3.844s]
frag6/frag6_16:frag6_16  ->  passed  [4.103s]
frag6/frag6_17:frag6_17  ->  passed  [4.739s]
frag6/frag6_18:frag6_18  ->  passed  [4.934s]
frag6/frag6_19:frag6_19  ->  passed  [4.711s]
frag6/frag6_20:frag6_20  ->  passed  [79.024s]

Results file id is usr_tests_sys_netinet6.20230516-151810-649202
Results saved to /home/melifaro/.kyua/store/results.usr_tests_sys_netinet6.20230516-151810-649202.db

76/76 passed (0 failed)
test_nl_core.py:TestNlCore::test_socket_type[SOCK_DGRAM]  ->  passed  [0.292s]
test_nl_core.py:TestNlCore::test_socket_type[SOCK_RAW]  ->  passed  [0.327s]
test_nl_core.py:TestNlCore::test_socket_type_unsup[SOCK_RDM]  ->  passed  [0.291s]
test_nl_core.py:TestNlCore::test_socket_type_unsup[SOCK_SEQPACKET]  ->  passed  [0.334s]
test_nl_core.py:TestNlCore::test_socket_type_unsup[SOCK_STREAM]  ->  passed  [0.322s]
test_rtnl_iface.py:TestRtNlIface::test_create_iface_attrs  ->  passed  [0.283s]
test_rtnl_iface.py:TestRtNlIface::test_create_iface_plain  ->  passed  [0.304s]
test_rtnl_iface.py:TestRtNlIface::test_create_iface_plain_retvals  ->  passed  [0.370s]
test_rtnl_iface.py:TestRtNlIface::test_create_vlan_plain  ->  passed  [0.338s]
test_rtnl_iface.py:TestRtNlIface::test_delete_iface  ->  passed  [0.341s]
test_rtnl_iface.py:TestRtNlIface::test_dump_ifaces_many  ->  passed  [0.434s]
test_rtnl_iface.py:TestRtNlIface::test_get_iface_byindex_error  ->  passed  [0.322s]
test_rtnl_iface.py:TestRtNlIface::test_get_iface_byname_error  ->  passed  [0.338s]
test_rtnl_iface.py:TestRtNlIface::test_modify_iface_attrs  ->  passed  [0.287s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_add_4[host]  ->  passed  [0.277s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_add_4[prefix]  ->  passed  [0.323s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_add_6[gu_host]  ->  passed  [0.323s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_add_6[gu_prefix]  ->  passed  [0.371s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_del[ifa_address-ipv4_host]  ->  passed  [0.300s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_del[ifa_address-ipv4_prefix]  ->  passed  [0.364s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_del[ifa_address-ipv6_gu_host]  ->  passed  [0.301s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_del[ifa_address-ipv6_gu_prefix]  ->  passed  [0.344s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_del[ifa_local-ipv4_host]  ->  passed  [0.280s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_del[ifa_local-ipv4_prefix]  ->  passed  [0.281s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_del[ifa_local-ipv6_gu_host]  ->  passed  [0.311s]
test_rtnl_ifaddr.py:TestRtNlAddIfaddrLo::test_del[ifa_local-ipv6_gu_prefix]  ->  passed  [0.351s]
test_rtnl_ifaddr.py:TestRtNlIfaddrList::test_46_filter_family_compat  ->  passed  [0.330s]
test_rtnl_ifaddr.py:TestRtNlIfaddrList::test_46_filter_iface  ->  passed  [0.383s]
test_rtnl_ifaddr.py:TestRtNlIfaddrList::test_46_nofilter  ->  passed  [0.297s]
test_rtnl_ifaddr.py:TestRtNlIfaddrList::test_4_broadcast  ->  passed  [0.308s]
test_rtnl_ifaddr.py:TestRtNlIfaddrList::test_6_broadcast  ->  passed  [0.332s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_4  ->  passed  [0.288s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_4_carp  ->  passed  [0.300s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_4_empty_addr  ->  passed  [0.305s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_4_empty_ifindex  ->  passed  [0.305s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_4_empty_message  ->  passed  [0.316s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_6  ->  passed  [0.305s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_6_carp  ->  passed  [0.299s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_6_flags[autoconf,deprecated]  ->  passed  [0.331s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_6_flags[autoconf]  ->  passed  [0.352s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_6_flags[deprecated]  ->  passed  [0.316s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_6_flags[prefer_source]  ->  passed  [0.346s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_add_6_lifetime  ->  passed  [0.349s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_del[ifa_address-ipv4_host]  ->  passed  [0.307s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_del[ifa_address-ipv4_prefix]  ->  passed  [0.354s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_del[ifa_address-ipv6_gu_host]  ->  passed  [0.308s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_del[ifa_address-ipv6_gu_prefix]  ->  passed  [0.286s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_del[ifa_local-ipv4_host]  ->  passed  [0.347s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_del[ifa_local-ipv4_prefix]  ->  passed  [0.286s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_del[ifa_local-ipv6_gu_host]  ->  passed  [0.312s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsBroadcast::test_del[ifa_local-ipv6_gu_prefix]  ->  passed  [0.330s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_4[dst_inside_24]  ->  passed  [0.337s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_4[dst_inside_30]  ->  passed  [0.367s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_4[dst_inside_31]  ->  passed  [0.331s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_4[dst_outside_30]  ->  passed  [0.391s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_4[dst_outside_32]  ->  passed  [0.483s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_6[dst_inside_127]  ->  skipped: /usr/tests/sys/netlink/test_rtnl_ifaddr.py:557: AssertionError  [0.344s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_6[dst_inside_64]  ->  skipped: /usr/tests/sys/netlink/test_rtnl_ifaddr.py:557: AssertionError  [0.353s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_6[dst_outside_128]  ->  passed  [0.323s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_add_6[dst_outside_64]  ->  skipped: /usr/tests/sys/netlink/test_rtnl_ifaddr.py:557: AssertionError  [0.366s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_addr=addr,ifa_local=addr-ip6_dst_outside_128]  ->  passed  [0.450s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_addr=addr,ifa_local=addr-ipv4_dst_inside_30]  ->  passed  [0.425s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_addr=addr,ifa_local=addr-ipv4_dst_outside_32]  ->  passed  [0.282s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_addr=addr-ip6_dst_outside_128]  ->  passed  [0.304s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_addr=addr-ipv4_dst_inside_30]  ->  passed  [0.347s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_addr=addr-ipv4_dst_outside_32]  ->  passed  [0.306s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_local=addr-ip6_dst_outside_128]  ->  passed  [0.346s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_local=addr-ipv4_dst_inside_30]  ->  passed  [0.340s]
test_rtnl_ifaddr.py:TestRtNlIfaddrOpsP2p::test_del[ifa_local=addr-ipv4_dst_outside_32]  ->  passed  [0.318s]
test_rtnl_neigh.py:TestRtNlNeigh::test_4_filter_iface  ->  passed  [0.316s]
test_rtnl_neigh.py:TestRtNlNeigh::test_6_filter_iface  ->  passed  [0.355s]
test_rtnl_route.py:TestRtNlRoute::test_add_route6_ll_gw  ->  passed  [0.327s]
test_rtnl_route.py:TestRtNlRoute::test_buffer_override  ->  passed  [0.447s]
test_snl:snl_list_ifaces  ->  passed  [0.003s]
test_snl:snl_parse_errmsg_capped  ->  skipped: does not work  [0.003s]
test_snl:snl_parse_errmsg_capped_extack  ->  passed  [0.003s]
test_snl:snl_parse_errmsg_uncapped_extack  ->  passed  [0.003s]
test_snl:snl_verify_core_parsers  ->  passed  [0.003s]
test_snl:snl_verify_route_parsers  ->  passed  [0.003s]
test_snl_generic:snl_verify_genl_parsers  ->  passed  [0.003s]
test_snl_generic:test_snl_get_genl_family_failure  ->  passed  [0.003s]
test_snl_generic:test_snl_get_genl_family_success  ->  passed  [0.003s]

Results file id is usr_tests_sys_netlink.20230516-153650-481104
Results saved to /home/melifaro/.kyua/store/results.usr_tests_sys_netlink.20230516-153650-481104.db

82/82 passed (0 failed)

17:21 [2] m@devel0 s kyua test -k /uss kyua test -k /usr/tests/sys/net/Kyuafile
if_ovpn/if_ovpn_c:tcp  ->  skipped: if_ovpn not loaded  [0.001s]
if_bridge_test:bridge_transmit_ipv4_unicast  ->  passed  [2.160s]
if_bridge_test:delete_with_members  ->  passed  [0.030s]
if_bridge_test:gif  ->  passed  [0.086s]
if_bridge_test:inherit_mac  ->  passed  [0.062s]
if_bridge_test:mac_conflict  ->  passed  [2.106s]
if_bridge_test:mtu  ->  passed  [0.090s]
if_bridge_test:span  ->  passed  [5.814s]
if_bridge_test:static  ->  passed  [0.100s]
if_bridge_test:stp  ->  passed  [5.220s]
if_bridge_test:stp_validation  ->  failed: atf-check failed; see the output of the test for details  [23.970s]
if_bridge_test:stp_vlan  ->  passed  [5.247s]
if_bridge_test:vlan  ->  passed  [1.216s]
if_clone_test:epair_destroy_race  ->  passed  [2.113s]
if_clone_test:epair_ipv6_up_stress  ->  passed  [10.020s]
if_clone_test:epair_stress  ->  passed  [10.021s]
if_clone_test:epair_up_stress  ->  passed  [10.025s]
if_clone_test:faith_ipv6_up_stress  ->  passed  [10.041s]
if_clone_test:faith_stress  ->  passed  [10.034s]
if_clone_test:faith_up_stress  ->  passed  [10.035s]
if_clone_test:gif_ipv6_up_stress  ->  passed  [10.024s]
if_clone_test:gif_stress  ->  passed  [10.024s]
if_clone_test:gif_up_stress  ->  passed  [10.022s]
if_clone_test:lo_ipv6_up_stress  ->  passed  [10.028s]
if_clone_test:lo_stress  ->  passed  [10.015s]
if_clone_test:lo_up_stress  ->  passed  [10.027s]
if_clone_test:tap_ipv6_up_stress  ->  skipped: Quickly panics: if_delmulti_locked: inconsistent ifp 0xfffff80150e44000  [0.008s]
if_clone_test:tap_stress  ->  passed  [10.026s]
if_clone_test:tap_up_stress  ->  passed  [10.015s]
if_clone_test:tun_ipv6_up_stress  ->  passed  [10.023s]
if_clone_test:tun_stress  ->  passed  [10.023s]
if_clone_test:tun_up_stress  ->  passed  [10.016s]
if_clone_test:vlan_ipv6_up_stress  ->  passed  [10.025s]
if_clone_test:vlan_stress  ->  passed  [10.064s]
if_clone_test:vlan_up_stress  ->  passed  [10.018s]
if_clone_test:vmnet_ipv6_up_stress  ->  passed  [10.020s]
if_clone_test:vmnet_stress  ->  passed  [10.018s]
if_clone_test:vmnet_up_stress  ->  passed  [10.020s]
if_epair:params  ->  passed  [0.018s]
if_epair_test:pcp  ->  passed  [0.043s]
if_gif:basic  ->  passed  [0.045s]
if_lagg_test:create  ->  passed  [0.050s]
if_lagg_test:create_destroy_stress  ->  skipped: Skipping this test because it easily panics the machine  [0.007s]
if_lagg_test:lacp_linkstate_destroy_stress  ->  passed  [60.059s]
if_lagg_test:set_ether  ->  passed  [0.064s]
if_lagg_test:status_stress  ->  passed  [60.055s]
if_lagg_test:up_destroy_stress  ->  skipped: Skipping this test because it panics the machine fairly often  [0.007s]
if_lagg_test:updown  ->  expected_failure: PR 226144 Upping a lagg interrface should automatically up its children: atf-check failed; see the output of the test for details  [0.031s]
if_lagg_test:witness  ->  passed  [0.017s]
if_stf:6rd  ->  skipped: This test requires if_stf  [0.009s]
if_stf:6rd_peer  ->  skipped: This test requires if_stf  [0.009s]
if_stf:6to4  ->  skipped: This test requires if_stf  [0.009s]
if_tun_test:235704  ->  passed  [0.028s]
if_tun_test:basic  ->  passed  [0.072s]
if_vlan:basic  ->  passed  [11.109s]
if_vlan:bpf_pcp  ->  failed: atf-check failed; see the output of the test for details  [26.042s]
if_vlan:qinq_deep  ->  passed  [0.085s]
if_vlan:qinq_dot  ->  passed  [0.095s]
if_vlan:qinq_legacy  ->  passed  [0.063s]
if_vlan:qinq_setflags  ->  passed  [0.027s]
if_vlan:qinq_simple  ->  passed  [0.055s]
if_wg:wg_basic  ->  passed  [0.074s]
if_wg:wg_key_peerdev_makeshared  ->  passed  [0.057s]
if_wg:wg_key_peerdev_shared  ->  passed  [0.038s]
if_wg:wg_vnet_parent_routing  ->  passed  [0.203s]

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

melifaro added reviewers: network, kp.

Do not compile in in_status when Netlink is enabled.

This revision was not accepted when it landed; it landed in state Needs Review.May 16 2023, 7:40 PM
This revision was automatically updated to reflect the committed changes.