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
18 build-node: centos7-builder-2c-2g
20 # CSIT Lists in defaults.yaml
25 java-version: 'openjdk11'
26 csit-list: !include: csit-jobs-silicon.lst
28 odlparent yangtools mdsal controller infrautils serviceutils aaa netconf
29 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
30 bgpcep integration/distribution
33 branch: 'stable/aluminium'
35 java-version: 'openjdk11'
36 csit-list: !include: csit-jobs-aluminium.lst
38 odlparent yangtools mdsal controller infrautils serviceutils aaa netconf
39 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
40 bgpcep integration/distribution
43 branch: 'stable/magnesium'
45 java-version: 'openjdk11'
46 csit-list: !include: csit-jobs-magnesium.lst
48 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
49 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
50 bgpcep integration/distribution
53 branch: 'stable/sodium'
55 csit-list: !include: csit-jobs-sodium.lst
57 odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
58 daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
59 bgpcep integration/distribution
62 name: integration-distribution
63 project: integration/test
64 project-name: integration-test
66 - 'integration-distribution-test-{stream}'
67 - 'integration-distribution-mri-test-{stream}'
68 - 'integration-distribution-weekly-test-trigger-{stream}'
69 - 'integration-update-csit-tests-{stream}'
71 # CSIT Lists in defaults.yaml
76 alto bier coe controller detnet dluxapps groupbasedpolicy l2switch mdsal
77 nemo p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
78 gate longevity sanity tdd tempest wip
79 bgpcep-csit-3node-bgpclustering-all
80 bgpcep-csit-3node-bgpclustering-ha-only
81 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
82 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
83 netvirt-csit-3node-1cmb
84 openflowplugin-csit-1node-bundle-based-reconciliation
85 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
86 csit-list: !include: csit-jobs-silicon.lst
87 csit-mri-list: '{csit-mri-list-silicon}'
88 csit-weekly-list: '{csit-weekly-list-silicon}'
90 branch: 'stable/aluminium'
92 alto bier coe controller detnet dluxapps groupbasedpolicy l2switch mdsal
93 nemo p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
94 gate longevity sanity tdd tempest wip
95 bgpcep-csit-3node-bgpclustering-all
96 bgpcep-csit-3node-bgpclustering-ha-only
97 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
98 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
99 netvirt-csit-3node-1cmb
100 openflowplugin-csit-1node-bundle-based-reconciliation
101 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
102 csit-list: !include: csit-jobs-aluminium.lst
103 csit-mri-list: '{csit-mri-list-aluminium}'
104 csit-weekly-list: '{csit-weekly-list-aluminium}'
106 branch: 'stable/magnesium'
108 alto bier coe detnet dluxapps groupbasedpolicy l2switch mdsal nemo
109 p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
110 gate longevity sanity tdd tempest wip
111 bgpcep-csit-3node-bgpclustering-all
112 bgpcep-csit-3node-bgpclustering-ha-only
113 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
114 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
115 netvirt-csit-3node-1cmb
116 openflowplugin-csit-1node-bundle-based-reconciliation
117 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
118 csit-list: !include: csit-jobs-magnesium.lst
119 csit-mri-list: '{csit-mri-list-magnesium}'
120 csit-weekly-list: '{csit-weekly-list-magnesium}'
122 branch: 'stable/sodium'
124 alto bier dluxapps groupbasedpolicy jsonrpc l2switch mdsal nemo
125 p4plugin packetcable sxp telemetry tsdr unimgr usc yangtools
126 gate longevity sanity tdd tempest wip
127 bgpcep-csit-3node-bgpclustering-all
128 bgpcep-csit-3node-bgpclustering-ha-only
129 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
130 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
131 netvirt-csit-3node-1cmb
132 openflowplugin-csit-1node-bundle-based-reconciliation
133 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
134 csit-list: !include: csit-jobs-sodium.lst
135 csit-mri-list: '{csit-mri-list-sodium}'
136 csit-weekly-list: '{csit-weekly-list-sodium}'
139 name: integration-sanity
140 project: integration/test
141 project-name: integration-test
143 - 'integration-sanity-test-{stream}'
149 csit-sanity-list: '{csit-sanity-list-aluminium}'
151 branch: 'stable/aluminium'
153 csit-sanity-list: '{csit-sanity-list-aluminium}'
155 branch: 'stable/magnesium'
157 csit-sanity-list: '{csit-sanity-list-magnesium}'
159 branch: 'stable/sodium'
161 csit-sanity-list: '{csit-sanity-list-sodium}'
164 name: 'integration-merge-dashboard'
165 project-type: freestyle
166 node: centos7-builder-2c-1g
169 - opendaylight-infra-properties:
170 build-days-to-keep: '{build-days-to-keep}'
173 - opendaylight-infra-parameters:
174 os-cloud: '{os-cloud}'
177 refspec: 'refs/heads/master'
178 artifacts: '{archive-artifacts}'
181 - integration-gerrit-scm:
183 refspec: '$GERRIT_REFSPEC'
187 - opendaylight-infra-wrappers:
188 build-timeout: '{build-timeout}'
191 - gerrit-trigger-patch-merged:
192 gerrit-server-name: '{gerrit-server-name}'
195 files: 'dashboard/**'
200 - config-file-provider:
202 - file-id: odl-elastic-cloud
203 target: '$HOME/.netrc'
204 - integration-install-robotframework
205 # yamllint disable-line rule:line-length
206 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
210 - email-notification:
211 email-recipients: '{email-recipients}'
212 email-prefix: '[{project-name}]'
215 name: 'integration-distribution-test-{stream}'
216 # Goal: Verify a distribution through all system test available
217 # Operation: This template takes a distribution and passes all available system test
219 project-type: freestyle
220 node: queue-disttest-2c-1g
223 - opendaylight-infra-properties:
224 build-days-to-keep: '{build-days-to-keep}'
227 - integration-bundle-url:
228 bundle-url: '{bundle-url}'
229 - distribution-karaf-version:
230 karaf-version: '{karaf-version}'
235 - project: '{csit-list}'
237 predefined-parameters: |
238 BUNDLE_URL=$BUNDLE_URL
239 KARAF_VERSION=$KARAF_VERSION
244 jenkins-ssh-credential: '{jenkins-ssh-credential}'
247 - opendaylight-infra-generate-csit-status-report
248 - email-notification:
249 email-recipients: '{email-recipients}'
250 email-prefix: '[integration]'
254 name: 'integration-sanity-test-{stream}'
255 # Goal: Verify a distribution through sanity test
256 # Operation: This template takes a distribution and passes sanity test
257 # This jobs works for both managed & unmanaged distro.
259 project-type: freestyle
260 node: queue-intque-2c-1g
263 - opendaylight-infra-properties:
264 build-days-to-keep: '{build-days-to-keep}'
267 - integration-bundle-url:
268 bundle-url: '{bundle-url}'
269 - distribution-karaf-version:
270 karaf-version: '{karaf-version}'
273 - timed: '{schedule-daily}'
278 - project: '{csit-sanity-list}'
280 predefined-parameters: |
281 BUNDLE_URL=$BUNDLE_URL
282 KARAF_VERSION=$KARAF_VERSION
285 - email-notification:
286 email-recipients: '{email-recipients}'
287 email-prefix: '[integration]'
290 name: 'integration-patch-test-{stream}'
291 # Template: integration-patch-test-{stream}
292 # Goal: Build a patch and run all available system test on a distribution containing the change
293 # Operation: This job template builds a patch, creates a distribution containing the patch, and
294 # triggers the distribution test when test-integration is used in gerrit comments
296 project-type: freestyle
297 node: centos7-builder-2c-8g
300 - opendaylight-infra-properties:
301 build-days-to-keep: '{build-days-to-keep}'
304 - opendaylight-infra-parameters:
305 os-cloud: '{os-cloud}'
306 project: '$GERRIT_PROJECT'
308 refspec: '$GERRIT_REFSPEC'
309 artifacts: '{archive-artifacts}'
310 - integration-distribution-branch:
312 - distribution-karaf-version:
313 karaf-version: '{karaf-version}'
314 - integration-distribution-git-url:
320 - integration-gerrit-scm:
321 basedir: '$GERRIT_PROJECT'
322 refspec: '$GERRIT_REFSPEC'
324 - integration-distribution-scm:
328 - opendaylight-infra-wrappers:
333 server-name: '{gerrit-server-name}'
335 - comment-added-contains-event:
336 comment-contains-value: 'test-integration'
338 - project-compare-type: 'ANT'
339 project-pattern: '**'
341 - branch-compare-type: 'ANT'
342 branch-pattern: '**/{branch}'
351 - integration-rebase-gerrit-patch
352 - wipe-org-opendaylight-repo
353 - lf-provide-maven-settings:
354 global-settings-file: 'global-settings'
355 settings-file: 'integration-settings'
356 - lf-update-java-alternatives:
357 java-version: '{java-version}'
359 maven-version: 'mvn35'
360 pom: '$GERRIT_PROJECT/pom.xml'
362 clean install dependency:tree -DoutputFile=dependency_tree.txt
365 {opendaylight-infra-mvn-opts}
366 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
368 - '-Xmx4096m -Dmaven.compile.fork=true'
369 settings: integration-settings
371 global-settings: global-settings
372 global-settings-type: cfp
375 pom: distribution/pom.xml
377 clean install dependency:tree -DoutputFile=dependency_tree.txt
378 {opendaylight-infra-mvn-opts}
379 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
381 - '-Xmx1024m -Dmaven.compile.fork=true'
382 settings: integration-settings
384 global-settings: global-settings
385 global-settings-type: cfp
386 - integration-upload-distribution:
387 dist-pom: distribution/pom.xml
389 - project: '{csit-list}'
391 predefined-parameters: |
392 BUNDLE_URL=$BUNDLE_URL
393 KARAF_VERSION=$KARAF_VERSION
397 - email-notification:
398 email-recipients: '{email-recipients}'
399 email-prefix: '[$GERRIT_PROJECT]'
403 name: '{prefix}integration-multipatch-test-{stream}'
404 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
405 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
406 # it creates a distribution containing all patches and triggers the distribution test job which includes most
407 # (if not all) available CSIT jobs.
409 id: inttest-multipatch
410 project-type: freestyle
411 node: centos7-builder-8c-8g
415 - opendaylight-infra-properties:
416 build-days-to-keep: '{build-days-to-keep}'
420 name: PATCHES_TO_BUILD
421 default: '$PATCHES_TO_BUILD'
423 Ordered list of patches to build in the format of project=changeset (checkout) or
424 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
427 default: '{build-order}'
428 description: 'Build order for multipatch test when topic is used'
432 description: 'Set true to build fast -Pq'
436 description: 'List of projects to build normal (no -Pq) when BUILD_FAST=true'
440 description: 'Set true to run test after build'
441 - integration-distribution-branch:
443 - integration-distribution-stream:
445 - distribution-karaf-version:
446 karaf-version: '{karaf-version}'
447 - opendaylight-infra-parameters:
448 os-cloud: '{os-cloud}'
449 project: 'integration/distribution'
451 refspec: 'refs/heads/{branch}'
452 artifacts: '{archive-artifacts}'
453 - lf-infra-maven-parameters:
457 staging-profile-id: '' # Staging repos do not make sense for this job
460 - opendaylight-infra-wrappers:
461 build-timeout: '1200'
465 server-name: '{gerrit-server-name}'
467 - comment-added-contains-event:
468 comment-contains-value: 'multipatch-build'
470 - project-compare-type: ANT
471 project-pattern: '**'
473 - branch-compare-type: ANT
474 branch-pattern: '**/{branch}'
478 - wipe-org-opendaylight-repo
480 mvn-version: '{mvn-version}'
481 - lf-provide-maven-settings:
482 global-settings-file: 'global-settings'
483 settings-file: 'integration-distribution-settings'
484 - lf-update-java-alternatives:
485 java-version: '{java-version}'
486 - integration-multipatch-builder
487 - integration-upload-distribution:
488 dist-pom: patch_tester/distribution/pom.xml
490 condition-kind: boolean-expression
491 condition-expression: $RUN_TEST
495 integration-distribution-test-{stream},
496 integration-distribution-mri-test-{stream}
497 predefined-parameters: |
498 BUNDLE_URL=$BUNDLE_URL
499 KARAF_VERSION=$KARAF_VERSION
503 - email-notification:
504 email-recipients: '{email-recipients}'
505 email-prefix: '[int/dist]'
508 name: 'integration-distribution-mri-test-{stream}'
510 project-type: freestyle
511 node: queue-intque-2c-1g
514 - opendaylight-infra-properties:
515 build-days-to-keep: '{build-days-to-keep}'
518 - integration-bundle-url:
519 bundle-url: '{bundle-url}'
520 - distribution-karaf-version:
521 karaf-version: '{karaf-version}'
524 - timed: '{schedule-weekly}'
528 - project: '{csit-mri-list}'
530 predefined-parameters: |
531 BUNDLE_URL=$BUNDLE_URL
532 KARAF_VERSION=$KARAF_VERSION
535 - email-notification:
536 email-recipients: '{email-recipients}'
537 email-prefix: '[integration]'
540 name: 'integration-distribution-weekly-test-trigger-{stream}'
542 project-type: freestyle
543 node: queue-intque-2c-1g
546 - opendaylight-infra-properties:
547 build-days-to-keep: '{build-days-to-keep}'
550 - integration-bundle-url:
551 bundle-url: '{bundle-url}'
552 - distribution-karaf-version:
553 karaf-version: '{karaf-version}'
556 - timed: '{schedule-weekly}'
560 - project: '{csit-weekly-list}'
562 predefined-parameters: |
563 BUNDLE_URL=$BUNDLE_URL
564 KARAF_VERSION=$KARAF_VERSION
567 - email-notification:
568 email-recipients: '{email-recipients}'
569 email-prefix: '[integration]'
572 name: 'integration-update-csit-tests-{stream}'
574 # This job's purpose is to update csit
575 # tests to run in integration-distribution-test-{stream}
576 # by updating integration files: csit-list-{stream}.inc
577 # These files can be used as !include in int-dist-test-{stream}
579 ######################
580 # Default parameters #
581 ######################
583 git-url: '$GIT_URL/$PROJECT'
584 submodule-disable: false
585 submodule-recursive: true
586 submodule-timeout: 10
588 #####################
589 # Job Configuration #
590 #####################
592 project-type: freestyle
593 node: centos7-builder-2c-2g
596 - lf-infra-properties:
597 build-days-to-keep: 7
600 - lf-infra-parameters:
601 project: releng/builder # Hardcode as this job needs to pull releng/builder
603 branch: master # Hardcode as releng/builder only has master
604 lftools-version: '{lftools-version}'
607 default: '{csit-blocklist}'
608 description: Space separated list of jobs strings to blocklist.
611 - lf-infra-gerrit-scm:
612 jenkins-ssh-credential: '{jenkins-ssh-credential}'
614 refspec: '$GERRIT_REFSPEC'
615 branch: '$GERRIT_BRANCH'
616 submodule-disable: '{submodule-disable}'
617 submodule-recursive: '{submodule-recursive}'
618 submodule-timeout: '{submodule-timeout}'
619 choosing-strategy: default
624 jenkins-ssh-credential: '{jenkins-ssh-credential}'
628 jobs: builder-jjb-merge
632 - shell: !include-raw-escape: update-csit-tests.sh
635 git add jjb/integration/*.lst
636 - lf-infra-push-gerrit-patch:
637 project: 'releng/builder'
638 gerrit-user: 'jenkins-$SILO'
639 gerrit-host: 'git.opendaylight.org'
640 gerrit-topic: 'auto-update-csit-jobs-{stream}'
641 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
642 reviewers-email: 'jluhrsen@gmail.com'
648 name: integration-info
650 - gerrit-info-yaml-verify
652 project-name: integration
654 build-node: centos7-builder-2c-1g
657 name: integration-view
660 project-name: integration