foss-for-synopsys-dwc-arc-processors / linux

Helpful resources for users & developers of Linux kernel for ARC
22 stars 13 forks source link

LTP: out of memory #65

Open wangnuannuan opened 2 years ago

wangnuannuan commented 2 years ago

When run the LTP test in linux , it triggered out of memory multiple times, finally the linux kernel stuck at welcome to buildroot login prompt.

[  21391]     0 21391      233       19     3072        0             0 futex_cmp_reque
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=futex_cmp_reque,pid=20344,uid=0
Out of memory: Killed process 20344 (futex_cmp_reque) total-vm:1864kB, anon-rss:152kB, file-rss:0kB, shmem-rss:952kB, UID:0 pgtables:3kB oom_score_adj:0
oom_reaper: reaped process 20344 (futex_cmp_reque), now anon-rss:0kB, file-rss:0kB, shmem-rss:16kB

Welcome to Buildroot

buildroot login: futex_cmp_requeue01.c:68: TFAIL: process 21389 wasn't woken up: ETIMEDOUT (110)
futex_cmp_requeue01.c:68: TFAIL: process 21390 wasn't woken up: ETIMEDOUT (110)
futex_cmp_requeue01.c:68: TFAIL: process 21385 wasn't woken up: ETIMEDOUT (110)
futex_cmp_requeue01.c:68: TFAIL: process 21387 wasn't woken up: ETIMEDOUT (110)
futex_cmp_requeue01.c:68: TFAIL: process 21388 wasn't woken up: ETIMEDOUT (110)
futex_cmp_requeue01.c:68: TFAIL: process 21391 wasn't woken up: ETIMEDOUT (110)
futex_cmp_requeue01.c:68: TFAIL: process 21386 wasn't woken up: ETIMEDOUT (110)

Welcome to Buildroot

buildroot login: 

vmlinux: ru20-hw-linux115:/SCRATCH/verification-node/binary-files/vmlinux/vmlinux_nSIM_archs38_03.01.2022_1-0-250_v5.16-rc8_Ltp.bu_gcc_upstr.glibc Linux version: Linux version 5.16.0-rc8 (arcoss@53e79c17cc8e) (arc-buildroot-linux-gnu-gcc.br_real (Buildroot 2021.08-27-gd7f878d31d) 11.2.0, GNU ld (GNU Binutils) 2.37), Platform: nSIM_archs38 and HSDK LTP command: runltp -p -l ltp.log -S /usr/lib/ltp-testsuite/SKIPFILE -b /tmp SKIPFILE:

abs01
atof01
float_bessel
float_exp_log
float_iperb
float_power
float_trigo
fptest01
fptest02
nextafter01

ResultsDB to get more detail