From 047c6b368a1c2a12af60c7b343c395609b17a655 Mon Sep 17 00:00:00 2001 From: Gael Chamoulaud Date: Sun, 4 Aug 2019 15:12:19 +0200 Subject: [PATCH] Fix molecule reports.html logs capture This patch removes pytest argument "-s" which is actually the shortcut for --capture=no. Change-Id: Iab0933f4ba64cc69dc298c48d1a8aa859067903d Signed-off-by: Gael Chamoulaud --- zuul.d/base.yaml | 2 ++ zuul.d/playbooks/run.yml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/zuul.d/base.yaml b/zuul.d/base.yaml index 64dd840d8..8be3b8805 100644 --- a/zuul.d/base.yaml +++ b/zuul.d/base.yaml @@ -4,6 +4,8 @@ name: tripleo-ansible-centos-7-base nodeset: centos-7 parent: base + success-url: "reports.html" + failure-url: "reports.html" pre-run: - tripleo_ansible/playbooks/prepare-test-host.yml - zuul.d/playbooks/pre.yml diff --git a/zuul.d/playbooks/run.yml b/zuul.d/playbooks/run.yml index 7ef78bd64..d8dfd3956 100644 --- a/zuul.d/playbooks/run.yml +++ b/zuul.d/playbooks/run.yml @@ -23,7 +23,6 @@ pytest --color=no \ --html={{ ansible_user_dir }}/zuul-output/logs/reports.html \ --self-contained-html \ - -s \ --ansible-args='{{ tripleo_job_ansible_args | default("-v") }}' \ {{ tripleo_ansible_project_path }}/tests/test_molecule.py args: