Fixed
Created: Jan 19, 2015
Updated: Sep 8, 2018
Resolved Date: Jan 21, 2015
Found In Version: 7.0.0.1
Fix Version: 7.0.0.2
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Test
To run the KTS test case of 'hrt' on the target of fsl-t2080rdb target.
...
TCOMMENT='POSIX interval timer CLOCK_MONOTONIC, interval 1000 micro seconds, 10000 loops '
++ taskset -c 0 cyclictest -p 80 -i 1000 -l 10000 -c 0
++ tail -1
++ awk '{print $1}'
++ awk -FAvg: '{print $2}'
+ avg=69
+ analyze 69
+ value=69
+ [[ 69 =~ ^[0-9]+$ ]]
+ '[' 69 -ge 0 ']'
+ echo 'FAIL: cyclictest latency 69 us is over threshold us'
FAIL: cyclictest latency 69 us is over threshold us
1. Build kernel, rootfs and dtb images
configure --enable-board=fsl-t2xxx --enable-kernel=preempt-rt --enable-rootfs=glibc-std --with-layer=/lpg-build/cdc/WASSP_LINUX/testcases/wrlinux/wr-testing/kts,/lpg-build/cdc/WASSP_LINUX/testcases/wrlinux/wr-testing/ltp --with-template=feature/kts-basic,feature/kts-extended,feature/kts-rt --enable-test=yes
make fs
2. Load images to the target (barcode:21920)
3. Run the KTS test case of "hrt"
cd /opt/wr-test/testcases/kts/hrt/
./runtest.sh