Skip to content

Commit 28882a4

Browse files
committed
Update FIO parser to expected output
Newer versions of FIO changed the way results are displayed, causing the parser to complain that the results are invalid. The newer versions contain an extra value in the results line which can safely be ignored. Signed-Off-By: Robert Clark <roclark@nvidia.com>
1 parent ff3bc96 commit 28882a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bobber/lib/analysis/fio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def fio_iops_results(log_contents: str, systems: int, string_to_match: str,
155155
return []
156156
for result in match:
157157
iops = re.findall(r'[-+]?\d*\.\d+[kMG]|\d+[kMG]|\d+', result)
158-
if len(iops) != 5:
158+
if len(iops) != 6:
159159
raise ValueError('IOPS cannot be parsed from FIO log!')
160160
iops = clean_iops(iops[0])
161161
final_iops.append(iops)

0 commit comments

Comments
 (0)