diff options
author | Arthur She <arthur.she@linaro.org> | 2014-11-14 10:55:13 -0800 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-11-24 13:41:08 +0000 |
commit | 0129466fa55ee57c20560e3fc6230cbdf4edb752 (patch) | |
tree | d3e1034a7c4a7ff23fb42a9291f97c49b9df2964 /ubuntu/iperf.yaml | |
parent | 274266f597e9a4f05f69fa8ae5e9aaecd1718ce1 (diff) |
iperf: Add iperf.yaml for both OE & Ubuntu
iperf.yaml is a multinode test job with a single yaml file. The roles in
the test job must be 'server' & 'client'.
Change-Id: I4ed29b59d946ad0186026fc2c4fb8f02574366a5
Diffstat (limited to 'ubuntu/iperf.yaml')
-rw-r--r-- | ubuntu/iperf.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ubuntu/iperf.yaml b/ubuntu/iperf.yaml new file mode 100644 index 0000000..cc8f65d --- /dev/null +++ b/ubuntu/iperf.yaml @@ -0,0 +1,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)' |