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-neon.lst
63 csit-weekly-list: '{csit-weekly-list-neon}'
64 csit-high-frequency-list: '{csit-high-frequency-list-neon}'
66 branch: 'stable/fluorine'
68 alto bier capwap centinel didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
69 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
70 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd tempest wip
71 csit-list: !include: csit-jobs-fluorine.lst
72 csit-weekly-list: '{csit-weekly-list-fluorine}'
73 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
75 branch: 'stable/oxygen'
77 capwap centinel didm iotdm jsonrpc lacp messaging4transport netide nic
78 ocpplugin sdninterfaceapp unimgr usecplugin gate longevity sanity tdd tempest wip
79 csit-list: !include: csit-jobs-oxygen.lst
80 csit-weekly-list: '{csit-weekly-list-oxygen}'
81 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
84 name: integration-sanity
85 project: integration/test
86 project-name: integration-test
88 - 'integration-sanity-test-{stream}'
94 csit-sanity-list: '{csit-sanity-list-neon}'
96 branch: 'stable/fluorine'
98 csit-sanity-list: '{csit-sanity-list-fluorine}'
100 branch: 'stable/oxygen'
101 karaf-version: karaf4
102 csit-sanity-list: '{csit-sanity-list-oxygen}'
105 name: 'integration-distribution-test-{stream}'
106 # Goal: Verify a distribution through all system test available
107 # Operation: This template takes a distribution and passes all available system test
109 project-type: freestyle
110 node: queue-disttest-2c-1g
113 - opendaylight-infra-properties:
114 build-days-to-keep: '{build-days-to-keep}'
117 - integration-bundle-url:
118 bundle-url: '{bundle-url}'
119 - distribution-karaf-version:
120 karaf-version: '{karaf-version}'
124 - project: '{csit-list}'
126 predefined-parameters: |
127 BUNDLE_URL=$BUNDLE_URL
128 KARAF_VERSION=$KARAF_VERSION
131 - opendaylight-infra-generate-csit-status-report
132 - email-notification:
133 email-recipients: '{email-recipients}'
134 email-prefix: '[integration]'
138 name: 'integration-sanity-test-{stream}'
139 # Goal: Verify a distribution through sanity test
140 # Operation: This template takes a distribution and passes sanity test
141 # This jobs works for both managed & unmanaged distro.
143 project-type: freestyle
144 node: queue-intque-2c-1g
147 - opendaylight-infra-properties:
148 build-days-to-keep: '{build-days-to-keep}'
151 - integration-bundle-url:
152 bundle-url: '{bundle-url}'
153 - distribution-karaf-version:
154 karaf-version: '{karaf-version}'
157 - timed: '{schedule-daily}'
161 - project: '{csit-sanity-list}'
163 predefined-parameters: |
164 BUNDLE_URL=$BUNDLE_URL
165 KARAF_VERSION=$KARAF_VERSION
168 - email-notification:
169 email-recipients: '{email-recipients}'
170 email-prefix: '[integration]'
173 name: 'integration-patch-test-{stream}'
174 # Template: integration-patch-test-{stream}
175 # Goal: Build a patch and run all available system test on a distribution containing the change
176 # Operation: This job template builds a patch, creates a distribution containing the patch, and
177 # triggers the distribution test when test-integration is used in gerrit comments
179 project-type: freestyle
180 node: centos7-builder-2c-8g
183 - opendaylight-infra-properties:
184 build-days-to-keep: '{build-days-to-keep}'
187 - opendaylight-infra-parameters:
188 os-cloud: '{os-cloud}'
189 project: '$GERRIT_PROJECT'
191 refspec: '$GERRIT_REFSPEC'
192 artifacts: '{archive-artifacts}'
193 - integration-distribution-branch:
195 - distribution-karaf-version:
196 karaf-version: '{karaf-version}'
197 - integration-distribution-git-url:
203 - integration-gerrit-scm:
204 basedir: '$GERRIT_PROJECT'
205 refspec: '$GERRIT_REFSPEC'
207 - integration-distribution-scm:
211 - opendaylight-infra-wrappers:
216 server-name: '{gerrit-server-name}'
218 - comment-added-contains-event:
219 comment-contains-value: 'test-integration'
221 - project-compare-type: 'ANT'
222 project-pattern: '**'
224 - branch-compare-type: 'ANT'
225 branch-pattern: '**/{branch}'
233 - integration-rebase-gerrit-patch
234 - wipe-org-opendaylight-repo
235 - provide-maven-settings:
236 global-settings-file: 'global-settings'
237 settings-file: 'integration-settings'
239 maven-version: 'mvn35'
240 pom: '$GERRIT_PROJECT/pom.xml'
242 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 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
249 settings: integration-settings
251 global-settings: global-settings
252 global-settings-type: cfp
255 pom: distribution/pom.xml
257 clean install dependency:tree -DoutputFile=dependency_tree.txt
258 {opendaylight-infra-mvn-opts}
259 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
261 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
262 settings: integration-settings
264 global-settings: global-settings
265 global-settings-type: cfp
266 - integration-upload-distribution:
267 dist-pom: distribution/pom.xml
269 - project: '{csit-list}'
271 predefined-parameters: |
272 BUNDLE_URL=$BUNDLE_URL
273 KARAF_VERSION=$KARAF_VERSION
277 - email-notification:
278 email-recipients: '{email-recipients}'
279 email-prefix: '[$GERRIT_PROJECT]'
283 name: 'integration-multipatch-test-{stream}'
284 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
285 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
286 # it creates a distribution containing all patches and triggers the distribution test job which includes most
287 # (if not all) available CSIT jobs.
289 project-type: freestyle
290 node: centos7-builder-8c-8g
292 jdk: '{java-version}'
295 - opendaylight-infra-properties:
296 build-days-to-keep: '{build-days-to-keep}'
299 - patches-to-build-parameter:
300 patches_to_build: '$PATCHES_TO_BUILD'
301 - build-order-parameter:
302 build-order: '{build-order}'
303 - build-fast-parameter:
305 - run-test-parameter:
307 - integration-distribution-branch:
309 - integration-distribution-stream:
311 - distribution-karaf-version:
312 karaf-version: '{karaf-version}'
313 - opendaylight-infra-parameters:
314 os-cloud: '{os-cloud}'
315 project: 'integration/distribution'
317 refspec: 'refs/heads/{branch}'
318 artifacts: '{archive-artifacts}'
319 - lf-infra-maven-parameters:
323 staging-profile-id: '' # Staging repos do not make sense for this job
326 - opendaylight-infra-wrappers:
327 build-timeout: '1200'
331 server-name: '{gerrit-server-name}'
333 - comment-added-contains-event:
334 comment-contains-value: 'multipatch-build'
336 - project-compare-type: ANT
337 project-pattern: '**'
339 - branch-compare-type: ANT
340 branch-pattern: '**/{branch}'
343 - wipe-org-opendaylight-repo
345 mvn-version: '{mvn-version}'
346 - provide-maven-settings:
347 global-settings-file: 'global-settings'
348 settings-file: 'integration-distribution-settings'
349 - integration-multipatch-builder
350 - integration-upload-distribution:
351 dist-pom: patch_tester/distribution/pom.xml
353 condition-kind: boolean-expression
354 condition-expression: $RUN_TEST
357 - project: '{csit-list}'
359 predefined-parameters: |
360 BUNDLE_URL=$BUNDLE_URL
361 KARAF_VERSION=$KARAF_VERSION
365 - email-notification:
366 email-recipients: '{email-recipients}'
367 email-prefix: '[int/dist]'
370 name: 'integration-distribution-weekly-test-trigger-{stream}'
372 project-type: freestyle
373 node: queue-intque-2c-1g
376 - opendaylight-infra-properties:
377 build-days-to-keep: '{build-days-to-keep}'
380 - integration-bundle-url:
381 bundle-url: '{bundle-url}'
382 - distribution-karaf-version:
383 karaf-version: '{karaf-version}'
386 - timed: '{schedule-weekly}'
390 - project: '{csit-weekly-list}'
392 predefined-parameters: |
393 BUNDLE_URL=$BUNDLE_URL
394 KARAF_VERSION=$KARAF_VERSION
397 - email-notification:
398 email-recipients: '{email-recipients}'
399 email-prefix: '[integration]'
402 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
404 project-type: freestyle
405 node: queue-intque-2c-1g
408 - opendaylight-infra-properties:
409 build-days-to-keep: '{build-days-to-keep}'
412 - integration-bundle-url:
413 bundle-url: '{bundle-url}'
414 - distribution-karaf-version:
415 karaf-version: '{karaf-version}'
418 - timed: '{schedule-high-frequency}'
422 - project: '{csit-high-frequency-list}'
424 predefined-parameters: |
425 BUNDLE_URL=$BUNDLE_URL
426 KARAF_VERSION=$KARAF_VERSION
429 - email-notification:
430 email-recipients: '{email-recipients}'
431 email-prefix: '[integration]'
434 name: 'integration-update-csit-tests-{stream}'
436 # This job's purpose is to update csit
437 # tests to run in integration-distribution-test-{stream}
438 # by updating integration files: csit-list-{stream}.inc
439 # These files can be used as !include in int-dist-test-{stream}
441 ######################
442 # Default parameters #
443 ######################
445 git-url: '$GIT_URL/$PROJECT'
446 submodule-recursive: true
448 #####################
449 # Job Configuration #
450 #####################
452 project-type: freestyle
453 node: centos7-builder-2c-8g
456 - lf-infra-properties:
457 build-days-to-keep: 7
460 - lf-infra-parameters:
461 project: releng/builder # Hardcode as this job needs to pull releng/builder
463 branch: master # Hardcode as releng/builder only has master
464 lftools-version: '{lftools-version}'
467 default: '{csit-blacklist}'
468 description: Space separated list of jobs strings to blacklist.
471 - lf-infra-gerrit-scm:
472 jenkins-ssh-credential: '{jenkins-ssh-credential}'
474 refspec: '$GERRIT_REFSPEC'
475 branch: '$GERRIT_BRANCH'
476 submodule-recursive: '{submodule-recursive}'
477 choosing-strategy: default
482 jenkins-ssh-credential: '{jenkins-ssh-credential}'
486 jobs: builder-jjb-merge
489 - shell: !include-raw-escape: update-csit-tests.sh
492 git add jjb/integration/*.lst
493 - lf-infra-push-gerrit-patch:
494 project: 'releng/builder'
495 gerrit-user: 'jenkins-$SILO'
496 gerrit-host: 'git.opendaylight.org'
497 gerrit-topic: 'auto-update-csit-jobs-{stream}'
498 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
499 reviewers-email: 'jluhrsen@redhat.com'
506 description: 'List of integration jobs'
507 regex: '^integration-.*'
508 <<: *releng_view_common