diff --git a/.zuul.yaml b/.zuul.yaml index 46f1a94aa49a..d65a5db62bb8 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -101,6 +101,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$ - job: name: nova-lvm diff --git a/nova/tests/live_migration/hooks/utils.sh b/nova/tests/live_migration/hooks/utils.sh index 9f98ca2e254a..26c409ecece0 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"