aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-03-22 13:13:53 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2020-03-23 17:49:17 +0100
commitd9b8e1b1073ed172c10cd29e7ded6e65401d3c5d (patch)
treec5f1d75b41d5018f61ee6a7ec34060eca530ddfe
parent13b8fd9d9f54fdac817b99f4506a1171ab0a9481 (diff)
Doesn't redirect stderr when getting verifier id
The logic fails when rally produces warnings [1]. It also updates Rally OpenStack and checks if the previous error has been solved[2]. TypeError: _discover_or_create_flavor() missing 1 required positional argument: 'flv_disk' [3] [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-tempest_smoke-run/757/console [2] https://github.com/openstack/rally-openstack/commit/e62315115af20e53f6c7205494ba0008634047ed [3] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-tempest_smoke-run/629/console Change-Id: Ia1daaa76d7cef7f30904c1f3bd42e2f6a6ba10af Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/tempest/tempest.py2
-rw-r--r--tox.ini2
-rw-r--r--upper-constraints.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py
index 4ed964644..0bb1e6e0f 100644
--- a/functest/opnfv_tests/openstack/tempest/tempest.py
+++ b/functest/opnfv_tests/openstack/tempest/tempest.py
@@ -201,7 +201,7 @@ class TempestCommon(singlevm.VmReady2):
"/ {print $2}'")
proc = subprocess.Popen(cmd, shell=True,
stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT)
+ stderr=subprocess.DEVNULL)
verifier_uuid = proc.stdout.readline().rstrip()
return verifier_uuid.decode("utf-8")
diff --git a/tox.ini b/tox.ini
index f02ff3a15..466c415a8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,bandit,py27,py38,cover,perm
+envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,bandit,py38,cover,perm
[testenv]
usedevelop = True
diff --git a/upper-constraints.txt b/upper-constraints.txt
index 7fa6fa226..3becdb48c 100644
--- a/upper-constraints.txt
+++ b/upper-constraints.txt
@@ -21,7 +21,7 @@ bandit===1.1.0
ruamel.yaml.jinja2==0.2.2
-e git+https://opendev.org/openstack/tempest#egg=tempest
git+https://opendev.org/openstack/rally.git#egg=rally
-git+https://opendev.org/openstack/rally-openstack.git@e62608d35302ed3c0aeb31784ce5f4535c9e5fab#egg=rally-openstack
+git+https://opendev.org/openstack/rally-openstack.git#egg=rally-openstack
git+https://github.com/xrally/xrally-kubernetes.git#egg=xrally-kubernetes
git+https://github.com/esnme/ultrajson@d25e024f481c5571d15f3c0c406a498ca0467cfd#egg=ujson
pylint===1.9.5;python_version=='2.7'