Skip to content

Commit 35d8f93

Browse files
committed
Convert nova-lvm job to zuul v3
Converts the job to zuul v3 native format so the legacy playbook is deleted. Drops the blacklist regex file in favor of simply configuring tempest to not run resize or cold migration tests. Change-Id: I4630066731f12c42091ddf9dd3159e0494df88b1
1 parent 219b811 commit 35d8f93

File tree

4 files changed

+25
-137
lines changed

4 files changed

+25
-137
lines changed

.zuul.yaml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,14 @@
150150

151151
- job:
152152
name: nova-lvm
153-
parent: nova-dsvm-base
153+
parent: devstack-tempest
154154
description: |
155155
Run tempest compute API tests using LVM image backend. This only runs
156156
against nova/virt/libvirt/* changes.
157-
run: playbooks/legacy/nova-lvm/run.yaml
158-
post-run: playbooks/legacy/nova-lvm/post.yaml
159157
# Copy irrelevant-files from nova-dsvm-base and then exclude anything
160-
# that is not in nova/virt/libvirt/* or nova/privsep/* (besides the actual
161-
# zuul playbook and tempest rc files so this can be self-testing).
158+
# that is not in nova/virt/libvirt/* or nova/privsep/*.
162159
irrelevant-files:
163-
- ^(?!.zuul.yaml)(?!playbooks/legacy/nova-lvm/)(?!devstack/tempest-dsvm-lvm-rc)(?!nova/virt/libvirt/)(?!nova/privsep/).*$
160+
- ^(?!.zuul.yaml)(?!nova/virt/libvirt/)(?!nova/privsep/).*$
164161
- ^api-.*$
165162
- ^(test-|)requirements.txt$
166163
- ^.*\.rst$
@@ -178,6 +175,28 @@
178175
# TODO(mriedem): Make this voting and gating once bug 1771700 is fixed
179176
# and we've had enough runs to feel comfortable with this setup.
180177
voting: false
178+
vars:
179+
# We use the "all" environment for tempest_test_regex and
180+
# tempest_black_regex.
181+
tox_envlist: all
182+
# Only run compute API tests.
183+
tempest_test_regex: ^tempest\.api\.compute
184+
# Skip slow tests.
185+
tempest_black_regex: .*\[.*\bslow\b.*\]
186+
devstack_local_conf:
187+
test-config:
188+
$TEMPEST_CONFIG:
189+
compute-feature-enabled:
190+
# NOTE(mriedem): resize of non-volume-backed lvm instances does
191+
# not yet work (bug 1831657).
192+
resize: false
193+
cold_migration: false
194+
devstack_localrc:
195+
NOVA_BACKEND: LVM
196+
# Do not waste time clearing volumes.
197+
LVM_VOLUME_CLEAR: none
198+
# Disable SSH validation in tests to save time.
199+
TEMPEST_RUN_VALIDATION: false
181200

182201
- job:
183202
name: nova-next

devstack/tempest-dsvm-lvm-rc

Lines changed: 0 additions & 62 deletions
This file was deleted.

playbooks/legacy/nova-lvm/post.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

playbooks/legacy/nova-lvm/run.yaml

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)