summaryrefslogtreecommitdiff
path: root/ubuntu/fio-test.yaml
blob: 1efba5d20541da7c281995571cb09e839e4f53c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
metadata:
    name: fio-ubuntu
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "FIO or Flexible IO is a versatile IO workload generator Test on Linux Linaro ubuntu.
                  The target Device ID required to run this test is set to '/dev/sda/' by default and
                  it is possible to set Device ID through JSON file as well."
    maintainer:
        - botao.sun@linaro.org
    os:
        - ubuntu
    devices:
        - d01
        - mustang
        - vexpress-tc2
    environment:
        - lava-test-shell

install:
    deps:
        - fio
        - python

params:
    DeviceID: /dev/sda

run:
    steps:
        - "cd ubuntu/scripts; ./fio-test.py $DeviceID"

parse:
    pattern: '^(?P<test_case_id>fio_\w+):\s(?P<result>\w+)\s(?P<measurement>[0-9.]+)\s(?P<units>[a-zA-Z/]+)'