From 01e07c1c56d8a40cff50b077b18157decca39a5c Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 24 May 2018 04:47:41 -0400 Subject: Archive all test case result files 1. All detailed tempest test cases results are recorded with file tempest-report.html rather than tempest.log now. 2. Archive all results files include functest.log, yardstick.log ... for each test case. Otherwise, they will all be in one log file. 3. Support to set the source files and dest files need to be archived with the test case config files rather than hardcode with the source code. 4. Give the file which used to be parse the results (PASS/FAIL) with the test case config files rather than hardcode with the source code. Change-Id: I30f435d91ab90cf20def47007f177fe98187484d Signed-off-by: xudan --- etc/testcase/tempest.identity_v3.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'etc/testcase/tempest.identity_v3.yml') diff --git a/etc/testcase/tempest.identity_v3.yml b/etc/testcase/tempest.identity_v3.yml index 5cb387c9..2ba46548 100644 --- a/etc/testcase/tempest.identity_v3.yml +++ b/etc/testcase/tempest.identity_v3.yml @@ -12,6 +12,15 @@ dovetail.tempest.identity_v3: src_file: tempest_custom.txt dest_path: /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/test_list.txt report: + source_archive_files: + - functest.log + - tempest/tempest.log + - tempest/tempest-report.html + dest_archive_files: + - tempest_logs/dovetail.tempest.identity_v3.functest.log + - tempest_logs/dovetail.tempest.identity_v3.log + - tempest_logs/dovetail.tempest.identity_v3.html + check_results_file: 'functest_results.txt' sub_testcase_list: - tempest.api.identity.admin.v3.test_credentials.CredentialsTestJSON.test_credentials_create_get_update_delete[id-7cd59bf9-bda4-4c72-9467-d21cab278355,smoke] - tempest.api.identity.admin.v3.test_domains.DefaultDomainTestJSON.test_default_domain_exists[id-17a5de24-e6a0-4e4a-a9ee-d85b6e5612b5,smoke] -- cgit 1.2.3-korg