4 project: integration/test
5 project-name: integration-test
7 - 'integration-patch-test-{stream}'
8 - 'integration-multipatch-test-{stream}'
9 - 'integration-merge-dashboard'
10 - '{project-name}-rtd-jobs':
11 build-node: centos7-builder-2c-2g
12 project-pattern: integration/test
13 rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-integrationtest/32934/
14 rtd-token: 70766f97941a74ef80b84749ac4799e5ddeee99a
19 # CSIT Lists in defaults.yaml
24 csit-list: !include: csit-jobs-neon.lst
26 odlparent yangtools infrautils mdsal controller aaa netconf daexim bgpcep
27 ovsdb neutron lispflowmapping openflowplugin coe genius sfc netvirt
30 branch: 'stable/fluorine'
32 csit-list: !include: csit-jobs-fluorine.lst
34 odlparent yangtools infrautils mdsal controller aaa netconf daexim bgpcep
35 ovsdb neutron lispflowmapping openflowplugin coe genius sfc netvirt
38 branch: 'stable/oxygen'
40 csit-list: !include: csit-jobs-oxygen.lst
42 odlparent yangtools infrautils mdsal controller aaa netconf daexim bgpcep
43 ovsdb neutron lispflowmapping openflowplugin coe genius sfc netvirt
46 name: integration-distribution
47 project: integration/test
48 project-name: integration-test
50 - 'integration-distribution-test-{stream}'
51 - 'integration-distribution-weekly-test-trigger-{stream}'
52 - 'integration-distribution-high-frequency-test-trigger-{stream}'
53 - 'integration-update-csit-tests-{stream}'
55 # CSIT Lists in defaults.yaml
60 alto bier capwap centinel didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
61 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
62 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd tempest wip
63 aaa-csit-1node-keystone-all
64 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
65 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
66 netvirt-csit-3node-1cmb
67 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
68 csit-list: !include: csit-jobs-neon.lst
69 csit-weekly-list: '{csit-weekly-list-neon}'
70 csit-high-frequency-list: '{csit-high-frequency-list-neon}'
72 branch: 'stable/fluorine'
74 alto bier capwap centinel didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
75 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
76 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd tempest wip
77 aaa-csit-1node-keystone-all
78 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
79 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
80 netvirt-csit-3node-1cmb
81 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
82 csit-list: !include: csit-jobs-fluorine.lst
83 csit-weekly-list: '{csit-weekly-list-fluorine}'
84 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
86 branch: 'stable/oxygen'
88 capwap centinel didm iotdm jsonrpc lacp messaging4transport netide nic
89 ocpplugin sdninterfaceapp unimgr usecplugin gate longevity sanity tdd tempest wip
90 aaa-csit-1node-keystone-all groupbasedpolicy-csit-1node-1cmb-0ctl-0cmp-openstack-pike-openstack
91 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
92 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
93 netvirt-csit-3node-1cmb
94 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
95 csit-list: !include: csit-jobs-oxygen.lst
96 csit-weekly-list: '{csit-weekly-list-oxygen}'
97 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
100 name: integration-sanity
101 project: integration/test
102 project-name: integration-test
104 - 'integration-sanity-test-{stream}'
110 csit-sanity-list: '{csit-sanity-list-neon}'
112 branch: 'stable/fluorine'
114 csit-sanity-list: '{csit-sanity-list-fluorine}'
116 branch: 'stable/oxygen'
117 karaf-version: karaf4
118 csit-sanity-list: '{csit-sanity-list-oxygen}'
121 name: 'integration-merge-dashboard'
122 project-type: freestyle
123 node: centos7-builder-2c-1g
126 - opendaylight-infra-properties:
127 build-days-to-keep: '{build-days-to-keep}'
130 - opendaylight-infra-parameters:
131 os-cloud: '{os-cloud}'
134 refspec: 'refs/heads/master'
135 artifacts: '{archive-artifacts}'
138 - integration-gerrit-scm:
140 refspec: '$GERRIT_REFSPEC'
144 - opendaylight-infra-wrappers:
145 build-timeout: '{build-timeout}'
148 - gerrit-trigger-patch-merged:
149 gerrit-server-name: '{gerrit-server-name}'
152 files: 'dashboard/**'
156 - config-file-provider:
158 - file-id: odl-elastic-cloud
159 target: '$HOME/.netrc'
160 - integration-install-robotframework
161 # yamllint disable-line rule:line-length
162 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
166 - email-notification:
167 email-recipients: '{email-recipients}'
168 email-prefix: '[{project-name}]'
171 name: 'integration-distribution-test-{stream}'
172 # Goal: Verify a distribution through all system test available
173 # Operation: This template takes a distribution and passes all available system test
175 project-type: freestyle
176 node: queue-disttest-2c-1g
179 - opendaylight-infra-properties:
180 build-days-to-keep: '{build-days-to-keep}'
183 - integration-bundle-url:
184 bundle-url: '{bundle-url}'
185 - distribution-karaf-version:
186 karaf-version: '{karaf-version}'
190 - project: '{csit-list}'
192 predefined-parameters: |
193 BUNDLE_URL=$BUNDLE_URL
194 KARAF_VERSION=$KARAF_VERSION
197 - opendaylight-infra-generate-csit-status-report
198 - email-notification:
199 email-recipients: '{email-recipients}'
200 email-prefix: '[integration]'
204 name: 'integration-sanity-test-{stream}'
205 # Goal: Verify a distribution through sanity test
206 # Operation: This template takes a distribution and passes sanity test
207 # This jobs works for both managed & unmanaged distro.
209 project-type: freestyle
210 node: queue-intque-2c-1g
213 - opendaylight-infra-properties:
214 build-days-to-keep: '{build-days-to-keep}'
217 - integration-bundle-url:
218 bundle-url: '{bundle-url}'
219 - distribution-karaf-version:
220 karaf-version: '{karaf-version}'
223 - timed: '{schedule-daily}'
227 - project: '{csit-sanity-list}'
229 predefined-parameters: |
230 BUNDLE_URL=$BUNDLE_URL
231 KARAF_VERSION=$KARAF_VERSION
234 - email-notification:
235 email-recipients: '{email-recipients}'
236 email-prefix: '[integration]'
239 name: 'integration-patch-test-{stream}'
240 # Template: integration-patch-test-{stream}
241 # Goal: Build a patch and run all available system test on a distribution containing the change
242 # Operation: This job template builds a patch, creates a distribution containing the patch, and
243 # triggers the distribution test when test-integration is used in gerrit comments
245 project-type: freestyle
246 node: centos7-builder-2c-8g
249 - opendaylight-infra-properties:
250 build-days-to-keep: '{build-days-to-keep}'
253 - opendaylight-infra-parameters:
254 os-cloud: '{os-cloud}'
255 project: '$GERRIT_PROJECT'
257 refspec: '$GERRIT_REFSPEC'
258 artifacts: '{archive-artifacts}'
259 - integration-distribution-branch:
261 - distribution-karaf-version:
262 karaf-version: '{karaf-version}'
263 - integration-distribution-git-url:
269 - integration-gerrit-scm:
270 basedir: '$GERRIT_PROJECT'
271 refspec: '$GERRIT_REFSPEC'
273 - integration-distribution-scm:
277 - opendaylight-infra-wrappers:
282 server-name: '{gerrit-server-name}'
284 - comment-added-contains-event:
285 comment-contains-value: 'test-integration'
287 - project-compare-type: 'ANT'
288 project-pattern: '**'
290 - branch-compare-type: 'ANT'
291 branch-pattern: '**/{branch}'
299 - integration-rebase-gerrit-patch
300 - wipe-org-opendaylight-repo
301 - provide-maven-settings:
302 global-settings-file: 'global-settings'
303 settings-file: 'integration-settings'
305 maven-version: 'mvn35'
306 pom: '$GERRIT_PROJECT/pom.xml'
308 clean install dependency:tree -DoutputFile=dependency_tree.txt
311 {opendaylight-infra-mvn-opts}
312 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
314 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
315 settings: integration-settings
317 global-settings: global-settings
318 global-settings-type: cfp
321 pom: distribution/pom.xml
323 clean install dependency:tree -DoutputFile=dependency_tree.txt
324 {opendaylight-infra-mvn-opts}
325 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
327 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
328 settings: integration-settings
330 global-settings: global-settings
331 global-settings-type: cfp
332 - integration-upload-distribution:
333 dist-pom: distribution/pom.xml
335 - project: '{csit-list}'
337 predefined-parameters: |
338 BUNDLE_URL=$BUNDLE_URL
339 KARAF_VERSION=$KARAF_VERSION
343 - email-notification:
344 email-recipients: '{email-recipients}'
345 email-prefix: '[$GERRIT_PROJECT]'
349 name: 'integration-multipatch-test-{stream}'
350 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
351 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
352 # it creates a distribution containing all patches and triggers the distribution test job which includes most
353 # (if not all) available CSIT jobs.
355 project-type: freestyle
356 node: centos7-builder-8c-8g
358 jdk: '{java-version}'
361 - opendaylight-infra-properties:
362 build-days-to-keep: '{build-days-to-keep}'
365 - patches-to-build-parameter:
366 patches_to_build: '$PATCHES_TO_BUILD'
367 - build-order-parameter:
368 build-order: '{build-order}'
369 - build-fast-parameter:
371 - run-test-parameter:
373 - integration-distribution-branch:
375 - integration-distribution-stream:
377 - distribution-karaf-version:
378 karaf-version: '{karaf-version}'
379 - opendaylight-infra-parameters:
380 os-cloud: '{os-cloud}'
381 project: 'integration/distribution'
383 refspec: 'refs/heads/{branch}'
384 artifacts: '{archive-artifacts}'
385 - lf-infra-maven-parameters:
389 staging-profile-id: '' # Staging repos do not make sense for this job
392 - opendaylight-infra-wrappers:
393 build-timeout: '1200'
397 server-name: '{gerrit-server-name}'
399 - comment-added-contains-event:
400 comment-contains-value: 'multipatch-build'
402 - project-compare-type: ANT
403 project-pattern: '**'
405 - branch-compare-type: ANT
406 branch-pattern: '**/{branch}'
409 - wipe-org-opendaylight-repo
411 mvn-version: '{mvn-version}'
412 - provide-maven-settings:
413 global-settings-file: 'global-settings'
414 settings-file: 'integration-distribution-settings'
415 - integration-multipatch-builder
416 - integration-upload-distribution:
417 dist-pom: patch_tester/distribution/pom.xml
419 condition-kind: boolean-expression
420 condition-expression: $RUN_TEST
423 - project: '{csit-list}'
425 predefined-parameters: |
426 BUNDLE_URL=$BUNDLE_URL
427 KARAF_VERSION=$KARAF_VERSION
431 - email-notification:
432 email-recipients: '{email-recipients}'
433 email-prefix: '[int/dist]'
436 name: 'integration-distribution-weekly-test-trigger-{stream}'
438 project-type: freestyle
439 node: queue-intque-2c-1g
442 - opendaylight-infra-properties:
443 build-days-to-keep: '{build-days-to-keep}'
446 - integration-bundle-url:
447 bundle-url: '{bundle-url}'
448 - distribution-karaf-version:
449 karaf-version: '{karaf-version}'
452 - timed: '{schedule-weekly}'
456 - project: '{csit-weekly-list}'
458 predefined-parameters: |
459 BUNDLE_URL=$BUNDLE_URL
460 KARAF_VERSION=$KARAF_VERSION
463 - email-notification:
464 email-recipients: '{email-recipients}'
465 email-prefix: '[integration]'
468 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
470 project-type: freestyle
471 node: queue-intque-2c-1g
474 - opendaylight-infra-properties:
475 build-days-to-keep: '{build-days-to-keep}'
478 - integration-bundle-url:
479 bundle-url: '{bundle-url}'
480 - distribution-karaf-version:
481 karaf-version: '{karaf-version}'
484 - timed: '{schedule-high-frequency}'
488 - project: '{csit-high-frequency-list}'
490 predefined-parameters: |
491 BUNDLE_URL=$BUNDLE_URL
492 KARAF_VERSION=$KARAF_VERSION
495 - email-notification:
496 email-recipients: '{email-recipients}'
497 email-prefix: '[integration]'
500 name: 'integration-update-csit-tests-{stream}'
502 # This job's purpose is to update csit
503 # tests to run in integration-distribution-test-{stream}
504 # by updating integration files: csit-list-{stream}.inc
505 # These files can be used as !include in int-dist-test-{stream}
507 ######################
508 # Default parameters #
509 ######################
511 git-url: '$GIT_URL/$PROJECT'
512 submodule-recursive: true
514 #####################
515 # Job Configuration #
516 #####################
518 project-type: freestyle
519 node: centos7-builder-2c-2g
522 - lf-infra-properties:
523 build-days-to-keep: 7
526 - lf-infra-parameters:
527 project: releng/builder # Hardcode as this job needs to pull releng/builder
529 branch: master # Hardcode as releng/builder only has master
530 lftools-version: '{lftools-version}'
533 default: '{csit-blacklist}'
534 description: Space separated list of jobs strings to blacklist.
537 - lf-infra-gerrit-scm:
538 jenkins-ssh-credential: '{jenkins-ssh-credential}'
540 refspec: '$GERRIT_REFSPEC'
541 branch: '$GERRIT_BRANCH'
542 submodule-recursive: '{submodule-recursive}'
543 choosing-strategy: default
548 jenkins-ssh-credential: '{jenkins-ssh-credential}'
552 jobs: builder-jjb-merge
555 - shell: !include-raw-escape: update-csit-tests.sh
558 git add jjb/integration/*.lst
559 - lf-infra-push-gerrit-patch:
560 project: 'releng/builder'
561 gerrit-user: 'jenkins-$SILO'
562 gerrit-host: 'git.opendaylight.org'
563 gerrit-topic: 'auto-update-csit-jobs-{stream}'
564 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
565 reviewers-email: 'jluhrsen@redhat.com'
572 description: 'List of integration jobs'
573 regex: '^integration-.*'
574 <<: *releng_view_common