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-sulfur.lst
28 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
29 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
30 bgpcep integration/distribution
33 branch: "stable/phosphorus"
35 java-version: "openjdk11"
36 csit-list: !include: csit-jobs-phosphorus.lst
38 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
39 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
40 bgpcep integration/distribution
43 branch: "stable/silicon"
45 java-version: "openjdk11"
46 csit-list: !include: csit-jobs-silicon.lst
48 odlparent infrautils yangtools mdsal controller serviceutils aaa netconf
49 daexim jsonrpc ovsdb neutron openflowplugin lispflowmapping
50 bgpcep integration/distribution
53 branch: "stable/aluminium"
55 java-version: "openjdk11"
56 csit-list: !include: csit-jobs-aluminium.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-sulfur.lst
85 csit-mri-list: "{csit-mri-list-sulfur}"
86 csit-weekly-list: "{csit-weekly-list-sulfur}"
88 branch: "stable/phosphorus"
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-phosphorus.lst
98 csit-mri-list: "{csit-mri-list-phosphorus}"
99 csit-weekly-list: "{csit-weekly-list-phosphorus}"
101 branch: "stable/silicon"
103 aaa bier controller dluxapps genius lispflowmapping l2switch mdsal nemo
104 netconf netvirt 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 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-silicon.lst
111 csit-mri-list: "{csit-mri-list-silicon}"
112 csit-weekly-list: "{csit-weekly-list-silicon}"
114 branch: "stable/aluminium"
116 bier controller dluxapps lispflowmapping l2switch mdsal nemo
117 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 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
122 netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
123 netvirt-csit-3node-1cmb
124 openflowplugin-csit-1node-bundle-based-reconciliation
125 last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
126 csit-list: !include: csit-jobs-aluminium.lst
127 csit-mri-list: "{csit-mri-list-aluminium}"
128 csit-weekly-list: "{csit-weekly-list-aluminium}"
131 name: integration-sanity
132 project: integration/test
133 project-name: integration-test
135 - "integration-sanity-test-{stream}"
141 csit-sanity-list: "{csit-sanity-list-sulfur}"
143 branch: "stable/phosphorus"
145 csit-sanity-list: "{csit-sanity-list-phosphorus}"
147 branch: "stable/silicon"
149 csit-sanity-list: "{csit-sanity-list-silicon}"
151 branch: "stable/aluminium"
153 csit-sanity-list: "{csit-sanity-list-aluminium}"
156 name: "integration-merge-dashboard"
157 project-type: freestyle
158 node: centos7-builder-2c-1g
161 - opendaylight-infra-properties:
162 build-days-to-keep: "{build-days-to-keep}"
165 - opendaylight-infra-parameters:
166 os-cloud: "{os-cloud}"
169 refspec: "refs/heads/master"
170 artifacts: "{archive-artifacts}"
173 - integration-gerrit-scm:
175 refspec: "$GERRIT_REFSPEC"
179 - opendaylight-infra-wrappers:
180 build-timeout: "{build-timeout}"
183 - gerrit-trigger-patch-merged:
184 gerrit-server-name: "{gerrit-server-name}"
187 files: "dashboard/**"
192 - config-file-provider:
194 - file-id: odl-elastic-cloud
195 target: "$HOME/.netrc"
196 - integration-install-robotframework
197 # yamllint disable-line rule:line-length
198 - shell: python3 $WORKSPACE/test/csit/scripts/push_dashboard.py a4ff38b99ef2c7626450543021b4c134.us-east-1.aws.found.io:9243
202 - email-notification:
203 email-recipients: "{email-recipients}"
204 email-prefix: "[{project-name}]"
207 name: "integration-distribution-test-{stream}"
208 # Goal: Verify a distribution through all system test available
209 # Operation: This template takes a distribution and passes all available system test
211 project-type: freestyle
212 node: queue-disttest-2c-1g
215 - opendaylight-infra-properties:
216 build-days-to-keep: "{build-days-to-keep}"
219 - integration-bundle-url:
220 bundle-url: "{bundle-url}"
221 - distribution-karaf-version:
222 karaf-version: "{karaf-version}"
227 - project: "{csit-list}"
229 predefined-parameters: |
230 BUNDLE_URL=$BUNDLE_URL
231 KARAF_VERSION=$KARAF_VERSION
236 jenkins-ssh-credential: "{jenkins-ssh-credential}"
239 - opendaylight-infra-generate-csit-status-report
240 - email-notification:
241 email-recipients: "{email-recipients}"
242 email-prefix: "[integration]"
246 name: "integration-sanity-test-{stream}"
247 # Goal: Verify a distribution through sanity test
248 # Operation: This template takes a distribution and passes sanity test
249 # This jobs works for both managed & unmanaged distro.
251 project-type: freestyle
252 node: queue-intque-2c-1g
255 - opendaylight-infra-properties:
256 build-days-to-keep: "{build-days-to-keep}"
259 - integration-bundle-url:
260 bundle-url: "{bundle-url}"
261 - distribution-karaf-version:
262 karaf-version: "{karaf-version}"
265 - timed: "{schedule-daily}"
270 - project: "{csit-sanity-list}"
272 predefined-parameters: |
273 BUNDLE_URL=$BUNDLE_URL
274 KARAF_VERSION=$KARAF_VERSION
277 - email-notification:
278 email-recipients: "{email-recipients}"
279 email-prefix: "[integration]"
282 name: "integration-patch-test-{stream}"
283 # Template: integration-patch-test-{stream}
284 # Goal: Build a patch and run all available system test on a distribution containing the change
285 # Operation: This job template builds a patch, creates a distribution containing the patch, and
286 # triggers the distribution test when test-integration is used in gerrit comments
288 project-type: freestyle
289 node: centos7-builder-2c-8g
292 - opendaylight-infra-properties:
293 build-days-to-keep: "{build-days-to-keep}"
296 - opendaylight-infra-parameters:
297 os-cloud: "{os-cloud}"
298 project: "$GERRIT_PROJECT"
300 refspec: "$GERRIT_REFSPEC"
301 artifacts: "{archive-artifacts}"
302 - integration-distribution-branch:
304 - distribution-karaf-version:
305 karaf-version: "{karaf-version}"
306 - integration-distribution-git-url:
312 - integration-gerrit-scm:
313 basedir: "$GERRIT_PROJECT"
314 refspec: "$GERRIT_REFSPEC"
316 - integration-distribution-scm:
320 - opendaylight-infra-wrappers:
325 server-name: "{gerrit-server-name}"
327 - comment-added-contains-event:
328 comment-contains-value: "test-integration"
330 - project-compare-type: "ANT"
331 project-pattern: "**"
333 - branch-compare-type: "ANT"
334 branch-pattern: "**/{branch}"
343 - integration-rebase-gerrit-patch
344 - wipe-org-opendaylight-repo
345 - lf-provide-maven-settings:
346 global-settings-file: "global-settings"
347 settings-file: "integration-settings"
348 - lf-update-java-alternatives:
349 java-version: "{java-version}"
351 maven-version: "mvn35"
352 pom: "$GERRIT_PROJECT/pom.xml"
354 clean install dependency:tree -DoutputFile=dependency_tree.txt
357 {opendaylight-infra-mvn-opts}
358 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
360 - "-Xmx4096m -Dmaven.compile.fork=true"
361 settings: integration-settings
363 global-settings: global-settings
364 global-settings-type: cfp
367 pom: distribution/pom.xml
369 clean install dependency:tree -DoutputFile=dependency_tree.txt
370 {opendaylight-infra-mvn-opts}
371 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
373 - "-Xmx1024m -Dmaven.compile.fork=true"
374 settings: integration-settings
376 global-settings: global-settings
377 global-settings-type: cfp
378 - integration-upload-distribution:
379 dist-pom: distribution/pom.xml
381 - project: "{csit-list}"
383 predefined-parameters: |
384 BUNDLE_URL=$BUNDLE_URL
385 KARAF_VERSION=$KARAF_VERSION
389 - email-notification:
390 email-recipients: "{email-recipients}"
391 email-prefix: "[$GERRIT_PROJECT]"
394 name: "{prefix}integration-multipatch-test-{stream}"
395 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
396 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
397 # it creates a distribution containing all patches and triggers the distribution test job which includes most
398 # (if not all) available CSIT jobs.
400 id: inttest-multipatch
401 project-type: freestyle
402 node: centos7-builder-8c-8g
406 - opendaylight-infra-properties:
407 build-days-to-keep: "{build-days-to-keep}"
411 name: PATCHES_TO_BUILD
412 default: "$PATCHES_TO_BUILD"
414 Ordered list of patches to build in the format of project=changeset (checkout) or
415 project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
418 default: "{build-order}"
419 description: "Build order for multipatch test when topic is used"
423 description: "Set true to build fast -Pq"
427 description: "List of projects to build normal (no -Pq) when BUILD_FAST=true"
431 description: "Set true to run test after build"
432 - integration-distribution-branch:
434 - integration-distribution-stream:
436 - distribution-karaf-version:
437 karaf-version: "{karaf-version}"
438 - opendaylight-infra-parameters:
439 os-cloud: "{os-cloud}"
440 project: "integration/distribution"
442 refspec: "refs/heads/{branch}"
443 artifacts: "{archive-artifacts}"
444 - lf-infra-maven-parameters:
448 staging-profile-id: "" # Staging repos do not make sense for this job
451 - opendaylight-infra-wrappers:
452 build-timeout: "1200"
456 server-name: "{gerrit-server-name}"
458 - comment-added-contains-event:
459 comment-contains-value: "multipatch-build"
461 - project-compare-type: ANT
462 project-pattern: "**"
464 - branch-compare-type: ANT
465 branch-pattern: "**/{branch}"
469 - wipe-org-opendaylight-repo
471 mvn-version: "{mvn-version}"
472 - lf-provide-maven-settings:
473 global-settings-file: "global-settings"
474 settings-file: "integration-distribution-settings"
475 - lf-update-java-alternatives:
476 java-version: "{java-version}"
477 - integration-multipatch-builder
478 - integration-upload-distribution:
479 dist-pom: patch_tester/distribution/pom.xml
481 condition-kind: boolean-expression
482 condition-expression: $RUN_TEST
486 integration-distribution-test-{stream},
487 integration-distribution-mri-test-{stream}
488 predefined-parameters: |
489 BUNDLE_URL=$BUNDLE_URL
490 KARAF_VERSION=$KARAF_VERSION
494 - email-notification:
495 email-recipients: "{email-recipients}"
496 email-prefix: "[int/dist]"
499 name: "integration-distribution-mri-test-{stream}"
501 project-type: freestyle
502 node: queue-intque-2c-1g
505 - opendaylight-infra-properties:
506 build-days-to-keep: "{build-days-to-keep}"
509 - integration-bundle-url:
510 bundle-url: "{bundle-url}"
511 - distribution-karaf-version:
512 karaf-version: "{karaf-version}"
515 - timed: "{schedule-weekly}"
519 - project: "{csit-mri-list}"
521 predefined-parameters: |
522 BUNDLE_URL=$BUNDLE_URL
523 KARAF_VERSION=$KARAF_VERSION
526 - email-notification:
527 email-recipients: "{email-recipients}"
528 email-prefix: "[integration]"
531 name: "{project}-distribution-mri-test-{stream}"
532 id: inttest-distribution-mri-test
534 project-type: freestyle
535 node: queue-intque-2c-1g
538 - opendaylight-infra-properties:
539 build-days-to-keep: "{build-days-to-keep}"
542 - integration-bundle-url:
543 bundle-url: "{bundle-url}"
544 - distribution-karaf-version:
545 karaf-version: "{karaf-version}"
548 - timed: "{schedule-weekly}"
552 - project: "{csit-mri-list}"
554 predefined-parameters: |
555 BUNDLE_URL=$BUNDLE_URL
556 KARAF_VERSION=$KARAF_VERSION
559 - email-notification:
560 email-recipients: "{email-recipients}"
561 email-prefix: "[integration]"
564 name: "integration-distribution-weekly-test-trigger-{stream}"
566 project-type: freestyle
567 node: queue-intque-2c-1g
570 - opendaylight-infra-properties:
571 build-days-to-keep: "{build-days-to-keep}"
574 - integration-bundle-url:
575 bundle-url: "{bundle-url}"
576 - distribution-karaf-version:
577 karaf-version: "{karaf-version}"
580 - timed: "{schedule-weekly}"
584 - project: "{csit-weekly-list}"
586 predefined-parameters: |
587 BUNDLE_URL=$BUNDLE_URL
588 KARAF_VERSION=$KARAF_VERSION
591 - email-notification:
592 email-recipients: "{email-recipients}"
593 email-prefix: "[integration]"
596 name: "integration-update-csit-tests-{stream}"
598 # This job's purpose is to update csit
599 # tests to run in integration-distribution-test-{stream}
600 # by updating integration files: csit-list-{stream}.inc
601 # These files can be used as !include in int-dist-test-{stream}
603 ######################
604 # Default parameters #
605 ######################
607 git-url: "$GIT_URL/$PROJECT"
608 submodule-disable: false
609 submodule-recursive: true
610 submodule-timeout: 10
612 #####################
613 # Job Configuration #
614 #####################
616 project-type: freestyle
617 node: centos7-builder-2c-2g
620 - lf-infra-properties:
621 build-days-to-keep: 7
624 - lf-infra-parameters:
625 project: releng/builder # Hardcode as this job needs to pull releng/builder
627 branch: master # Hardcode as releng/builder only has master
628 lftools-version: "{lftools-version}"
631 default: "{csit-blocklist}"
632 description: Space separated list of jobs strings to blocklist.
635 - lf-infra-gerrit-scm:
636 jenkins-ssh-credential: "{jenkins-ssh-credential}"
638 refspec: "$GERRIT_REFSPEC"
639 branch: "$GERRIT_BRANCH"
640 submodule-disable: "{submodule-disable}"
641 submodule-recursive: "{submodule-recursive}"
642 submodule-timeout: "{submodule-timeout}"
643 choosing-strategy: default
648 jenkins-ssh-credential: "{jenkins-ssh-credential}"
652 jobs: builder-jjb-merge
656 - shell: !include-raw-escape: update-csit-tests.sh
659 git add jjb/integration/*.lst
660 - lf-infra-push-gerrit-patch:
661 project: "releng/builder"
662 gerrit-user: "jenkins-$SILO"
663 gerrit-host: "git.opendaylight.org"
664 gerrit-topic: "auto-update-csit-jobs-{stream}"
665 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"
666 reviewers-email: "jenkins-releng@opendaylight.org"
672 name: integration-info
674 - gerrit-info-yaml-verify
676 project-name: integration
678 build-node: centos7-builder-2c-1g
681 name: integration-view
684 project-name: integration