Fixed
Created: Oct 13, 2015
Updated: Mar 15, 2016
Resolved Date: Mar 12, 2016
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Test
o Check the CQ, Is there a duplicate?
No
1. Priority
****************************
3
2. Severity
****************************
Standard
3. Repeatability :
****************************
reproducible
4. Summary:
****************************
" sem_post_8-1" failed and " sem_init_7-1" UNTESTED on qemumips64 BSP (in preempt-rt profile only).
5. Faulty Part:
****************************
Kernel
6. Engineering Details (Not Published):
****************************
Environment
======================
Requirement No.: US65542
WRLinux Version: WRLinux8.0 S8
Workbench Version: N/A
Binary/FS From: N/A
BSP/Configuration:qemumips-standard-glibc-std
HOST OS: RHEL 6.7
7. Symptom Details
****************************
Problem Description
======================
" sem_post_8-1" failed and " sem_init_7-1" UNTESTED on qemumips64 BSP (in preempt-rt profile only). They can run pass in standard profile.
...
<<Test start>>
Test suite: sem_post
Test case: sem_post_8-1.run-test
conformance/interfaces/sem_post/sem_post_8-1: execution: FAILED
basename: missing operand
Try 'basename --help' for more information.
*******************
Testing
*******************
PASS 0
FAIL 1
*******************
TOTAL 1
*******************
<<Test end>>
<<Test start>>
Test suite: sem_init
Test case: sem_init_7-1.run-test
conformance/interfaces/sem_init/sem_init_7-1: execution: UNTESTED
basename: missing operand
Try 'basename --help' for more information.
*******************
Testing
*******************
PASS 0
FAIL 1
*******************
TOTAL 1
*******************
<<Test end>>
Expected Behavior
======================
The POSIX test cases run pass.
8. Steps To Reproduce
****************************
wrlinux-x/wrlinux/configure \
--enable-board=qemumips64 \
--enable-kernel=standard \
--enable-rootfs=glibc_std \
--with-layer=wr-testing/ltp\
--enable-internet-download=yes \
--enable-test=yes \
--enable-reconfig \
--enable-jobs=12 \
--enable-parallel-pkgbuilds=12
make fs
bash-4.1$ make start-target TARGET_QEMU_MEM=2048
And run the POSIX test cases of " sem_post_8-1" and " sem_init_7-1".
9. Workaround
****************************
N/A
10. Failure Scenarios Checking
****************************
(1) Is this defect found by the existing test cases?
Yes
(2) If not, check further this defect is one single failure, or one instance of common failure scenarios?
*If it is just one single failure, no new test cases for it, the subsequent fix verification is fine;
*if it is one instance of common failure scenarios, add / update test cases to cover such failure scenarios;
wrlinux-x/wrlinux/configure \
--enable-board=qemumips64 \
--enable-kernel=standard \
--enable-rootfs=glibc_std \
--with-layer=wr-testing/ltp\
--enable-internet-download=yes \
--enable-test=yes \
--enable-reconfig \
--enable-jobs=12 \
--enable-parallel-pkgbuilds=12
make fs
bash-4.1$ make start-target TARGET_QEMU_MEM=2048
And run the POSIX test cases of " sem_post_8-1" and " sem_init_7-1".