From: John Mulligan Date: Tue, 2 Dec 2025 21:32:48 +0000 (-0500) Subject: qa/tasks: disable ulmits+coverage wrapper scripts for smb workunit X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F66322%2Fhead;p=ceph.git qa/tasks: disable ulmits+coverage wrapper scripts for smb workunit Signed-off-by: John Mulligan --- 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)