summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zuul.yaml15
-rwxr-xr-xnova/tests/live_migration/hooks/utils.sh8
2 files changed, 22 insertions, 1 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 74e1cd033d..35d00fd848 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -49,6 +49,21 @@
parent: nova-dsvm-multinode-base
run: playbooks/legacy/nova-live-migration/run.yaml
post-run: playbooks/legacy/nova-live-migration/post.yaml
+ irrelevant-files:
+ - ^(placement-)?api-.*$
+ - ^(test-|)requirements.txt$
+ - ^.*\.rst$
+ - ^.git.*$
+ - ^doc/.*$
+ - ^nova/hacking/.*$
+ - ^nova/locale/.*$
+ - ^nova/tests/unit/.*$
+ - ^nova/tests/functional/.*$
+ - ^releasenotes/.*$
+ - ^setup.cfg$
+ - ^tests-py3.txt$
+ - ^tools/.*$
+ - ^tox.ini$
- project:
templates:
diff --git a/nova/tests/live_migration/hooks/utils.sh b/nova/tests/live_migration/hooks/utils.sh
index 2542521503..8639f7e25c 100755
--- a/nova/tests/live_migration/hooks/utils.sh
+++ b/nova/tests/live_migration/hooks/utils.sh
@@ -3,7 +3,13 @@
function run_tempest {
local message=$1
local tempest_regex=$2
- sudo -H -u tempest tox -eall -- $tempest_regex --concurrency=$TEMPEST_CONCURRENCY
+ # NOTE(gmann): Use branch constraint because Tempest is pinned to the branch release
+ # instead of using master. We need to export it via env var UPPER_CONSTRAINTS_FILE
+ # so that initial creation of tempest tox use stable branch constraint
+ # instead of master constraint which is hard coded in tempest/tox.ini
+ export UPPER_CONSTRAINTS_FILE=$BASE/new/requirements/upper-constraints.txt
+
+ sudo -H -u tempest UPPER_CONSTRAINTS_FILE=$UPPER_CONSTRAINTS_FILE tox -eall -- $tempest_regex --concurrency=$TEMPEST_CONCURRENCY
exitcode=$?
if [[ $exitcode -ne 0 ]]; then
die $LINENO "$message failure"