Bug 7675 - kernel hardlock when run ltp test shmctl05
Summary: kernel hardlock when run ltp test shmctl05
Status: NEW
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: 4.19-027.x
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Artie Ding
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-04 10:22 UTC by wuyk_uos
Modified: 2023-12-04 10:22 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wuyk_uos 2023-12-04 10:22:34 UTC
Description of problem:

发生hardlock 导致机器重启,使用ltp20230929测试内核devel-4.19 和release-4.19 ,

在海光7185的cpu型号上,单独测试shmctl05出现。


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


How reproducible:

海光7185的cpu

Steps to Reproduce:
1.安装ltp-20230929
2.进入ltp目录
3.执行测试命令./runltp -s shmctl05 -I 10

Actual results:
<<<test_start>>>
tag=5_ITERATION_shmctl05 stime=1701400505
cmdline="shmctl05"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1690: TINFO: LTP version: 20230929
tst_test.c:1576: TINFO: Timeout per run is 0h 00m 40s
../../../../../include/tst_fuzzy_sync.h:484: TINFO: Minimum sampling period ended
../../../../../include/tst_fuzzy_sync.h:308: TINFO: loop = 1024, delay_bias = 0
../../../../../include/tst_fuzzy_sync.h:297: TINFO: start_a - start_b: { avg =    12ns, avg_dev =     8ns, dev_ratio = 0.73 }
../../../../../include/tst_fuzzy_sync.h:297: TINFO: end_a - start_a  : { avg =  4935ns, avg_dev =   112ns, dev_ratio = 0.02 }
../../../../../include/tst_fuzzy_sync.h:297: TINFO: end_b - start_b  : { avg =  3153ns, avg_dev =   123ns, dev_ratio = 0.04 }
../../../../../include/tst_fuzzy_sync.h:297: TINFO: end_a - end_b    : { avg =  1794ns, avg_dev =    70ns, dev_ratio = 0.04 }
../../../../../include/tst_fuzzy_sync.h:297: TINFO: spins            : { avg =   622  , avg_dev =    31  , dev_ratio = 0.05 }
../../../../../include/tst_fuzzy_sync.h:496: TINFO: Reached deviation ratios < 0.10, introducing randomness
../../../../../include/tst_fuzzy_sync.h:499: TINFO: Delay range is [-1071, 1731]
../../../../../include/tst_fuzzy_sync.h:308: TINFO: loop = 1385, delay_bias = 0
../../../../../include/tst_fuzzy_sync.h:297: TINFO: start_a - start_b: { avg =    20ns, avg_dev =     2ns, dev_ratio = 0.08 }
../../../../../include/tst_fuzzy_sync.h:297: TINFO: end_a - start_a  : { avg =  4968ns, avg_dev =   217ns, dev_ratio = 0.04 }
../../../../../include/tst_fuzzy_sync.h:297: TINFO: end_b - start_b  : { avg =  3076ns, avg_dev =   132ns, dev_ratio = 0.04 }
../../../../../include/tst_fuzzy_sync.h:297: TINFO: end_a - end_b    : { avg =  1913ns, avg_dev =   122ns, dev_ratio = 0.06 }
../../../../../include/tst_fuzzy_sync.h:297: TINFO: spins            : { avg =   667  , avg_dev =    50  , dev_ratio = 0.08 }
client_loop: send disconnect: Broken pipe


Expected results:
正常测试结束

Additional info: