summaryrefslogtreecommitdiff
path: root/ubuntu/iperf.yaml
blob: cc8f65df8da2cc330bf7ec0ebe2df827a9f88601 (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
32
metadata:
    format: Lava-Test Test Definition 1.0
    name: iperf-multinode
    description:
        "Basic MultiNode iperf test on server/client side.
         The roles in the test job must be server & client"
    maintainer:
        - arthur.she@linaro.org
    os:
        - ubuntu
    scope:
        - performance
    devices:
        - kvm
        - arndale
        - beaglebone-black

install:
    deps:
        - iperf

params:
    LEN: 8K         # [KM]      length of buffer to read or write
    PACKET: TCP     # [TCP|UDP] packet type
    TIME: 20        # time in seconds to transmit for

run:
    steps:
        - ./common/scripts/iperf-$(lava-role).sh ${LEN} ${PACKET} ${TIME}

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