summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhanshyam <gmann@ghanshyammann.com>2020-02-06 14:39:29 -0600
committerGhanshyam Mann <gmann@ghanshyammann.com>2020-02-09 22:20:04 +0000
commit29182a4552a17c1a51cb1930a818cd95a95d3266 (patch)
tree5a47bfda64cf96af55fd6cd811fcb4102305e99d
parent4871561dd05b084e72042ef6bfeeaab8b5f3212b (diff)
downloaddesignate-29182a4552a17c1a51cb1930a818cd95a95d3266.tar.gz
Use Tempest 'all' tox env
Tempest recently moved tox default to py3 including all-plugin env. -https://review.opendev.org/#/c/703011/ This will fail the py2 jobs which are using all-plugin tox env. Because tox all-plugin env var enable the sitepackages=True. Py2 jobs install the tempest plugins on py2 and all-plugin tox try to find the installed plugins on py3 which cause no test to run and fail the job. tox all-plugin has been deprecated since long and not supposed to use for plugins who already in migrated to separate repo in queens cycle. Using tox 'all' env to fix the issue. Change-Id: Ib1a2be90c0b3dbacc6daf52f0fc6f326ab47fc98 Closes-Bug: 1862240
-rw-r--r--.zuul.yaml2
-rw-r--r--playbooks/legacy/grenade-devstack-designate-pdns4/run.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 990fcb9b..5f8e2c0c 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -15,7 +15,7 @@
s-object: false
s-proxy: false
c-bak: false
- tox_envlist: all-plugin
+ tox_envlist: all
tempest_test_regex: |
designate_tempest_plugin.*
required-projects: &base_required_projects
diff --git a/playbooks/legacy/grenade-devstack-designate-pdns4/run.yaml b/playbooks/legacy/grenade-devstack-designate-pdns4/run.yaml
index 1dc9e5f3..44628651 100644
--- a/playbooks/legacy/grenade-devstack-designate-pdns4/run.yaml
+++ b/playbooks/legacy/grenade-devstack-designate-pdns4/run.yaml
@@ -31,6 +31,7 @@
[[local|localrc]]
DESIGNATE_SERVICE_PORT_DNS=5322
DESIGNATE_BACKEND_DRIVER=pdns4
+ TEMPEST_PLUGINS=' ../designate-tempest-plugin'
EOF
executable: /bin/bash
@@ -44,7 +45,6 @@
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
- export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_GRENADE=pullup
export DEVSTACK_GATE_TEMPEST_REGEX="designate_tempest_plugin(?!\.tests.api.v1).*"
export DEVSTACK_GATE_HORIZON=1