Acknowledged
Created: May 17, 2021
Updated: Sep 27, 2021
Resolved Date: Aug 19, 2021
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: BSP, Kernel
/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=qemux86-64 ---templates feature/test feature/linux-yocto-dev feature/userspace-next feature/toolchain-next --distro wrlinux --accept-eula=yes --dl-layers
add ltp to image
bitbake wrlinux-image-glibc-std
* Boot up the qemu BSP target
* runqemu qemux86-64 slirp nographic ext4 kvm qemuparams="-m 16192 -smp cpus=12"
* Run the following command
runltp -f commands
/opt/ltp/wrLinux_ltp/wr-runltp -f commands
…
<<<test_start>>>
tag=mkfs01_ext3_sh stime=1615942259
cmdline="mkfs01.sh -f ext3"
contacts=""
analysis=exit
<<<test_output>>>
[ 270.398889] LTP: starting mkfs01_ext3_sh (mkfs01.sh -f ext3)
mkfs01 1 TINFO: timeout per run is 0h 5m 0s
tst_device.c:268: TINFO: Using test device LTP_DEV='/dev/loop0'
tst_device.c:305: TINFO: Skipping $LTP_DEV size 0MB, requested size 256MB
tst_device.c:88: TINFO: Found free device 0 '/dev/loop0'
mkfs01 1 TPASS: 'mkfs -t ext3 /dev/loop0 ' passed.
[ 276.272063] EXT4-fs (loop0): mounting ext3 file system using the ext4 subsystem
[ 276.283916] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[ 276.284545] ext3 filesystem being mounted at /opt/ltp/wrLinux_ltp/tmpdir/ltp-lwFQHkBvqa/LTP_mkfs01.kwanf0dVMf/mntpoint supports timestamps until 2038 (0x7fffffff)
mkfs01 2 TFAIL: 'mkfs -t ext3 /dev/loop0 16000' failed, not expected.
mkfs01 3 TPASS: 'mkfs -t ext3 -c /dev/loop0 ' passed.
mkfs01 4 TPASS: 'mkfs -V ' passed.
mkfs01 5 TPASS: 'mkfs -h ' passed.
Summary:
passed 4
failed 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=13 termination_type=exited termination_id=1 corefile=no
cutime=415 cstime=569
<<<test_end>>>
<<<test_start>>>
tag=mkfs01_ext4_sh stime=1615942272
cmdline="mkfs01.sh -f ext4"
contacts=""
analysis=exit
<<<test_output>>>
[ 283.687020] LTP: starting mkfs01_ext4_sh (mkfs01.sh -f ext4)
mkfs01 1 TINFO: timeout per run is 0h 5m 0s
tst_device.c:268: TINFO: Using test device LTP_DEV='/dev/loop0'
tst_device.c:305: TINFO: Skipping $LTP_DEV size 0MB, requested size 256MB
tst_device.c:88: TINFO: Found free device 0 '/dev/loop0'
mkfs01 1 TPASS: 'mkfs -t ext4 /dev/loop0 ' passed.
[ 286.661788] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[ 286.662712] ext4 filesystem being mounted at /opt/ltp/wrLinux_ltp/tmpdir/ltp-lwFQHkBvqa/LTP_mkfs01.sH8A5qsIBt/mntpoint supports timestamps until 2038 (0x7fffffff)
mkfs01 2 TFAIL: 'mkfs -t ext4 /dev/loop0 16000' failed, not expected.
mkfs01 3 TPASS: 'mkfs -t ext4 -c /dev/loop0 ' passed.
mkfs01 4 TPASS: 'mkfs -V ' passed.
mkfs01 5 TPASS: 'mkfs -h ' passed.
Summary:
passed 4
failed 1
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=1 corefile=no
cutime=307 cstime=303
<<<test_end>>>
…
This issue also existing on other BSPs (intel-x86-64, nxp-imx8, xilinx-zynqmp, marvell-cn96xx, bcm-2xxx-rpi4, and qemuarm64, etc.).
/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=qemux86-64 ---templates feature/test feature/linux-yocto-dev feature/userspace-next feature/toolchain-next --distro wrlinux --accept-eula=yes --dl-layers
bitbake-layers add-layer testcases/wrlinux/wr-testing/kts-dev
echo require templates/feature/ltp/template.conf >> conf/local.conf
bitbake wrlinux-image-glibc-std
* Boot up the qemu BSP target
* runqemu qemux86-64 slirp nographic ext4 kvm qemuparams="-m 16192 -smp cpus=12"
* Run the following command
/opt/ltp/wrLinux_ltp/wr-runltp -f commands