diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2021-09-24 11:20:51 -0400 |
---|---|---|
committer | Jeff Lane <jeffrey.lane@canonical.com> | 2021-10-18 16:54:14 -0400 |
commit | 97c6dc3e15dabd5b9ebd9bc7f457d8b3547550b5 (patch) | |
tree | 4bc825e8395fdbbed268451e19e4a3f31e30f06c /units/ethernet | |
parent | 5d9b74b71d0e883bce1b1300e580f79ada78a7e7 (diff) |
ADD: Reintroduce ethernet tests for server regression testing lp: #1944989
Diffstat (limited to 'units/ethernet')
-rw-r--r-- | units/ethernet/jobs.pxu | 20 | ||||
-rw-r--r-- | units/ethernet/test-plan.pxu | 14 |
2 files changed, 34 insertions, 0 deletions
diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 64a0578..89565bf 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -97,6 +97,26 @@ template-resource: device template-filter: device.category == 'NETWORK' and device.interface != 'UNKNOWN' plugin: shell category_id: com.canonical.plainbox::ethernet +id: ethernet/multi_iperf3_nic_device_server_sru{__index__}_{interface} +_summary: Multi-NIC Iperf3 SRU testing for NIC {interface} +estimated_duration: 1200.0 +requires: + executable.name == 'iperf3' + executable.name == 'ethtool' + executable.name == 'nmap' +user: root +environ: TEST_TARGET_IPERF +command: network.py test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 1200 +_description: + This is a shorter SRU version of the standard iperf3 based network test for + servers. It is intended to ONLY be used for SRU and is not valid for offical + certification. + +unit: template +template-resource: device +template-filter: device.category == 'NETWORK' and device.interface != 'UNKNOWN' +plugin: shell +category_id: com.canonical.plainbox::ethernet id: ethernet/multi_iperf3_nic_underspeed_device{__index__}_{interface} _summary: Underspeed Enabled Multi-NIC Iperf3 stress testing for NIC {interface} estimated_duration: 7400.0 diff --git a/units/ethernet/test-plan.pxu b/units/ethernet/test-plan.pxu index 8f4fac6..33c95b4 100644 --- a/units/ethernet/test-plan.pxu +++ b/units/ethernet/test-plan.pxu @@ -107,6 +107,20 @@ bootstrap_include: device executable +id: server-ethernet-sru +unit: test plan +_name: Server Ethernet SRU Tests +_description: Automated ethernet tests for server regression testing +estimated_duration: 4h +include: + ethernet/info_automated_server + ethernet/ethtool_info + ethernet/ethertool_check_.* + ethernet/multi_iperf3_nic_device_server_sru.* +bootstrap_include: + device + executable + id: server-ethernet-underspeed unit: test plan _name: Server Ethernet Tests (Speed Check Disabled) |