blob: ca17e1d210976cdcd8af176c8a77edb15a4c4057 (
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
|
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)'
|