Download html report
Adding:
* download html report
* in case if download fail add skip failure
Change-Id: I8b26406fb111070249ef24090f8ab1e00167640b
Reviewed-on: https://review.gerrithub.io/371551
Reviewed-by: Tatyanka Leontovich <tleontovich@mirantis.com>
Tested-by: Tatyanka Leontovich <tleontovich@mirantis.com>
diff --git a/tcp_tests/templates/virtual-mcp-ocata-ovs/openstack.yaml b/tcp_tests/templates/virtual-mcp-ocata-ovs/openstack.yaml
index 4282bdd..e182601 100644
--- a/tcp_tests/templates/virtual-mcp-ocata-ovs/openstack.yaml
+++ b/tcp_tests/templates/virtual-mcp-ocata-ovs/openstack.yaml
@@ -80,9 +80,9 @@
- description: Check nova service-list
cmd: salt --hard-crash --state-output=mixed --state-verbose=False
- -C 'I@keystone:server' cmd.run '. /root/keystonerc; nova service-list'
+ -C 'I@keystone:server' cmd.run '. /root/keystonerc; nova --debug service-list'
node_name: {{ HOSTNAME_CFG01 }}
- retry: {count: 1, delay: 5}
+ retry: {count: 3, delay: 5}
skip_fail: false
@@ -385,10 +385,18 @@
retry: {count: 1, delay: 5}
skip_fail: false
-- description: Download results
+- description: Download xml results
download:
remote_path: /root
remote_filename: "report_*.xml"
local_path: {{ os_env('PWD') }}
node_name: {{ HOSTNAME_GTW01 }}
- skip_fail: false
+ skip_fail: true
+
+- description: Download html results
+ download:
+ remote_path: /root
+ remote_filename: "report_*.html"
+ local_path: {{ os_env('PWD') }}
+ node_name: {{ HOSTNAME_GTW01 }}
+ skip_fail: true