2 Commits

Author SHA1 Message Date
Slawek Kaplonski
4eaa526c5a [Functional] Prepare test logs archive only if logs are available
Recent change [1] moved all functional and fullstack tests to be
uploaded in single archive to Swift.
Sometimes, like e.g. in case of the networking-bgpvpn functional
tests, there is no logs directory at all so ansible tasks to prepare
tar.gz archive shouldn't be created at all.

[1] https://review.opendev.org/c/openstack/neutron/+/855868

Change-Id: I50cb1187ef772b6411fe91d6d74aba04a2d3e936
2022-09-14 14:32:34 +00:00
Slawek Kaplonski
92dbc66135 Add new role "prepare_functional_tests_logs"
This new role will prepare archive with the logs from all
functional/fullstack tests. It will be more efficient to upload one
archive to swift after tests are done instead of uploading to Swift
many small files with logs from each test.

Change-Id: I4bb614778893caa7fb3519412a87196086420a21
2022-09-09 08:28:35 +00:00