From ca44b79993c98dcc4dfece6dd8820b55a26021e1 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Mon, 13 Jul 2020 13:33:37 +0200 Subject: bin:network -> network.py --- units/ethernet/jobs.pxu | 14 +++++++------- units/mobilebroadband/jobs.pxu | 4 ++-- units/suspend/suspend.pxu | 14 +++++++------- 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'units') diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 94dcda3..6b32382 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -68,7 +68,7 @@ requires: 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 +command: network.py 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. @@ -87,7 +87,7 @@ requires: 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 +command: network.py test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 900 --num_runs 4 _description: This test uses iperf3 to ensure network devices pass data at an acceptable minimum percentage of advertized speed. @@ -106,7 +106,7 @@ requires: 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 +command: network.py 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. @@ -154,7 +154,7 @@ requires: package.name == 'iperf' user: root environ: TEST_TARGET_IPERF -command: network test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'ethernet max bw {interface}' +command: network.py test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'ethernet max bw {interface}' _purpose: User verification of whether the observed transfer throughput is acceptable for the type and maximum speed of each ethernet interface. @@ -175,7 +175,7 @@ _summary: Stress and performance test of ethernet device {__index__} ({interface estimated_duration: 330.0 requires: package.name == 'ethtool' -command: network test -i {interface} -t stress +command: network.py test -i {interface} -t stress _description: Automated test that tests performance of ethernet device {__index__} ({interface}). @@ -415,7 +415,7 @@ user: root environ: TEST_TARGET_IPERF LD_LIBRARY_PATH -command: network test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 90 --num_runs 4 +command: network.py test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 80 --cpu-load-fail-threshold 90 --runtime 90 --num_runs 4 _description: This test uses iperf3 to ensure network devices pass data at an acceptable minimum percentage of advertized speed. @@ -433,7 +433,7 @@ user: root environ: TEST_TARGET_IPERF LD_LIBRARY_PATH -command: network test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 50 --cpu-load-fail-threshold 90 --runtime 90 --num_runs 4 --reverse +command: network.py test -i {interface} -t iperf --iperf3 --scan-timeout 3600 --fail-threshold 50 --cpu-load-fail-threshold 90 --runtime 90 --num_runs 4 --reverse _description: This test uses iperf3 to ensure network devices pass data at an acceptable minimum percentage of advertized speed (Reverse). diff --git a/units/mobilebroadband/jobs.pxu b/units/mobilebroadband/jobs.pxu index 544ab0f..c7a2ab5 100644 --- a/units/mobilebroadband/jobs.pxu +++ b/units/mobilebroadband/jobs.pxu @@ -70,7 +70,7 @@ requires: package.name == 'iperf' environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS user: root -command: network test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'mobile broadband max bw {interface}' +command: network.py test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'mobile broadband max bw {interface}' _purpose: User verification of whether the observed transfer throughput is acceptable for the type and maximum speed of device {__index__} ({interface}). @@ -94,7 +94,7 @@ requires: package.name == 'iperf' environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS user: root -command: network test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'mobile broadband max bw {interface}' +command: network.py test -i {interface} -t iperf 2>&1 | cat - <(echo; echo "Verify the result and click OK to decide on the outcome") | zenity --text-info --title 'mobile broadband max bw {interface}' _purpose: User verification of whether the observed transfer throughput is acceptable for the type and maximum speed of device {__index__} ({interface}). diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu index 6d8d96a..afb33d7 100644 --- a/units/suspend/suspend.pxu +++ b/units/suspend/suspend.pxu @@ -60,7 +60,7 @@ requires: package.name == 'iperf' user: root environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS -command: network test -i {interface} -t iperf +command: network.py test -i {interface} -t iperf _summary: Before suspend iperf test ethernet {interface} _description: This test executes iperf connection performance/stability against device {__index__} ({interface}) before suspend. @@ -75,7 +75,7 @@ environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: INTERFACE=`(nmcli -t -f GENERAL -m tabular dev list 2>/dev/null || nmcli -t -f GENERAL -m tabular dev show) |grep gsm |cut -d ":" -f 13` [ -z $INTERFACE ] && exit 1 - network test -i $INTERFACE -t iperf + network.py test -i $INTERFACE -t iperf _summary: Before suspend iperf test GSM mobilebroadband _description: This test executes iperf connection performance/stability against the broadband device found on the system before suspend. @@ -90,7 +90,7 @@ environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: INTERFACE=`(nmcli -t -f GENERAL -m tabular dev list 2>/dev/null || nmcli -t -f GENERAL -m tabular dev show) |grep cdma |cut -d ":" -f 13` [ -z $INTERFACE ] && exit 1 - network test -i $INTERFACE -t iperf + network.py test -i $INTERFACE -t iperf _summary: Before suspend iperf test CDMA mobilebroadband _description: This test executes iperf connection performance/stability against the broadband device found on the system before suspend. @@ -627,7 +627,7 @@ requires: package.name == 'iperf' user: root environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS -command: network test -i {interface} -t iperf +command: network.py test -i {interface} -t iperf _description: This test executes iperf connection performance/stability against device {__index__} ({interface}) after suspend. @@ -643,7 +643,7 @@ requires: package.name == 'iperf' user: root environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS -command: network test -i {interface} -t iperf +command: network.py test -i {interface} -t iperf _description: This test executes iperf connection performance/stability against device {__index__} ({interface}) after suspend. @@ -657,7 +657,7 @@ environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: INTERFACE=`(nmcli -t -f GENERAL -m tabular dev list 2>/dev/null || nmcli -t -f GENERAL -m tabular dev show) |grep gsm |cut -d ":" -f 13` [ -z $INTERFACE ] && exit 1 - network test -i $INTERFACE -t iperf + network.py test -i $INTERFACE -t iperf _description: This test executes iperf connection performance/stability against the broadband device found on the system after suspend. @@ -671,7 +671,7 @@ environ: TEST_TARGET_FTP TEST_TARGET_IPERF TEST_USER TEST_PASS command: INTERFACE=`(nmcli -t -f GENERAL -m tabular dev list 2>/dev/null || nmcli -t -f GENERAL -m tabular dev show) |grep cdma |cut -d ":" -f 13` [ -z $INTERFACE ] && exit 1 - network test -i $INTERFACE -t iperf + network.py test -i $INTERFACE -t iperf _description: This test executes iperf connection performance/stability against the broadband device found on the system after suspend. -- cgit v1.2.3