We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eeff084 + 7fc9270 commit 0f5b179Copy full SHA for 0f5b179
tests/host_tools/fcmetrics.py
@@ -466,11 +466,19 @@ def flatten_dict(node, prefix: str):
466
467
metrics.flush()
468
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
+
476
failure_metrics = {
477
key: value
478
for key, value in flattened_metrics.items()
479
if "err" in key or "fail" in key or "panic" in key or "num_faults" in key
480
if value
481
+ if key not in ignored_failure_metrics
482
}
483
assert not failure_metrics, json.dumps(failure_metrics, indent=1)
484
0 commit comments