aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/ims/ims.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-09-20 18:28:36 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-09-20 18:30:37 +0200
commit608db7c333b09b0526c24739f9c15a99c5f00449 (patch)
tree4f8432c4614e3f0935a918054f329c73a90c3d37 /functest_kubernetes/ims/ims.py
parent9f0a910fbbc2645cbfff435bae4ba4f4035e4974 (diff)
Redirect helm false warnings to logs
Helm fails when detecting arch if qemu. time="2020-09-17T16:25:15Z" level=error msg="failure getting variant" error="getCPUInfo for pattern: Cpu architecture: not found" https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-cnf-arm64-latest-helm_vims-run/1/console Change-Id: Ida37062a780f9e2acf60035bf2d41fb8fbb61173 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit aed4dd8a97dbfcb9d0558f2df8f8ef8696f2c421)
Diffstat (limited to 'functest_kubernetes/ims/ims.py')
-rw-r--r--functest_kubernetes/ims/ims.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest_kubernetes/ims/ims.py b/functest_kubernetes/ims/ims.py
index 2864ad2a..c5270f43 100644
--- a/functest_kubernetes/ims/ims.py
+++ b/functest_kubernetes/ims/ims.py
@@ -273,11 +273,11 @@ class HelmVims(Vims):
"helm", "install", "clearwater",
pkg_resources.resource_filename("functest_kubernetes", "ims/helm"),
"-n", self.namespace]
- output = subprocess.check_output(cmd)
+ output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
self.__logger.debug(output.decode("utf-8"))
def clean(self):
cmd = ["helm", "uninstall", "clearwater", "-n", self.namespace]
- output = subprocess.check_output(cmd)
+ output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
self.__logger.debug(output.decode("utf-8"))
super(HelmVims, self).clean()