From a23d79c22c7a4886a48d405a34d171d7c92f71b1 Mon Sep 17 00:00:00 2001 From: Vincent Hsu Date: Mon, 14 Oct 2013 09:44:20 +0800 Subject: openembedded/cyclictest: force to run cyclictest on the cpu1 force to run cyclictest on the cpu1 reduce run time and compress the logs Change-Id: I83ef9ed2b7cfcf5856e9dd6dad784da66ba37774 Signed-off-by: Vincent Hsu --- openembedded/cyclictest.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'openembedded/cyclictest.yaml') diff --git a/openembedded/cyclictest.yaml b/openembedded/cyclictest.yaml index 8e1efc5..db75f30 100644 --- a/openembedded/cyclictest.yaml +++ b/openembedded/cyclictest.yaml @@ -16,13 +16,14 @@ metadata: run: steps: - - "fping -g 127.0.0.1 127.0.0.10 -t 100 -q -l &> /dev/null &" - - "./openembedded/scripts/infinite_loop.py 864300 &> /dev/null &" - - "cyclictest -t 1 -p 80 -i 10000 -n -a1 -v -D 86400 > ~/cyclictest_full.log &" - - "cyclictest -t 50 -p 80 -i 10000 -n -a1 -q -D 86400 > ~/cyclictest_summary.log" + - "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" - - "lava-test-run-attach ~/cyclictest_full.log text/plain" - "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.+)\\s+result:(?P\\w+)\\s+measurement:(?P.+)\\s+units:(?P.+)" -- cgit v1.2.3