From 13c32a0db3a88bfbcfd1d76217e6cba8d644f335 Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Tue, 19 Nov 2019 11:53:34 -0600 Subject: [PATCH] Gate on py3 A local devstack test with USE_PYTHON3=True DEVSTACK_GATE_USE_PYTHON3=True and PROJECTS="openstack/barbican $PROJECTS" enable_plugin barbican https://opendev.org/openstack/barbican blew up because uwsgi tried to run under py2. The dep sets USE_PYTHON3 to True by default, which may or may not be sufficient to expose $problems, but let's see. [Later] We think the (legacy) grenade-devstack-barbican job was failing because it was trying to "upgrade" from py2 to py3 and running into packaging conflicts. This explicitly sets DEVSTACK_GATE_USE_PYTHON3=True in that job to resolve the problem. Depends-On: https://review.opendev.org/649097 Change-Id: I6aabb1463b001e81e1e6f7d44fb66e9b7ff3a251 --- playbooks/legacy/grenade-devstack-barbican/run.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/legacy/grenade-devstack-barbican/run.yaml b/playbooks/legacy/grenade-devstack-barbican/run.yaml index 8e889732b..0b4b8e4d1 100644 --- a/playbooks/legacy/grenade-devstack-barbican/run.yaml +++ b/playbooks/legacy/grenade-devstack-barbican/run.yaml @@ -40,6 +40,7 @@ export DEVSTACK_GATE_TEMPEST=1 export DEVSTACK_GATE_GRENADE=pullup export DEVSTACK_GATE_TEMPEST_REGEX=barbican + export DEVSTACK_GATE_USE_PYTHON3=True export BRANCH_OVERRIDE=default if [ "$BRANCH_OVERRIDE" != "default" ] ; then