From f69e8ff029be38dc600f8efd61a53e463fb18096 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Thu, 30 Jan 2025 02:09:03 +0000 Subject: [PATCH] ci: limit tests to verify and add debug print This is a debug patch to see why 100% read verify tests are failing on Windows. Signed-off-by: Vincent Fu --- ci/actions-full-test.sh | 2 +- t/run-fio-tests.py | 2 +- t/verify.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/actions-full-test.sh b/ci/actions-full-test.sh index 23bdd21982..2b6a24e986 100755 --- a/ci/actions-full-test.sh +++ b/ci/actions-full-test.sh @@ -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 } diff --git a/t/run-fio-tests.py b/t/run-fio-tests.py index b372144f64..f07467358e 100755 --- a/t/run-fio-tests.py +++ b/t/run-fio-tests.py @@ -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': [], }, diff --git a/t/verify.py b/t/verify.py index 771fe33214..91f4abfff2 100755 --- a/t/verify.py +++ b/t/verify.py @@ -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']