You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.run test case fio_fb.py with config fio_fb_perf.json
2.when run to step random precondition, got assert : random precondition timed out. Failed to complete within 1800 seconds on x.x.x.x
3.in ocp-diag-autoval-ssd/src/autoval_ssd/lib/utils/fio_runner.py def create_fio_job, will set fio timeout:
if key == "RUNTIME":
self.fio_timeout = DiskUtils.get_seconds(value) + 600
and fio_fb_perf.json set random pattern run time to "RUNTIME": "1200s", this worked for patten test, but seq/random precondition used this fio timeout value too, if seq/random 1 loops used more than 1200+600=1800s, case will failed, need enhancement it.
for _cycle in range(1, precondition_loops + 1):
job = self.create_fio_job(
drives=drives,
replace={},
templ_filename=precondition_template,
)
AutovalLog.log_info("Starting preconditioning cycle %s on DUT" % _cycle)
self.fio_timeout = 86400
AutovalLog.log_info(f"For preconditioning {precondition_template} timeout is {self.fio_timeout}")
result, output_file = self.run_fio_on_dut(
job=job,
remote=remote,
timeout=self.fio_timeout, **#need revert fio timeout to a long time or set to None**
opts=fio_opts,
)
1.run test case fio_fb.py with config fio_fb_perf.json
2.when run to step random precondition, got assert : random precondition timed out. Failed to complete within 1800 seconds on x.x.x.x
3.in ocp-diag-autoval-ssd/src/autoval_ssd/lib/utils/fio_runner.py def create_fio_job, will set fio timeout:
if key == "RUNTIME":
self.fio_timeout = DiskUtils.get_seconds(value) + 600
and fio_fb_perf.json set random pattern run time to "RUNTIME": "1200s", this worked for patten test, but seq/random precondition used this fio timeout value too, if seq/random 1 loops used more than 1200+600=1800s, case will failed, need enhancement it.
log:
output.log
The text was updated successfully, but these errors were encountered: