summaryrefslogtreecommitdiff
path: root/zuul.d/base.yaml
blob: 073ea3218fe86485559e6fa0c283eead4b43c45f (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
- job:
    name: neutron-functional
    parent: devstack-minimal
    description: Run neutron functional tests
    timeout: 7800
    required-projects:
      - opendev.org/openstack/devstack
      - openstack/neutron
      - openstack/requirements
    roles:
      - zuul: openstack/devstack
    pre-run: playbooks/configure_functional_job.yaml
    run: playbooks/run_functional_job.yaml
    post-run: playbooks/post_functional_job.yaml
    irrelevant-files: &irrelevant-files
      - ^\.pylintrc$
      - ^.*\.conf\.sample$
      - ^.*\.rst$
      - ^doc/.*$
      - ^neutron/locale/.*$
      - ^neutron/tests/unit/.*$
      - ^neutron/tests/fullstack/.*$
      - ^releasenotes/.*$
      - ^setup.cfg$
      - ^plugin.spec$
      - ^tools/ovn_migration/.*$
      - ^vagrant/.*$
      - ^devstack/.*\.sample$
      - ^playbooks/add_mariadb_repo.yaml
      - ^playbooks/configure_ebtables.yaml
      - ^playbooks/dvr-multinode-scenario-pre-run.yaml
      - ^playbooks/install_nftables.yaml
      - ^playbooks/multinode-setup.yaml
      - ^playbooks/prepare-ovn-multinode.yaml
      - ^roles/add_mariadb_repo/.*$
      - ^roles/nftables/.*$
      - ^rally-jobs/.*$
      - ^zuul.d/(?!(project)).*\.yaml
    vars:
      configure_swap_size: 8192
      Q_BUILD_OVS_FROM_GIT: True
      MEMORY_TRACKER: True
      INSTALL_OVN: True
      devstack_services:
        # Ignore any default set by devstack. Emit a "disable_all_services".
        base: false
        etcd3: false
      devstack_localrc:
        INSTALL_TESTONLY_PACKAGES: true
        DATABASE_PASSWORD: stackdb
      tox_envlist: dsvm-functional-gate
      tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
      zuul_copy_output:
        # We need to copy archive with logs to have it in job artifacts also,
        # /opt/stack/logs is default logs directory defined in neutron's
        # tox.ini file
        '/opt/stack/logs/dsvm-functional-logs.tar.gz': logs

- job:
    name: neutron-fullstack
    parent: neutron-functional
    timeout: 9000
    vars:
      tox_envlist: dsvm-fullstack-gate
      Q_BUILD_OVS_FROM_GIT: False
      INSTALL_OVN: False
      logs_path: '/opt/stack/logs/dsvm-fullstack-logs'
      log_archive_file_name: '/opt/stack/logs/dsvm-fullstack-logs.tar.gz'
      zuul_copy_output:
        # We need to copy archive with logs to have it in job artifacts also,
        # /opt/stack/logs is default logs directory defined in neutron's
        # tox.ini file
        '/opt/stack/logs/dsvm-fullstack-logs.tar.gz': logs
    irrelevant-files:
      - ^\.pylintrc$
      - ^releasenotes/.*$
      - ^doc/.*$
      - ^setup.cfg$
      - ^plugin.spec$
      - ^tools/ovn_migration/.*$
      - ^.*\.conf\.sample$
      - ^.*\.rst$
      - ^neutron/locale/.*$
      - ^neutron/tests/unit/.*$
      - ^neutron/tests/functional/.*$
      - ^neutron/agent/ovn/.*$
      - ^neutron/agent/windows/.*$
      - ^neutron/plugins/ml2/drivers/macvtap/.*$
      - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
      - ^neutron/plugins/ml2/drivers/ovn/.*$
      - ^neutron_lib/tests/unit/.*$
      - ^vagrant/.*$
      - ^devstack/.*\.sample$
      - ^playbooks/add_mariadb_repo.yaml
      - ^playbooks/configure_ebtables.yaml
      - ^playbooks/dvr-multinode-scenario-pre-run.yaml
      - ^playbooks/install_nftables.yaml
      - ^playbooks/multinode-setup.yaml
      - ^playbooks/prepare-ovn-multinode.yaml
      - ^roles/add_mariadb_repo/.*$
      - ^roles/nftables/.*$
      - ^rally-jobs/.*$
      - ^zuul.d/(?!(project)).*\.yaml

- job:
    name: neutron-fullstack-with-uwsgi
    parent: neutron-fullstack
    vars:
      devstack_localrc:
        NEUTRON_DEPLOY_MOD_WSGI: true
      # Because this job uses neutron defined tox env (defined in base job),
      # we need to set zuul_work_dir to neutron so that it can be used by
      # other projects. Currently devstack run this job. Not setting this
      # in base neutron-functional job as that is being used by neutron
      # stadium projects where they need to use stadium project as working dir.
      zuul_work_dir: src/opendev.org/openstack/neutron

- job:
    name: neutron-fullstack-with-uwsgi-with-neutron-lib-master
    branches: ^master$
    parent: neutron-fullstack-with-uwsgi
    required-projects:
      - openstack/neutron-lib

- job:
    name: neutron-fullstack-with-pyroute2-master
    branches: ^master$
    parent: neutron-fullstack
    required-projects:
      - name: github.com/svinota/pyroute2

- job:
    name: neutron-functional-with-uwsgi
    parent: neutron-functional
    vars:
      devstack_localrc:
        NEUTRON_DEPLOY_MOD_WSGI: true
      # Because this job uses neutron defined tox env (defined in base job),
      # we need to set zuul_work_dir to neutron so that it can be used by
      # other projects. Currently devstack run this job. Not setting this
      # in base neutron-functional job as that is being used by neutron
      # stadium projects where they need to use stadium project as working dir.
      zuul_work_dir: src/opendev.org/openstack/neutron

- job:
    name: neutron-functional-with-uwsgi-with-neutron-lib-master
    branches: ^master$
    parent: neutron-functional-with-uwsgi
    required-projects:
      - openstack/neutron-lib

- job:
    name: neutron-functional-with-uwsgi-fips
    parent: neutron-functional-with-uwsgi
    nodeset: devstack-single-node-centos-8-stream
    description: |
      Functional testing for a FIPS enabled Centos 8 system
    vars:
      nslookup_target: 'opendev.org'
      enable_fips: True
      # NOTE(ykarel) Remove MYSQL_GATHER_PERFORMANCE and
      # tox_environment when this job switches to centos-9-stream
      MYSQL_GATHER_PERFORMANCE: false
      tox_environment:
        TOX_PYTHON: python3.8
      devstack_localrc:
        ISCSI_CHAP_ALGORITHMS: SHA3-256,SHA256
        Q_BUILD_OVS_FROM_GIT: true

- job:
    name: neutron-functional-with-pyroute2-master
    branches: ^master$
    parent: neutron-functional
    required-projects:
      - name: github.com/svinota/pyroute2

- job:
    name: neutron-functional-with-oslo-master
    branches: ^master$
    parent: neutron-functional
    description: |
      This job installs all oslo libraries from source and executes the
      Neutron functional tests.
    # NOTE(ralonsoh): the list of required projects is retrieved from
    # "openstack-tox-with-oslo-master-base" job.
    # TODO(ralonsoh): push a patch to "openstack-zuul-jobs" to create
    # a list reference of the required projects for "-oslo-master" jobs.
    required-projects:
      - openstack/automaton
      - openstack/debtcollector
      - openstack/futurist
      - openstack/osprofiler
      - openstack/oslo.cache
      - openstack/oslo.concurrency
      - openstack/oslo.config
      - openstack/oslo.context
      - openstack/oslo.db
      - openstack/oslo.i18n
      - openstack/oslo.log
      - openstack/oslo.messaging
      - openstack/oslo.middleware
      - openstack/oslo.policy
      - openstack/oslo.privsep
      - openstack/oslo.reports
      - openstack/oslo.rootwrap
      - openstack/oslo.serialization
      - openstack/oslo.service
      - openstack/oslo.utils
      - openstack/oslo.versionedobjects
      - openstack/oslo.vmware
      - openstack/oslotest
      - openstack/pycadf
      - openstack/stevedore
      - openstack/taskflow
      - openstack/tooz
      - openstack/pbr

- job:
    name: neutron-functional-with-sqlalchemy-master
    branches: ^master$
    parent: neutron-functional
    required-projects:
      - name: github.com/sqlalchemy/sqlalchemy
        override-checkout: main
      - openstack/oslo.db
      - openstack/neutron-lib
      - name: github.com/sqlalchemy/alembic
        override-checkout: main
- job:
    name: neutron-fullstack-with-uwsgi-fips
    parent: neutron-fullstack-with-uwsgi
    nodeset: devstack-single-node-centos-8-stream
    description: |
      Functional testing for a FIPS enabled Centos 8 system
    vars:
      nslookup_target: 'opendev.org'
      enable_fips: True
      # NOTE(ykarel) Remove MYSQL_GATHER_PERFORMANCE and
      # tox_environment when this job switches to centos-9-stream
      MYSQL_GATHER_PERFORMANCE: false
      tox_environment:
        TOX_PYTHON: python3.8
      devstack_localrc:
        ISCSI_CHAP_ALGORITHMS: SHA3-256,SHA256
        Q_BUILD_OVS_FROM_GIT: true

- job:
    name: neutron-linuxbridge-tempest-plugin-nftables
    parent: neutron-tempest-plugin-linuxbridge
    pre-run: playbooks/install_nftables.yaml
    vars:
      devstack_local_conf:
        post-config:
          $NEUTRON_CONF:
            SECURITYGROUP:
              enable_ipset: false  # Not compatible with nftables

- job:
    name: neutron-ovs-tempest-plugin-iptables_hybrid-nftables
    parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
    pre-run: playbooks/install_nftables.yaml
    vars:
      devstack_local_conf:
        post-config:
          $NEUTRON_CONF:
            SECURITYGROUP:
              enable_ipset: false  # Not compatible with nftables