From: Cédric Ollivier Date: Mon, 3 Jun 2019 18:07:01 +0000 (+0200) Subject: Override the right rally blacklists X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=a78697d4c2304ee4dcc56f3d8580a02d27dc00e1 Override the right rally blacklists Latest containers now leverage on python3.6. Change-Id: Ib3b3c02497b85dd210713baed345c4a64a0add5b Signed-off-by: Cédric Ollivier --- diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml index 4a60c6484..c92e70d94 100644 --- a/jjb/functest/functest.yaml +++ b/jjb/functest/functest.yaml @@ -99,13 +99,18 @@ else image={repo}:{port}/{container}:{tag} fi + if [ "{tag}" = "latest" ]; then + py=3.6 + else + py=2.7 + fi sudo docker run --rm \ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \ -e DEBUG=True \ -e EXTERNAL_NETWORK=public \ -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \ -v /home/opnfv/functest/images:/home/opnfv/functest/images \ - -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python2.7/\ + -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python$py/\ site-packages/functest/opnfv_tests/openstack/rally/blacklist.yaml \ $image run_tests -t {test} res=$?