Wind River Support Network

HomeDefectsLIN1022-1123
Fixed

LIN1022-1123 : [LTP][nxp-imx6]clock_gettime04.c:162: TFAIL: CLOCK_REALTIME(vDSO or syscall with libc spec) on syscalls group

Created: Jul 28, 2022    Updated: Jan 2, 2023
Resolved Date: Jan 2, 2023
Found In Version: 10.22.33.1
Fix Version: 10.22.33.3
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: BSP

Description

setup.sh --machines nxp-imx6 --distro wrlinux --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'GPG_PATH = "/tmp/tmp.USfjneNFCE"' >> conf/local.conf
echo '
TEST_SPIN = "GIT_20220727"
TEST_SPRINT = "WRL-10.22.33.1(LTS22)"
TEST_PLAN_WEEK = "2022WW30"' >> conf/local.conf
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1022/testcases/wrlinux/wr-testing/kts-dev
echo 'IMAGE_FSTYPES += "tar.bz2"' >> conf/local.conf
echo 'BB_NO_NETWORK:pn-lmbench = "0"' >> conf/local.conf
echo 'IMAGE_FSTYPES:remove = " live hddimg iso"' >> conf/local.conf
echo 'require templates/feature/ltp/template.conf' >> conf/local.conf
echo '
#Bellow is basic env, used by wr-test_0.1.0.bb
TEST_RELEASE_NAME = "WRLinux 10.22"
TEST_ROOTFS_TYPE = "glibc-std"
TEST_MULTILIB = ""
TEST_TESTER_NAME = ""
TEST_REQUIREMANTS = "LINUXEXEC-20467"
TEST_TARGET_NAME = "builder"
TEST_TAGS = ""' >> conf/local.conf
echo 'TEST_KEYWORD = ""' >> conf/local.conf
bitbake wrlinux-image-std

/opt/ltp/wrLinux_ltp/wr-runltp -f syscalls -s clock_gettime04



TP: starting clock_gettime04
<<<test_start>>>
tag=clock_gettime04 stime=1651168060
cmdline="clock_gettime04"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1431: TINFO: Timeout per run is 0h 05m 00s
vdso_helpers.c:27: TINFO: Couldn't find AT_SYSINFO_EHDR
vdso_helpers.c:72: TINFO: Couldn't find vdso_gettime()
vdso_helpers.c:76: TINFO: Couldn't find vdso_gettime64()
clock_gettime04.c:162: TFAIL: CLOCK_REALTIME(vDSO or syscall with libc spec): Difference between successive readings greater than 5 ms (0): 20
clock_gettime04.c:162: TFAIL: CLOCK_REALTIME_COARSE(syscall with old kernel spec): Difference between successive readings greater than 5 ms (1): 20
clock_gettime04.c:162: TFAIL: CLOCK_MONOTONIC(syscall with old kernel spec): Difference between successive readings greater than 5 ms (1): 10
clock_gettime04.c:162: TFAIL: CLOCK_MONOTONIC_COARSE(syscall time64 with kernel spec): Difference between successive readings greater than 5 ms (3): 20
clock_gettime04.c:162: TFAIL: CLOCK_MONOTONIC_RAW(vDSO or syscall with libc spec): Difference between successive readings greater than 5 ms (0): 10
clock_gettime04.c:162: TFAIL: CLOCK_BOOTTIME(vDSO or syscall with libc spec): Difference between successive readings greater than 5 ms (0): 10

HINT: You MAY be missing kernel fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5b43bd184530

Summary:
passed 0
failed 6
broken 0
skipped 0
warnings 0
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=3 cstime=16
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20220121

###############################################################

Done executing testcases.
LTP Version: 20220121
###############################################################

<<wr-runltp Test Result>>
TCONFCMDFILE = /opt/ltp/output/LTP_RUN_ON-runtime.log.tconf
Total Tests: 1
Total Passes: 0
Total Skips: 0
Total Skipped Tests: 0
Total Failures: 1
Known Failures: 0
Unknown Failures: 1
Kernel Version: 5.15.55-yocto-standard
Machine Architecture: armv7l
Hostname: nxp-imx6

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRL10_22/WRL10_22_GIT/wrlinux-10/setup.sh --machines nxp-imx6 --distro wrlinux --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'GPG_PATH = "/tmp/tmp.USfjneNFCE"' >> conf/local.conf
echo '
TEST_SPIN = "GIT_20220727"
TEST_SPRINT = "WRL-10.22.33.1(LTS22)"
TEST_PLAN_WEEK = "2022WW30"' >> conf/local.conf
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1022/testcases/wrlinux/wr-testing/kts-dev
echo 'IMAGE_FSTYPES += "tar.bz2"' >> conf/local.conf
echo 'BB_NO_NETWORK:pn-lmbench = "0"' >> conf/local.conf
echo 'IMAGE_FSTYPES:remove = " live hddimg iso"' >> conf/local.conf
echo 'require templates/feature/ltp/template.conf' >> conf/local.conf
echo '
#Bellow is basic env, used by wr-test_0.1.0.bb
TEST_RELEASE_NAME = "WRLinux 10.22"
TEST_ROOTFS_TYPE = "glibc-std"
TEST_MULTILIB = ""
TEST_TESTER_NAME = ""
TEST_REQUIREMANTS = "LINUXEXEC-20467"
TEST_TARGET_NAME = "builder"
TEST_TAGS = ""' >> conf/local.conf
echo 'TEST_KEYWORD = ""' >> conf/local.conf
bitbake wrlinux-image-std


/opt/ltp/wrLinux_ltp/wr-runltp -f syscalls -s clock_gettime04
Live chat
Online