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]"
402 name: "{prefix}integration-multipatch-test-{stream}"
403 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
404 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
405 # it creates a distribution containing all patches and triggers the distribution test job which includes most
406 # (if not all) available CSIT jobs.
408 id: inttest-multipatch
409 project-type: freestyle
410 node: centos7-builder-8c-8g
414 - opendaylight-infra-properties:
415 build-days-to-keep: "{build-days-to-keep}"
419 name: PATCHES_TO_BUILD
420 default: "$PATCHES_TO_BUILD"
422 Ordered list of patches to build in the format of project=changeset (checkout) or
423 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
426 default: "{build-order}"
427 description: "Build order for multipatch test when topic is used"
431 description: "Set true to build fast -Pq"
435 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
439 description: "Set true to run test after build"
440 - integration-distribution-branch:
442 - integration-distribution-stream:
444 - distribution-karaf-version:
445 karaf-version: "{karaf-version}"
446 - opendaylight-infra-parameters:
447 os-cloud: "{os-cloud}"
448 project: "integration/distribution"
450 refspec: "refs/heads/{branch}"
451 artifacts: "{archive-artifacts}"
452 - lf-infra-maven-parameters:
456 staging-profile-id: "" # Staging repos do not make sense for this job
459 - opendaylight-infra-wrappers:
460 build-timeout: "1200"
464 server-name: "{gerrit-server-name}"
466 - comment-added-contains-event:
467 comment-contains-value: "multipatch-build"
469 - project-compare-type: ANT
470 project-pattern: "**"
472 - branch-compare-type: ANT
473 branch-pattern: "**/{branch}"
477 - wipe-org-opendaylight-repo
479 mvn-version: "{mvn-version}"
480 - lf-provide-maven-settings:
481 global-settings-file: "global-settings"
482 settings-file: "integration-distribution-settings"
483 - lf-update-java-alternatives:
484 java-version: "{java-version}"
485 - integration-multipatch-builder
486 - integration-upload-distribution:
487 dist-pom: patch_tester/distribution/pom.xml
489 condition-kind: boolean-expression
490 condition-expression: $RUN_TEST
494 integration-distribution-test-{stream},
495 integration-distribution-mri-test-{stream}
496 predefined-parameters: |
497 BUNDLE_URL=$BUNDLE_URL
498 KARAF_VERSION=$KARAF_VERSION
502 - email-notification:
503 email-recipients: "{email-recipients}"
504 email-prefix: "[int/dist]"
507 name: "integration-distribution-mri-test-{stream}"
509 project-type: freestyle
510 node: queue-intque-2c-1g
513 - opendaylight-infra-properties:
514 build-days-to-keep: "{build-days-to-keep}"
517 - integration-bundle-url:
518 bundle-url: "{bundle-url}"
519 - distribution-karaf-version:
520 karaf-version: "{karaf-version}"
523 - timed: "{schedule-weekly}"
527 - project: "{csit-mri-list}"
529 predefined-parameters: |
530 BUNDLE_URL=$BUNDLE_URL
531 KARAF_VERSION=$KARAF_VERSION
534 - email-notification:
535 email-recipients: "{email-recipients}"
536 email-prefix: "[integration]"
539 name: "integration-distribution-weekly-test-trigger-{stream}"
541 project-type: freestyle
542 node: queue-intque-2c-1g
545 - opendaylight-infra-properties:
546 build-days-to-keep: "{build-days-to-keep}"
549 - integration-bundle-url:
550 bundle-url: "{bundle-url}"
551 - distribution-karaf-version:
552 karaf-version: "{karaf-version}"
555 - timed: "{schedule-weekly}"
559 - project: "{csit-weekly-list}"
561 predefined-parameters: |
562 BUNDLE_URL=$BUNDLE_URL
563 KARAF_VERSION=$KARAF_VERSION
566 - email-notification:
567 email-recipients: "{email-recipients}"
568 email-prefix: "[integration]"
571 name: "integration-update-csit-tests-{stream}"
573 # This job's purpose is to update csit
574 # tests to run in integration-distribution-test-{stream}
575 # by updating integration files: csit-list-{stream}.inc
576 # These files can be used as !include in int-dist-test-{stream}
578 ######################
579 # Default parameters #
580 ######################
582 git-url: "$GIT_URL/$PROJECT"
583 submodule-disable: false
584 submodule-recursive: true
585 submodule-timeout: 10
587 #####################
588 # Job Configuration #
589 #####################
591 project-type: freestyle
592 node: centos7-builder-2c-2g
595 - lf-infra-properties:
596 build-days-to-keep: 7
599 - lf-infra-parameters:
600 project: releng/builder # Hardcode as this job needs to pull releng/builder
602 branch: master # Hardcode as releng/builder only has master
603 lftools-version: "{lftools-version}"
606 default: "{csit-blocklist}"
607 description: Space separated list of jobs strings to blocklist.
610 - lf-infra-gerrit-scm:
611 jenkins-ssh-credential: "{jenkins-ssh-credential}"
613 refspec: "$GERRIT_REFSPEC"
614 branch: "$GERRIT_BRANCH"
615 submodule-disable: "{submodule-disable}"
616 submodule-recursive: "{submodule-recursive}"
617 submodule-timeout: "{submodule-timeout}"
618 choosing-strategy: default
623 jenkins-ssh-credential: "{jenkins-ssh-credential}"
627 jobs: builder-jjb-merge
631 - shell: !include-raw-escape: update-csit-tests.sh
634 git add jjb/integration/*.lst
635 - lf-infra-push-gerrit-patch:
636 project: "releng/builder"
637 gerrit-user: "jenkins-$SILO"
638 gerrit-host: "git.opendaylight.org"
639 gerrit-topic: "auto-update-csit-jobs-{stream}"
640 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
641 reviewers-email: "jluhrsen@gmail.com"
647 name: integration-info
649 - gerrit-info-yaml-verify
651 project-name: integration
653 build-node: centos7-builder-2c-1g
656 name: integration-view
659 project-name: integration