summaryrefslogtreecommitdiff
path: root/openembedded/netperf-client-multinode.yaml
blob: 4c1ccf7b1f7a501294f4e8e73da165d77fa94508 (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
42
metadata:
    format: Lava-Test Test Definition 1.0
    name: netperf-client-multinode
    description: "Basic MultiNode netperf/ping test on client side for Linaro OpenEmbedded builds.
                  This test measures the performance using netperf/ping/tcreplay for throughput and
                  end-to-end latency."
    maintainer:
        - guoqing.zhu@linaro.org
        - weilong.chen@linaro.org
    os:
        - openembedded
    scope:
        - functional
        - performance
        - latency
        - cpu utilization
    devices:
        - kvm
        - arndale
        - panda
        - beaglebone-black
        - beagle-xm
        - mx53loco
        - juno
params:
    CONNECTION: lngswitch

run:
    steps:
        - 'ETH=$(./common/scripts/lookup-eth $CONNECTION | egrep "(rename|eth)")'
        - 'if [ -n $ETH ]; then ETH=eth0; fi'
        - ifconfig -a
        - route
        - lava-network broadcast $ETH
        - lava-network collect $ETH
        - lava-sync ready 
        - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh $ETH
        - lava-sync done 
        - "lava-test-run-attach ~/output.txt text/plain"

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