summaryrefslogtreecommitdiff
path: root/.zuul.yaml
blob: 8149f71bc1cb7339e9ea801aabd2552d6fcecff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# See https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3
# for job naming conventions.
- job:
    name: nova-dsvm-base
    parent: legacy-dsvm-base
    description: |
      The base job definition for nova devstack/tempest jobs.
      Contains common configuration.
    timeout: 10800
    required-projects:
      - openstack/devstack-gate
      - openstack/nova
      - openstack/tempest
    irrelevant-files: &dsvm-irrelevant-files
      - ^api-.*$
      - ^(test-|)requirements.txt$
      - ^.*\.rst$
      - ^.git.*$
      - ^doc/.*$
      - ^nova/hacking/.*$
      - ^nova/locale/.*$
      - ^nova/tests/.*$
      - ^releasenotes/.*$
      - ^setup.cfg$
      - ^tests-py3.txt$
      - ^tools/.*$
      - ^tox.ini$

- job:
    name: nova-dsvm-multinode-base
    parent: legacy-dsvm-base-multinode
    description: |
      Base job for multinode nova devstack/tempest jobs.
      Will setup firewall rules on all the nodes allowing them to talk to
      each other.
    timeout: 10800
    required-projects:
      - openstack/devstack-gate
      - openstack/nova
      - openstack/tempest
    irrelevant-files: *dsvm-irrelevant-files

- job:
    name: nova-tox-functional
    parent: openstack-tox
    description: |
      Run tox-based functional tests for the OpenStack Nova project with Nova
      specific irrelevant-files list. Uses tox with the ``functional``
      environment.
    required-projects:
      - openstack/placement
    irrelevant-files: &functional-irrelevant-files
      - ^.*\.rst$
      - ^api-.*$
      - ^doc/source/.*$
      - ^nova/locale/.*$
      - ^releasenotes/.*$
    vars:
      tox_envlist: functional
      tox_install_siblings: true
    timeout: 3600

- job:
    name: nova-tox-functional-py35
    parent: openstack-tox-functional-py35
    description: |
      Run tox-based functional tests for the OpenStack Nova project
      under cPython version 3.5. with Nova specific irrelevant-files list.
      Uses tox with the ``functional-py35`` environment.
    required-projects:
      - openstack/placement
    irrelevant-files: *functional-irrelevant-files
    vars:
      tox_envlist: functional-py35
      tox_install_siblings: true
    timeout: 3600

- job:
    name: nova-tox-functional-py36
    parent: openstack-tox
    nodeset: ubuntu-bionic
    description: |
      Run tox-based functional tests for the OpenStack Nova project
      under cPython version 3.6 with Nova specific irrelevant-files list.
      Uses tox with the ``functional-py36`` environment.
    irrelevant-files: *functional-irrelevant-files
    vars:
      tox_envlist: functional-py36
      bindep_profile: test py36
    timeout: 3600

- job:
    name: nova-tox-functional-py37
    parent: openstack-tox
    nodeset: ubuntu-bionic
    description: |
      Run tox-based functional tests for the OpenStack Nova project
      under cPython version 3.7 with Nova specific irrelevant-files list.
      Uses tox with the ``functional-py37`` environment.
    irrelevant-files: *functional-irrelevant-files
    vars:
      tox_envlist: functional-py37
      bindep_profile: test py37
      python_version: 3.7
    timeout: 3600

- job:
    name: nova-tox-validate-backport
    parent: openstack-tox
    description: |
      Determine whether a backport is ready to be merged by checking whether it
      has already been merged to master or more recent stable branches.

      Uses tox with the ``validate-backport`` environment.
    vars:
      tox_envlist: validate-backport

- job:
    name: nova-cells-v1
    parent: nova-dsvm-base
    run: playbooks/legacy/nova-cells-v1/run.yaml
    post-run: playbooks/legacy/nova-cells-v1/post.yaml

- job:
    name: nova-live-migration
    parent: nova-dsvm-multinode-base
    description: |
      Run tempest live migration tests against both local storage and shared
      storage using ceph (the environment is reconfigured for ceph after the
      local storage tests are run). Also runs simple evacuate tests.
      Config drive is forced on all instances.
    run: playbooks/legacy/nova-live-migration/run.yaml
    post-run: playbooks/legacy/nova-live-migration/post.yaml
    irrelevant-files: &live-migration-irrelevant-files
      # We define our own irrelevant-files because we need to run
      # this if there are changes to nova/tests/live_migration/.
      # TODO(mriedem): Move the nova/tests/live_migration/ scripts to gate/
      # so this job can use the standard dsvm-irrelevant-files.
      - ^api-.*$
      - ^(test-|)requirements.txt$
      - ^.*\.rst$
      - ^.git.*$
      - ^doc/.*$
      - ^nova/hacking/.*$
      - ^nova/locale/.*$
      - ^nova/tests/(?!live_migration/).*$
      - ^releasenotes/.*$
      - ^setup.cfg$
      - ^tests-py3.txt$
      - ^tools/.*$
      - ^tox.ini$

- job:
    name: nova-lvm
    parent: nova-dsvm-base
    description: |
      Run tempest compute API tests using LVM image backend. This only runs
      against nova/virt/libvirt/* changes.
    run: playbooks/legacy/nova-lvm/run.yaml
    post-run: playbooks/legacy/nova-lvm/post.yaml
    # Copy irrelevant-files from nova-dsvm-base and then exclude anything
    # that is not in nova/virt/libvirt/* or nova/privsep/* (besides the actual
    # zuul playbook and tempest rc files so this can be self-testing).
    irrelevant-files:
      - ^(?!.zuul.yaml)(?!playbooks/legacy/nova-lvm/)(?!devstack/tempest-dsvm-lvm-rc)(?!nova/virt/libvirt/)(?!nova/privsep/).*$
      - ^api-.*$
      - ^(test-|)requirements.txt$
      - ^.*\.rst$
      - ^.git.*$
      - ^doc/.*$
      - ^nova/hacking/.*$
      - ^nova/locale/.*$
      - ^nova/tests/.*$
      - ^releasenotes/.*$
      - ^setup.cfg$
      - ^tests-py3.txt$
      - ^tools/.*$
      - ^tox.ini$
    # TODO(mriedem): Make this voting and gating once bug 1771700 is fixed
    # and we've had enough runs to feel comfortable with this setup.
    voting: false

- job:
    name: nova-next
    parent: nova-dsvm-base
    description: |
      This job was added in Newton when placement and cellsv2
      were optional. Placement and cellsv2 are required starting in Ocata. In
      Pike, the service user token functionality was added. This job is also
      unique in that it runs the post_test_hook from the nova repo, which runs
      post-test scripts to ensure those scripts are still working,
      e.g. archive_deleted_rows. In Queens, this job started testing the
      TLS console proxy code in the libvirt driver.
      Starting in Stein, the job was changed to run with python 3 and enabled
      volume multi-attach testing.
      Runs all tempest compute API and most scenario tests concurrently.
    run: playbooks/legacy/nova-next/run.yaml
    post-run: playbooks/legacy/nova-next/post.yaml

- job:
    name: nova-tempest-v2-api
    parent: devstack-tempest
    branches:
      - master
    description: |
      This job runs the Tempest compute tests against v2.0 endpoint.
      Former names for this job was:
        * legacy-tempest-dsvm-nova-v20-api
    vars:
      tox_envlist: all
      tempest_test_regex: api.*compute
      devstack_localrc:
        TEMPEST_COMPUTE_TYPE: compute_legacy

- job:
    name: nova-tempest-full-oslo.versionedobjects
    parent: tempest-full
    description: |
      Run test with git version of oslo.versionedobjects to check that
      changes to nova will work with the next released version of
      that library.
    required-projects:
      - openstack/oslo.versionedobjects

- job:
    name: nova-grenade-live-migration
    parent: nova-dsvm-multinode-base
    description: |
      Multi-node grenade job which runs nova/tests/live_migration/hooks tests.
      In other words, this tests live migration with mixed-version compute
      services which is important for things like rolling upgrade support.
      The former name for this job was
      "legacy-grenade-dsvm-neutron-multinode-live-migration".
    run: playbooks/legacy/nova-grenade-live-migration/run.yaml
    post-run: playbooks/legacy/nova-grenade-live-migration/post.yaml
    required-projects:
      - openstack/grenade
      - openstack/devstack-gate
      - openstack/nova
    irrelevant-files: *live-migration-irrelevant-files

- project:
    # Please try to keep the list of job names sorted alphabetically.
    templates:
      - check-requirements
      - integrated-gate-py3
      - openstack-cover-jobs
      - openstack-lower-constraints-jobs
      - openstack-python-jobs
      - openstack-python35-jobs
      - openstack-python36-jobs
      - openstack-python37-jobs
      - periodic-stable-jobs
      - publish-openstack-docs-pti
      - release-notes-jobs-python3
    check:
      jobs:
        # We define our own irrelevant-files so we don't run the job
        # on things like nova docs-only changes.
        - ironic-tempest-ipa-wholedisk-bios-agent_ipmitool-tinyipa:
            voting: false
            irrelevant-files: *dsvm-irrelevant-files
        - devstack-plugin-ceph-tempest:
            voting: false
            irrelevant-files: *dsvm-irrelevant-files
        - neutron-grenade-multinode:
            irrelevant-files: *dsvm-irrelevant-files
        - neutron-tempest-linuxbridge:
            irrelevant-files:
              # NOTE(mriedem): This job has its own irrelevant-files section
              # so that we only run it on changes to networking and libvirt/vif
              # code; we don't need to run this on all changes, nor do we run
              # it in the gate.
              - ^(?!nova/network/.*)(?!nova/virt/libvirt/vif.py).*$
        - nova-grenade-live-migration
        - nova-live-migration
        - nova-lvm
        - nova-next
        - nova-tox-functional
        - nova-tox-functional-py35
        - nova-tox-validate-backport:
            voting: false
        - tempest-full-py3:
            irrelevant-files: *dsvm-irrelevant-files
        - tempest-multinode-full:
            voting: false
            irrelevant-files: *dsvm-irrelevant-files
        - tempest-slow-py3:
            irrelevant-files: *dsvm-irrelevant-files
            vars:
              devstack_localrc:
                # To workaround https://bugs.launchpad.net/neutron/+bug/1914037
                # tempest is pinned to 26.0.0 on stable/stein in devstack, so
                # we cannot consume the tempest fix.
                IPV6_PUBLIC_RANGE: 2001:db8:0:10::/64
                IPV6_PUBLIC_NETWORK_GATEWAY: 2001:db8:0:10::2
                IPV6_ROUTER_GW_IP: 2001:db8:0:10::1
        - grenade-py3:
            irrelevant-files: *dsvm-irrelevant-files
    gate:
      jobs:
        - nova-grenade-live-migration
        - nova-live-migration
        - nova-tox-functional
        - nova-tox-functional-py35
        - nova-next
        - nova-tox-validate-backport
        - tempest-full-py3:
            irrelevant-files: *dsvm-irrelevant-files
        - tempest-slow-py3:
            irrelevant-files: *dsvm-irrelevant-files
            vars:
              devstack_localrc:
                # To workaround https://bugs.launchpad.net/neutron/+bug/1914037
                # tempest is pinned to 26.0.0 on stable/stein in devstack, so
                # we cannot consume the tempest fix.
                IPV6_PUBLIC_RANGE: 2001:db8:0:10::/64
                IPV6_PUBLIC_NETWORK_GATEWAY: 2001:db8:0:10::2
                IPV6_ROUTER_GW_IP: 2001:db8:0:10::1
        - grenade-py3:
            irrelevant-files: *dsvm-irrelevant-files
    experimental:
      jobs:
        - ironic-tempest-bfv:
            irrelevant-files: *dsvm-irrelevant-files
        - ironic-tempest-ipa-wholedisk-direct-tinyipa-multinode:
            irrelevant-files: *dsvm-irrelevant-files
        - barbican-simple-crypto-devstack-tempest:
            irrelevant-files: *dsvm-irrelevant-files
        - devstack-plugin-ceph-tempest-py3:
            irrelevant-files: *dsvm-irrelevant-files
        - legacy-grenade-dsvm-neutron-multinode-zero-downtime:
            irrelevant-files: *dsvm-irrelevant-files
        - devstack-plugin-nfs-tempest-full:
            irrelevant-files: *dsvm-irrelevant-files
        - tempest-full-py3-opensuse15:
            irrelevant-files: *dsvm-irrelevant-files
        - tempest-pg-full:
            irrelevant-files: *dsvm-irrelevant-files
        - nova-cells-v1
        - nova-tempest-full-oslo.versionedobjects:
            irrelevant-files: *dsvm-irrelevant-files
        - legacy-tempest-dsvm-nova-libvirt-kvm-apr:
            irrelevant-files: *dsvm-irrelevant-files
        - nova-tempest-v2-api:
            irrelevant-files: *dsvm-irrelevant-files
        - neutron-tempest-dvr-ha-multinode-full:
            irrelevant-files: *dsvm-irrelevant-files
        - os-vif-ovs:
            irrelevant-files: *dsvm-irrelevant-files
        # NOTE(mriedem): Consider moving nova-tox-functional-py36 to the
        # check and gate queues once it's stable (like openstack-python36-jobs)
        - nova-tox-functional-py36
        - nova-tox-functional-py37