From b55aa749c379ce7af918f43558f2195e2259d872 Mon Sep 17 00:00:00 2001 From: Georg Kunz Date: Thu, 23 Aug 2018 13:56:42 +0200 Subject: Create output directory The rally.conf gets copied before the target directory has been created. JIRA: FUNCTEST-1007 JIRA: DOVETAIL-730 Change-Id: Ie774fce994ada644c1163600e6c62e1231fde443 Signed-off-by: Georg Kunz --- functest/opnfv_tests/openstack/tempest/tempest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py index 216709f83..4f8002e26 100644 --- a/functest/opnfv_tests/openstack/tempest/tempest.py +++ b/functest/opnfv_tests/openstack/tempest/tempest.py @@ -364,6 +364,8 @@ class TempestCommon(singlevm.VmReady1): try: assert super(TempestCommon, self).run( **kwargs) == testcase.TestCase.EX_OK + if not os.path.exists(self.res_dir): + os.makedirs(self.res_dir) self.update_rally_regex() self.update_default_role() self.update_rally_logs() -- cgit 1.2.3-korg