mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +00:00
Merge pull request #7577 from GabyCT/topic/enableiperfm
metrics: Enable iperf benchmark on gha for kata metrics
This commit is contained in:
commit
3e3a91fd2c
@ -110,3 +110,16 @@ checktype = "mean"
|
|||||||
midval = 38656.0
|
midval = 38656.0
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
maxpercent = 20.0
|
maxpercent = 20.0
|
||||||
|
|
||||||
|
[[metric]]
|
||||||
|
name = "network-iperf3"
|
||||||
|
type = "json"
|
||||||
|
description = "iperf"
|
||||||
|
# Min and Max values to set a 'range' that
|
||||||
|
# the median of the CSV Results data must fall
|
||||||
|
# within (inclusive)
|
||||||
|
checkvar = ".\"network-iperf3\".Results | .[] | .jitter.Result"
|
||||||
|
checktype = "mean"
|
||||||
|
midval = 0.044
|
||||||
|
minpercent = 30.0
|
||||||
|
maxpercent = 30.0
|
||||||
|
@ -110,3 +110,16 @@ checktype = "mean"
|
|||||||
midval = 37120.0
|
midval = 37120.0
|
||||||
minpercent = 20.0
|
minpercent = 20.0
|
||||||
maxpercent = 20.0
|
maxpercent = 20.0
|
||||||
|
|
||||||
|
[[metric]]
|
||||||
|
name = "network-iperf3"
|
||||||
|
type = "json"
|
||||||
|
description = "iperf"
|
||||||
|
# Min and Max values to set a 'range' that
|
||||||
|
# the median of the CSV Results data must fall
|
||||||
|
# within (inclusive)
|
||||||
|
checkvar = ".\"network-iperf3\".Results | .[] | .jitter.Result"
|
||||||
|
checktype = "mean"
|
||||||
|
midval = 0.041
|
||||||
|
minpercent = 30.0
|
||||||
|
maxpercent = 30.0
|
||||||
|
@ -87,16 +87,14 @@ function run_test_fio() {
|
|||||||
info "Running FIO test using ${KATA_HYPERVISOR} hypervisor"
|
info "Running FIO test using ${KATA_HYPERVISOR} hypervisor"
|
||||||
|
|
||||||
bash tests/metrics/storage/fio-k8s/fio-test-ci.sh
|
bash tests/metrics/storage/fio-k8s/fio-test-ci.sh
|
||||||
|
|
||||||
check_metrics
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_test_iperf() {
|
function run_test_iperf() {
|
||||||
info "Running Iperf test using ${KATA_HYPERVISOR} hypervisor"
|
info "Running Iperf test using ${KATA_HYPERVISOR} hypervisor"
|
||||||
# ToDo: remove the exit once the metrics workflow is stable
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
bash network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh
|
bash tests/metrics/network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh -a
|
||||||
|
|
||||||
|
check_metrics
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
@ -177,6 +177,8 @@ function iperf3_start_deployment() {
|
|||||||
cmds=("bc" "jq")
|
cmds=("bc" "jq")
|
||||||
check_cmds "${cmds[@]}"
|
check_cmds "${cmds[@]}"
|
||||||
|
|
||||||
|
init_env
|
||||||
|
|
||||||
# Check no processes are left behind
|
# Check no processes are left behind
|
||||||
check_processes
|
check_processes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user