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.
1 parent ec49b70 commit c3f894bCopy full SHA for c3f894b
python/perftest/models/v1alpha1/fio.py
@@ -281,7 +281,12 @@ def summarise(self):
281
except:
282
raise PodLogFormatError("pod log is not of the expected format")
283
284
- aggregate_data = [i for i in fio_json['client_stats'] if i['jobname'] == 'All clients'][0]
+ if len(fio_json['client_stats']) == 1:
285
+ # Single worker, single process doesn't have an
286
+ # 'All clients' log section
287
+ aggregate_data = fio_json['client_stats'][0]
288
+ else:
289
+ aggregate_data = [i for i in fio_json['client_stats'] if i['jobname'] == 'All clients'][0]
290
291
self.status.result = FioResult(
292
read_bw = aggregate_data['read']['bw'],
0 commit comments