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 /openembedded | |
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 'openembedded')
-rw-r--r-- | openembedded/iperf.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/openembedded/iperf.yaml b/openembedded/iperf.yaml new file mode 100644 index 0000000..ca17e1d --- /dev/null +++ b/openembedded/iperf.yaml @@ -0,0 +1,37 @@ +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: + - openembedded + scope: + - performance + devices: + - kvm + - arndale + - beaglebone-black + +install: + git-repos: + - https://github.com/esnet/iperf.git + steps: + - cd iperf + - ./configure --prefix=/usr + - make all install + - ln -s /usr/bin/iperf3 /usr/bin/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)' |