Skip to content

Commit 0f5b179

Browse files
authored
Merge branch 'main' into bchalios_readv_mrg_buf
2 parents eeff084 + 7fc9270 commit 0f5b179

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/host_tools/fcmetrics.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,19 @@ def flatten_dict(node, prefix: str):
466466

467467
metrics.flush()
468468

469+
ignored_failure_metrics = [
470+
# We trigger these spuriously in vsock tests due to iperf-vsock not implementing connection shutdown
471+
# See also https://github.com/stefano-garzarella/iperf-vsock/issues/4
472+
"fc_metrics.vsock.rx_read_fails",
473+
"fc_metrics.vsock.tx_write_fails",
474+
]
475+
469476
failure_metrics = {
470477
key: value
471478
for key, value in flattened_metrics.items()
472479
if "err" in key or "fail" in key or "panic" in key or "num_faults" in key
473480
if value
481+
if key not in ignored_failure_metrics
474482
}
475483
assert not failure_metrics, json.dumps(failure_metrics, indent=1)
476484

0 commit comments

Comments
 (0)