Fixed
Created: Oct 13, 2015
Updated: Mar 4, 2019
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:
****************************
"clock_settime_8-1" failed and "clock_getcpuclockid_5-1" UNTESTED on qemumips64 BSP (both standard and preempt-rt profiles)
5. Faulty Part:
****************************
Kernel
6. Engineering Details (Not Published):
****************************
Environment
======================
Requirement No.: US66799
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
======================
"clock_settime_8-1" failed and "clock_getcpuclockid_5-1" UNTESTED on qemumips64 BSP (both standard and preempt-rt profiles)
...
[Log Path] POSIX test log: /opt/open_posix_testsuite/wrLinux_posix/results/POSIX_RUN_ON-2015_Oct_12-11h_10m_57s.log
[POSIX Test Failed Case]
------------------------
POSIX Test Start Time: Mon Oct 12 11:10:57 UTC 2015
-------------------------------------------
Testcase Type Fail Reason
-------- ---- -----------
clock_settime/clock_settime_8-1 FAILED
Test Results: 1
<<Test start>>
Test suite: clock_getcpuclockid
Test case: clock_getcpuclockid_5-1.run-test
conformance/interfaces/clock_getcpuclockid/clock_getcpuclockid_5-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 "clock_settime_8-1" and "clock_getcpuclockid_5-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;
systemctl stop systemd-timesyncd
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 "clock_settime_8-1" and "clock_getcpuclockid_5-1".