Skip to content

Commit 2a97221

Browse files
committed
fix(tests): ignore interrupt metrics from error list
In order to collect all error metrics we're checking for "err" in the key name, which causes performance tests to fail because we added metrics called "intERRupts". Add those to the `ignored_failure_metrics` variable. This is not ideal because the current interrupt metrics are not error metrics whatsoever, however this is the easiest way to circumvent the issue. Signed-off-by: Babis Chalios <[email protected]>
1 parent 2dab5e8 commit 2a97221

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/host_tools/fcmetrics.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ def flatten_dict(node, prefix: str):
474474
"fc_metrics.vsock.rx_read_fails",
475475
"fc_metrics.vsock.tx_write_fails",
476476
"fc_metrics.vsock.tx_flush_fails",
477+
# These are not really errors but we have the "err" in the key name and it causes checks for failures to trigger.
478+
"fc_metrics.interrupts.triggers",
479+
"fc_metrics.interrupts.config_updates",
477480
]
478481

479482
failure_metrics = {

0 commit comments

Comments
 (0)