ceph/qa/tasks/cephfs
Leonid Usov 274849e544 qa/tasks: vstart_runner: introduce --config-mode
The new mode of the vstart_runner allows for passing
paths to yaml configs that will be merged and then
run just as the teuthology would do it.
Building on the standard run method we can even
pass "-" as the config name and provide one on the stdin like

    python3 ../qa/tasks/vstart_runner.py --config-mode "-" << END
    tasks:
      - quiescer:
          quiesce_factor: 0.5
          min_quiesce: 10
          max_quiesce: 10
          initial_delay: 5
          cancelations_cap: 2
          paths:
            - a
            - b
            - c
      - waiter:
          on_exit: 100
    END

This commit does the minimum to allow testing of the quiescer,
but it also lays the groundwork for running arbitrary configs.

The cornerstone of the approach is to inject our local implementations
of the main fs suite classes. To be able to do that, some minor
refactoring was required in the corresponding modules:
the standard classes were renamed to have a *Base suffix, and the
former class name without the suffix is made a module level variable
initialized with the *Base implementation. This refactoring
is meant to be backward compatible.

Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
2024-04-25 21:15:05 +03:00
..
admin qa/cephfs: allow finer control on test runs 2023-11-03 15:25:54 +05:30
__init__.py
caps_helper.py Merge pull request #55320 from rishabh-d-dave/mdscaps-update-issues 2024-04-12 18:26:21 +05:30
cephfs_test_case.py qa: use kwarg for rank parameter 2024-03-20 10:56:58 -04:00
filesystem.py qa/tasks: vstart_runner: introduce --config-mode 2024-04-25 21:15:05 +03:00
fuse_mount.py qa/tasks: vstart_runner: introduce --config-mode 2024-04-25 21:15:05 +03:00
kernel_mount.py qa/tasks: vstart_runner: introduce --config-mode 2024-04-25 21:15:05 +03:00
mount.py qa/tasks: vstart_runner: introduce --config-mode 2024-04-25 21:15:05 +03:00
test_acls.py qa/cephfs: upgrade xfstests_dev.py for FUSE mounts 2023-02-25 16:03:45 +05:30
test_admin.py Merge pull request #55320 from rishabh-d-dave/mdscaps-update-issues 2024-04-12 18:26:21 +05:30
test_auto_repair.py
test_backtrace.py
test_cap_flush.py
test_cephfs_shell.py qa: correcting the output in the comments as per new structure 2024-02-28 14:38:35 +05:30
test_client_limits.py qa: typo fix when checking for perf counter - s/md_thresh_evicted/mdthresh_evicted 2023-10-09 14:59:18 +05:30
test_client_recovery.py qa: remove unnecessary background job cleanup 2024-04-03 09:08:53 -04:00
test_damage.py qa: use kwarg for rank parameter 2024-03-20 10:56:58 -04:00
test_data_scan.py Merge pull request #56153 from kotreshhr/qa-data-scan 2024-04-04 17:02:22 +05:30
test_dump_tree.py
test_exports.py qa: add numerous subtree test 2023-08-01 11:16:01 -04:00
test_failover.py Merge pull request #51942 from trociny/wip-61599 2023-09-06 20:26:33 +05:30
test_flush.py
test_forward_scrub.py qa: use kwarg for rank parameter 2024-03-20 10:56:58 -04:00
test_fragment.py qa/cephfs: when cmd output is not needed call run_ceph_cmd() 2023-06-28 17:38:19 +05:30
test_fscrypt.py qa: remove the FuseMount/KernelMount check in test_fscrypt.py 2023-03-29 15:04:23 +08:00
test_fstop.py qa: fix cephfs-top tests for the new fields 2023-09-12 17:35:30 +05:30
test_full.py qa/cephfs: when cmd output is not needed call run_ceph_cmd() 2023-06-28 17:38:19 +05:30
test_journal_migration.py
test_journal_repair.py qa/cephfs: when cmd output is not needed call run_ceph_cmd() 2023-06-28 17:38:19 +05:30
test_mantle.py qa/cephfs: add and use get_ceph_cmd_stdout() 2023-06-28 17:38:19 +05:30
test_mds_metrics.py qa/cephfs: when cmd output is not needed call run_ceph_cmd() 2023-06-28 17:38:19 +05:30
test_meta_injection.py
test_mirroring.py Merge PR #55837 into main 2024-03-14 16:52:09 +05:30
test_misc.py Merge PR #56638 into main 2024-04-22 15:05:40 -04:00
test_multifs_auth.py qa: remove error string checks and check w/ return value 2024-01-30 10:24:59 +05:30
test_multimds_misc.py qa: use kwarg for rank parameter 2024-03-20 10:56:58 -04:00
test_newops.py qa: remove the FuseMount/KernelMount check in test_newops.py 2023-03-29 09:07:58 +08:00
test_nfs.py qa: test cases to make sure invalid paths don't get updated 2024-01-30 19:06:22 +05:30
test_openfiletable.py qa: remove unnecessary background job cleanup 2024-04-03 09:08:53 -04:00
test_pool_perm.py qa/cephfs: add and use get_ceph_cmd_result() 2023-06-28 17:38:14 +05:30
test_quiesce.py qa: update quiesce tests to expect ipolicy lock 2024-04-19 19:32:27 -04:00
test_quota.py qa: added three testcases 2023-02-23 16:50:06 +05:30
test_readahead.py
test_recovery_fs.py qa/cephfs: when cmd output is not needed call run_ceph_cmd() 2023-06-28 17:38:19 +05:30
test_recovery_pool.py qa/cephfs: when cmd output is not needed call run_ceph_cmd() 2023-06-28 17:38:19 +05:30
test_scrub_checks.py Merge PR #53564 into main 2024-04-12 10:45:56 +05:30
test_scrub.py qa: add test_mdsdir_scrub_backtrace 2022-11-22 12:13:08 +05:30
test_sessionmap.py qa/cephfs: add and use get_ceph_cmd_stdout() 2023-06-28 17:38:19 +05:30
test_snap_schedules.py qa: add test cases for testing --subvol and --group arguments 2024-01-06 08:58:36 +05:30
test_snapshots.py Merge pull request #54335 from batrick/i63432 2024-04-08 11:49:37 +05:30
test_strays.py qa: remove unnecessary background job cleanup 2024-04-03 09:08:53 -04:00
test_subvolume.py
test_volumes.py qa: disable snapshot_clone_no_wait for some tests 2024-02-20 22:21:14 +05:30
tests_from_xfstests_dev.py qa/cephfs: run all generic tests from xfstests-dev 2023-03-13 11:49:48 +05:30
xfstests_dev.py qa/cephfs: update dependencies for xfstests-dev 2023-10-26 16:07:58 +05:30