Wind River Support Network

HomeDefectsLIN1021-89
Fixed

LIN1021-89 : [LTP]"input03" test failed on qemuarm64

Created: May 17, 2021    Updated: Aug 19, 2021
Resolved Date: Aug 19, 2021
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

setup.sh --machines=qemuarm64 ---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 qemuarm64 slirp nographic ext4 qemuparams="-m 8192 -smp cpus=8"
 * Run the following command

    # /opt/ltp/wrLinux_ltp/wr-runltp -f input

 

#/opt/ltp/wrLinux_ltp/wr-runltp -f input

...

<<<test_start>>>[ 9191.352862] LTP: starting input03

tag=input03 stime=1609388238
cmdline="input03"
contacts=""
analysis=exit
<<<test_output>>>
[ 9191.383496] input: virtual-device-ltp as /devices/virtual/input/input4
input03 0 TINFO : Found uinput dev at /dev/uinput
input03 1 TBROK : safe_macros.c:229: input03.c:90: open(/dev/input/mice,0,033247713530) failed: errno=ENOENT(2): No such file or directory
input03 2 TBROK : safe_macros.c:229: Remaining cases broken
<<<execution_status>>>
initiation_status="ok"[ 9191.431107] LTP: starting input04

duration=0 termination_type=exited termination_id=2 corefile=no
cutime=3 cstime=2
<<<test_end>>>

Steps to Reproduce

* Build project

/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=qemuarm64 ---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 qemuarm64 slirp nographic ext4 qemuparams="-m 8192 -smp cpus=8"
 * Run the following command

    # /opt/ltp/wrLinux_ltp/wr-runltp -f input
Live chat
Online