Bug 4369 - [Anolis23][x86_64][社区nightly & ANCK-5.10-14-rc1] kernel-selftests测试case:net/vrf_route_leaking.sh run fail
Summary: [Anolis23][x86_64][社区nightly & ANCK-5.10-14-rc1] kernel-selftests测试case:net/v...
Status: RESOLVED DUPLICATE of bug 3688
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunmeng365524
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-06 14:48 UTC by anolislw
Modified: 2023-03-13 15:11 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anolislw alibaba_cloud_group 2023-03-06 14:48:37 UTC
Description of problem:
在anolis 23 x86 ecs环境下,社区的nightly kernel-selftests测试,case:net/vrf_route_leaking.sh run fail

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

How reproducible:
Steps to Reproduce:
2)rpm-i kernel-xxx.src.rpm
3) yum-builddep -y ~/rpmbuild/SPECS/kernel.spec
4) rpmbuild -bp ~/rpmbuild/SPECS/kernel.spec
5) cd ~/rpmbuild/BUILD/kernel-5.10.134-1.git.2ed1510fd4be.an23/linux-5.10.134-1.git.2ed1510fd4be.an23.x86_64/net && make && ./vrf_route_leaking.sh


Actual results:
[root@qibo-anolis23-nightly-func-x86-1 net]# ./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
[root@qibo-anolis23-nightly-func-x86-1 net]# echo $?
1


Expected results:
case pass

Additional info:
[root@qibo-anolis23-nightly-func-x86-1 net]# uname -r
5.10.134-1.git.2ed1510fd4be.an23.x86_64
[root@qibo-anolis23-nightly-func-x86-1 net]# cat /etc/anolis-release
Anolis OS release 23
[root@qibo-anolis23-nightly-func-x86-1 net]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs           7.6G     0  7.6G   0% /dev/shm
tmpfs           3.1G  612K  3.1G   1% /run
/dev/vda1        40G   15G   26G  37% /
tmpfs           7.6G  1.5G  6.2G  20% /tmp
tmpfs           1.6G     0  1.6G   0% /run/user/0
[root@qibo-anolis23-nightly-func-x86-1 net]# free -g
               total        used        free      shared  buff/cache   available
Mem:              15           0          12           1           1          12
Swap:              0           0           0
[root@qibo-anolis23-nightly-func-x86-1 net]# cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.10.134-1.git.2ed1510fd4be.an23.x86_64 root=UUID=ece72b7f-465b-433d-8b3b-e5fa53a04642 ro rhgb cryptomgr.notests rcupdate.rcu_cpu_stall_timeout=300 quiet biosdevname=0 net.ifnames=0 console=tty0 console=ttyS0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 cgroup.memory=nokmem crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M
[root@qibo-anolis23-nightly-func-x86-1 net]# lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         46 bits physical, 57 bits virtual
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               GenuineIntel
  BIOS Vendor ID:        Alibaba Cloud
  Model name:            Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
    BIOS Model name:     pc-i440fx-2.1  CPU @ 0.0GHz
    BIOS CPU family:     1
    CPU family:          6
    Model:               106
    Thread(s) per core:  2
    Core(s) per socket:  2
    Socket(s):           1
    Stepping:            6
    BogoMIPS:            5399.99
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss h
                         t syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulq
                         dq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor
                         lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep
                         bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw
                          avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_vbmi2 gfni vaes vpc
                         lmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities
Virtualization features:
  Hypervisor vendor:     KVM
  Virtualization type:   full
Caches (sum of all):
  L1d:                   96 KiB (2 instances)
  L1i:                   64 KiB (2 instances)
  L2:                    2.5 MiB (2 instances)
  L3:                    48 MiB (1 instance)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-3
Vulnerabilities:
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
  Retbleed:              Not affected
  Spec store bypass:     Vulnerable
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced IBRS, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Not affected
  Tsx async abort:       Not affected
Comment 1 anolislw alibaba_cloud_group 2023-03-06 16:19:51 UTC
anolis23 x86环境,5.10 14内核上,kernel-selftests测试该case也存在问题


--------------------------------------------------------------------------
[root@qibo-anck014-an23-milan-1 net]# ./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
[root@qibo-anck014-an23-milan-1 net]# echo $?
1
[root@qibo-anck014-an23-milan-1 net]# uname -r
5.10.134-14_rc1.an23.x86_64
[root@qibo-anck014-an23-milan-1 net]# cat /etc/anolis-release
Anolis OS release 23
Comment 3 anolislw alibaba_cloud_group 2023-03-06 17:13:51 UTC
在anolis8 5.10 x86 nightly环境下该case是fail的关键报错信息:TEST: Ping received ICMP Packet too big                             [FAIL]

------------------------------------
https://anolis-service-pub.oss-cn-zhangjiakou.aliyuncs.com/biz-result/tone/54537/selftests_1677939614689423849/1/stdout.log?OSSAccessKeyId=LTAI5tRdZMfwezuemndcMdnR&Expires=1678099661&Signature=6auZ3G33AHI7XR/ooRfeeZFisXM%3D
Comment 4 xuchunmei alibaba_cloud_group 2023-03-06 19:03:54 UTC
(In reply to anolislw from comment #3)
> 在anolis8 5.10 x86 nightly环境下该case是fail的关键报错信息:TEST: Ping received ICMP
> Packet too big                             [FAIL]
> 
> ------------------------------------
> https://anolis-service-pub.oss-cn-zhangjiakou.aliyuncs.com/biz-result/tone/
> 54537/selftests_1677939614689423849/1/stdout.
> log?OSSAccessKeyId=LTAI5tRdZMfwezuemndcMdnR&Expires=1678099661&Signature=6auZ
> 3G33AHI7XR/ooRfeeZFisXM%3D

所以在Anolis OS 8和Anolis OS 23上报错信息是一样的?
Comment 5 yunmeng365524 2023-03-07 15:30:52 UTC
https://bugzilla.openanolis.cn/show_bug.cgi?id=3688

*** This bug has been marked as a duplicate of bug 3688 ***
Comment 6 anolislw alibaba_cloud_group 2023-03-13 15:11:30 UTC
(In reply to xuchunmei from comment #4)
> (In reply to anolislw from comment #3)
> > 在anolis8 5.10 x86 nightly环境下该case是fail的关键报错信息:TEST: Ping received ICMP
> > Packet too big                             [FAIL]
> > 
> > ------------------------------------
> > https://anolis-service-pub.oss-cn-zhangjiakou.aliyuncs.com/biz-result/tone/
> > 54537/selftests_1677939614689423849/1/stdout.
> > log?OSSAccessKeyId=LTAI5tRdZMfwezuemndcMdnR&Expires=1678099661&Signature=6auZ
> > 3G33AHI7XR/ooRfeeZFisXM%3D
> 
> 所以在Anolis OS 8和Anolis OS 23上报错信息是一样的?

是一样的报错