From 57efe5036d5d2f1551e9fa170cf979a9a783c219 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Tue, 7 Apr 2020 09:32:06 -0500 Subject: [PATCH] Fix Tempest installtion on system wide for stable branch INSTALL_TEMPEST flag enable to install Tempest by default on devstack env which is meant for using on master gate only and has to be false for stable branch. On stable branch master Tempest on system wide can fail to install for various reason like constraint etc. That is why we install Tempest on venv always. This started failing tempest-full on stein gate[1] where devstack try to install Tempest on system wide also which try to use py2 env because jobs is py2 and fail. - https://zuul.opendev.org/t/openstack/build/f05569c475f44327bff7b7ec58faef8c/log/controller/logs/devstacklog.txt#30654 We need to set INSTALL_TEMPEST flag to false on all stable branch to avoid such issue which we did not do since pike. (I will make note of this in Devstack branch cut TODO list) - https://github.com/openstack/devstack/blob/6067e41a5cc44164e34faab2fd9741dbb788f42f/lib/tempest#L60 [1] https://zuul.opendev.org/t/openstack/build/f05569c475f44327bff7b7ec58faef8c Change-Id: I60949fb735c82959fb2cfcb6aeef9e33fb0445b6 Closes-Bug: #1871327 --- lib/tempest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tempest b/lib/tempest index ca29c4215a..cacb24430d 100644 --- a/lib/tempest +++ b/lib/tempest @@ -57,7 +57,7 @@ BUILD_TIMEOUT=${BUILD_TIMEOUT:-196} # This must be False on stable branches, as master tempest # deps do not match stable branch deps. Set this to True to # have tempest installed in DevStack by default. -INSTALL_TEMPEST=${INSTALL_TEMPEST:-"True"} +INSTALL_TEMPEST=${INSTALL_TEMPEST:-"False"} # This variable is passed directly to pip install inside the common tox venv # that is created