From 8213d4e5b0c77700820f38adecef267401344d03 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 2 Dec 2025 16:32:48 -0500 Subject: [PATCH] qa/tasks: disable ulmits+coverage wrapper scripts for smb workunit Signed-off-by: John Mulligan --- qa/tasks/smb.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/qa/tasks/smb.py b/qa/tasks/smb.py index 78b4f21b744f..adc64d05ec19 100644 --- a/qa/tasks/smb.py +++ b/qa/tasks/smb.py @@ -360,6 +360,18 @@ def workunit(ctx, config): _config['clients'] = clients _config['env'] = env + # annoyingly the stock workunit helper script command uses a tool (from the + # ceph/teuthology repo) called adjust-ulimits *and* a tool (from packages) + # called ceph-coverage. They're glued together under the + # no_coverage_and_limits option that defaults to false for the stock + # workunit task. Since, for SMB on Ceph, we are using containers and NOT + # using packages the latter tool is not available even if we invoke other + # teuthology tasks that installs adjust-ulimits. Just skip the whole thing + # for now and we can set ulimits via pytest if we really want to set + # ulimits. Allow the yaml to override our default, however unlikely. + _config['no_coverage_and_limits'] = config.get( + 'no_coverage_and_limits', True + ) log.info('Passing workunit config: %r', _config) with write_metadata_file(ctx, _config): return workunit.task(ctx, _config) -- 2.47.3