Wind River Support Network

HomeDefectsLIN9-1954
Not to be fixed

LIN9-1954 : LTP ltp_fs case has chance to hung on preempt-rt kernel on Denverton target

Created: Nov 2, 2016    Updated: Feb 22, 2019
Resolved Date: Feb 20, 2019
Found In Version: unknown
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: BSP

Description

root@10:~# /opt/ltp/wrLinux_ltp/wr-runltp -f fs
<<wr-runltp Test Plan>>
LTP scenario group list : fs
INFO: creating /opt/ltp/output directory
Checking for required user/group ids

'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
ID="wrlinux-small"
NAME="Wind River Linux"
VERSION="9.0.0.0"
VERSION_ID="9.0.0.0"
PRETTY_NAME="Wind River Linux 9.0.0.0"
Linux 10.0.2.15 4.8.3-rt2-WR9.0.0.0_preempt-rt #1 PREEMPT RT Wed Nov 2 13:52:10 CST 2016 ppc ppc ppc GNU/Linux
 
Gnu C                 
util-linux             linux 2.28.1
mount                  linux 2.28.1 (libmount 2.28.1: btrfs, assert, debug)
modutils               23
PPP                    2.4.7
Linux C Library        > libc.2.24
Dynamic linker (ldd)   2.24
Procps                 3.3.12
Net-tools              1.60
iproute2              iproute2-ss160808
Kbd                    2.0.3
Sh-utils               8.25
Modules Loaded         loop softdog

free reports:
              total        used        free      shared  buff/cache   available
Mem:         249160       37644      140956        8700       70560      193168
Swap:             0           0           0

/proc/cpuinfo
processor	: 0
cpu		: 7400, altivec supported
clock		: 266.000000MHz
revision	: 2.9 (pvr 000c 0209)
bogomips	: 200.00
timebase	: 100000000
platform	: PowerMac
model		: PowerMac3,1
machine		: PowerMac3,1
motherboard	: PowerMac3,1 MacRISC MacRISC2 Power Macintosh
detected as	: 65 (PowerMac G4 AGP Graphics)
pmac flags	: 00000004
pmac-generation	: NewWorld
Memory		: 256 MB
no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
COMMAND:    /opt/ltp/bin/ltp-pan  -e -S   -a 1151     -n 1151  -p  -f /opt/ltp/wrLinux_ltp/tmpdir/ltp-dwgoSNwgD8/alltests -l /opt/ltp/wrLinux_ltp/runtime/runtime.log  -C /opt/ltp/output/LTP_RUN_ON-runtime.log.failed -T /opt/ltp/output/LTP_RUN_ON-runtime.log.tconf
LOG File: /opt/ltp/wrLinux_ltp/runtime/runtime.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-runtime.log.failed
TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-runtime.log.tconf
Running tests.......
<<<test_start>>>
tag=iogen01 stime=1478068072
cmdline="export LTPROOT; rwtest -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:$TMPDIR/doio.f1.$$ 1000b:$TMPDIR/doio.f2.$$"
contacts=""
analysis=exit
<<<test_output>>>
/opt/ltp/testcases/bin/iogen -N iogen01 -i 120s -s read,write 500b:/opt/ltp/wrLinux_ltp/tmpdir/ltp-dwgoSNwgD8/doio.f1.1304 1000b:/opt/ltp/wrLinux_ltp/tmpdir/ltp-dwgoSNwgD8/doio.f2.1304 | /opt/ltp/testcases/bin/doio -N iogen01 -a -v -n 2 -k

iogen(iogen01) starting up with the following:

Out-pipe:              stdout
Iterations:            120 seconds
Seed:                  1311
Offset-Mode:           sequential
Overlap Flag:          off
Mintrans:              1           (1 blocks)
Maxtrans:              131072      (256 blocks)
O_RAW/O_SSD Multiple:  (Determined by device)
Syscalls:              read write 
Aio completion types:  none 
Flags:                 buffered sync 

Test Files:  

Path                                          Length    iou   raw iou file
                                              (bytes) (bytes) (bytes) type
-----------------------------------------------------------------------------
/opt/ltp/wrLinux_ltp/tmpdir/ltp-dwgoSNwgD8/doio.f1.1304       256000       1     512 regular
/opt/ltp/wrLinux_ltp/tmpdir/ltp-dwgoSNwgD8/doio.f2.1304       512000       1     512 regular
iogen01     1  TPASS  :  Test passed
Test passed
<<<execution_status>>>
initiation_status="ok"
duration=121 termination_type=exited termination_id=0 corefile=no
cutime=879 cstime=6004
<<<test_end>>>
<<<test_start>>>
tag=fs_inod01 stime=1478068193
cmdline="fs_inod $TMPDIR 10 10 10"
contacts=""
analysis=exit
<<<test_output>>>
FS_INODE: File system stress - inode allocation/deallocation
Volume under test: /opt/ltp/wrLinux_ltp/tmpdir/ltp-dwgoSNwgD8
Number of subdirectories: 10
Number of files: 10
Number of loops: 10
Execution begins 
Wed Nov  2 06:29:53 UTC 2016
==============================================
MULTIPLE PROCESSES CREATING AND DELETING FILES
==============================================
/opt/ltp/testcases/bin/fs_inod: creating dir2 subdirectories
/opt/ltp/testcases/bin/fs_inod: mkdir dir0
/opt/ltp/testcases/bin/fs_inod: mkdir dir1
/opt/ltp/testcases/bin/fs_inod: mkdir dir2
/opt/ltp/testcases/bin/fs_inod: mkdir dir3
/opt/ltp/testcases/bin/fs_inod: mkdir dir4
/opt/ltp/testcases/bin/fs_inod: mkdir dir5
/opt/ltp/testcases/bin/fs_inod: mkdir dir6
/opt/ltp/testcases/bin/fs_inod: mkdir dir7
/opt/ltp/testcases/bin/fs_inod: mkdir dir8
/opt/ltp/testcases/bin/fs_inod: mkdir dir9
/opt/ltp/testcases/bin/fs_inod: creating dir1 subdirectories & files
/opt/ltp/testcases/bin/fs_inod: mkdir dir0
/opt/ltp/testcases/bin/fs_inod: mkdir dir1
/opt/ltp/testcases/bin/fs_inod: mkdir dir2
/opt/ltp/testcases/bin/fs_inod: mkdir dir3
/opt/ltp/testcases/bin/fs_inod: mkdir dir4
/opt/ltp/testcases/bin/fs_inod: mkdir dir5
/opt/ltp/testcases/bin/fs_inod: mkdir dir6
/opt/ltp/testcases/bin/fs_inod: mkdir dir7
/opt/ltp/testcases/bin/fs_inod: mkdir dir8
/opt/ltp/testcases/bin/fs_inod: mkdir dir9
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 1 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 2 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 3 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 4 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 5 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 6 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 7 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 8 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 9 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
Executing loop 10 of 10...
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir1 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & creating files
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: cd ../dir2 & removing files
/opt/ltp/testcases/bin/fs_inod: touch files [0-10]/file10[0-10]
/opt/ltp/testcases/bin/fs_inod: rm files [0-10]/file10[0-10]
Execution completed
Wed Nov  2 06:30:29 UTC 2016
<<<execution_status>>>
initiation_status="ok"
duration=36 termination_type=exited termination_id=0 corefile=no
cutime=494 cstime=2236
<<<test_end>>>
<<<test_start>>>
tag=linker01 stime=1478068229
cmdline="linktest.sh 1000 1000"
contacts=""
analysis=exit
<<<test_output>>>
linker01    0  TWARN  :  tst_res(): fopen(, "r") failed; errno = 2: No such file or directory
linker01    1  TPASS  :  Symbolic Link Errors: 0
linker01    0  TWARN  :  tst_res(): fopen(, "r") failed; errno = 2: No such file or directory
linker01    2  TPASS  :  Hard Link Errors: 0
<<<execution_status>>>
initiation_status="ok"
duration=34 termination_type=exited termination_id=0 corefile=no
cutime=389 cstime=2114
<<<test_end>>>
<<<test_start>>>
tag=openfile01 stime=1478068263
cmdline="openfile -f10 -t10"
contacts=""
analysis=exit
<<<test_output>>>
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=3
<<<test_end>>>
<<<test_start>>>
tag=inode01 stime=1478068263
cmdline="inode01"
contacts=""
analysis=exit
<<<test_output>>>
inode01     1  TPASS  :  Test block 0
inode01     2  TPASS  :  Test block 1
inode01     3  TPASS  :  Test passed
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=15
<<<test_end>>>
<<<test_start>>>
tag=inode02 stime=1478068263
cmdline="inode02"
contacts=""
analysis=exit
<<<test_output>>>
inode02     1  TPASS  :  Test passed
<<<execution_status>>>
initiation_status="ok"
duration=24 termination_type=exited termination_id=0 corefile=no
cutime=81 cstime=1872
<<<test_end>>>
<<<test_start>>>
tag=stream01 stime=1478068287
cmdline="stream01"
contacts=""
analysis=exit
<<<test_output>>>
stream01    1  TPASS  :  Test passed.
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=2
<<<test_end>>>
<<<test_start>>>
tag=stream02 stime=1478068288
cmdline="stream02"
contacts=""
analysis=exit
<<<test_output>>>
stream02    1  TPASS  :  Test passed in block0.
stream02    2  TPASS  :  Test passed in block1.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=stream03 stime=1478068288
cmdline="stream03"
contacts=""
analysis=exit
<<<test_output>>>
stream03    1  TPASS  :  Test passed in block0.
stream03    2  TPASS  :  Test passed in block1.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=2
<<<test_end>>>
<<<test_start>>>
tag=stream04 stime=1478068288
cmdline="stream04"
contacts=""
analysis=exit
<<<test_output>>>
stream04    1  TPASS  :  Test passed.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=stream05 stime=1478068288
cmdline="stream05"
contacts=""
analysis=exit
<<<test_output>>>
stream05    1  TPASS  :  Test passed in block0.
stream05    2  TPASS  :  Test passed in block1.
stream05    3  TPASS  :  Test passed in block2.
stream05    4  TPASS  :  Test passed in block3.
stream05    5  TPASS  :  Test passed in block4.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=2
<<<test_end>>>
<<<test_start>>>
tag=ftest01 stime=1478068288
cmdline="ftest01"
contacts=""
analysis=exit
<<<test_output>>>
ftest01     1  TPASS  :  Test passed in fork and wait.
ftest01     2  TPASS  :  Test passed.
<<<execution_status>>>
initiation_status="ok"
duration=20 termination_type=exited termination_id=0 corefile=no
cutime=23 cstime=1135
<<<test_end>>>
<<<test_start>>>
tag=ftest02 stime=1478068308
cmdline="ftest02"
contacts=""
analysis=exit
<<<test_output>>>
ftest02     1  TPASS  :  Test passed in fork-wait part.
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=50
<<<test_end>>>
<<<test_start>>>
tag=ftest03 stime=1478068309
cmdline="ftest03"
contacts=""
analysis=exit
<<<test_output>>>
ftest03     1  TPASS  :  Test passed.
<<<execution_status>>>
initiation_status="ok"
duration=18 termination_type=exited termination_id=0 corefile=no
cutime=28 cstime=1425
<<<test_end>>>
<<<test_start>>>
tag=ftest04 stime=1478068327
cmdline="ftest04"
contacts=""
analysis=exit
<<<test_output>>>
ftest04     1  TPASS  :  Test passed.
<<<execution_status>>>
initiation_status="ok"
duration=6 termination_type=exited termination_id=0 corefile=no
cutime=20 cstime=355
<<<test_end>>>
<<<test_start>>>
tag=ftest05 stime=1478068333
cmdline="ftest05"
contacts=""
analysis=exit
<<<test_output>>>






Steps to Reproduce

$ /net/pek-hostel-deb04.wrs.com/buildarea1/nightly/WRL9/product_install/wrlinux-9/setup.sh --machines=qemuppc --kernel=preempt-rt --dl-layers --dl-layers
$ source environment-setup-x86_64-wrlinuxsdk-linux
$ source oe-init-build-env build
$ bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_90/testcases/wrlinux/wr-testing/kts-dev
$ echo require templates/feature/ltp/template.conf >> conf/local.conf
$ echo IMAGE_ROOTFS_EXTRA_SPACE = \"5242880\" >> conf/local.conf
$ echo IMAGE_FSTYPES += \"tar.bz2\" >> conf/local.conf
$ bitbake wrlinux-image-glibc-std
$ runqemu qemuppc slirp nographic
On target:
root@10:~# /opt/ltp/wrLinux_ltp/wr-runltp -f fs
Live chat
Online