4 project: integration/test
5 project-name: integration-test
7 - 'integration-patch-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 java-version: 'openjdk11'
25 csit-list: !include: csit-jobs-aluminium.lst
27 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
28 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
29 bgpcep integration/distribution
32 branch: 'stable/magnesium'
34 java-version: 'openjdk11'
35 csit-list: !include: csit-jobs-magnesium.lst
37 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
38 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
39 bgpcep integration/distribution
42 branch: 'stable/sodium'
44 csit-list: !include: csit-jobs-sodium.lst
46 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
47 daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
48 bgpcep integration/distribution
51 name: integration-distribution
52 project: integration/test
53 project-name: integration-test
55 - 'integration-distribution-test-{stream}'
56 - 'integration-distribution-mri-test-{stream}'
57 - 'integration-distribution-weekly-test-trigger-{stream}'
58 - 'integration-update-csit-tests-{stream}'
60 # CSIT Lists in defaults.yaml
65 alto bier coe detnet dluxapps groupbasedpolicy l2switch mdsal nemo
66 p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
67 gate longevity sanity tdd tempest wip
68 bgpcep-csit-3node-bgpclustering-all
69 bgpcep-csit-3node-bgpclustering-ha-only
70 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
71 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
72 netvirt-csit-3node-1cmb
73 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
74 csit-list: !include: csit-jobs-aluminium.lst
75 csit-mri-list: '{csit-mri-list-aluminium}'
76 csit-weekly-list: '{csit-weekly-list-aluminium}'
78 branch: 'stable/magnesium'
80 alto bier coe detnet dluxapps groupbasedpolicy l2switch mdsal nemo
81 p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
82 gate longevity sanity tdd tempest wip
83 bgpcep-csit-3node-bgpclustering-all
84 bgpcep-csit-3node-bgpclustering-ha-only
85 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
86 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
87 netvirt-csit-3node-1cmb
88 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
89 csit-list: !include: csit-jobs-magnesium.lst
90 csit-mri-list: '{csit-mri-list-magnesium}'
91 csit-weekly-list: '{csit-weekly-list-magnesium}'
93 branch: 'stable/sodium'
95 alto bier dluxapps groupbasedpolicy jsonrpc l2switch mdsal nemo
96 p4plugin packetcable sxp telemetry tsdr unimgr usc yangtools
97 gate longevity sanity tdd tempest wip
98 bgpcep-csit-3node-bgpclustering-all
99 bgpcep-csit-3node-bgpclustering-ha-only
100 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
101 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
102 netvirt-csit-3node-1cmb
103 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
104 csit-list: !include: csit-jobs-sodium.lst
105 csit-mri-list: '{csit-mri-list-sodium}'
106 csit-weekly-list: '{csit-weekly-list-sodium}'
109 name: integration-sanity
110 project: integration/test
111 project-name: integration-test
113 - 'integration-sanity-test-{stream}'
119 csit-sanity-list: '{csit-sanity-list-aluminium}'
121 branch: 'stable/magnesium'
123 csit-sanity-list: '{csit-sanity-list-magnesium}'
125 branch: 'stable/sodium'
127 csit-sanity-list: '{csit-sanity-list-sodium}'
130 name: 'integration-merge-dashboard'
131 project-type: freestyle
132 node: centos7-builder-2c-1g
135 - opendaylight-infra-properties:
136 build-days-to-keep: '{build-days-to-keep}'
139 - opendaylight-infra-parameters:
140 os-cloud: '{os-cloud}'
143 refspec: 'refs/heads/master'
144 artifacts: '{archive-artifacts}'
147 - integration-gerrit-scm:
149 refspec: '$GERRIT_REFSPEC'
153 - opendaylight-infra-wrappers:
154 build-timeout: '{build-timeout}'
157 - gerrit-trigger-patch-merged:
158 gerrit-server-name: '{gerrit-server-name}'
161 files: 'dashboard/**'
166 - config-file-provider:
168 - file-id: odl-elastic-cloud
169 target: '$HOME/.netrc'
170 - integration-install-robotframework
171 # yamllint disable-line rule:line-length
172 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
176 - email-notification:
177 email-recipients: '{email-recipients}'
178 email-prefix: '[{project-name}]'
181 name: 'integration-distribution-test-{stream}'
182 # Goal: Verify a distribution through all system test available
183 # Operation: This template takes a distribution and passes all available system test
185 project-type: freestyle
186 node: queue-disttest-2c-1g
189 - opendaylight-infra-properties:
190 build-days-to-keep: '{build-days-to-keep}'
193 - integration-bundle-url:
194 bundle-url: '{bundle-url}'
195 - distribution-karaf-version:
196 karaf-version: '{karaf-version}'
201 - project: '{csit-list}'
203 predefined-parameters: |
204 BUNDLE_URL=$BUNDLE_URL
205 KARAF_VERSION=$KARAF_VERSION
210 jenkins-ssh-credential: '{jenkins-ssh-credential}'
213 - opendaylight-infra-generate-csit-status-report
214 - email-notification:
215 email-recipients: '{email-recipients}'
216 email-prefix: '[integration]'
220 name: 'integration-sanity-test-{stream}'
221 # Goal: Verify a distribution through sanity test
222 # Operation: This template takes a distribution and passes sanity test
223 # This jobs works for both managed & unmanaged distro.
225 project-type: freestyle
226 node: queue-intque-2c-1g
229 - opendaylight-infra-properties:
230 build-days-to-keep: '{build-days-to-keep}'
233 - integration-bundle-url:
234 bundle-url: '{bundle-url}'
235 - distribution-karaf-version:
236 karaf-version: '{karaf-version}'
239 - timed: '{schedule-daily}'
244 - project: '{csit-sanity-list}'
246 predefined-parameters: |
247 BUNDLE_URL=$BUNDLE_URL
248 KARAF_VERSION=$KARAF_VERSION
251 - email-notification:
252 email-recipients: '{email-recipients}'
253 email-prefix: '[integration]'
256 name: 'integration-patch-test-{stream}'
257 # Template: integration-patch-test-{stream}
258 # Goal: Build a patch and run all available system test on a distribution containing the change
259 # Operation: This job template builds a patch, creates a distribution containing the patch, and
260 # triggers the distribution test when test-integration is used in gerrit comments
262 project-type: freestyle
263 node: centos7-builder-2c-8g
266 - opendaylight-infra-properties:
267 build-days-to-keep: '{build-days-to-keep}'
270 - opendaylight-infra-parameters:
271 os-cloud: '{os-cloud}'
272 project: '$GERRIT_PROJECT'
274 refspec: '$GERRIT_REFSPEC'
275 artifacts: '{archive-artifacts}'
276 - integration-distribution-branch:
278 - distribution-karaf-version:
279 karaf-version: '{karaf-version}'
280 - integration-distribution-git-url:
286 - integration-gerrit-scm:
287 basedir: '$GERRIT_PROJECT'
288 refspec: '$GERRIT_REFSPEC'
290 - integration-distribution-scm:
294 - opendaylight-infra-wrappers:
299 server-name: '{gerrit-server-name}'
301 - comment-added-contains-event:
302 comment-contains-value: 'test-integration'
304 - project-compare-type: 'ANT'
305 project-pattern: '**'
307 - branch-compare-type: 'ANT'
308 branch-pattern: '**/{branch}'
317 - integration-rebase-gerrit-patch
318 - wipe-org-opendaylight-repo
319 - lf-provide-maven-settings:
320 global-settings-file: 'global-settings'
321 settings-file: 'integration-settings'
322 - lf-update-java-alternatives:
323 java-version: '{java-version}'
325 maven-version: 'mvn35'
326 pom: '$GERRIT_PROJECT/pom.xml'
328 clean install dependency:tree -DoutputFile=dependency_tree.txt
331 {opendaylight-infra-mvn-opts}
332 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
334 - '-Xmx4096m -Dmaven.compile.fork=true'
335 settings: integration-settings
337 global-settings: global-settings
338 global-settings-type: cfp
341 pom: distribution/pom.xml
343 clean install dependency:tree -DoutputFile=dependency_tree.txt
344 {opendaylight-infra-mvn-opts}
345 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
347 - '-Xmx1024m -Dmaven.compile.fork=true'
348 settings: integration-settings
350 global-settings: global-settings
351 global-settings-type: cfp
352 - integration-upload-distribution:
353 dist-pom: distribution/pom.xml
355 - project: '{csit-list}'
357 predefined-parameters: |
358 BUNDLE_URL=$BUNDLE_URL
359 KARAF_VERSION=$KARAF_VERSION
363 - email-notification:
364 email-recipients: '{email-recipients}'
365 email-prefix: '[$GERRIT_PROJECT]'
369 name: '{prefix}integration-multipatch-test-{stream}'
370 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
371 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
372 # it creates a distribution containing all patches and triggers the distribution test job which includes most
373 # (if not all) available CSIT jobs.
375 id: inttest-multipatch
376 project-type: freestyle
377 node: centos7-builder-8c-8g
381 - opendaylight-infra-properties:
382 build-days-to-keep: '{build-days-to-keep}'
386 name: PATCHES_TO_BUILD
387 default: '$PATCHES_TO_BUILD'
389 Ordered list of patches to build in the format of project=changeset (checkout) or
390 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
393 default: '{build-order}'
394 description: 'Build order for multipatch test when topic is used'
398 description: 'Set true to build fast -Pq'
402 description: 'List of projects to build normal (no -Pq) when BUILD_FAST=true'
406 description: 'Set true to run test after build'
407 - integration-distribution-branch:
409 - integration-distribution-stream:
411 - distribution-karaf-version:
412 karaf-version: '{karaf-version}'
413 - opendaylight-infra-parameters:
414 os-cloud: '{os-cloud}'
415 project: 'integration/distribution'
417 refspec: 'refs/heads/{branch}'
418 artifacts: '{archive-artifacts}'
419 - lf-infra-maven-parameters:
423 staging-profile-id: '' # Staging repos do not make sense for this job
426 - opendaylight-infra-wrappers:
427 build-timeout: '1200'
431 server-name: '{gerrit-server-name}'
433 - comment-added-contains-event:
434 comment-contains-value: 'multipatch-build'
436 - project-compare-type: ANT
437 project-pattern: '**'
439 - branch-compare-type: ANT
440 branch-pattern: '**/{branch}'
444 - wipe-org-opendaylight-repo
446 mvn-version: '{mvn-version}'
447 - lf-provide-maven-settings:
448 global-settings-file: 'global-settings'
449 settings-file: 'integration-distribution-settings'
450 - lf-update-java-alternatives:
451 java-version: '{java-version}'
452 - integration-multipatch-builder
453 - integration-upload-distribution:
454 dist-pom: patch_tester/distribution/pom.xml
456 condition-kind: boolean-expression
457 condition-expression: $RUN_TEST
461 integration-distribution-test-{stream},
462 integration-distribution-mri-test-{stream}
463 predefined-parameters: |
464 BUNDLE_URL=$BUNDLE_URL
465 KARAF_VERSION=$KARAF_VERSION
469 - email-notification:
470 email-recipients: '{email-recipients}'
471 email-prefix: '[int/dist]'
474 name: 'integration-distribution-mri-test-{stream}'
476 project-type: freestyle
477 node: queue-intque-2c-1g
480 - opendaylight-infra-properties:
481 build-days-to-keep: '{build-days-to-keep}'
484 - integration-bundle-url:
485 bundle-url: '{bundle-url}'
486 - distribution-karaf-version:
487 karaf-version: '{karaf-version}'
490 - timed: '{schedule-weekly}'
494 - project: '{csit-mri-list}'
496 predefined-parameters: |
497 BUNDLE_URL=$BUNDLE_URL
498 KARAF_VERSION=$KARAF_VERSION
501 - email-notification:
502 email-recipients: '{email-recipients}'
503 email-prefix: '[integration]'
506 name: 'integration-distribution-weekly-test-trigger-{stream}'
508 project-type: freestyle
509 node: queue-intque-2c-1g
512 - opendaylight-infra-properties:
513 build-days-to-keep: '{build-days-to-keep}'
516 - integration-bundle-url:
517 bundle-url: '{bundle-url}'
518 - distribution-karaf-version:
519 karaf-version: '{karaf-version}'
522 - timed: '{schedule-weekly}'
526 - project: '{csit-weekly-list}'
528 predefined-parameters: |
529 BUNDLE_URL=$BUNDLE_URL
530 KARAF_VERSION=$KARAF_VERSION
533 - email-notification:
534 email-recipients: '{email-recipients}'
535 email-prefix: '[integration]'
538 name: 'integration-update-csit-tests-{stream}'
540 # This job's purpose is to update csit
541 # tests to run in integration-distribution-test-{stream}
542 # by updating integration files: csit-list-{stream}.inc
543 # These files can be used as !include in int-dist-test-{stream}
545 ######################
546 # Default parameters #
547 ######################
549 git-url: '$GIT_URL/$PROJECT'
550 submodule-disable: false
551 submodule-recursive: true
552 submodule-timeout: 10
554 #####################
555 # Job Configuration #
556 #####################
558 project-type: freestyle
559 node: centos7-builder-2c-2g
562 - lf-infra-properties:
563 build-days-to-keep: 7
566 - lf-infra-parameters:
567 project: releng/builder # Hardcode as this job needs to pull releng/builder
569 branch: master # Hardcode as releng/builder only has master
570 lftools-version: '{lftools-version}'
573 default: '{csit-blacklist}'
574 description: Space separated list of jobs strings to blacklist.
577 - lf-infra-gerrit-scm:
578 jenkins-ssh-credential: '{jenkins-ssh-credential}'
580 refspec: '$GERRIT_REFSPEC'
581 branch: '$GERRIT_BRANCH'
582 submodule-disable: '{submodule-disable}'
583 submodule-recursive: '{submodule-recursive}'
584 submodule-timeout: '{submodule-timeout}'
585 choosing-strategy: default
590 jenkins-ssh-credential: '{jenkins-ssh-credential}'
594 jobs: builder-jjb-merge
598 - shell: !include-raw-escape: update-csit-tests.sh
601 git add jjb/integration/*.lst
602 - lf-infra-push-gerrit-patch:
603 project: 'releng/builder'
604 gerrit-user: 'jenkins-$SILO'
605 gerrit-host: 'git.opendaylight.org'
606 gerrit-topic: 'auto-update-csit-jobs-{stream}'
607 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
608 reviewers-email: 'jluhrsen@gmail.com'
614 name: integration-view
617 project-name: integration