summaryrefslogtreecommitdiff
path: root/ubuntu/netperf-server-multinode.yaml
blob: 700fc9f01ccac732096e5f7bec5a777a5109344e (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
33
34
35
36
37
38
39
40
41
metadata:
    format: Lava-Test Test Definition 1.0
    name: netperf-server-multinode
    description: "Basic MultiNode netperf/ping test on server side"
    maintainer:
        - guoqing.zhu@linaro.org
        - weilong.chen@linaro.org
    os:
        - ubuntu
    scope:
        - functional
        - performance
        - latency
        - cpu utilization
    devices:
        - kvm
        - arndale
        - panda
        - beaglebone-black
        - beagle-xm
        - mx53loco

install:
     deps:
         - netperf
         - python-minimal
params:
    ETH: eth0

run:
    steps:
        - ifconfig -a
        - route
        - lava-network broadcast $ETH
        - lava-network collect $ETH
        - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-server.sh
        - lava-sync ready 
        - lava-sync done 

parse:
        "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)"