4 project: integration/test
5 project-name: integration-test
7 - 'integration-patch-test-{stream}'
8 - 'integration-multipatch-test-{stream}'
9 - '{project-name}-rtd-jobs':
10 build-node: centos7-builder-2c-2g
11 project-pattern: integration/test
12 rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-integrationtest/32934/
13 rtd-token: 70766f97941a74ef80b84749ac4799e5ddeee99a
18 # CSIT Lists in defaults.yaml
23 csit-list: !include: csit-jobs-neon.lst
25 odlparent yangtools infrautils mdsal controller aaa netconf daexim bgpcep
26 ovsdb neutron lispflowmapping openflowplugin coe genius sfc netvirt
29 branch: 'stable/fluorine'
31 csit-list: !include: csit-jobs-fluorine.lst
33 odlparent yangtools infrautils mdsal controller aaa netconf daexim bgpcep
34 ovsdb neutron lispflowmapping openflowplugin coe genius sfc netvirt
37 branch: 'stable/oxygen'
39 csit-list: !include: csit-jobs-oxygen.lst
41 odlparent yangtools infrautils mdsal controller aaa netconf daexim bgpcep
42 ovsdb neutron lispflowmapping openflowplugin coe genius sfc netvirt
45 name: integration-distribution
46 project: integration/test
47 project-name: integration-test
49 - 'integration-distribution-test-{stream}'
50 - 'integration-distribution-weekly-test-trigger-{stream}'
51 - 'integration-distribution-high-frequency-test-trigger-{stream}'
52 - 'integration-update-csit-tests-{stream}'
54 # CSIT Lists in defaults.yaml
59 alto bier capwap centinel didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
60 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
61 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd tempest wip
62 aaa-csit-1node-keystone-all
63 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
64 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
65 netvirt-csit-3node-1cmb
66 csit-list: !include: csit-jobs-neon.lst
67 csit-weekly-list: '{csit-weekly-list-neon}'
68 csit-high-frequency-list: '{csit-high-frequency-list-neon}'
70 branch: 'stable/fluorine'
72 alto bier capwap centinel didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
73 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
74 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd tempest wip
75 aaa-csit-1node-keystone-all
76 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
77 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
78 netvirt-csit-3node-1cmb
79 csit-list: !include: csit-jobs-fluorine.lst
80 csit-weekly-list: '{csit-weekly-list-fluorine}'
81 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
83 branch: 'stable/oxygen'
85 capwap centinel didm iotdm jsonrpc lacp messaging4transport netide nic
86 ocpplugin sdninterfaceapp unimgr usecplugin gate longevity sanity tdd tempest wip
87 aaa-csit-1node-keystone-all
88 groupbasedpolicy-csit-1node-1cmb-0ctl-0cmp-openstack-pike-openstack
89 csit-list: !include: csit-jobs-oxygen.lst
90 csit-weekly-list: '{csit-weekly-list-oxygen}'
91 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
94 name: integration-sanity
95 project: integration/test
96 project-name: integration-test
98 - 'integration-sanity-test-{stream}'
104 csit-sanity-list: '{csit-sanity-list-neon}'
106 branch: 'stable/fluorine'
108 csit-sanity-list: '{csit-sanity-list-fluorine}'
110 branch: 'stable/oxygen'
111 karaf-version: karaf4
112 csit-sanity-list: '{csit-sanity-list-oxygen}'
115 name: 'integration-distribution-test-{stream}'
116 # Goal: Verify a distribution through all system test available
117 # Operation: This template takes a distribution and passes all available system test
119 project-type: freestyle
120 node: queue-disttest-2c-1g
123 - opendaylight-infra-properties:
124 build-days-to-keep: '{build-days-to-keep}'
127 - integration-bundle-url:
128 bundle-url: '{bundle-url}'
129 - distribution-karaf-version:
130 karaf-version: '{karaf-version}'
134 - project: '{csit-list}'
136 predefined-parameters: |
137 BUNDLE_URL=$BUNDLE_URL
138 KARAF_VERSION=$KARAF_VERSION
141 - opendaylight-infra-generate-csit-status-report
142 - email-notification:
143 email-recipients: '{email-recipients}'
144 email-prefix: '[integration]'
148 name: 'integration-sanity-test-{stream}'
149 # Goal: Verify a distribution through sanity test
150 # Operation: This template takes a distribution and passes sanity test
151 # This jobs works for both managed & unmanaged distro.
153 project-type: freestyle
154 node: queue-intque-2c-1g
157 - opendaylight-infra-properties:
158 build-days-to-keep: '{build-days-to-keep}'
161 - integration-bundle-url:
162 bundle-url: '{bundle-url}'
163 - distribution-karaf-version:
164 karaf-version: '{karaf-version}'
167 - timed: '{schedule-daily}'
171 - project: '{csit-sanity-list}'
173 predefined-parameters: |
174 BUNDLE_URL=$BUNDLE_URL
175 KARAF_VERSION=$KARAF_VERSION
178 - email-notification:
179 email-recipients: '{email-recipients}'
180 email-prefix: '[integration]'
183 name: 'integration-patch-test-{stream}'
184 # Template: integration-patch-test-{stream}
185 # Goal: Build a patch and run all available system test on a distribution containing the change
186 # Operation: This job template builds a patch, creates a distribution containing the patch, and
187 # triggers the distribution test when test-integration is used in gerrit comments
189 project-type: freestyle
190 node: centos7-builder-2c-8g
193 - opendaylight-infra-properties:
194 build-days-to-keep: '{build-days-to-keep}'
197 - opendaylight-infra-parameters:
198 os-cloud: '{os-cloud}'
199 project: '$GERRIT_PROJECT'
201 refspec: '$GERRIT_REFSPEC'
202 artifacts: '{archive-artifacts}'
203 - integration-distribution-branch:
205 - distribution-karaf-version:
206 karaf-version: '{karaf-version}'
207 - integration-distribution-git-url:
213 - integration-gerrit-scm:
214 basedir: '$GERRIT_PROJECT'
215 refspec: '$GERRIT_REFSPEC'
217 - integration-distribution-scm:
221 - opendaylight-infra-wrappers:
226 server-name: '{gerrit-server-name}'
228 - comment-added-contains-event:
229 comment-contains-value: 'test-integration'
231 - project-compare-type: 'ANT'
232 project-pattern: '**'
234 - branch-compare-type: 'ANT'
235 branch-pattern: '**/{branch}'
243 - integration-rebase-gerrit-patch
244 - wipe-org-opendaylight-repo
245 - provide-maven-settings:
246 global-settings-file: 'global-settings'
247 settings-file: 'integration-settings'
249 maven-version: 'mvn35'
250 pom: '$GERRIT_PROJECT/pom.xml'
252 clean install dependency:tree -DoutputFile=dependency_tree.txt
255 {opendaylight-infra-mvn-opts}
256 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
258 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
259 settings: integration-settings
261 global-settings: global-settings
262 global-settings-type: cfp
265 pom: distribution/pom.xml
267 clean install dependency:tree -DoutputFile=dependency_tree.txt
268 {opendaylight-infra-mvn-opts}
269 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
271 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
272 settings: integration-settings
274 global-settings: global-settings
275 global-settings-type: cfp
276 - integration-upload-distribution:
277 dist-pom: distribution/pom.xml
279 - project: '{csit-list}'
281 predefined-parameters: |
282 BUNDLE_URL=$BUNDLE_URL
283 KARAF_VERSION=$KARAF_VERSION
287 - email-notification:
288 email-recipients: '{email-recipients}'
289 email-prefix: '[$GERRIT_PROJECT]'
293 name: 'integration-multipatch-test-{stream}'
294 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
295 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
296 # it creates a distribution containing all patches and triggers the distribution test job which includes most
297 # (if not all) available CSIT jobs.
299 project-type: freestyle
300 node: centos7-builder-8c-8g
302 jdk: '{java-version}'
305 - opendaylight-infra-properties:
306 build-days-to-keep: '{build-days-to-keep}'
309 - patches-to-build-parameter:
310 patches_to_build: '$PATCHES_TO_BUILD'
311 - build-order-parameter:
312 build-order: '{build-order}'
313 - build-fast-parameter:
315 - run-test-parameter:
317 - integration-distribution-branch:
319 - integration-distribution-stream:
321 - distribution-karaf-version:
322 karaf-version: '{karaf-version}'
323 - opendaylight-infra-parameters:
324 os-cloud: '{os-cloud}'
325 project: 'integration/distribution'
327 refspec: 'refs/heads/{branch}'
328 artifacts: '{archive-artifacts}'
329 - lf-infra-maven-parameters:
333 staging-profile-id: '' # Staging repos do not make sense for this job
336 - opendaylight-infra-wrappers:
337 build-timeout: '1200'
341 server-name: '{gerrit-server-name}'
343 - comment-added-contains-event:
344 comment-contains-value: 'multipatch-build'
346 - project-compare-type: ANT
347 project-pattern: '**'
349 - branch-compare-type: ANT
350 branch-pattern: '**/{branch}'
353 - wipe-org-opendaylight-repo
355 mvn-version: '{mvn-version}'
356 - provide-maven-settings:
357 global-settings-file: 'global-settings'
358 settings-file: 'integration-distribution-settings'
359 - integration-multipatch-builder
360 - integration-upload-distribution:
361 dist-pom: patch_tester/distribution/pom.xml
363 condition-kind: boolean-expression
364 condition-expression: $RUN_TEST
367 - project: '{csit-list}'
369 predefined-parameters: |
370 BUNDLE_URL=$BUNDLE_URL
371 KARAF_VERSION=$KARAF_VERSION
375 - email-notification:
376 email-recipients: '{email-recipients}'
377 email-prefix: '[int/dist]'
380 name: 'integration-distribution-weekly-test-trigger-{stream}'
382 project-type: freestyle
383 node: queue-intque-2c-1g
386 - opendaylight-infra-properties:
387 build-days-to-keep: '{build-days-to-keep}'
390 - integration-bundle-url:
391 bundle-url: '{bundle-url}'
392 - distribution-karaf-version:
393 karaf-version: '{karaf-version}'
396 - timed: '{schedule-weekly}'
400 - project: '{csit-weekly-list}'
402 predefined-parameters: |
403 BUNDLE_URL=$BUNDLE_URL
404 KARAF_VERSION=$KARAF_VERSION
407 - email-notification:
408 email-recipients: '{email-recipients}'
409 email-prefix: '[integration]'
412 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
414 project-type: freestyle
415 node: queue-intque-2c-1g
418 - opendaylight-infra-properties:
419 build-days-to-keep: '{build-days-to-keep}'
422 - integration-bundle-url:
423 bundle-url: '{bundle-url}'
424 - distribution-karaf-version:
425 karaf-version: '{karaf-version}'
428 - timed: '{schedule-high-frequency}'
432 - project: '{csit-high-frequency-list}'
434 predefined-parameters: |
435 BUNDLE_URL=$BUNDLE_URL
436 KARAF_VERSION=$KARAF_VERSION
439 - email-notification:
440 email-recipients: '{email-recipients}'
441 email-prefix: '[integration]'
444 name: 'integration-update-csit-tests-{stream}'
446 # This job's purpose is to update csit
447 # tests to run in integration-distribution-test-{stream}
448 # by updating integration files: csit-list-{stream}.inc
449 # These files can be used as !include in int-dist-test-{stream}
451 ######################
452 # Default parameters #
453 ######################
455 git-url: '$GIT_URL/$PROJECT'
456 submodule-recursive: true
458 #####################
459 # Job Configuration #
460 #####################
462 project-type: freestyle
463 node: centos7-builder-2c-8g
466 - lf-infra-properties:
467 build-days-to-keep: 7
470 - lf-infra-parameters:
471 project: releng/builder # Hardcode as this job needs to pull releng/builder
473 branch: master # Hardcode as releng/builder only has master
474 lftools-version: '{lftools-version}'
477 default: '{csit-blacklist}'
478 description: Space separated list of jobs strings to blacklist.
481 - lf-infra-gerrit-scm:
482 jenkins-ssh-credential: '{jenkins-ssh-credential}'
484 refspec: '$GERRIT_REFSPEC'
485 branch: '$GERRIT_BRANCH'
486 submodule-recursive: '{submodule-recursive}'
487 choosing-strategy: default
492 jenkins-ssh-credential: '{jenkins-ssh-credential}'
496 jobs: builder-jjb-merge
499 - shell: !include-raw-escape: update-csit-tests.sh
502 git add jjb/integration/*.lst
503 - lf-infra-push-gerrit-patch:
504 project: 'releng/builder'
505 gerrit-user: 'jenkins-$SILO'
506 gerrit-host: 'git.opendaylight.org'
507 gerrit-topic: 'auto-update-csit-jobs-{stream}'
508 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
509 reviewers-email: 'jluhrsen@redhat.com'
516 description: 'List of integration jobs'
517 regex: '^integration-.*'
518 <<: *releng_view_common