aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/cnf_conformance
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-10-17 09:09:54 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-10-17 09:40:50 +0200
commitb10d3c5a8dfcd1f066f1513389cb2143acefbe63 (patch)
tree5c8dbdcfceb1f865baaecb04866edbc3a01316e7 /functest_kubernetes/cnf_conformance
parentcf40e38be4d85c235a9d85a15f7fa326ebf356e6 (diff)
Update cnf_testsuite v0.34.0
It now runs cert (replacing workload) It downgrades msg to warning as cnf_testsuite now returns non 0 values. Change-Id: I0ce4f201065bf601111d7154cb4afa31e9a4666c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4338a2532600e659179335a5f5f71ab15f83f8d7)
Diffstat (limited to 'functest_kubernetes/cnf_conformance')
-rw-r--r--functest_kubernetes/cnf_conformance/conformance.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py
index e3e3fe0d..a248928e 100644
--- a/functest_kubernetes/cnf_conformance/conformance.py
+++ b/functest_kubernetes/cnf_conformance/conformance.py
@@ -38,7 +38,7 @@ class CNFConformance(testcase.TestCase):
src_dir = '/src/cnf-testsuite'
bin_dir = '/usr/local/bin'
- default_tag = 'workload'
+ default_tag = 'cert'
__logger = logging.getLogger(__name__)
@@ -110,15 +110,15 @@ class CNFConformance(testcase.TestCase):
self.setup()
self.run_conformance(**kwargs)
except subprocess.CalledProcessError as exc:
- self.__logger.exception(
+ self.__logger.warning(
"Can not run CNT Conformance: \n%s\n%s\n",
" ".join(exc.cmd), exc.output.decode("utf-8"))
except Exception: # pylint: disable=broad-except
- self.__logger.exception("Can not run CNF Conformance")
+ self.__logger.warning("CNF Conformance exited with errors")
self.stop_time = time.time()
def clean(self):
- for clean_cmd in ['uninstall_cri_tools', 'uninstall_falco',
+ for clean_cmd in ['uninstall_falco',
'cnf_cleanup']:
cmd = ['cnf-testsuite', clean_cmd,
'cnf-config=cnf-testsuite.yml']