Comment 2 for bug 1837031

Revision history for this message
Jerry Kao (jerry.kao) wrote :

An existing job is available

https://git.launchpad.net/plainbox-provider-checkbox/tree/units/ethernet/jobs.pxu#n62

unit: template
template-resource: device
template-filter: device.category == 'NETWORK'
plugin: shell
category_id: com.canonical.plainbox::ethernet
id: ethernet/multi_nic_device{__index__}_{interface}
_summary: Multi-NIC Iperf stress testing for NIC {interface}
estimated_duration: 7400.0
requires:
 package.name == 'iperf' or executable.name == 'iperf'
 package.name == 'ethtool' or executable.name == 'ethtool'
 package.name == 'nmap' or executable.name == 'nmap'
user: root
environ: TEST_TARGET_IPERF
command: network test -i {interface} -t iperf --scan-timeout 3600 --fail-threshold 80 --runtime 900 --num_runs 4
_description:
 This test uses iperf to ensure network devices pass data at an acceptable
 minimum percentage of advertized speed.