From 8d533ecdd67a82f41457432e2d74c69c67d74157 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Fri, 29 Nov 2024 04:53:12 -0500 Subject: [PATCH] [6.16.z] better logging of fam failures (#17001) better logging of fam failures (#16967) (cherry picked from commit 04976cc6524e7f6c668445146408c8da1f69c085) Co-authored-by: Evgeni Golov --- tests/foreman/sys/test_fam.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/foreman/sys/test_fam.py b/tests/foreman/sys/test_fam.py index 224d66a05b..078802d107 100644 --- a/tests/foreman/sys/test_fam.py +++ b/tests/foreman/sys/test_fam.py @@ -194,5 +194,4 @@ def test_positive_run_modules_and_roles(module_target_sat, setup_fam, ansible_mo result = module_target_sat.execute( f'NO_COLOR=1 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 make --directory {FAM_ROOT_DIR} livetest_{ansible_module} PYTHON_COMMAND="python3" PYTEST_COMMAND="pytest-3.11"' ) - assert 'PASSED' in result.stdout - assert result.status == 0 + assert result.status == 0, f"{result.status=}\n{result.stdout=}\n{result.stderr=}"