From ed3a0d5a1baf717d29282f0a045d4c881627de7d Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 21 Jul 2023 12:06:47 -0300 Subject: [PATCH] ci: Increase verbosity for Ansible playbook runs Some test failures requires more information than just the playbook simple output. By increasing verbosity, the used parameters and the failed line will be visible in the test error report, making it easier to identify, reproduce and fix the issue. --- tests/azure/templates/galaxy_pytest_script.yml | 1 + tests/azure/templates/galaxy_script.yml | 1 + tests/azure/templates/playbook_fast.yml | 1 + tests/azure/templates/playbook_tests.yml | 1 + tests/azure/templates/pytest_tests.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/tests/azure/templates/galaxy_pytest_script.yml b/tests/azure/templates/galaxy_pytest_script.yml index cbf6df48fa..3b16416961 100644 --- a/tests/azure/templates/galaxy_pytest_script.yml +++ b/tests/azure/templates/galaxy_pytest_script.yml @@ -56,6 +56,7 @@ jobs: env: IPA_SERVER_HOST: ${{ parameters.scenario }} RUN_TESTS_IN_DOCKER: true + IPA_VERBOSITY: "-vvv" - task: PublishTestResults@2 inputs: diff --git a/tests/azure/templates/galaxy_script.yml b/tests/azure/templates/galaxy_script.yml index ca6af4de2f..cd95c65815 100644 --- a/tests/azure/templates/galaxy_script.yml +++ b/tests/azure/templates/galaxy_script.yml @@ -76,6 +76,7 @@ jobs: IPA_DISABLED_TESTS: ${{ variables.ipa_disabled_tests }} IPA_ENABLED_MODULES: ${{ variables.ipa_enabled_modules }} IPA_ENABLED_TESTS: ${{ variables.ipa_enabled_tests }} + IPA_VERBOSITY: "-vvv" - task: PublishTestResults@2 inputs: diff --git a/tests/azure/templates/playbook_fast.yml b/tests/azure/templates/playbook_fast.yml index 3a26df2a48..ce187a3ccb 100644 --- a/tests/azure/templates/playbook_fast.yml +++ b/tests/azure/templates/playbook_fast.yml @@ -82,6 +82,7 @@ jobs: RUN_TESTS_IN_DOCKER: true IPA_DISABLED_MODULES: ${{ variables.ipa_disabled_modules }} IPA_DISABLED_TESTS: ${{ variables.ipa_disabled_tests }} + IPA_VERBOSITY: "-vvv" - task: PublishTestResults@2 inputs: diff --git a/tests/azure/templates/playbook_tests.yml b/tests/azure/templates/playbook_tests.yml index 2a7ea8af96..ce3200026b 100644 --- a/tests/azure/templates/playbook_tests.yml +++ b/tests/azure/templates/playbook_tests.yml @@ -78,6 +78,7 @@ jobs: IPA_DISABLED_TESTS: ${{ variables.ipa_disabled_tests }} IPA_ENABLED_MODULES: ${{ variables.ipa_enabled_modules }} IPA_ENABLED_TESTS: ${{ variables.ipa_enabled_tests }} + IPA_VERBOSITY: "-vvv" - task: PublishTestResults@2 inputs: diff --git a/tests/azure/templates/pytest_tests.yml b/tests/azure/templates/pytest_tests.yml index 1159e05683..a7b12110e5 100644 --- a/tests/azure/templates/pytest_tests.yml +++ b/tests/azure/templates/pytest_tests.yml @@ -66,6 +66,7 @@ jobs: IPA_DISABLED_TESTS: ${{ variables.ipa_disabled_tests }} IPA_ENABLED_MODULES: ${{ variables.ipa_enabled_modules }} IPA_ENABLED_TESTS: ${{ variables.ipa_enabled_tests }} + IPA_VERBOSITY: "-vvv" - task: PublishTestResults@2 inputs: