mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-20 22:14:45 +01:00
Merge pull request #8068 from GabyCT/topic/limitlatency
metrics: Add latency value limits for kata CI
This commit is contained in:
@@ -98,6 +98,19 @@ midval = 98.0
|
||||
minpercent = 20.0
|
||||
maxpercent = 20.0
|
||||
|
||||
[[metric]]
|
||||
name = "latency"
|
||||
type = "json"
|
||||
description = "measure container latency"
|
||||
# Min and Max values to set a 'range' that
|
||||
# the median of the CSV Results data must fall
|
||||
# within (inclusive)
|
||||
checkvar = ".\"latency\".Results | .[] | .latency.Result"
|
||||
checktype = "mean"
|
||||
midval = 0.75
|
||||
minpercent = 20.0
|
||||
maxpercent = 20.0
|
||||
|
||||
[[metric]]
|
||||
name = "network-iperf3"
|
||||
type = "json"
|
||||
@@ -147,5 +160,5 @@ description = "iperf"
|
||||
checkvar = ".\"network-iperf3\".Results | .[] | .jitter.Result"
|
||||
checktype = "mean"
|
||||
midval = 0.044
|
||||
minpercent = 40.0
|
||||
maxpercent = 40.0
|
||||
minpercent = 50.0
|
||||
maxpercent = 50.0
|
||||
|
||||
@@ -98,6 +98,19 @@ midval = 98.0
|
||||
minpercent = 20.0
|
||||
maxpercent = 20.0
|
||||
|
||||
[[metric]]
|
||||
name = "latency"
|
||||
type = "json"
|
||||
description = "measure container latency"
|
||||
# Min and Max values to set a 'range' that
|
||||
# the median of the CSV Results data must fall
|
||||
# within (inclusive)
|
||||
checkvar = ".\"latency\".Results | .[] | .latency.Result"
|
||||
checktype = "mean"
|
||||
midval = 0.70
|
||||
minpercent = 20.0
|
||||
maxpercent = 20.0
|
||||
|
||||
[[metric]]
|
||||
name = "network-iperf3"
|
||||
type = "json"
|
||||
@@ -147,5 +160,5 @@ description = "iperf"
|
||||
checkvar = ".\"network-iperf3\".Results | .[] | .jitter.Result"
|
||||
checktype = "mean"
|
||||
midval = 0.041
|
||||
minpercent = 40.0
|
||||
maxpercent = 40.0
|
||||
minpercent = 50.0
|
||||
maxpercent = 50.0
|
||||
|
||||
@@ -93,14 +93,14 @@ function run_test_iperf() {
|
||||
info "Running Iperf test using ${KATA_HYPERVISOR} hypervisor"
|
||||
|
||||
bash tests/metrics/network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh -a
|
||||
|
||||
check_metrics
|
||||
}
|
||||
|
||||
function run_test_latency() {
|
||||
info "Running Latency test using ${KATA_HYPERVISOR} hypervisor"
|
||||
|
||||
bash tests/metrics/network/latency_kubernetes/latency-network.sh
|
||||
|
||||
check_metrics
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
||||
Reference in New Issue
Block a user