From c15e1284ba690c7ccf4277f6c23612a3585d4b37 Mon Sep 17 00:00:00 2001 From: Nitin Garg Date: Tue, 6 Aug 2024 04:58:39 +0000 Subject: [PATCH] fix errors in script runtimes --- .../scripts/testing_on_gke/examples/dlio/parse_logs.py | 2 +- perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/perfmetrics/scripts/testing_on_gke/examples/dlio/parse_logs.py b/perfmetrics/scripts/testing_on_gke/examples/dlio/parse_logs.py index debbf0c389..ff3f2d00ff 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/dlio/parse_logs.py +++ b/perfmetrics/scripts/testing_on_gke/examples/dlio/parse_logs.py @@ -77,7 +77,7 @@ def downloadDlioOutputs(dlioWorkloads): ) parser.add_argument( "--workload-config", - description=( + help=( "A json configuration file to define workloads that were run to" " generate the outputs that should be parsed." ), diff --git a/perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py b/perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py index 9bf207c3b3..20c3ee1a7b 100644 --- a/perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py +++ b/perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py @@ -16,9 +16,9 @@ # limitations under the License. import argparse -from collections.abc import Sequence import json, os, pprint, subprocess import sys +import fio_workload sys.path.append("../") from utils.utils import get_memory, get_cpu, unix_to_timestamp, is_mash_installed @@ -84,7 +84,7 @@ def downloadFioOutputs(fioWorkloads): ) parser.add_argument( "--workload-config", - description=( + help=( "A json configuration file to define workloads that were run to" " generate the outputs that should be parsed." ),