diff options
author | PMR <pmr@pmr-lander> | 2019-04-19 01:36:58 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2019-04-19 01:36:58 +0000 |
commit | f7bca7ad57487d9d376329876562d32a44a17a94 (patch) | |
tree | 877ec5c23a4ed276de714d0b65aa4f01f040b75d | |
parent | 21958332fcb1e37c1f0b0eaf418275e626271af3 (diff) | |
parent | c3c09852f5bcc92307a91c3b370a01b07229793b (diff) |
Merge #366223 from ~bladernr/plainbox-provider-checkbox:1723460-enable-underspeed-network-test
-rw-r--r-- | units/ethernet/jobs.pxu | 19 | ||||
-rw-r--r-- | units/ethernet/test-plan.pxu | 24 |
2 files changed, 43 insertions, 0 deletions
diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 15625a5c..b5f068a8 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -84,6 +84,25 @@ 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 +requires: + package.name == 'iperf3' or executable.name == 'iperf3' + 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 --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 900 --num_runs 4 --underspeed-ok +_description: + This is the standard Multi-NIC Iperf3 test with the speed check disabled + for retesting systems that are incorrectly reporting supported speeds. + +unit: template +template-resource: device +template-filter: device.category == 'NETWORK' and device.interface != 'UNKNOWN' +plugin: shell +category_id: com.canonical.plainbox::ethernet id: ethernet/ethertool_check_device{__index__}_{interface} _summary: ethtool check for NIC {interface} estimated_duration: 330.0 diff --git a/units/ethernet/test-plan.pxu b/units/ethernet/test-plan.pxu index 6a6af73b..ec2310f6 100644 --- a/units/ethernet/test-plan.pxu +++ b/units/ethernet/test-plan.pxu @@ -55,3 +55,27 @@ include: after-suspend-ethernet/ping_.* bootstrap_include: device + +id: server-ethernet +unit: test plan +_name: Server Ethernet Tests +_description: Automated ethernet tests for server certification +estimated_duration: 4h +include: + ethernet/detect + ethernet/info_automated + ethernet/ethtool_info + ethernet/ethertool_check_.* + ethernet/multi_iperf3_nic_device.* + +id: server-ethernet-underspeed +unit: test plan +_name: Server Ethernet Tests (Speed Check Disabled) +_description: Automated ethernet tests for server certification without speed check +estimated_duration: 4h +include: + ethernet/detect + ethernet/info_automated + ethernet/ethtool_info + ethernet/ethertool_check_.* + ethernet/multi_iperf3_nic_underspeed_device.* |