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 csit-list: !include: csit-jobs-fluorine.lst
63 csit-weekly-list: '{csit-weekly-list-fluorine}'
64 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
66 branch: 'stable/oxygen'
68 capwap centinel didm iotdm jsonrpc lacp messaging4transport netide nic
69 ocpplugin sdninterfaceapp unimgr usecplugin gate longevity sanity tdd tempest wip
70 csit-list: !include: csit-jobs-oxygen.lst
71 csit-weekly-list: '{csit-weekly-list-oxygen}'
72 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
75 name: integration-sanity
76 project: integration/test
77 project-name: integration-test
79 - 'integration-sanity-test-{stream}'
85 csit-sanity-list: '{csit-sanity-list-fluorine}'
87 branch: 'stable/oxygen'
89 csit-sanity-list: '{csit-sanity-list-oxygen}'
92 name: 'integration-distribution-test-{stream}'
93 # Goal: Verify a distribution through all system test available
94 # Operation: This template takes a distribution and passes all available system test
96 project-type: freestyle
97 node: queue-disttest-2c-1g
100 - opendaylight-infra-properties:
101 build-days-to-keep: '{build-days-to-keep}'
104 - integration-bundle-url:
105 bundle-url: '{bundle-url}'
106 - distribution-karaf-version:
107 karaf-version: '{karaf-version}'
111 - project: '{csit-list}'
113 predefined-parameters: |
114 BUNDLE_URL=$BUNDLE_URL
115 KARAF_VERSION=$KARAF_VERSION
118 - opendaylight-infra-generate-csit-status-report
119 - email-notification:
120 email-recipients: '{email-recipients}'
121 email-prefix: '[integration]'
125 name: 'integration-sanity-test-{stream}'
126 # Goal: Verify a distribution through sanity test
127 # Operation: This template takes a distribution and passes sanity test
128 # This jobs works for both managed & unmanaged distro.
130 project-type: freestyle
131 node: queue-intque-2c-1g
134 - opendaylight-infra-properties:
135 build-days-to-keep: '{build-days-to-keep}'
138 - integration-bundle-url:
139 bundle-url: '{bundle-url}'
140 - distribution-karaf-version:
141 karaf-version: '{karaf-version}'
144 - timed: '{schedule-daily}'
148 - project: '{csit-sanity-list}'
150 predefined-parameters: |
151 BUNDLE_URL=$BUNDLE_URL
152 KARAF_VERSION=$KARAF_VERSION
155 - email-notification:
156 email-recipients: '{email-recipients}'
157 email-prefix: '[integration]'
160 name: 'integration-patch-test-{stream}'
161 # Template: integration-patch-test-{stream}
162 # Goal: Build a patch and run all available system test on a distribution containing the change
163 # Operation: This job template builds a patch, creates a distribution containing the patch, and
164 # triggers the distribution test when test-integration is used in gerrit comments
166 project-type: freestyle
167 node: centos7-builder-2c-8g
170 - opendaylight-infra-properties:
171 build-days-to-keep: '{build-days-to-keep}'
174 - opendaylight-infra-parameters:
175 os-cloud: '{os-cloud}'
176 project: '$GERRIT_PROJECT'
178 refspec: '$GERRIT_REFSPEC'
179 artifacts: '{archive-artifacts}'
180 - integration-distribution-branch:
182 - distribution-karaf-version:
183 karaf-version: '{karaf-version}'
184 - integration-distribution-git-url:
190 - integration-gerrit-scm:
191 basedir: '$GERRIT_PROJECT'
192 refspec: '$GERRIT_REFSPEC'
194 - integration-distribution-scm:
198 - opendaylight-infra-wrappers:
203 server-name: '{gerrit-server-name}'
205 - comment-added-contains-event:
206 comment-contains-value: 'test-integration'
208 - project-compare-type: 'ANT'
209 project-pattern: '**'
211 - branch-compare-type: 'ANT'
212 branch-pattern: '**/{branch}'
220 - integration-rebase-gerrit-patch
221 - wipe-org-opendaylight-repo
222 - provide-maven-settings:
223 global-settings-file: 'global-settings'
224 settings-file: 'integration-settings'
226 maven-version: 'mvn35'
227 pom: '$GERRIT_PROJECT/pom.xml'
229 clean install dependency:tree -DoutputFile=dependency_tree.txt
232 {opendaylight-infra-mvn-opts}
233 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
235 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
236 settings: integration-settings
238 global-settings: global-settings
239 global-settings-type: cfp
242 pom: distribution/pom.xml
244 clean install dependency:tree -DoutputFile=dependency_tree.txt
245 {opendaylight-infra-mvn-opts}
246 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
248 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
249 settings: integration-settings
251 global-settings: global-settings
252 global-settings-type: cfp
253 - integration-upload-distribution:
254 dist-pom: distribution/pom.xml
256 - project: '{csit-list}'
258 predefined-parameters: |
259 BUNDLE_URL=$BUNDLE_URL
260 KARAF_VERSION=$KARAF_VERSION
264 - email-notification:
265 email-recipients: '{email-recipients}'
266 email-prefix: '[$GERRIT_PROJECT]'
270 name: 'integration-multipatch-test-{stream}'
271 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
272 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
273 # it creates a distribution containing all patches and triggers the distribution test job which includes most
274 # (if not all) available CSIT jobs.
276 project-type: freestyle
277 node: centos7-builder-8c-8g
279 jdk: '{java-version}'
282 - opendaylight-infra-properties:
283 build-days-to-keep: '{build-days-to-keep}'
286 - patches-to-build-parameter:
287 patches_to_build: '$PATCHES_TO_BUILD'
288 - build-order-parameter:
289 build-order: '{build-order}'
290 - build-fast-parameter:
292 - run-test-parameter:
294 - integration-distribution-branch:
296 - integration-distribution-stream:
298 - distribution-karaf-version:
299 karaf-version: '{karaf-version}'
300 - opendaylight-infra-parameters:
301 os-cloud: '{os-cloud}'
302 project: 'integration/distribution'
304 refspec: 'refs/heads/{branch}'
305 artifacts: '{archive-artifacts}'
306 - lf-infra-maven-parameters:
310 staging-profile-id: '' # Staging repos do not make sense for this job
313 - opendaylight-infra-wrappers:
314 build-timeout: '1200'
318 server-name: '{gerrit-server-name}'
320 - comment-added-contains-event:
321 comment-contains-value: 'multipatch-build'
323 - project-compare-type: ANT
324 project-pattern: '**'
326 - branch-compare-type: ANT
327 branch-pattern: '**/{branch}'
330 - wipe-org-opendaylight-repo
332 mvn-version: '{mvn-version}'
333 - provide-maven-settings:
334 global-settings-file: 'global-settings'
335 settings-file: 'integration-distribution-settings'
336 - integration-multipatch-builder
337 - integration-upload-distribution:
338 dist-pom: patch_tester/distribution/pom.xml
340 condition-kind: boolean-expression
341 condition-expression: $RUN_TEST
344 - project: '{csit-list}'
346 predefined-parameters: |
347 BUNDLE_URL=$BUNDLE_URL
348 KARAF_VERSION=$KARAF_VERSION
352 - email-notification:
353 email-recipients: '{email-recipients}'
354 email-prefix: '[int/dist]'
357 name: 'integration-distribution-weekly-test-trigger-{stream}'
359 project-type: freestyle
360 node: queue-intque-2c-1g
363 - opendaylight-infra-properties:
364 build-days-to-keep: '{build-days-to-keep}'
367 - integration-bundle-url:
368 bundle-url: '{bundle-url}'
369 - distribution-karaf-version:
370 karaf-version: '{karaf-version}'
373 - timed: '{schedule-weekly}'
377 - project: '{csit-weekly-list}'
379 predefined-parameters: |
380 BUNDLE_URL=$BUNDLE_URL
381 KARAF_VERSION=$KARAF_VERSION
384 - email-notification:
385 email-recipients: '{email-recipients}'
386 email-prefix: '[integration]'
389 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
391 project-type: freestyle
392 node: queue-intque-2c-1g
395 - opendaylight-infra-properties:
396 build-days-to-keep: '{build-days-to-keep}'
399 - integration-bundle-url:
400 bundle-url: '{bundle-url}'
401 - distribution-karaf-version:
402 karaf-version: '{karaf-version}'
405 - timed: '{schedule-high-frequency}'
409 - project: '{csit-high-frequency-list}'
411 predefined-parameters: |
412 BUNDLE_URL=$BUNDLE_URL
413 KARAF_VERSION=$KARAF_VERSION
416 - email-notification:
417 email-recipients: '{email-recipients}'
418 email-prefix: '[integration]'
421 name: 'integration-update-csit-tests-{stream}'
423 # This job's purpose is to update csit
424 # tests to run in integration-distribution-test-{stream}
425 # by updating integration files: csit-list-{stream}.inc
426 # These files can be used as !include in int-dist-test-{stream}
428 ######################
429 # Default parameters #
430 ######################
432 git-url: '$GIT_URL/$PROJECT'
433 submodule-recursive: true
435 #####################
436 # Job Configuration #
437 #####################
439 project-type: freestyle
440 node: centos7-builder-2c-8g
443 - lf-infra-properties:
444 build-days-to-keep: 7
447 - lf-infra-parameters:
448 project: releng/builder # Hardcode as this job needs to pull releng/builder
450 branch: master # Hardcode as releng/builder only has master
451 lftools-version: '{lftools-version}'
454 default: '{csit-blacklist}'
455 description: Space separated list of jobs strings to blacklist.
458 - lf-infra-gerrit-scm:
459 jenkins-ssh-credential: '{jenkins-ssh-credential}'
461 refspec: '$GERRIT_REFSPEC'
462 branch: '$GERRIT_BRANCH'
463 submodule-recursive: '{submodule-recursive}'
464 choosing-strategy: default
469 jenkins-ssh-credential: '{jenkins-ssh-credential}'
473 jobs: builder-jjb-merge
476 - shell: !include-raw-escape: update-csit-tests.sh
479 git add jjb/integration/*.lst
480 - lf-infra-push-gerrit-patch:
481 project: 'releng/builder'
482 gerrit-user: 'jenkins-$SILO'
483 gerrit-host: 'git.opendaylight.org'
484 gerrit-topic: 'auto-update-csit-jobs-{stream}'
485 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
486 reviewers-email: 'jluhrsen@redhat.com'
493 description: 'List of integration jobs'
494 regex: '^integration-.*'
495 <<: *releng_view_common