Description of problem: ltp->syscalls下ioctl_sg01用例执行fail,从2.23号开始失败,之后是大概率失败,偶尔执行成功,日志如下: Running tests....... <<<test_start>>> tag=ioctl_sg01 stime=1677550047 cmdline="ioctl_sg01" contacts="" analysis=exit <<<test_output>>> incrementing stop tst_test.c:1250: TINFO: Timeout per run is 0h 05m 00s tst_test.c:1250: TINFO: Timeout per run is 0h 15m 00s ioctl_sg01.c:83: TINFO: Found SCSI device /dev/sg0 tst_test.c:1295: TINFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1 tst_test.c:1296: TBROK: Test killed! (timeout?) Summary: passed 0 failed 0 skipped 0 warnings 0 <<<execution_status>>> initiation_status="ok" duration=510 termination_type=exited termination_id=2 corefile=no cutime=3388 cstime=46391 <<<test_end>>> Version-Release number of selected component (if applicable): How reproducible: 大概率重现 Steps to Reproduce: git clone https://gitee.com/anolis/ltp.git cd ltp export CFLAGS="-fcommon" # gcc 10 需要添加这个。 make autotools #默认会安装到/opt下,如果你要指定自己的安装目录, --prefix=/lkp/benchmarks/ltp-latest ./configure make make install cd /opt/ltp ./runltp -f syscalls -s ioctl_sg01 Actual results: 用例执行失败 Expected results: 用例执行成功 Additional info: 内核信息: # uname -r 5.10.134-568.git.eb96941d6.an8.aarch64+debug 版本信息: # cat /etc/os-release NAME="Anolis OS" VERSION="8.8" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.8" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.8" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" 内存信息: # free -h total used free shared buff/cache available Mem: 657Gi 25Gi 630Gi 59Mi 1.8Gi 628Gi Swap: 2.0Gi 77Mi 1.9Gi cpu信息: # 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 重现机器: 5.10 nightly 线下物理机