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-phosphorus.lst
28 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
29 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
30 bgpcep integration/distribution
33 branch: "stable/silicon"
35 java-version: "openjdk11"
36 csit-list: !include: csit-jobs-silicon.lst
38 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
39 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
40 bgpcep integration/distribution
43 branch: "stable/aluminium"
45 java-version: "openjdk11"
46 csit-list: !include: csit-jobs-aluminium.lst
48 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
49 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
50 bgpcep integration/distribution
53 branch: "stable/magnesium"
55 java-version: "openjdk11"
56 csit-list: !include: csit-jobs-magnesium.lst
58 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
59 daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
60 bgpcep integration/distribution
63 name: integration-distribution
64 project: integration/test
65 project-name: integration-test
67 - "integration-distribution-test-{stream}"
68 - "integration-distribution-mri-test-{stream}"
69 - "integration-distribution-weekly-test-trigger-{stream}"
70 - "integration-update-csit-tests-{stream}"
72 # CSIT Lists in defaults.yaml
77 aaa bier controller dluxapps genius lispflowmapping l2switch mdsal nemo
78 netconf netvirt odlmicro packetcable sfc sxp telemetry tsdr usc yangtools
79 gate longevity sanity tdd tempest wip
80 bgpcep-csit-3node-bgpclustering-all
81 bgpcep-csit-3node-bgpclustering-ha-only
82 openflowplugin-csit-1node-bundle-based-reconciliation
83 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
84 csit-list: !include: csit-jobs-phosphorus.lst
85 csit-mri-list: "{csit-mri-list-phosphorus}"
86 csit-weekly-list: "{csit-weekly-list-phosphorus}"
88 branch: "stable/silicon"
90 aaa bier controller dluxapps genius lispflowmapping l2switch mdsal nemo
91 netconf netvirt odlmicro packetcable sfc sxp telemetry tsdr usc yangtools
92 gate longevity sanity tdd tempest wip
93 bgpcep-csit-3node-bgpclustering-all
94 bgpcep-csit-3node-bgpclustering-ha-only
95 openflowplugin-csit-1node-bundle-based-reconciliation
96 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
97 csit-list: !include: csit-jobs-silicon.lst
98 csit-mri-list: "{csit-mri-list-silicon}"
99 csit-weekly-list: "{csit-weekly-list-silicon}"
101 branch: "stable/aluminium"
103 bier controller dluxapps lispflowmapping l2switch mdsal nemo
104 odlmicro packetcable sfc sxp telemetry tsdr usc yangtools
105 gate longevity sanity tdd tempest wip
106 bgpcep-csit-3node-bgpclustering-all
107 bgpcep-csit-3node-bgpclustering-ha-only
108 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
109 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
110 netvirt-csit-3node-1cmb
111 openflowplugin-csit-1node-bundle-based-reconciliation
112 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
113 csit-list: !include: csit-jobs-aluminium.lst
114 csit-mri-list: "{csit-mri-list-aluminium}"
115 csit-weekly-list: "{csit-weekly-list-aluminium}"
117 branch: "stable/magnesium"
119 alto bier coe detnet dluxapps groupbasedpolicy l2switch mdsal nemo
120 p4plugin packetcable sfc sxp telemetry tsdr unimgr usc yangtools
121 gate longevity sanity tdd tempest wip
122 bgpcep-csit-3node-bgpclustering-all
123 bgpcep-csit-3node-bgpclustering-ha-only
124 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
125 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
126 netvirt-csit-3node-1cmb
127 openflowplugin-csit-1node-bundle-based-reconciliation
128 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
129 csit-list: !include: csit-jobs-magnesium.lst
130 csit-mri-list: "{csit-mri-list-magnesium}"
131 csit-weekly-list: "{csit-weekly-list-magnesium}"
134 name: integration-sanity
135 project: integration/test
136 project-name: integration-test
138 - "integration-sanity-test-{stream}"
144 csit-sanity-list: "{csit-sanity-list-phosphorus}"
146 branch: "stable/silicon"
148 csit-sanity-list: "{csit-sanity-list-silicon}"
150 branch: "stable/aluminium"
152 csit-sanity-list: "{csit-sanity-list-aluminium}"
154 branch: "stable/magnesium"
156 csit-sanity-list: "{csit-sanity-list-magnesium}"
159 name: "integration-merge-dashboard"
160 project-type: freestyle
161 node: centos7-builder-2c-1g
164 - opendaylight-infra-properties:
165 build-days-to-keep: "{build-days-to-keep}"
168 - opendaylight-infra-parameters:
169 os-cloud: "{os-cloud}"
172 refspec: "refs/heads/master"
173 artifacts: "{archive-artifacts}"
176 - integration-gerrit-scm:
178 refspec: "$GERRIT_REFSPEC"
182 - opendaylight-infra-wrappers:
183 build-timeout: "{build-timeout}"
186 - gerrit-trigger-patch-merged:
187 gerrit-server-name: "{gerrit-server-name}"
190 files: "dashboard/**"
195 - config-file-provider:
197 - file-id: odl-elastic-cloud
198 target: "$HOME/.netrc"
199 - integration-install-robotframework
200 # yamllint disable-line rule:line-length
201 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
205 - email-notification:
206 email-recipients: "{email-recipients}"
207 email-prefix: "[{project-name}]"
210 name: "integration-distribution-test-{stream}"
211 # Goal: Verify a distribution through all system test available
212 # Operation: This template takes a distribution and passes all available system test
214 project-type: freestyle
215 node: queue-disttest-2c-1g
218 - opendaylight-infra-properties:
219 build-days-to-keep: "{build-days-to-keep}"
222 - integration-bundle-url:
223 bundle-url: "{bundle-url}"
224 - distribution-karaf-version:
225 karaf-version: "{karaf-version}"
230 - project: "{csit-list}"
232 predefined-parameters: |
233 BUNDLE_URL=$BUNDLE_URL
234 KARAF_VERSION=$KARAF_VERSION
239 jenkins-ssh-credential: "{jenkins-ssh-credential}"
242 - opendaylight-infra-generate-csit-status-report
243 - email-notification:
244 email-recipients: "{email-recipients}"
245 email-prefix: "[integration]"
249 name: "integration-sanity-test-{stream}"
250 # Goal: Verify a distribution through sanity test
251 # Operation: This template takes a distribution and passes sanity test
252 # This jobs works for both managed & unmanaged distro.
254 project-type: freestyle
255 node: queue-intque-2c-1g
258 - opendaylight-infra-properties:
259 build-days-to-keep: "{build-days-to-keep}"
262 - integration-bundle-url:
263 bundle-url: "{bundle-url}"
264 - distribution-karaf-version:
265 karaf-version: "{karaf-version}"
268 - timed: "{schedule-daily}"
273 - project: "{csit-sanity-list}"
275 predefined-parameters: |
276 BUNDLE_URL=$BUNDLE_URL
277 KARAF_VERSION=$KARAF_VERSION
280 - email-notification:
281 email-recipients: "{email-recipients}"
282 email-prefix: "[integration]"
285 name: "integration-patch-test-{stream}"
286 # Template: integration-patch-test-{stream}
287 # Goal: Build a patch and run all available system test on a distribution containing the change
288 # Operation: This job template builds a patch, creates a distribution containing the patch, and
289 # triggers the distribution test when test-integration is used in gerrit comments
291 project-type: freestyle
292 node: centos7-builder-2c-8g
295 - opendaylight-infra-properties:
296 build-days-to-keep: "{build-days-to-keep}"
299 - opendaylight-infra-parameters:
300 os-cloud: "{os-cloud}"
301 project: "$GERRIT_PROJECT"
303 refspec: "$GERRIT_REFSPEC"
304 artifacts: "{archive-artifacts}"
305 - integration-distribution-branch:
307 - distribution-karaf-version:
308 karaf-version: "{karaf-version}"
309 - integration-distribution-git-url:
315 - integration-gerrit-scm:
316 basedir: "$GERRIT_PROJECT"
317 refspec: "$GERRIT_REFSPEC"
319 - integration-distribution-scm:
323 - opendaylight-infra-wrappers:
328 server-name: "{gerrit-server-name}"
330 - comment-added-contains-event:
331 comment-contains-value: "test-integration"
333 - project-compare-type: "ANT"
334 project-pattern: "**"
336 - branch-compare-type: "ANT"
337 branch-pattern: "**/{branch}"
346 - integration-rebase-gerrit-patch
347 - wipe-org-opendaylight-repo
348 - lf-provide-maven-settings:
349 global-settings-file: "global-settings"
350 settings-file: "integration-settings"
351 - lf-update-java-alternatives:
352 java-version: "{java-version}"
354 maven-version: "mvn35"
355 pom: "$GERRIT_PROJECT/pom.xml"
357 clean install dependency:tree -DoutputFile=dependency_tree.txt
360 {opendaylight-infra-mvn-opts}
361 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
363 - "-Xmx4096m -Dmaven.compile.fork=true"
364 settings: integration-settings
366 global-settings: global-settings
367 global-settings-type: cfp
370 pom: distribution/pom.xml
372 clean install dependency:tree -DoutputFile=dependency_tree.txt
373 {opendaylight-infra-mvn-opts}
374 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
376 - "-Xmx1024m -Dmaven.compile.fork=true"
377 settings: integration-settings
379 global-settings: global-settings
380 global-settings-type: cfp
381 - integration-upload-distribution:
382 dist-pom: distribution/pom.xml
384 - project: "{csit-list}"
386 predefined-parameters: |
387 BUNDLE_URL=$BUNDLE_URL
388 KARAF_VERSION=$KARAF_VERSION
392 - email-notification:
393 email-recipients: "{email-recipients}"
394 email-prefix: "[$GERRIT_PROJECT]"
397 name: "{prefix}integration-multipatch-test-{stream}"
398 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
399 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
400 # it creates a distribution containing all patches and triggers the distribution test job which includes most
401 # (if not all) available CSIT jobs.
403 id: inttest-multipatch
404 project-type: freestyle
405 node: centos7-builder-8c-8g
409 - opendaylight-infra-properties:
410 build-days-to-keep: "{build-days-to-keep}"
414 name: PATCHES_TO_BUILD
415 default: "$PATCHES_TO_BUILD"
417 Ordered list of patches to build in the format of project=changeset (checkout) or
418 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
421 default: "{build-order}"
422 description: "Build order for multipatch test when topic is used"
426 description: "Set true to build fast -Pq"
430 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
434 description: "Set true to run test after build"
435 - integration-distribution-branch:
437 - integration-distribution-stream:
439 - distribution-karaf-version:
440 karaf-version: "{karaf-version}"
441 - opendaylight-infra-parameters:
442 os-cloud: "{os-cloud}"
443 project: "integration/distribution"
445 refspec: "refs/heads/{branch}"
446 artifacts: "{archive-artifacts}"
447 - lf-infra-maven-parameters:
451 staging-profile-id: "" # Staging repos do not make sense for this job
454 - opendaylight-infra-wrappers:
455 build-timeout: "1200"
459 server-name: "{gerrit-server-name}"
461 - comment-added-contains-event:
462 comment-contains-value: "multipatch-build"
464 - project-compare-type: ANT
465 project-pattern: "**"
467 - branch-compare-type: ANT
468 branch-pattern: "**/{branch}"
472 - wipe-org-opendaylight-repo
474 mvn-version: "{mvn-version}"
475 - lf-provide-maven-settings:
476 global-settings-file: "global-settings"
477 settings-file: "integration-distribution-settings"
478 - lf-update-java-alternatives:
479 java-version: "{java-version}"
480 - integration-multipatch-builder
481 - integration-upload-distribution:
482 dist-pom: patch_tester/distribution/pom.xml
484 condition-kind: boolean-expression
485 condition-expression: $RUN_TEST
489 integration-distribution-test-{stream},
490 integration-distribution-mri-test-{stream}
491 predefined-parameters: |
492 BUNDLE_URL=$BUNDLE_URL
493 KARAF_VERSION=$KARAF_VERSION
497 - email-notification:
498 email-recipients: "{email-recipients}"
499 email-prefix: "[int/dist]"
502 name: "integration-distribution-mri-test-{stream}"
504 project-type: freestyle
505 node: queue-intque-2c-1g
508 - opendaylight-infra-properties:
509 build-days-to-keep: "{build-days-to-keep}"
512 - integration-bundle-url:
513 bundle-url: "{bundle-url}"
514 - distribution-karaf-version:
515 karaf-version: "{karaf-version}"
518 - timed: "{schedule-weekly}"
522 - project: "{csit-mri-list}"
524 predefined-parameters: |
525 BUNDLE_URL=$BUNDLE_URL
526 KARAF_VERSION=$KARAF_VERSION
529 - email-notification:
530 email-recipients: "{email-recipients}"
531 email-prefix: "[integration]"
534 name: "integration-distribution-weekly-test-trigger-{stream}"
536 project-type: freestyle
537 node: queue-intque-2c-1g
540 - opendaylight-infra-properties:
541 build-days-to-keep: "{build-days-to-keep}"
544 - integration-bundle-url:
545 bundle-url: "{bundle-url}"
546 - distribution-karaf-version:
547 karaf-version: "{karaf-version}"
550 - timed: "{schedule-weekly}"
554 - project: "{csit-weekly-list}"
556 predefined-parameters: |
557 BUNDLE_URL=$BUNDLE_URL
558 KARAF_VERSION=$KARAF_VERSION
561 - email-notification:
562 email-recipients: "{email-recipients}"
563 email-prefix: "[integration]"
566 name: "integration-update-csit-tests-{stream}"
568 # This job's purpose is to update csit
569 # tests to run in integration-distribution-test-{stream}
570 # by updating integration files: csit-list-{stream}.inc
571 # These files can be used as !include in int-dist-test-{stream}
573 ######################
574 # Default parameters #
575 ######################
577 git-url: "$GIT_URL/$PROJECT"
578 submodule-disable: false
579 submodule-recursive: true
580 submodule-timeout: 10
582 #####################
583 # Job Configuration #
584 #####################
586 project-type: freestyle
587 node: centos7-builder-2c-2g
590 - lf-infra-properties:
591 build-days-to-keep: 7
594 - lf-infra-parameters:
595 project: releng/builder # Hardcode as this job needs to pull releng/builder
597 branch: master # Hardcode as releng/builder only has master
598 lftools-version: "{lftools-version}"
601 default: "{csit-blocklist}"
602 description: Space separated list of jobs strings to blocklist.
605 - lf-infra-gerrit-scm:
606 jenkins-ssh-credential: "{jenkins-ssh-credential}"
608 refspec: "$GERRIT_REFSPEC"
609 branch: "$GERRIT_BRANCH"
610 submodule-disable: "{submodule-disable}"
611 submodule-recursive: "{submodule-recursive}"
612 submodule-timeout: "{submodule-timeout}"
613 choosing-strategy: default
618 jenkins-ssh-credential: "{jenkins-ssh-credential}"
622 jobs: builder-jjb-merge
626 - shell: !include-raw-escape: update-csit-tests.sh
629 git add jjb/integration/*.lst
630 - lf-infra-push-gerrit-patch:
631 project: "releng/builder"
632 gerrit-user: "jenkins-$SILO"
633 gerrit-host: "git.opendaylight.org"
634 gerrit-topic: "auto-update-csit-jobs-{stream}"
635 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
636 reviewers-email: "jenkins-releng@opendaylight.org"
642 name: integration-info
644 - gerrit-info-yaml-verify
646 project-name: integration
648 build-node: centos7-builder-2c-1g
651 name: integration-view
654 project-name: integration