[问题描述]:kernel-selftests测试套netfilter.conntrack_vrf.sh执行FAIL 1..1 # selftests: netfilter: conntrack_vrf.sh # PASS: entry found in conntrack zone 1 # iperf3: error - unable to connect to server: Network is unreachable # FAIL: iperf3 connect failure with masquerade + sport rewrite on vrf device # iperf3: error - unable to connect to server: Network is unreachable # FAIL: iperf3 connect failure with masquerade + sport rewrite on vrf device # iperf3: error - unable to connect to server: Network is unreachable # FAIL: iperf3 connect failure with masquerade + sport rewrite on veth device not ok 1 selftests: netfilter: conntrack_vrf.sh # exit=1 [环境信息]: 机器类型:ECS [内核信息]: [root@iZbp1ii1c5ncl3wps7jauwZ ~]# uname -r 5.10.134-15_rc1.an23.aarch64 [操作系统信息]: [root@iZbp1ii1c5ncl3wps7jauwZ kernel-selftests]# cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" [root@iZbp1ii1c5ncl3wps7jauwZ kernel-selftests]# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.16.1.175 netmask 255.255.255.0 broadcast 172.16.1.255 inet6 fe80::ff16:be8d:22f:71bf prefixlen 64 scopeid 0x20<link> ether 00:16:3e:25:42:18 txqueuelen 1000 (Ethernet) RX packets 1396916 bytes 482089576 (459.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 925207 bytes 2122054677 (1.9 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 9858648 bytes 2722323000 (2.5 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 9858648 bytes 2722323000 (2.5 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ltp_ns_veth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.0.2 netmask 255.255.255.0 broadcast 0.0.0.0 inet6 fe80::a804:c2ff:fe9d:549 prefixlen 64 scopeid 0x20<link> inet6 fd00:1:1:1::2 prefixlen 64 scopeid 0x0<global> ether aa:04:c2:9d:05:49 txqueuelen 1000 (Ethernet) RX packets 3600499 bytes 2182486850 (2.0 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3610426 bytes 2172429830 (2.0 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 veth-outside: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::e0aa:e9ff:fead:f837 prefixlen 64 scopeid 0x20<link> ether e2:aa:e9:ad:f8:37 txqueuelen 1000 (Ethernet) RX packets 108 bytes 7676 (7.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 109 bytes 7806 (7.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [问题发生概率]: 必现 [复现步骤]: 1、安装对应内核的kernel-selftests测试套 2、执行: ./run_kselftest.sh -t netfilter.conntrack_vrf.sh 3、查看执行结果
Anolis23 nightly arm环境执行pass # selftests: netfilter: conntrack_vrf.sh # PASS: entry found in conntrack zone 1 # PASS: iperf3 connect with masquerade + sport rewrite on vrf device (default qdisc) # PASS: iperf3 connect with masquerade + sport rewrite on vrf device (pfifo qdisc) # PASS: iperf3 connect with masquerade + sport rewrite on veth device ok 11 selftests: netfilter: conntrack_vrf.sh
BUG重复提交 *** This bug has been marked as a duplicate of bug 4738 ***