Append the tempest run command output in file

In CI, when we run full tempest api and scenario tests, it takes
time and in most of the time at Execute tempest tasks hits
Timeout and no ara report got generated. So we have no idea
what tests ate the time.

Logging the tempest result in a file will give more info
on what happened with the tests.

Change-Id: Ibba761551e6bc14c127d9461de2a72e9f0fcb715
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah) 2019-10-15 17:01:02 +05:30
parent e1cecea5f0
commit 0c49b5c308
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
{% if tempest_test_blacklist | length > 0 %}
--blacklist-file {{ tempest_test_blacklist_file_path }} \
{% endif %}
--whitelist-file {{ tempest_test_whitelist_file_path }}
--whitelist-file {{ tempest_test_whitelist_file_path }} > {{ tempest_log_dir }}/tempest_run.log
args:
chdir: "{{ tempest_workspace }}"
executable: /bin/bash