From: Jose Lausuch Date: Thu, 2 Nov 2017 14:52:09 +0000 (+0000) Subject: Merge "Inheritance from Feature class" into stable/euphrates X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=df047359248272e0fecf29a6b3a82fa906823640;p=sdnvpn.git Merge "Inheritance from Feature class" into stable/euphrates --- df047359248272e0fecf29a6b3a82fa906823640 diff --cc sdnvpn/test/functest/run_sdnvpn_tests.py index 6fa577f,64dffd4..dce54e8 --- a/sdnvpn/test/functest/run_sdnvpn_tests.py +++ b/sdnvpn/test/functest/run_sdnvpn_tests.py @@@ -82,16 -80,8 +80,14 @@@ class SdnvpnFunctest(base.Feature) if status == "FAIL": overall_status = "FAIL" - self.stop_time = time.time() - try: - gather_logs('overall') + installer_type = str(os.environ['INSTALLER_TYPE'].lower()) + if installer_type in ["fuel", "apex"]: + gather_logs('overall') + else: + self.__logger.info("Skipping log gathering because installer" + "type %s is neither fuel nor apex" % + installer_type) except Exception as ex: self.__logger.error(('Something went wrong in the Log gathering.' 'Ex: %s, Trace: %s')