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-chlorine.lst
28 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
29 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
30 integration/distribution
33 branch: "stable/sulfur"
35 java-version: "openjdk11"
36 csit-list: !include: csit-jobs-sulfur.lst
38 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
39 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
40 integration/distribution
43 branch: "stable/phosphorus"
45 java-version: "openjdk11"
46 csit-list: !include: csit-jobs-phosphorus.lst
48 odlparent infrautils yangtools mdsal controller aaa netconf bgpcep
49 serviceutils daexim jsonrpc ovsdb openflowplugin lispflowmapping
50 integration/distribution
53 branch: "stable/silicon"
55 java-version: "openjdk11"
56 csit-list: !include: csit-jobs-silicon.lst
58 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
59 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
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 controller dluxapps genius lispflowmapping l2switch mdsal
78 netconf netvirt odlmicro sxp 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-chlorine.lst
85 csit-mri-list: "{csit-mri-list-chlorine}"
86 csit-weekly-list: "{csit-weekly-list-chlorine}"
88 branch: "stable/sulfur"
90 aaa controller dluxapps genius lispflowmapping l2switch mdsal
91 netconf netvirt odlmicro sxp 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-sulfur.lst
98 csit-mri-list: "{csit-mri-list-sulfur}"
99 csit-weekly-list: "{csit-weekly-list-sulfur}"
101 branch: "stable/phosphorus"
103 aaa controller dluxapps genius lispflowmapping l2switch mdsal
104 netconf netvirt odlmicro sxp yangtools
105 gate longevity sanity tdd tempest wip
106 bgpcep-csit-3node-bgpclustering-all
107 bgpcep-csit-3node-bgpclustering-ha-only
108 openflowplugin-csit-1node-bundle-based-reconciliation
109 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
110 csit-list: !include: csit-jobs-phosphorus.lst
111 csit-mri-list: "{csit-mri-list-phosphorus}"
112 csit-weekly-list: "{csit-weekly-list-phosphorus}"
114 branch: "stable/silicon"
116 aaa bier controller dluxapps genius lispflowmapping l2switch mdsal nemo
117 netconf netvirt odlmicro packetcable sfc sxp telemetry tsdr usc yangtools
118 gate longevity sanity tdd tempest wip
119 bgpcep-csit-3node-bgpclustering-all
120 bgpcep-csit-3node-bgpclustering-ha-only
121 openflowplugin-csit-1node-bundle-based-reconciliation
122 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
123 csit-list: !include: csit-jobs-silicon.lst
124 csit-mri-list: "{csit-mri-list-silicon}"
125 csit-weekly-list: "{csit-weekly-list-silicon}"
128 name: integration-sanity
129 project: integration/test
130 project-name: integration-test
132 - "integration-sanity-test-{stream}"
138 csit-sanity-list: "{csit-sanity-list-chlorine}"
140 branch: "stable/sulfur"
142 csit-sanity-list: "{csit-sanity-list-sulfur}"
144 branch: "stable/phosphorus"
146 csit-sanity-list: "{csit-sanity-list-phosphorus}"
148 branch: "stable/silicon"
150 csit-sanity-list: "{csit-sanity-list-silicon}"
153 name: "integration-merge-dashboard"
154 project-type: freestyle
155 node: centos7-builder-2c-1g
158 - opendaylight-infra-properties:
159 build-days-to-keep: "{build-days-to-keep}"
162 - opendaylight-infra-parameters:
163 os-cloud: "{os-cloud}"
166 refspec: "refs/heads/master"
167 artifacts: "{archive-artifacts}"
170 - integration-gerrit-scm:
172 refspec: "$GERRIT_REFSPEC"
176 - opendaylight-infra-wrappers:
177 build-timeout: "{build-timeout}"
180 - gerrit-trigger-patch-merged:
181 gerrit-server-name: "{gerrit-server-name}"
184 files: "dashboard/**"
189 - config-file-provider:
191 - file-id: odl-elastic-cloud
192 target: "$HOME/.netrc"
193 - integration-install-robotframework
194 # yamllint disable-line rule:line-length
195 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
199 - email-notification:
200 email-recipients: "{email-recipients}"
201 email-prefix: "[{project-name}]"
204 name: "integration-distribution-test-{stream}"
205 # Goal: Verify a distribution through all system test available
206 # Operation: This template takes a distribution and passes all available system test
208 project-type: freestyle
209 node: queue-disttest-2c-1g
212 - opendaylight-infra-properties:
213 build-days-to-keep: "{build-days-to-keep}"
216 - integration-bundle-url:
217 bundle-url: "{bundle-url}"
218 - distribution-karaf-version:
219 karaf-version: "{karaf-version}"
224 - project: "{csit-list}"
226 predefined-parameters: |
227 BUNDLE_URL=$BUNDLE_URL
228 KARAF_VERSION=$KARAF_VERSION
233 jenkins-ssh-credential: "{jenkins-ssh-credential}"
236 - opendaylight-infra-generate-csit-status-report
237 - email-notification:
238 email-recipients: "{email-recipients}"
239 email-prefix: "[integration]"
243 name: "integration-sanity-test-{stream}"
244 # Goal: Verify a distribution through sanity test
245 # Operation: This template takes a distribution and passes sanity test
246 # This jobs works for both managed & unmanaged distro.
248 project-type: freestyle
249 node: queue-intque-2c-1g
252 - opendaylight-infra-properties:
253 build-days-to-keep: "{build-days-to-keep}"
256 - integration-bundle-url:
257 bundle-url: "{bundle-url}"
258 - distribution-karaf-version:
259 karaf-version: "{karaf-version}"
262 - timed: "{schedule-daily}"
267 - project: "{csit-sanity-list}"
269 predefined-parameters: |
270 BUNDLE_URL=$BUNDLE_URL
271 KARAF_VERSION=$KARAF_VERSION
274 - email-notification:
275 email-recipients: "{email-recipients}"
276 email-prefix: "[integration]"
279 name: "integration-patch-test-{stream}"
280 # Template: integration-patch-test-{stream}
281 # Goal: Build a patch and run all available system test on a distribution containing the change
282 # Operation: This job template builds a patch, creates a distribution containing the patch, and
283 # triggers the distribution test when test-integration is used in gerrit comments
285 project-type: freestyle
286 node: centos7-builder-2c-8g
289 - opendaylight-infra-properties:
290 build-days-to-keep: "{build-days-to-keep}"
293 - opendaylight-infra-parameters:
294 os-cloud: "{os-cloud}"
295 project: "$GERRIT_PROJECT"
297 refspec: "$GERRIT_REFSPEC"
298 artifacts: "{archive-artifacts}"
299 - integration-distribution-branch:
301 - distribution-karaf-version:
302 karaf-version: "{karaf-version}"
303 - integration-distribution-git-url:
306 maven-version: "{mvn-version}"
309 - integration-gerrit-scm:
310 basedir: "$GERRIT_PROJECT"
311 refspec: "$GERRIT_REFSPEC"
313 - integration-distribution-scm:
317 - opendaylight-infra-wrappers:
322 server-name: "{gerrit-server-name}"
324 - comment-added-contains-event:
325 comment-contains-value: "test-integration"
327 - project-compare-type: "ANT"
328 project-pattern: "**"
330 - branch-compare-type: "ANT"
331 branch-pattern: "**/{branch}"
340 - integration-rebase-gerrit-patch
341 - wipe-org-opendaylight-repo
342 - lf-provide-maven-settings:
343 global-settings-file: "global-settings"
344 settings-file: "integration-settings"
345 - lf-update-java-alternatives:
346 java-version: "{java-version}"
348 maven-version: "{mvn-version}"
349 pom: "$GERRIT_PROJECT/pom.xml"
351 clean install dependency:tree -DoutputFile=dependency_tree.txt
354 {opendaylight-infra-mvn-opts}
355 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
357 - "-Xmx4096m -Dmaven.compile.fork=true"
358 settings: integration-settings
360 global-settings: global-settings
361 global-settings-type: cfp
363 maven-version: "{mvn-version}"
364 pom: distribution/pom.xml
366 clean install dependency:tree -DoutputFile=dependency_tree.txt
367 {opendaylight-infra-mvn-opts}
368 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
370 - "-Xmx1024m -Dmaven.compile.fork=true"
371 settings: integration-settings
373 global-settings: global-settings
374 global-settings-type: cfp
375 - integration-upload-distribution:
376 dist-pom: distribution/pom.xml
377 settings-project: integration
379 - project: "{csit-list}"
381 predefined-parameters: |
382 BUNDLE_URL=$BUNDLE_URL
383 KARAF_VERSION=$KARAF_VERSION
387 - email-notification:
388 email-recipients: "{email-recipients}"
389 email-prefix: "[$GERRIT_PROJECT]"
392 name: "{prefix}integration-multipatch-test-{stream}"
393 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
394 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
395 # it creates a distribution containing all patches and triggers the distribution test job which includes most
396 # (if not all) available CSIT jobs.
398 id: inttest-multipatch
399 project-type: freestyle
400 node: centos7-builder-8c-8g
404 - opendaylight-infra-properties:
405 build-days-to-keep: "{build-days-to-keep}"
409 name: PATCHES_TO_BUILD
410 default: "$PATCHES_TO_BUILD"
412 Ordered list of patches to build in the format of project=changeset (checkout) or
413 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
416 default: "{build-order}"
417 description: "Build order for multipatch test when topic is used"
421 description: "Set true to build fast -Pq"
425 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
429 description: "Set true to run test after build"
430 - integration-distribution-branch:
432 - integration-distribution-stream:
434 - distribution-karaf-version:
435 karaf-version: "{karaf-version}"
436 - opendaylight-infra-parameters:
437 os-cloud: "{os-cloud}"
438 project: "integration/distribution"
440 refspec: "refs/heads/{branch}"
441 artifacts: "{archive-artifacts}"
442 - lf-infra-maven-parameters:
445 mvn-version: "{mvn-version}"
446 staging-profile-id: "" # Staging repos do not make sense for this job
449 - opendaylight-infra-wrappers:
450 build-timeout: "1200"
454 server-name: "{gerrit-server-name}"
456 - comment-added-contains-event:
457 comment-contains-value: "multipatch-build"
459 - project-compare-type: ANT
460 project-pattern: "**"
462 - branch-compare-type: ANT
463 branch-pattern: "**/{branch}"
467 - wipe-org-opendaylight-repo
469 mvn-version: "{mvn-version}"
470 - lf-provide-maven-settings:
471 global-settings-file: "global-settings"
472 settings-file: "integration-distribution-settings"
473 - lf-update-java-alternatives:
474 java-version: "{java-version}"
475 - integration-multipatch-builder
476 - integration-upload-distribution:
477 dist-pom: patch_tester/distribution/pom.xml
478 settings-project: integration
480 condition-kind: boolean-expression
481 condition-expression: $RUN_TEST
485 integration-distribution-test-{stream},
486 integration-distribution-mri-test-{stream}
487 predefined-parameters: |
488 BUNDLE_URL=$BUNDLE_URL
489 KARAF_VERSION=$KARAF_VERSION
493 - email-notification:
494 email-recipients: "{email-recipients}"
495 email-prefix: "[int/dist]"
498 name: "integration-distribution-mri-test-{stream}"
500 project-type: freestyle
501 node: queue-intque-2c-1g
504 - opendaylight-infra-properties:
505 build-days-to-keep: "{build-days-to-keep}"
508 - integration-bundle-url:
509 bundle-url: "{bundle-url}"
510 - distribution-karaf-version:
511 karaf-version: "{karaf-version}"
514 - timed: "{schedule-weekly}"
518 - project: "{csit-mri-list}"
520 predefined-parameters: |
521 BUNDLE_URL=$BUNDLE_URL
522 KARAF_VERSION=$KARAF_VERSION
525 - email-notification:
526 email-recipients: "{email-recipients}"
527 email-prefix: "[integration]"
530 name: "{project}-distribution-mri-test-{stream}"
531 id: inttest-distribution-mri-test
533 project-type: freestyle
534 node: queue-intque-2c-1g
537 - opendaylight-infra-properties:
538 build-days-to-keep: "{build-days-to-keep}"
541 - integration-bundle-url:
542 bundle-url: "{bundle-url}"
543 - distribution-karaf-version:
544 karaf-version: "{karaf-version}"
547 - timed: "{schedule-weekly}"
551 - project: "{csit-mri-list}"
553 predefined-parameters: |
554 BUNDLE_URL=$BUNDLE_URL
555 KARAF_VERSION=$KARAF_VERSION
558 - email-notification:
559 email-recipients: "{email-recipients}"
560 email-prefix: "[integration]"
563 name: "integration-distribution-weekly-test-trigger-{stream}"
565 project-type: freestyle
566 node: queue-intque-2c-1g
569 - opendaylight-infra-properties:
570 build-days-to-keep: "{build-days-to-keep}"
573 - integration-bundle-url:
574 bundle-url: "{bundle-url}"
575 - distribution-karaf-version:
576 karaf-version: "{karaf-version}"
579 - timed: "{schedule-weekly}"
583 - project: "{csit-weekly-list}"
585 predefined-parameters: |
586 BUNDLE_URL=$BUNDLE_URL
587 KARAF_VERSION=$KARAF_VERSION
590 - email-notification:
591 email-recipients: "{email-recipients}"
592 email-prefix: "[integration]"
595 name: "integration-update-csit-tests-{stream}"
597 # This job's purpose is to update csit
598 # tests to run in integration-distribution-test-{stream}
599 # by updating integration files: csit-list-{stream}.inc
600 # These files can be used as !include in int-dist-test-{stream}
602 ######################
603 # Default parameters #
604 ######################
606 git-url: "$GIT_URL/$PROJECT"
607 submodule-disable: false
608 submodule-recursive: true
609 submodule-timeout: 10
611 #####################
612 # Job Configuration #
613 #####################
615 project-type: freestyle
616 node: centos7-builder-2c-2g
619 - lf-infra-properties:
620 build-days-to-keep: 7
623 - lf-infra-parameters:
624 project: releng/builder # Hardcode as this job needs to pull releng/builder
626 branch: master # Hardcode as releng/builder only has master
627 lftools-version: "{lftools-version}"
630 default: "{csit-blocklist}"
631 description: Space separated list of jobs strings to blocklist.
634 - lf-infra-gerrit-scm:
635 jenkins-ssh-credential: "{jenkins-ssh-credential}"
637 refspec: "$GERRIT_REFSPEC"
638 branch: "$GERRIT_BRANCH"
639 submodule-disable: "{submodule-disable}"
640 submodule-recursive: "{submodule-recursive}"
641 submodule-timeout: "{submodule-timeout}"
642 choosing-strategy: default
647 jenkins-ssh-credential: "{jenkins-ssh-credential}"
651 jobs: builder-jjb-merge
655 - shell: !include-raw-escape: update-csit-tests.sh
658 git add jjb/integration/*.lst
659 - lf-infra-push-gerrit-patch:
660 project: "releng/builder"
661 gerrit-user: "jenkins-$SILO"
662 gerrit-host: "git.opendaylight.org"
663 gerrit-topic: "auto-update-csit-jobs-{stream}"
664 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
665 reviewers-email: "jenkins-releng@opendaylight.org"
671 name: integration-info
673 - gerrit-info-yaml-verify
675 project-name: integration
677 build-node: centos7-builder-2c-1g
680 name: integration-view
683 project-name: integration