Not to be fixed
Created: May 17, 2021
Updated: Jun 15, 2021
Resolved Date: Jun 15, 2021
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Toolchain
root@bcm-2xxx-rpi4:/opt/wr-test/testcases/ltp/posix_TPS# /opt/open_posix_testsuite/wrLinux_posix/wr-runposix -f TPS
…
<<Test start>>
Test suite: sched_rr_get_interval
Test case: sched_rr_get_interval_speculative_5-1.run-test
conformance/interfaces/sched_rr_get_interval/sched_rr_get_interval_speculative_5-1: execution: SIGNALED
*******************
Testing sched_rr_get_interval
*******************
PASS 0
FAIL 1
*******************
TOTAL 1
*******************
…
[http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinuxCDStandard/lxCD---S15/2020WW38/GIT_20200914/POSIX/bcm-2xxx-rpi4_standard_glibc-std/rpi4w8GB_OE_systemd_lib32/posix_TPS/posix_TPS.log]
Similar signal failures were also found on LTP syscalls tests as below.
[http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinuxCDStandard/lxCD---S15/2020WW38/GIT_20200914/LTP/bcm-2xxx-rpi4_standard_glibc-std/rpi4w8GB_OE_systemd_lib32/ltp_syscalls/ltp_syscalls.log]
<<<test_start>>>
tag=adjtimex02 stime=1597559401
cmdline="adjtimex02"
contacts=""
analysis=exit
<<<test_output>>>
tst_buffers.c:55: INFO: Test is using guarded buffers
tst_test.c:1244: INFO: Timeout per run is 0h 05m 00s
tst_test.c:1291: BROK: Test killed by SIGSEGV!
Summary:
passed 0
failed 0
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=2
<<<test_end>>>
...
<<<test_start>>>
tag=timerfd_gettime01 stime=1597561174
cmdline="timerfd_gettime01"
contacts=""
analysis=exit
<<<test_output>>>
timerfd_gettime01 1 TPASS : timerfd_gettime() failed as expected: TEST_ERRNO=EBADF(9): Bad file descriptor
timerfd_gettime01 2 TBROK : tst_sig.c:232: unexpected signal SIGSEGV(11) received (pid = 32380).
timerfd_gettime01 3 TBROK : tst_sig.c:232: Remaining cases broken
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
...
----------------------
Test Start Time: Sun Aug 16 06:29:58 2020
-----------------------------------------
Testcase Result Exit Value Fail Reason
-------- ------ ---------- ----------
adjtimex02 FAIL 2
getitimer02 FAIL 2
getrusage02 FAIL 2
msgctl04 FAIL 2
msgget02 FAIL 1
msgrcv02 FAIL 2
sched_rr_get_interval03 FAIL 2
semctl03 FAIL 2
setitimer02 FAIL 2
shmctl02 FAIL 2
timerfd_gettime01 FAIL 2
timerfd_settime01 FAIL 2
1. Build project
$ /lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=bcm-2xxx-rpi4 --distro wrlinux --accept-eula=yes --dl-layers
$ source environment-setup-x86_64-wrlinuxsdk-linux
$ source oe-init-build-env build
$ bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_MASTER_WR/testcases/wrlinux/wr-testing/kts-dev && echo require templates/feature/ltp/template.conf >> conf/local.conf
$ bitbake lib32-wrlinux-image-std
2. Load image to the target (rpi4 with 8GB memory)
3. Run the following commands
root@bcm-2xxx-rpi4:/opt/wr-test/testcases/ltp/posix_TPS# /opt/open_posix_testsuite/wrLinux_posix/wr-runposix -f TPS
root@bcm-2xxx-rpi4:/opt/wr-test/testcases/ltp/ltp_syscalls# /opt/ltp/wrLinux_ltp/wr-runltp -f syscalls