summaryrefslogtreecommitdiff
path: root/openembedded/cyclictest.yaml
blob: 92791594953bde896b9b3cda09d5e23a1350a25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
metadata:
    name: cyclictest
    format: "Lava-Test-Shell Test Definition 1.0"
    version: 1.0
    description: "Cyclictest Suite"

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"
        - "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"
        - "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