From 5adf6a3e8db2eb408e4541e5c9d9b36754944ba0 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Mon, 25 Sep 2017 09:50:18 +0200 Subject: [PATCH] Unset UPPER_CONSTRAINTS_FILE on dib After setting the UPPER_CONSTRAINTS_FILE, gates started failing because of side effects, as this var was being taken as part of the image build. Unset it after requirements have been installed and before actually running the tests. Change-Id: I650cf83e2828ce373b8c9e8b3c0cc1c9722b949a --- jenkins/jobs/diskimage-builder.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jenkins/jobs/diskimage-builder.yaml b/jenkins/jobs/diskimage-builder.yaml index 2277929b88..22cd52a466 100644 --- a/jenkins/jobs/diskimage-builder.yaml +++ b/jenkins/jobs/diskimage-builder.yaml @@ -44,6 +44,10 @@ # which are used during test runs ./openstack/diskimage-builder/contrib/setup-gate-mirrors.sh + # UPPER_CONSTRAINTS_FILE is causing side effects when doing image + # build, unset it + unset UPPER_CONSTRAINTS_FILE + # activate the virtualenv so that any tools run by dib run # using the python inside it set +u