Skip to content

Commit

Permalink
ci: limit tests to verify and add debug print
Browse files Browse the repository at this point in the history
This is a debug patch to see why 100% read verify tests are failing on
Windows.

Signed-off-by: Vincent Fu <[email protected]>
  • Loading branch information
vincentkfu committed Jan 30, 2025
1 parent 7adedb0 commit f69e8ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/actions-full-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ main() {
fi

echo python3 t/run-fio-tests.py --skip "${skip[@]}" "${args[@]}"
python3 t/run-fio-tests.py --skip "${skip[@]}" "${args[@]}"
python3 t/run-fio-tests.py --skip "${skip[@]}" "${args[@]}" --run-only 1017
make -C doc html
}

Expand Down
2 changes: 1 addition & 1 deletion t/run-fio-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ def check_result(self):
'test_id': 1017,
'test_class': FioExeTest,
'exe': 't/verify.py',
'parameters': ['-f', '{fio_path}'],
'parameters': ['-f', '{fio_path}', '--debug'],
'success': SUCCESS_DEFAULT,
'requirements': [],
},
Expand Down
1 change: 1 addition & 0 deletions t/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def verify_test(test_env, args, ddir, csum):
directory = os.path.join(test_env['artifact_root'].replace(f'ddir_{ddir}','ddir_write'),
f"{test['test_id']:04d}")
test['fio_opts']['directory'] = str(Path(directory).absolute())
logging.debug("directory: %s, full path: %s\n", directory, test['fio_opts']['directory'])
else:
if 'directory' in test['fio_opts']:
del test['fio_opts']['directory']
Expand Down

0 comments on commit f69e8ff

Please sign in to comment.