forked from openstack/tempest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zuul.yaml
587 lines (559 loc) · 19.8 KB
/
.zuul.yaml
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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
- job:
name: devstack-tempest
parent: devstack
nodeset: openstack-single-node
description: |
Base Tempest job.
This Tempest job provides the base for both the single and multi-node
test setup. To run a multi-node test inherit from devstack-tempest and
set the nodeset to a multi-node one.
required-projects:
- git.openstack.org/openstack/tempest
timeout: 7200
roles:
- zuul: git.openstack.org/openstack-dev/devstack
vars:
devstack_services:
tempest: true
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
compute:
min_compute_nodes: "{{ groups['compute'] | default(['controller']) | length }}"
test_results_stage_name: test_results
zuul_copy_output:
'{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
'{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
'{{ devstack_base_dir }}/tempest/tempest.log': logs
'{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
'{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
'{{ stage_dir }}/stackviz': logs
extensions_to_txt:
conf: true
log: true
yaml: true
yml: true
run: playbooks/devstack-tempest.yaml
post-run: playbooks/post-tempest.yaml
- job:
name: tempest-all
parent: devstack-tempest
description: |
Integration test that runs all tests.
Former name for this job was:
* legacy-periodic-tempest-dsvm-all-master
vars:
tox_envlist: all
tempest_test_regex: tempest
devstack_localrc:
ENABLE_FILE_INJECTION: true
- job:
name: devstack-tempest-ipv6
parent: devstack-ipv6
nodeset: openstack-single-node
description: |
Base Tempest IPv6 job.
required-projects:
- git.openstack.org/openstack/tempest
timeout: 7200
roles:
- zuul: git.openstack.org/openstack-dev/devstack
vars:
devstack_services:
tempest: true
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
compute:
min_compute_nodes: "{{ groups['compute'] | default(['controller']) | length }}"
test_results_stage_name: test_results
zuul_copy_output:
'{{ devstack_base_dir }}/tempest/etc/tempest.conf': logs
'{{ devstack_base_dir }}/tempest/etc/accounts.yaml': logs
'{{ devstack_base_dir }}/tempest/tempest.log': logs
'{{ stage_dir }}/{{ test_results_stage_name }}.subunit': logs
'{{ stage_dir }}/{{ test_results_stage_name }}.html': logs
'{{ stage_dir }}/stackviz': logs
extensions_to_txt:
conf: true
log: true
yaml: true
yml: true
run: playbooks/devstack-tempest.yaml
post-run: playbooks/post-tempest.yaml
- job:
name: tempest-full
parent: devstack-tempest
# This currently works from stable/pike on.
# Before stable/pike, legacy version of tempest-full
# 'legacy-tempest-dsvm-neutron-full' run.
branches: ^(?!stable/ocata).*$
description: |
Base integration test with Neutron networking and py27.
Former names for this job where:
* legacy-tempest-dsvm-neutron-full
* gate-tempest-dsvm-neutron-full-ubuntu-xenial
vars:
tox_envlist: full
devstack_localrc:
ENABLE_FILE_INJECTION: true
- job:
name: tempest-full-oslo-master
parent: tempest-full
description: |
Integration test using current git of oslo libs.
This ensures that when oslo libs get released that they
do not break OpenStack server projects.
Former name for this job was
periodic-tempest-dsvm-oslo-latest-full-master.
timeout: 10800
required-projects:
- git.openstack.org/openstack/oslo.cache
- git.openstack.org/openstack/oslo.concurrency
- git.openstack.org/openstack/oslo.config
- git.openstack.org/openstack/oslo.context
- git.openstack.org/openstack/oslo.db
- git.openstack.org/openstack/oslo.i18n
- git.openstack.org/openstack/oslo.log
- git.openstack.org/openstack/oslo.messaging
- git.openstack.org/openstack/oslo.middleware
- git.openstack.org/openstack/oslo.policy
- git.openstack.org/openstack/oslo.privsep
- git.openstack.org/openstack/oslo.reports
- git.openstack.org/openstack/oslo.rootwrap
- git.openstack.org/openstack/oslo.serialization
- git.openstack.org/openstack/oslo.service
- git.openstack.org/openstack/oslo.utils
- git.openstack.org/openstack/oslo.versionedobjects
- git.openstack.org/openstack/oslo.vmware
- job:
name: tempest-full-parallel
parent: tempest-full
voting: false
branches:
- master
description: |
Base integration test with Neutron networking and py27.
It includes all scenarios as it was in the past.
This job runs all scenario tests in parallel!
vars:
tox_envlist: full-parallel
- job:
name: tempest-full-py3
parent: devstack-tempest
# This currently works from stable/pike on.
# Before stable/pike, legacy version of tempest-full
# 'legacy-tempest-dsvm-neutron-full' run.
branches: ^(?!stable/ocata).*$
description: |
Base integration test with Neutron networking and py3.
Former names for this job where:
* legacy-tempest-dsvm-py35
* gate-tempest-dsvm-py35
vars:
tox_envlist: full
devstack_localrc:
USE_PYTHON3: true
FORCE_CONFIG_DRIVE: true
devstack_services:
s-account: false
s-container: false
s-object: false
s-proxy: false
# without Swift, c-bak cannot run (in the Gate at least)
c-bak: false
- job:
name: tempest-full-py3-ipv6
parent: devstack-tempest-ipv6
# This currently works from stable/pike on.
# Before stable/pike, legacy version of tempest-full
# 'legacy-tempest-dsvm-neutron-full' run.
branches: ^(?!stable/ocata).*$
description: |
Base integration test with Neutron networking, IPv6 and py3.
vars:
tox_envlist: full
devstack_localrc:
USE_PYTHON3: true
FORCE_CONFIG_DRIVE: true
devstack_services:
s-account: false
s-container: false
s-object: false
s-proxy: false
# without Swift, c-bak cannot run (in the Gate at least)
c-bak: false
- job:
name: tempest-multinode-full
parent: devstack-tempest
nodeset: openstack-two-node
# Until the devstack changes are backported, only run this on master
branches:
- master
description: |
Base multinode integration test with Neutron networking and py27.
Former names for this job were:
* neutron-tempest-multinode-full
* legacy-tempest-dsvm-neutron-multinode-full
* gate-tempest-dsvm-neutron-multinode-full-ubuntu-xenial-nv
This job includes two nodes, controller / tempest plus a subnode, but
it can be used with different topologies, as long as a controller node
and a tempest one exist.
timeout: 10800
vars:
tox_envlist: full
devstack_localrc:
FORCE_CONFIG_DRIVE: false
NOVA_ALLOW_MOVE_TO_SAME_HOST: false
LIVE_MIGRATION_AVAILABLE: true
USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: true
group-vars:
peers:
devstack_localrc:
NOVA_ALLOW_MOVE_TO_SAME_HOST: false
LIVE_MIGRATION_AVAILABLE: true
USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION: true
- nodeset:
name: openstack-bionic-node
nodes:
- name: controller
label: ubuntu-bionic
groups:
- name: tempest
nodes:
- controller
- job:
name: tempest-full-py36
parent: tempest-full-py3
nodeset: openstack-bionic-node
branches:
- master
description: |
Base integration test with Neutron networking and py36.
voting: false
- nodeset:
name: openstack-opensuse150-node
nodes:
- name: controller
label: opensuse-150
groups:
- name: tempest
nodes:
- controller
- job:
name: tempest-full-py3-opensuse150
parent: tempest-full-py3
nodeset: openstack-opensuse150-node
description: |
Base integration test with Neutron networking and py36 running
on openSUSE Leap 15.0
voting: false
- job:
name: tempest-slow
parent: tempest-multinode-full
branches:
- master
description: |
This multinode integration job will run all the tests tagged as slow.
It enables the lvm multibackend setup to cover few scenario tests.
This job will run only slow tests (API or Scenario) serially.
Former names for this job were:
* legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend
* tempest-scenario-multinode-lvm-multibackend
timeout: 10800
vars:
tox_envlist: slow-serial
devstack_localrc:
CINDER_ENABLED_BACKENDS: lvm:lvmdriver-1,lvm:lvmdriver-2
tempest_concurrency: 2
- job:
name: tempest-full-rocky
parent: tempest-full
override-checkout: stable/rocky
- job:
name: tempest-full-rocky-py3
parent: tempest-full-py3
override-checkout: stable/rocky
- job:
name: tempest-full-queens
parent: tempest-full
override-checkout: stable/queens
- job:
name: tempest-full-queens-py3
parent: tempest-full-py3
override-checkout: stable/queens
- job:
name: tempest-full-pike
parent: tempest-full
override-checkout: stable/pike
- job:
name: tempest-tox-plugin-sanity-check
parent: tox
description: |
Run tempest plugin sanity check script using tox.
nodeset: ubuntu-xenial
vars:
tox_envlist: plugin-sanity-check
voting: false
timeout: 5000
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
required-projects:
- git.openstack.org/openstack/almanach
- git.openstack.org/openstack/aodh
- git.openstack.org/openstack/barbican-tempest-plugin
- git.openstack.org/openstack/ceilometer
- git.openstack.org/openstack/cinder
- git.openstack.org/openstack/congress
- git.openstack.org/openstack/designate-tempest-plugin
- git.openstack.org/openstack/ec2-api
- git.openstack.org/openstack/freezer
- git.openstack.org/openstack/freezer-api
- git.openstack.org/openstack/freezer-tempest-plugin
- git.openstack.org/openstack/gce-api
- git.openstack.org/openstack/glare
- git.openstack.org/openstack/heat
- git.openstack.org/openstack/intel-nfv-ci-tests
- git.openstack.org/openstack/ironic
- git.openstack.org/openstack/ironic-inspector
- git.openstack.org/openstack/keystone-tempest-plugin
- git.openstack.org/openstack/kingbird
- git.openstack.org/openstack/kuryr-tempest-plugin
- git.openstack.org/openstack/magnum
- git.openstack.org/openstack/magnum-tempest-plugin
- git.openstack.org/openstack/manila
- git.openstack.org/openstack/manila-tempest-plugin
- git.openstack.org/openstack/mistral
- git.openstack.org/openstack/mogan
- git.openstack.org/openstack/monasca-api
- git.openstack.org/openstack/monasca-log-api
- git.openstack.org/openstack/murano
- git.openstack.org/openstack/networking-bgpvpn
- git.openstack.org/openstack/networking-cisco
- git.openstack.org/openstack/networking-fortinet
- git.openstack.org/openstack/networking-generic-switch
- git.openstack.org/openstack/networking-l2gw
- git.openstack.org/openstack/networking-midonet
- git.openstack.org/openstack/networking-plumgrid
- git.openstack.org/openstack/networking-sfc
- git.openstack.org/openstack/neutron
- git.openstack.org/openstack/neutron-dynamic-routing
- git.openstack.org/openstack/neutron-fwaas
- git.openstack.org/openstack/neutron-lbaas
- git.openstack.org/openstack/neutron-tempest-plugin
- git.openstack.org/openstack/neutron-vpnaas
- git.openstack.org/openstack/nova-lxd
- git.openstack.org/openstack/novajoin-tempest-plugin
- git.openstack.org/openstack/octavia-tempest-plugin
- git.openstack.org/openstack/oswin-tempest-plugin
- git.openstack.org/openstack/panko
- git.openstack.org/openstack/patrole
- git.openstack.org/openstack/qinling
- git.openstack.org/openstack/requirements
- git.openstack.org/openstack/sahara-tests
- git.openstack.org/openstack/senlin
- git.openstack.org/openstack/senlin-tempest-plugin
- git.openstack.org/openstack/tap-as-a-service
- git.openstack.org/openstack/tempest-horizon
- git.openstack.org/openstack/trio2o
- git.openstack.org/openstack/trove
- git.openstack.org/openstack/valet
- git.openstack.org/openstack/vitrage
- git.openstack.org/openstack/vmware-nsx-tempest-plugin
- git.openstack.org/openstack/watcher-tempest-plugin
- git.openstack.org/openstack/zaqar-tempest-plugin
- git.openstack.org/openstack/zun-tempest-plugin
- job:
name: tempest-cinder-v2-api
parent: devstack-tempest
branches:
- master
description: |
This job runs the cinder API test against v2 endpoint.
vars:
tox_envlist: all
tempest_test_regex: api.*volume
devstack_localrc:
TEMPEST_VOLUME_TYPE: volumev2
- job:
name: tempest-full-test-account-py3
parent: tempest-full-py3
description: |
This job runs the full set of tempest tests using pre-provisioned
credentials instead of dynamic credentials and py3.
Former names for this job were:
- legacy-tempest-dsvm-full-test-accounts
- legacy-tempest-dsvm-neutron-full-test-accounts
- legacy-tempest-dsvm-identity-v3-test-accounts
vars:
devstack_localrc:
TEMPEST_USE_TEST_ACCOUNTS: True
- job:
name: tempest-full-test-account-no-admin-py3
parent: tempest-full-test-account-py3
description: |
This job runs the full set of tempest tests using pre-provisioned
credentials and py3 without having an admin account.
Former name for this job was:
- legacy-tempest-dsvm-neutron-full-non-admin
vars:
devstack_localrc:
TEMPEST_HAS_ADMIN: False
- job:
name: tempest-pg-full
parent: tempest-full
description: |
Base integration test with Neutron networking and py27 and PostgreSQL.
Former name for this job was legacy-tempest-dsvm-neutron-pg-full.
vars:
devstack_localrc:
ENABLE_FILE_INJECTION: true
DATABASE_TYPE: postgresql
- project:
templates:
- check-requirements
- integrated-gate
- integrated-gate-py35
- openstack-cover-jobs
- openstack-python-jobs
- openstack-python35-jobs
- openstack-python36-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- devstack-tempest:
files:
- ^playbooks/
- ^roles/
- ^.zuul.yaml$
- devstack-tempest-ipv6:
voting: false
files:
- ^playbooks/
- ^roles/
- ^.zuul.yaml$
- nova-multiattach:
# Define list of irrelevant files to use everywhere else
irrelevant-files: &tempest-irrelevant-files
- ^(test-|)requirements.txt$
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- ^tools/.*$
- tempest-full-parallel:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-py3:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-py36:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-py3-ipv6:
voting: false
irrelevant-files: *tempest-irrelevant-files
- tempest-full-rocky:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-rocky-py3:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-queens:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-queens-py3:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-pike:
irrelevant-files: *tempest-irrelevant-files
- tempest-multinode-full:
irrelevant-files: *tempest-irrelevant-files
- tempest-tox-plugin-sanity-check
- tempest-slow:
irrelevant-files: *tempest-irrelevant-files
- nova-cells-v1:
irrelevant-files: *tempest-irrelevant-files
- nova-live-migration:
voting: false
irrelevant-files: *tempest-irrelevant-files
- neutron-grenade-multinode:
irrelevant-files: *tempest-irrelevant-files
- neutron-grenade:
irrelevant-files: *tempest-irrelevant-files
- devstack-plugin-ceph-tempest:
voting: false
irrelevant-files: *tempest-irrelevant-files
- puppet-openstack-integration-4-scenario001-tempest-centos-7:
voting: false
irrelevant-files: *tempest-irrelevant-files
- puppet-openstack-integration-4-scenario002-tempest-centos-7:
voting: false
irrelevant-files: *tempest-irrelevant-files
- puppet-openstack-integration-4-scenario003-tempest-centos-7:
voting: false
irrelevant-files: *tempest-irrelevant-files
- puppet-openstack-integration-4-scenario004-tempest-centos-7:
voting: false
irrelevant-files: *tempest-irrelevant-files
- neutron-tempest-dvr:
irrelevant-files: *tempest-irrelevant-files
- legacy-tempest-dsvm-neutron-full-ocata:
irrelevant-files: *tempest-irrelevant-files
- tempest-full:
irrelevant-files: *tempest-irrelevant-files
- interop-tempest-consistency:
voting: false
irrelevant-files: *tempest-irrelevant-files
- tempest-full-test-account-py3:
voting: false
irrelevant-files: *tempest-irrelevant-files
- tempest-full-test-account-no-admin-py3:
voting: false
irrelevant-files: *tempest-irrelevant-files
gate:
jobs:
- nova-multiattach:
irrelevant-files: *tempest-irrelevant-files
- tempest-slow:
irrelevant-files: *tempest-irrelevant-files
- neutron-grenade-multinode:
irrelevant-files: *tempest-irrelevant-files
- tempest-full:
irrelevant-files: *tempest-irrelevant-files
- neutron-grenade:
irrelevant-files: *tempest-irrelevant-files
experimental:
jobs:
- tempest-cinder-v2-api:
irrelevant-files: *tempest-irrelevant-files
- tempest-all:
irrelevant-files: *tempest-irrelevant-files
- legacy-tempest-dsvm-neutron-dvr-multinode-full:
irrelevant-files: *tempest-irrelevant-files
- neutron-tempest-dvr-ha-multinode-full:
irrelevant-files: *tempest-irrelevant-files
- legacy-tempest-dsvm-nova-v20-api:
irrelevant-files: *tempest-irrelevant-files
- legacy-tempest-dsvm-lvm-multibackend:
irrelevant-files: *tempest-irrelevant-files
- devstack-plugin-ceph-tempest-py3:
irrelevant-files: *tempest-irrelevant-files
- tempest-pg-full:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-py3-opensuse150:
irrelevant-files: *tempest-irrelevant-files
periodic-stable:
jobs:
- tempest-full-rocky
- tempest-full-rocky-py3
- tempest-full-queens
- tempest-full-queens-py3
- tempest-full-pike
- legacy-periodic-tempest-dsvm-neutron-full-ocata
periodic:
jobs:
- tempest-all
- tempest-full-oslo-master