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 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
67 csit-list: !include: csit-jobs-neon.lst
68 csit-weekly-list: '{csit-weekly-list-neon}'
69 csit-high-frequency-list: '{csit-high-frequency-list-neon}'
71 branch: 'stable/fluorine'
73 alto bier capwap centinel didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
74 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
75 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd tempest wip
76 aaa-csit-1node-keystone-all
77 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
78 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
79 netvirt-csit-3node-1cmb
80 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
81 csit-list: !include: csit-jobs-fluorine.lst
82 csit-weekly-list: '{csit-weekly-list-fluorine}'
83 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
85 branch: 'stable/oxygen'
87 capwap centinel didm iotdm jsonrpc lacp messaging4transport netide nic
88 ocpplugin sdninterfaceapp unimgr usecplugin gate longevity sanity tdd tempest wip
89 aaa-csit-1node-keystone-all groupbasedpolicy-csit-1node-1cmb-0ctl-0cmp-openstack-pike-openstack
90 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
91 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
92 netvirt-csit-3node-1cmb
93 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
94 csit-list: !include: csit-jobs-oxygen.lst
95 csit-weekly-list: '{csit-weekly-list-oxygen}'
96 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
99 name: integration-sanity
100 project: integration/test
101 project-name: integration-test
103 - 'integration-sanity-test-{stream}'
109 csit-sanity-list: '{csit-sanity-list-neon}'
111 branch: 'stable/fluorine'
113 csit-sanity-list: '{csit-sanity-list-fluorine}'
115 branch: 'stable/oxygen'
116 karaf-version: karaf4
117 csit-sanity-list: '{csit-sanity-list-oxygen}'
120 name: 'integration-distribution-test-{stream}'
121 # Goal: Verify a distribution through all system test available
122 # Operation: This template takes a distribution and passes all available system test
124 project-type: freestyle
125 node: queue-disttest-2c-1g
128 - opendaylight-infra-properties:
129 build-days-to-keep: '{build-days-to-keep}'
132 - integration-bundle-url:
133 bundle-url: '{bundle-url}'
134 - distribution-karaf-version:
135 karaf-version: '{karaf-version}'
139 - project: '{csit-list}'
141 predefined-parameters: |
142 BUNDLE_URL=$BUNDLE_URL
143 KARAF_VERSION=$KARAF_VERSION
146 - opendaylight-infra-generate-csit-status-report
147 - email-notification:
148 email-recipients: '{email-recipients}'
149 email-prefix: '[integration]'
153 name: 'integration-sanity-test-{stream}'
154 # Goal: Verify a distribution through sanity test
155 # Operation: This template takes a distribution and passes sanity test
156 # This jobs works for both managed & unmanaged distro.
158 project-type: freestyle
159 node: queue-intque-2c-1g
162 - opendaylight-infra-properties:
163 build-days-to-keep: '{build-days-to-keep}'
166 - integration-bundle-url:
167 bundle-url: '{bundle-url}'
168 - distribution-karaf-version:
169 karaf-version: '{karaf-version}'
172 - timed: '{schedule-daily}'
176 - project: '{csit-sanity-list}'
178 predefined-parameters: |
179 BUNDLE_URL=$BUNDLE_URL
180 KARAF_VERSION=$KARAF_VERSION
183 - email-notification:
184 email-recipients: '{email-recipients}'
185 email-prefix: '[integration]'
188 name: 'integration-patch-test-{stream}'
189 # Template: integration-patch-test-{stream}
190 # Goal: Build a patch and run all available system test on a distribution containing the change
191 # Operation: This job template builds a patch, creates a distribution containing the patch, and
192 # triggers the distribution test when test-integration is used in gerrit comments
194 project-type: freestyle
195 node: centos7-builder-2c-8g
198 - opendaylight-infra-properties:
199 build-days-to-keep: '{build-days-to-keep}'
202 - opendaylight-infra-parameters:
203 os-cloud: '{os-cloud}'
204 project: '$GERRIT_PROJECT'
206 refspec: '$GERRIT_REFSPEC'
207 artifacts: '{archive-artifacts}'
208 - integration-distribution-branch:
210 - distribution-karaf-version:
211 karaf-version: '{karaf-version}'
212 - integration-distribution-git-url:
218 - integration-gerrit-scm:
219 basedir: '$GERRIT_PROJECT'
220 refspec: '$GERRIT_REFSPEC'
222 - integration-distribution-scm:
226 - opendaylight-infra-wrappers:
231 server-name: '{gerrit-server-name}'
233 - comment-added-contains-event:
234 comment-contains-value: 'test-integration'
236 - project-compare-type: 'ANT'
237 project-pattern: '**'
239 - branch-compare-type: 'ANT'
240 branch-pattern: '**/{branch}'
248 - integration-rebase-gerrit-patch
249 - wipe-org-opendaylight-repo
250 - provide-maven-settings:
251 global-settings-file: 'global-settings'
252 settings-file: 'integration-settings'
254 maven-version: 'mvn35'
255 pom: '$GERRIT_PROJECT/pom.xml'
257 clean install dependency:tree -DoutputFile=dependency_tree.txt
260 {opendaylight-infra-mvn-opts}
261 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
263 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
264 settings: integration-settings
266 global-settings: global-settings
267 global-settings-type: cfp
270 pom: distribution/pom.xml
272 clean install dependency:tree -DoutputFile=dependency_tree.txt
273 {opendaylight-infra-mvn-opts}
274 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
276 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
277 settings: integration-settings
279 global-settings: global-settings
280 global-settings-type: cfp
281 - integration-upload-distribution:
282 dist-pom: distribution/pom.xml
284 - project: '{csit-list}'
286 predefined-parameters: |
287 BUNDLE_URL=$BUNDLE_URL
288 KARAF_VERSION=$KARAF_VERSION
292 - email-notification:
293 email-recipients: '{email-recipients}'
294 email-prefix: '[$GERRIT_PROJECT]'
298 name: 'integration-multipatch-test-{stream}'
299 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
300 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
301 # it creates a distribution containing all patches and triggers the distribution test job which includes most
302 # (if not all) available CSIT jobs.
304 project-type: freestyle
305 node: centos7-builder-8c-8g
307 jdk: '{java-version}'
310 - opendaylight-infra-properties:
311 build-days-to-keep: '{build-days-to-keep}'
314 - patches-to-build-parameter:
315 patches_to_build: '$PATCHES_TO_BUILD'
316 - build-order-parameter:
317 build-order: '{build-order}'
318 - build-fast-parameter:
320 - run-test-parameter:
322 - integration-distribution-branch:
324 - integration-distribution-stream:
326 - distribution-karaf-version:
327 karaf-version: '{karaf-version}'
328 - opendaylight-infra-parameters:
329 os-cloud: '{os-cloud}'
330 project: 'integration/distribution'
332 refspec: 'refs/heads/{branch}'
333 artifacts: '{archive-artifacts}'
334 - lf-infra-maven-parameters:
338 staging-profile-id: '' # Staging repos do not make sense for this job
341 - opendaylight-infra-wrappers:
342 build-timeout: '1200'
346 server-name: '{gerrit-server-name}'
348 - comment-added-contains-event:
349 comment-contains-value: 'multipatch-build'
351 - project-compare-type: ANT
352 project-pattern: '**'
354 - branch-compare-type: ANT
355 branch-pattern: '**/{branch}'
358 - wipe-org-opendaylight-repo
360 mvn-version: '{mvn-version}'
361 - provide-maven-settings:
362 global-settings-file: 'global-settings'
363 settings-file: 'integration-distribution-settings'
364 - integration-multipatch-builder
365 - integration-upload-distribution:
366 dist-pom: patch_tester/distribution/pom.xml
368 condition-kind: boolean-expression
369 condition-expression: $RUN_TEST
372 - project: '{csit-list}'
374 predefined-parameters: |
375 BUNDLE_URL=$BUNDLE_URL
376 KARAF_VERSION=$KARAF_VERSION
380 - email-notification:
381 email-recipients: '{email-recipients}'
382 email-prefix: '[int/dist]'
385 name: 'integration-distribution-weekly-test-trigger-{stream}'
387 project-type: freestyle
388 node: queue-intque-2c-1g
391 - opendaylight-infra-properties:
392 build-days-to-keep: '{build-days-to-keep}'
395 - integration-bundle-url:
396 bundle-url: '{bundle-url}'
397 - distribution-karaf-version:
398 karaf-version: '{karaf-version}'
401 - timed: '{schedule-weekly}'
405 - project: '{csit-weekly-list}'
407 predefined-parameters: |
408 BUNDLE_URL=$BUNDLE_URL
409 KARAF_VERSION=$KARAF_VERSION
412 - email-notification:
413 email-recipients: '{email-recipients}'
414 email-prefix: '[integration]'
417 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
419 project-type: freestyle
420 node: queue-intque-2c-1g
423 - opendaylight-infra-properties:
424 build-days-to-keep: '{build-days-to-keep}'
427 - integration-bundle-url:
428 bundle-url: '{bundle-url}'
429 - distribution-karaf-version:
430 karaf-version: '{karaf-version}'
433 - timed: '{schedule-high-frequency}'
437 - project: '{csit-high-frequency-list}'
439 predefined-parameters: |
440 BUNDLE_URL=$BUNDLE_URL
441 KARAF_VERSION=$KARAF_VERSION
444 - email-notification:
445 email-recipients: '{email-recipients}'
446 email-prefix: '[integration]'
449 name: 'integration-update-csit-tests-{stream}'
451 # This job's purpose is to update csit
452 # tests to run in integration-distribution-test-{stream}
453 # by updating integration files: csit-list-{stream}.inc
454 # These files can be used as !include in int-dist-test-{stream}
456 ######################
457 # Default parameters #
458 ######################
460 git-url: '$GIT_URL/$PROJECT'
461 submodule-recursive: true
463 #####################
464 # Job Configuration #
465 #####################
467 project-type: freestyle
468 node: centos7-builder-2c-2g
471 - lf-infra-properties:
472 build-days-to-keep: 7
475 - lf-infra-parameters:
476 project: releng/builder # Hardcode as this job needs to pull releng/builder
478 branch: master # Hardcode as releng/builder only has master
479 lftools-version: '{lftools-version}'
482 default: '{csit-blacklist}'
483 description: Space separated list of jobs strings to blacklist.
486 - lf-infra-gerrit-scm:
487 jenkins-ssh-credential: '{jenkins-ssh-credential}'
489 refspec: '$GERRIT_REFSPEC'
490 branch: '$GERRIT_BRANCH'
491 submodule-recursive: '{submodule-recursive}'
492 choosing-strategy: default
497 jenkins-ssh-credential: '{jenkins-ssh-credential}'
501 jobs: builder-jjb-merge
504 - shell: !include-raw-escape: update-csit-tests.sh
507 git add jjb/integration/*.lst
508 - lf-infra-push-gerrit-patch:
509 project: 'releng/builder'
510 gerrit-user: 'jenkins-$SILO'
511 gerrit-host: 'git.opendaylight.org'
512 gerrit-topic: 'auto-update-csit-jobs-{stream}'
513 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
514 reviewers-email: 'jluhrsen@redhat.com'
521 description: 'List of integration jobs'
522 regex: '^integration-.*'
523 <<: *releng_view_common