diff options
author | Vincent Hsu <vincent.hsu@linaro.org> | 2013-11-22 13:48:52 +0800 |
---|---|---|
committer | Vincent Hsu <vincent.hsu@linaro.org> | 2013-11-22 21:35:32 +0800 |
commit | 54fcf745421f2038b64cc1fa687c9a24e113c05c (patch) | |
tree | cfc63af77594b23e353a8d33c25703a5d43d924f /openembedded/cyclictest.yaml | |
parent | 751be8e82a104ad60e7fa67227cff2bc6e10a01a (diff) |
openembedded/cyclictest: get lantency bounds and running time form lava job parameters
Change-Id: Id4ba8fd7f9c234f4b4d0fc3347665354f4d9232d
Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
Diffstat (limited to 'openembedded/cyclictest.yaml')
-rw-r--r-- | openembedded/cyclictest.yaml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/openembedded/cyclictest.yaml b/openembedded/cyclictest.yaml index db75f30..8e85509 100644 --- a/openembedded/cyclictest.yaml +++ b/openembedded/cyclictest.yaml @@ -4,6 +4,7 @@ metadata: version: 1.0 description: "Cyclictest Suite" maintainer: + - vincent.hsu@linaro.org - ciprian.barbu@linaro.org - anders.roxell@linaro.org os: @@ -14,19 +15,30 @@ metadata: devices: - arndale +# Parameters description +# MAX: Maximum latency bound. +# AVG: Average latency bound. +# RTIME: Running time. Must set this longer than 60. +params: + - "MAX=15000" + - "AVG=50" + - "RTIME=86400" + run: steps: - "taskset -c 1 fping -g 127.0.0.1 127.0.0.10 -t 100 -q -l &> /dev/null &" - - "taskset -c 1 ./openembedded/scripts/infinite_loop.py 86300 &> /dev/null &" - - "taskset -c 1 cyclictest -t 1 -p 80 -i 10000 -n -a1 -v -D 3600 > ~/cyclictest_full.log &" - - "taskset -c 1 cyclictest -t 50 -p 80 -i 10000 -n -a1 -q -D 86400 > ~/cyclictest_summary.log" - - "cat ~/cyclictest_summary.log | ./openembedded/scripts/cyclictest.py" + - "taskset -c 1 ./openembedded/scripts/infinite_loop.py $(expr $RTIME - 60) &> /dev/null &" + - "taskset -c 1 cyclictest -t 1 -p 80 -i 10000 -n -a1 -v -D $(expr $RTIME / 24) > ~/cyclictest_full.log &" + - "taskset -c 1 cyclictest -t 50 -p 80 -i 10000 -n -a1 -q -D $RTIME > ~/cyclictest_summary.log" + - "cat ~/cyclictest_summary.log | ./openembedded/scripts/cyclictest.py $MAX $AVG" - "lava-test-run-attach ~/cyclictest_summary.log text/plain" - "tar -cjf ~/cyclictest_full.log.tbz ~/cyclictest_full.log" - "lava-test-run-attach ~/cyclictest_full.log.tbz application/x-bzip2" - "killall calibrator infinite_loop.py fping" + parse: pattern: "^test_case_id:(?P<test_case_id>.+)\\s+result:(?P<result>\\w+)\\s+measurement:(?P<measurement>.+)\\s+units:(?P<units>.+)" fixupdict: PASS: pass FAIL: fail + SKIP: skip |