Wind River Support Network

HomeDefectsLIN1021-55
Fixed

LIN1021-55 : [LTP]"acct02" test failed on qemux86-64

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

Description

* Build project

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 syscalls


#/opt/ltp/wrLinux_ltp/wr-runltp -f syscalls
 ...
 <<<test_start>>>
 tag=acct02 stime=1614852185
 cmdline="acct02"
 contacts=""
 analysis=exit
 <<<test_output>>>
 tst_kconfig.c:64: TINFO: Parsing kernel config '/proc/config.gz'
 tst_test.c:1261: TINFO: Timeout per run is 0h 05m 00s
 tst_kconfig.c:64: TINFO: Parsing kernel config '/proc/config.gz'
 acct02.c:65: TINFO: CONFIG_BSD_PROCESS_ACCT_V3=y
 acct02.c:242: TINFO: Verifying using 'struct acct_v3'
 acct02.c:195: TINFO: == entry 1 ==
 acct02.c:129: TINFO: elap_time/clock_ticks >= 2 (295/100: 2.00)
 acct02.c:195: TINFO: == entry 2 ==
 acct02.c:86: TINFO: ac_comm != 'acct02_helper' ('acct02')
 acct02.c:129: TINFO: elap_time/clock_ticks >= 2 (296/100: 2.00)
 acct02.c:135: TINFO: ac_exitcode != 32768 (0)
 acct02.c:143: TINFO: ac_ppid != 441128 (441126)
 acct02.c:185: TFAIL: end of file reached

HINT: You _MAY_ be missing kernel fixes, see:

[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4d9570158b626]

Summary:
 passed 0
 failed 1
 broken 0
 skipped 0
 warnings 0
 <<<execution_status>>>
 initiation_status="ok"
 duration=3 termination_type=exited termination_id=1 corefile=no
 cutime=1 cstime=2
 <<<test_end>>>

...

This test case run pass on other BSPs.

Steps to Reproduce

* Build project

/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 syscalls
Live chat
Online