Bug 3298 - [Anolis8-ck27-rc2][aarch64][kernel-debug]ltp测试套net.sctp/test_connect测试fail
Summary: [Anolis8-ck27-rc2][aarch64][kernel-debug]ltp测试套net.sctp/test_connect测试fail
Status: CONFIRMED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: unspecified
Hardware: All Linux
: P4-Low S4-trivial
Target Milestone: rc
Assignee: 宁畅
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-30 16:44 UTC by anolislw
Modified: 2023-03-14 11:34 UTC (History)
3 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 2022-11-30 16:44:25 UTC
[问题简述]
在Anolis8-ck27-rc2 aarch64环境,kernel-debug内核ltp测试套net.sctp/test_connect测试fail
该case在rc1上是pass的:
rc1 link: https://tone.aliyun-inc.com/ws/6yddz4ne/test_result/116120
rc1 case pass日志: https://sam-autotest.oss-cn-hangzhou-zmf.aliyuncs.com/116120/net.sctp_16678578238212266956/1/result.json?OSSAccessKeyId=LTAIV2q6AXNHBUnv&Expires=1669804798&Signature=CkNI75H1R0InMSstYGiDJ8uKpwo%3D

[期望结果]
case pass

[实际结果]
<<<test_start>>>
tag=test_connectx stime=1669793311
cmdline="test_connectx"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
test_connectx.c    1  TBROK  :  /root/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: socket: Socket type not supported
test_connectx.c    2  TBROK  :  /root/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: Remaining cases broken
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20180515

       ###############################################################

            Done executing testcases.
            LTP Version:  20180515
       ###############################################################

RUNLTP_END
[root@l57h15217 ltp]# ./runltp -f net.sctp -s test_connectnet


[复现步骤]
wget https://github.com/linux-test-project/ltp/archive/refs/heads/master.zip
unzip mater.zip
cd ltp-master
make autotools
./configure
make && make install
cd /opt/ltp
./runltp -f net.sctp -s test_connectnet

[环境信息]
[root@l57h15216 ltp]# uname -r
4.19.91-27_rc2.an8.aarch64+debug
[root@l57h15216 ltp]# cat /etc/redhat-release
Anolis OS release 8.6
[root@l57h15216 ltp]# free -g
              total        used        free      shared  buff/cache   available
Mem:            657          73         581           0           2         580
Swap:             1           0           1
[root@l57h15216 ltp]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        329G     0  329G   0% /dev
tmpfs           329G  4.0K  329G   1% /dev/shm
tmpfs           329G   11M  329G   1% /run
tmpfs           329G     0  329G   0% /sys/fs/cgroup
/dev/sda2        49G   16G   31G  34% /
/dev/sda1      1022M  6.7M 1016M   1% /boot/efi
tmpfs            66G     0   66G   0% /run/user/0
[root@l57h15216 ltp]# cat /proc/cmdline
BOOT_IMAGE=(hd1,gpt2)/boot/vmlinuz-4.19.91-27_rc2.an8.aarch64+debug root=UUID=0eb4140e-7d01-483c-9ef6-c4f712d544e8 ro console=tty0 console=ttyS0,115200 rd.driver.pre=ahci cgroup.memory=nokmem slub_debug=FPZU kmemleak=on
[root@l57h15216 ltp]# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              96
On-line CPU(s) list: 0-95
Thread(s) per core:  1
Core(s) per socket:  48
Socket(s):           2
NUMA node(s):        1
Vendor ID:           HiSilicon
BIOS Vendor ID:      HiSilicon
Model:               0
Model name:          Kunpeng-920
BIOS Model name:     HUAWEI Kunpeng 920 5250
Stepping:            0x1
CPU max MHz:         2600.0000
CPU min MHz:         200.0000
BogoMIPS:            200.00
L1d cache:           64K
L1i cache:           64K
L2 cache:            512K
L3 cache:            24576K
NUMA node0 CPU(s):   0-95
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
[root@l57h15216 ltp]#
Comment 1 宁畅 alibaba_cloud_group 2022-12-02 11:52:00 UTC
根据内部评估定级原则,此类问题优先级较低,later 处理。
Comment 2 yunhe123 alibaba_cloud_group 2023-03-14 11:34:54 UTC
[anolis8-5.10-arm][nightly]从3.13号开始,test_connect和test_connectx用例也出现同样的问题,用例日志如下:

[root@nu4f13160 ltp]# ./runltp -f net.sctp -s test_connect
Running tests.......
<<<test_start>>>
tag=test_connect stime=1678764793
cmdline="test_connect"
contacts=""
analysis=exit
<<<test_output>>>
test_connect.c    1  TBROK  :  /tmp/tone/build/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: socket: Socket type not supported
test_connect.c    2  TBROK  :  /tmp/tone/build/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: Remaining cases broken
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=test_connectx stime=1678764793
cmdline="test_connectx"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
test_connectx.c    1  TBROK  :  /tmp/tone/build/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: socket: Socket type not supported
test_connectx.c    2  TBROK  :  /tmp/tone/build/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: Remaining cases broken
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20200930

       ###############################################################

            Done executing testcases.
            LTP Version:  20200930
       ###############################################################

[root@nu4f13160 ltp]# ./runltp -f net.sctp -s test_connectx
Running tests.......
<<<test_start>>>
tag=test_connectx stime=1678764825
cmdline="test_connectx"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
test_connectx.c    1  TBROK  :  /tmp/tone/build/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: socket: Socket type not supported
test_connectx.c    2  TBROK  :  /tmp/tone/build/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: Remaining cases broken
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20200930

       ###############################################################

            Done executing testcases.
            LTP Version:  20200930
       ###############################################################