Bug 3688 - [Anolis8][anck-5.10][aarch64][nightly社区版] kernel-selftest测试套net.vrf_route_leaking.sh执行fail,TEST: Ping received ICMP Packet too big
Summary: [Anolis8][anck-5.10][aarch64][nightly社区版] kernel-selftest测试套net.vrf_route_lea...
Status: NEW
Alias: None
Product: Antest
Classification: Infrastructures
Component: 测试用例 (show other bugs) 测试用例
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: shuancue
QA Contact:
URL:
Whiteboard:
Keywords:
: 4369 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-10 17:34 UTC by yunhe123
Modified: 2023-06-09 15:25 UTC (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yunhe123 alibaba_cloud_group 2023-01-10 17:34:01 UTC
Description of problem:
kernel-selftest测试套net.vrf_route_leaking.sh执行fail,日志如下:
]# ./vrf_route_leaking.sh

###########################################################################
IPv4 (sym route): VRF ICMP ttl error route lookup ping
###########################################################################

TEST: Basic IPv4 connectivity                                       [ OK ]
TEST: Ping received ICMP ttl exceeded                               [ OK ]

###########################################################################
IPv4 (sym route): VRF ICMP error route lookup traceroute
###########################################################################

SKIP: Could not run IPV4 test without traceroute

###########################################################################
IPv4 (sym route): VRF ICMP fragmentation error route lookup ping
###########################################################################

TEST: Basic IPv4 connectivity                                       [ OK ]
TEST: Ping received ICMP Frag needed                                [ OK ]

###########################################################################
IPv4 (asym route): VRF ICMP ttl error route lookup ping
###########################################################################

TEST: Basic IPv4 connectivity                                       [ OK ]
TEST: Ping received ICMP ttl exceeded                               [ OK ]

###########################################################################
IPv4 (asym route): VRF ICMP error route lookup traceroute
###########################################################################

SKIP: Could not run IPV4 test without traceroute

###########################################################################
IPv6 (sym route): VRF ICMP ttl error route lookup ping
###########################################################################

TEST: Basic IPv6 connectivity                                       [ OK ]
TEST: Ping received ICMP Hop limit                                  [ OK ]

###########################################################################
IPv6 (sym route): VRF ICMP error route lookup traceroute
###########################################################################

SKIP: Could not run IPV6 test without traceroute6

###########################################################################
IPv6 (sym route): VRF ICMP fragmentation error route lookup ping
###########################################################################

TEST: Basic IPv6 connectivity                                       [ OK ]
TEST: Ping received ICMP Packet too big                             [FAIL]

###########################################################################
IPv6 (asym route): VRF ICMP ttl error route lookup ping
###########################################################################

TEST: Basic IPv6 connectivity                                       [ OK ]
TEST: Ping received ICMP Hop limit                                  [ OK ]

###########################################################################
IPv6 (asym route): VRF ICMP error route lookup traceroute
###########################################################################

SKIP: Could not run IPV6 test without traceroute6

Tests passed:  11
Tests failed:   1


Version-Release number of selected component (if applicable):


How reproducible:
必现

Steps to Reproduce:
下载当前内核对应的kernel源码包
rpm -ivh xxx.src.rpm  默认安装到/root下
yum-builddep -y rpmbuild/SPECS/kernel.spec   自动安装前置依赖包,需要yum-utils
rpmbuild -bp ./rpmbuild/SPECS/kernel.spec   # 这个步骤会打相关的patch, 解压缩tar包,生成BUILD目录
cd rpmbuild/BUILD/kernel-xxx/linux-xxx/  

接下来就可以编译测试了
cd  /tools/testing/selftests/bpf/
make

执行相关用例:
cd kernel-selftests/net
./vrf_route_leaking.sh

Actual results:
用例执行fail

Expected results:
用例执行pass

Additional info:
版本信息:
cat /etc/os-release
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

内核信息:
# uname -r
5.10.134-259.git.a5a0ae7bf175.an8.aarch64

内存信息:
# free -h
              total        used        free      shared  buff/cache   available
Mem:           15Gi       262Mi        14Gi        11Mi       754Mi        14Gi
Swap:            0B          0B          0B

cpu信息:
# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per cluster: 4
Socket(s):           1
Cluster(s):          1
NUMA node(s):        1
Vendor ID:           ARM
BIOS Vendor ID:      Alibaba Cloud
Model:               1
Model name:          Neoverse-N1
BIOS Model name:     virt-rhel7.6.0
Stepping:            r3p1
BogoMIPS:            50.00
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
Comment 1 yunmeng365524 2023-03-07 15:30:52 UTC
*** Bug 4369 has been marked as a duplicate of this bug. ***
Comment 2 Banana alibaba_cloud_group 2023-06-09 15:25:27 UTC
Anolis23 5.10 aarch64 nightly环境下有相同问题

[root@qibo-anolis23-nightly-func-arm-1 ~]# uname -r
5.10.134-127.git.f4a20a6d6812.an23.aarch64
[root@qibo-anolis23-nightly-func-arm-1 ~]# 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/"