]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks: disable ulmits+coverage wrapper scripts for smb workunit 66322/head
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Dec 2025 21:32:48 +0000 (16:32 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 9 Dec 2025 21:32:39 +0000 (16:32 -0500)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
qa/tasks/smb.py

index 78b4f21b744fca8ab38249aea272a46d065ca604..adc64d05ec1992de73ef044ee5b9c1091e61f760 100644 (file)
@@ -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)