File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments