summaryrefslogtreecommitdiff
path: root/zuul.d/ironic-jobs.yaml
blob: 2b9a3ff8f063d063ea147d1014f81b7c9bf26004 (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
- job:
    name: ironic-base
    description: Base job for devstack/tempest based ironic jobs.
    parent: devstack-tempest
    timeout: 10800
    required-projects:
      - openstack/ironic
      - openstack/ironic-python-agent
      - openstack/ironic-tempest-plugin
      - openstack/pyghmi
      - openstack/virtualbmc
    irrelevant-files:
      - ^.*\.rst$
      - ^api-ref/.*$
      - ^doc/.*$
      - ^driver-requirements.txt$
      - ^install-guide/.*$
      - ^ironic/locale/.*$
      - ^ironic/tests/.*$
      - ^releasenotes/.*$
      - ^setup.cfg$
      - ^tools/.*$
      - ^tox.ini$
    vars:
      tox_envlist: all
      tempest_test_regex: ironic_tempest_plugin.tests.scenario
      tempest_concurrency: 1
      devstack_localrc:
        DEFAULT_INSTANCE_TYPE: baremetal
        FORCE_CONFIG_DRIVE: True
        INSTALL_TEMPEST: False # Don't install a tempest package globaly
        OVERRIDE_PUBLIC_BRIDGE_MTU: 1400
        TEMPEST_PLUGINS: "'{{ ansible_user_dir }}/src/git.openstack.org/openstack/ironic-tempest-plugin'"
        VIRT_DRIVER: ironic
        BUILD_TIMEOUT: 600
        IRONIC_BAREMETAL_BASIC_OPS: True
        IRONIC_BUILD_DEPLOY_RAMDISK: False
        IRONIC_CALLBACK_TIMEOUT: 600
        IRONIC_DEPLOY_DRIVER: ipmi
        IRONIC_INSPECTOR_BUILD_RAMDISK: False
        IRONIC_RAMDISK_TYPE: tinyipa
        IRONIC_TEMPEST_BUILD_TIMEOUT: 600
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: False
        IRONIC_VM_COUNT: 1
        IRONIC_VM_EPHEMERAL_DISK: 1
        IRONIC_VM_LOG_DIR: '{{ devstack_base_dir }}/ironic-bm-logs'
        IRONIC_VM_SPECS_RAM: 384
        IRONIC_DEFAULT_DEPLOY_INTERFACE: iscsi
        IRONIC_DEFAULT_RESCUE_INTERFACE: agent

        Q_AGENT: openvswitch
        Q_ML2_TENANT_NETWORK_TYPE: vxlan

        SWIFT_ENABLE_TEMPURLS: True
        SWIFT_TEMPURL_KEY: secretkey
      devstack_plugins:
        ironic: git://git.openstack.org/openstack/ironic
      zuul_copy_output:
        '{{ devstack_base_dir }}/ironic-bm-logs': 'logs'
      devstack_services:
        c-api: False
        c-bak: False
        c-sch: False
        c-vol: False
        cinder: False

        s-account: False
        s-container: False
        s-object: False
        s-proxy: False

        dstat: True
        g-api: True
        g-reg: True
        key: True
        mysql: True
        n-api: True
        n-api-meta: True
        n-cauth: True
        n-cond: True
        n-cpu: True
        n-novnc: True
        n-obj: True
        n-sch: True
        placement-api: True
        q-agt: False
        q-dhcp: False
        q-l3: False
        q-meta: False
        q-metering: False
        q-svc: False
        neutron-api: True
        neutron-agent: True
        neutron-dhcp: True
        neutron-l3: True
        neutron-metadata-agent: True
        neutron-metering: True
        rabbit: True

- job:
    name: ironic-dsvm-standalone
    description: Test ironic standalone
    parent: ironic-base
    irrelevant-files:
      - ^.*\.rst$
      - ^api-ref/.*$
      - ^doc/.*$
      - ^install-guide/.*$
      - ^ironic/locale/.*$
      - ^ironic/tests/.*$
      - ^releasenotes/.*$
      - ^setup.cfg$
      - ^test-requirements.txt$
      - ^tools/.*$
      - ^tox.ini$
    vars:
      tempest_test_regex: ironic_standalone
      tempest_concurrency: 4
      devstack_localrc:
        FORCE_CONFIG_DRIVE: False

        IRONIC_AUTOMATED_CLEAN_ENABLED: False
        IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
        IRONIC_ENABLED_DEPLOY_INTERFACES: "iscsi,direct,ansible"
        IRONIC_VM_COUNT: 6
      devstack_services:
        n-api: False
        n-api-meta: False
        n-cauth: False
        n-cond: False
        n-cpu: False
        n-novnc: False
        n-obj: False
        n-sch: False
        nova: False
        placement-api: False
        s-account: True
        s-container: True
        s-object: True
        s-proxy: True

- job:
    name: ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
    description: ironic-tempest-dsvm-ipa-partition-redfish-tinyipa
    parent: ironic-base
    timeout: 5400
    vars:
      devstack_localrc:
        IRONIC_DEPLOY_DRIVER: redfish
        IRONIC_ENABLED_HARDWARE_TYPES: redfish

- job:
    name: ironic-tempest-dsvm-pxe_ipmitool-postgres
    description: ironic-tempest-dsvm-pxe_ipmitool-postgres
    parent: ironic-base
    vars:
      devstack_localrc:
        IRONIC_IPXE_ENABLED: False
      devstack_services:
        mysql: False
        postgresql: True

- job:
    name: ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa
    description: ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa
    parent: ironic-base
    timeout: 5400
    vars:
      devstack_localrc:
        IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
        IRONIC_VM_EPHEMERAL_DISK: 0
      devstack_services:
        s-account: True
        s-container: True
        s-object: True
        s-proxy: True

- job:
    name: ironic-tempest-dsvm-ipa-wholedisk-bios-pxe_snmp-tinyipa
    description: ironic-tempest-dsvm-ipa-wholedisk-bios-pxe_snmp-tinyipa
    parent: ironic-base
    timeout: 5400
    vars:
      devstack_localrc:
        IRONIC_ENABLED_HARDWARE_TYPES: snmp
        IRONIC_DEPLOY_DRIVER: snmp
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
        IRONIC_VM_EPHEMERAL_DISK: 0

- job:
    name: ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
    description: ironic-tempest-dsvm-ipa-partition-uefi-pxe_ipmitool-tinyipa
    parent: ironic-base
    timeout: 5400
    vars:
      devstack_localrc:
        IRONIC_BOOT_MODE: uefi

- job:
    name: ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
    description: ironic-tempest-dsvm-ipa-partition-pxe_ipmitool-tinyipa-python3
    parent: ironic-base
    timeout: 5400
    vars:
      devstack_localrc:
        USE_PYTHON3: True

- job:
    name: ironic-tempest-dsvm-bfv
    description: ironic-tempest-dsvm-bfv
    parent: ironic-base
    timeout: 9600
    vars:
      tempest_test_regex: baremetal_boot_from_volume
      devstack_localrc:
        IRONIC_ENABLED_STORAGE_INTERFACES: cinder,noop
        IRONIC_STORAGE_INTERFACE: cinder
        IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
        IRONIC_VM_EPHEMERAL_DISK: 0
        IRONIC_VM_COUNT: 3
      devstack_services:
        c-api: True
        c-bak: True
        c-sch: True
        c-vol: True
        cinder: True

- job:
    name: ironic-tempest-dsvm-ipxe-bfv
    description: ironic-tempest-dsvm-ipxe-bfv
    parent: ironic-tempest-dsvm-bfv
    vars:
      devstack_localrc:
        IRONIC_ENABLED_BOOT_INTERFACES: ipxe,pxe,fake
        IRONIC_DEFAULT_BOOT_INTERFACE: ipxe

- job:
    name: ironic-tempest-dsvm-ironic-inspector
    description: ironic-tempest-dsvm-ironic-inspector
    parent: ironic-base
    required-projects:
      - openstack/ironic-inspector
    vars:
      tempest_test_regex: InspectorBasicTest
      devstack_localrc:
        IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
        IRONIC_INSPECTOR_MANAGE_FIREWALL: True
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
        IRONIC_VM_EPHEMERAL_DISK: 0
      devstack_plugins:
        ironic-inspector: git://git.openstack.org/openstack/ironic-inspector
      devstack_services:
        s-account: True
        s-container: True
        s-object: True
        s-proxy: True

- job:
    name: ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa-indirect
    description: ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa-indirect
    parent: ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa
    timeout: 5400
    vars:
      devstack_localrc:
        IRONIC_AGENT_IMAGE_DOWNLOAD_SOURCE: http

- job:
    name: ironic-tempest-dsvm-ipa-partition-bios-agent_ipmitool-tinyipa-indirect
    description: ironic-tempest-dsvm-ipa-partition-bios-agent_ipmitool-tinyipa-indirect
    parent: ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa
    timeout: 5400
    vars:
      devstack_localrc:
        IRONIC_AGENT_IMAGE_DOWNLOAD_SOURCE: http
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: False

- job:
    name: ironic-tempest-dsvm-functional-python2
    description: ironic-tempest-dsvm-functional-python2
    parent: ironic-base
    timeout: 5400
    pre-run: playbooks/ci-workarounds/etc-neutron.yaml
    vars:
      tempest_test_regex: ironic_tempest_plugin.tests.api
      devstack_localrc:
        IRONIC_BAREMETAL_BASIC_OPS: False
        IRONIC_DEFAULT_DEPLOY_INTERFACE: ""
        IRONIC_DEFAULT_NETWORK_INTERFACE: noop
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
        IRONIC_VM_EPHEMERAL_DISK: 0
      devstack_services:
        g-api: False
        g-reg: False
        n-api: False
        n-api-meta: False
        n-cauth: False
        n-cond: False
        n-cpu: False
        n-novnc: False
        n-obj: False
        n-sch: False
        nova: False
        placement-api: False
        neutron-api: False
        neutron-agent: False
        neutron-dhcp: False
        neutron-l3: False
        neutron-metadata-agent: False
        neutron-metering: False

- job:
    name: ironic-tempest-dsvm-functional-python3
    description: ironic-tempest-dsvm-functional-python3
    parent: ironic-tempest-dsvm-functional-python2
    vars:
      devstack_localrc:
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: False
        IRONIC_VM_EPHEMERAL_DISK: 1
        USE_PYTHON3: True