From: Rishabh Dave Date: Tue, 10 Oct 2023 10:42:13 +0000 (+0530) Subject: qa: log stdout for commands being run through negtest_ceph_cmd X-Git-Tag: v19.0.0~123^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bd4cb58f7abca4fa20ec283f675f31d1ede14752;p=ceph.git qa: log stdout for commands being run through negtest_ceph_cmd Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/ceph_test_case.py b/qa/tasks/ceph_test_case.py index 8926e5c7e1a5..877f79d06a3b 100644 --- a/qa/tasks/ceph_test_case.py +++ b/qa/tasks/ceph_test_case.py @@ -105,6 +105,8 @@ class RunCephCmd: # execution is needed to not halt on command failure because we are # conducting negative testing kwargs['check_status'] = False + # log stdout since it may contain something useful when command fails + kwargs['stdout'] = StringIO() # stderr is needed to check for expected error messages. kwargs['stderr'] = StringIO()