Description of problem: anolis8 aarch64环境,内部nightly ltp测试,case:net.sctp/test_tcp_style执行失败。 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.安装nightly对应的kernel内核包,reboot环境 2.git clone https://github.com/linux-test-project/ltp.git 3.cd ltp;make autotools;./configure;make && make install 4 cd /opt/ltp;./runltp -f net.sctp -s test_tcp_style Actual results: TCONF COMMAND File: /tmp/tone/run/ltp/output/LTP_RUN_ON-2023_05_05-18h_00m_11s.tconf Running tests....... <<<test_start>>> tag=test_tcp_style stime=1683280813 cmdline="test_tcp_style" contacts="" analysis=exit <<<test_output>>> test_tcp_style.c 1 TBROK : /tmp/tone/build/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: socket: Protocol not supported test_tcp_style.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_tcp_style_v6 stime=1683280813 cmdline="test_tcp_style_v6" contacts="" analysis=exit <<<test_output>>> incrementing stop test_tcp_style.c 1 TBROK : /tmp/tone/build/ltp/utils/sctp/func_tests/../testlib/sctputil.h:137: socket: Protocol not supported test_tcp_style.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: 20190517 ############################################################### Done executing testcases. LTP Version: 20190517 ############################################################### Expected results: case pass Additional info: [root@l57h15217 ltp]# uname -r 4.19.91-711.git.62df73190.an8.aarch64 [root@l57h15217 ltp]# cat /etc/anolis-release Anolis OS release 8.8 [root@l57h15217 ltp]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 378G 0 378G 0% /dev tmpfs 378G 0 378G 0% /dev/shm tmpfs 378G 83M 378G 1% /run tmpfs 378G 0 378G 0% /sys/fs/cgroup /dev/sda2 49G 20G 27G 43% / /dev/sda1 1022M 6.7M 1016M 1% /boot/efi tmpfs 76G 0 76G 0% /run/user/0 [root@l57h15217 ltp]# free -g total used free shared buff/cache available Mem: 755 3 748 0 2 748 Swap: 1 0 1 [root@l57h15217 ltp]# cat /proc/cmdline BOOT_IMAGE=(hd1,gpt2)/boot/vmlinuz-4.19.91-711.git.62df73190.an8.aarch64 root=UUID=3fbce54d-0f7f-47cf-a94a-c4592d5d6057 ro console=tty0 console=ttyS0,115200 rd.driver.pre=ahci cgwb_v1 slub_debug=FPZU kmemleak=on crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M psi=1 [root@l57h15217 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 MHz: 2600.000 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@l57h15217 ltp]#
可能是没有加载sctp模块导致的fail,可以手动加载一下再看看