2 # Job templates in this file (please update with every new template):
5 # {project}-csit-1node-{functionality}-{install}-{stream}
6 # {project}-csit-3node-docker-{functionality}-{install}-{stream}
7 # {project}-csit-3node-{functionality}-{install}-{stream}
8 # {project}-csit-verify-1node-{functionality}
9 # {project}-csit-verify-3node-{functionality}
10 # {project}-patch-test-{feature}-{stream}
13 # FIXME: Distinguish variables, macros and arguments, then update.
15 # opendaylight-infra-parameters: main project integration/test ($PROJECT)
16 # jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
17 # integration-distribution-branch: distribution branch ($DISTROBRANCH)
18 # integration-controller-bundle-url: distribution URL ($BUNDLE_URL)
19 # integration-controller-scope: only or all features ($CONTROLLERSCOPE)
20 # integration-controller-features: features under test ($CONTROLLER FEATURES)
21 # integration-test-options: robot options ($TESTOPTIONS)
22 # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
23 # integration-test-plan: fallback robot test plan ($TESTPLAN)
24 # integration-patch-refspec: test branch ($PATCHREFSPEC)
25 # integration-use-features-boot: bool to toggle use of featuresBoot ($USEFEATURESBOOT)
31 - inttest_csit_common: &inttest_csit_common
32 name: inttest-csit-common
33 # Defines common configuration to all CSIT jobs
39 build-days-to-keep: 30
40 build-timeout: 360 # Time in minutes
47 project-type: freestyle
48 node: centos8-robot-2c-8g
50 disabled: "{disable-job}"
53 - opendaylight-infra-properties:
54 build-days-to-keep: "{build-days-to-keep}"
57 - opendaylight-infra-wrappers:
58 build-timeout: "{build-timeout}"
65 name: "{prefix}{project}-csit-verify-1node-{functionality}"
66 id: inttest-csit-verify-1node
67 <<: *inttest_csit_common
74 openstack-heat-template: csit-2-instance-type.yaml
75 openstack-heat-template-dir: openstack-hot
82 - integration-csit-parameters:
83 archive-artifacts: "{archive-artifacts}"
85 os-cloud: "{os-cloud}"
87 bundle-url: "{bundle-url}"
88 repo-url: "{repo-url}"
89 robot-options: "{robot-options}"
91 controller-scope: only
92 controller-max-mem: "{controller-max-mem}"
93 debug-map: "{debug-map}"
94 install-features: "{install-features}"
95 use-features-boot: "True"
96 elasticsearch-attribute: "{elasticsearch-attribute}"
97 karaf-based-controller: "{karaf-based-controller}"
98 karaf-version: "{karaf-version}"
99 - integration-stack-2-type:
101 vm_0_flavor: "{odl_system_flavor}"
102 vm_0_image: "{odl_system_image}"
103 vm_1_count: "{tools_system_count}"
104 vm_1_flavor: "{tools_system_flavor}"
105 vm_1_image: "{tools_system_image}"
106 - integration-distribution-branch:
107 branch: "{verify-branch}"
108 - integration-distribution-stream:
109 stream: "{verify-stream}"
110 - integration-script-plan:
111 script-plan: "{project}.txt"
112 - integration-config-plan:
113 config-plan: "{project}.txt"
114 - integration-stream-test-plan:
115 stream-test-plan: "{project}-{functionality}-{verify-stream}.txt"
116 - integration-test-plan:
117 test-plan: "{project}-{functionality}.txt"
118 - integration-jdk-version:
119 jdkversion: "{verify-jdkversion}"
122 - integration-gerrit-scm:
124 refspec: "$GERRIT_REFSPEC"
128 - integration-trigger-patch-submitted:
129 gerrit-server-name: "{gerrit-server-name}"
130 project: "integration/test"
132 files: "csit/suites/{project}/**"
136 - integration-stack-2-type:
137 openstack-cloud: "{openstack-cloud}"
138 openstack-heat-template: "{openstack-heat-template}"
139 openstack-heat-template-dir: "{openstack-heat-template-dir}"
140 - integration-install-robotframework
142 properties-file: "env.properties"
143 - integration-get-slave-addresses
145 properties-file: "slave_addresses.txt"
146 - integration-detect-variables
147 - integration-install-common-functions
148 - integration-deploy-controller-run-test
149 - integration-cleanup-tmp
152 - email-notification:
153 email-recipients: "{email-recipients}"
154 email-prefix: "[{project}]"
155 - integration-csit-publish:
156 robot_other_files: ""
157 robot-pass-threshold: 100.0
158 robot-unstable-threshold: 0.0
160 openstack-cloud: "{openstack-cloud}"
163 ######################
164 # inttest-csit-1node #
165 ######################
167 - inttest_csit_1node: &inttest_csit_1node
168 name: inttest-csit-1node
170 #####################
171 # Default variables #
172 #####################
175 openstack-heat-template: csit-2-instance-type.yaml
176 openstack-heat-template-dir: openstack-hot
178 #####################
179 # Job configuration #
180 #####################
183 - integration-csit-parameters:
184 archive-artifacts: "{archive-artifacts}"
186 os-cloud: "{os-cloud}"
188 bundle-url: "{bundle-url}"
189 repo-url: "{repo-url}"
190 robot-options: "{robot-options}"
192 controller-scope: "{install}"
193 controller-max-mem: "{controller-max-mem}"
194 debug-map: "{debug-map}"
195 install-features: "{install-features}"
196 use-features-boot: "True"
197 elasticsearch-attribute: "{elasticsearch-attribute}"
198 karaf-based-controller: "{karaf-based-controller}"
199 karaf-version: "{karaf-version}"
200 - integration-stack-2-type:
202 vm_0_flavor: "{odl_system_flavor}"
203 vm_0_image: "{odl_system_image}"
204 vm_1_count: "{tools_system_count}"
205 vm_1_flavor: "{tools_system_flavor}"
206 vm_1_image: "{tools_system_image}"
207 - integration-distribution-branch:
209 - integration-distribution-stream:
211 - integration-script-plan:
212 script-plan: "{project}.txt"
213 - integration-config-plan:
214 config-plan: "{project}.txt"
215 - integration-stream-test-plan:
216 stream-test-plan: "{project}-{functionality}-{stream}.txt"
217 - integration-test-plan:
218 test-plan: "{project}-{functionality}.txt"
219 - integration-test-suites:
220 test-suites: "{test-suites}"
221 - integration-patch-refspec:
223 - integration-jdk-version:
227 - integration-gerrit-scm:
229 refspec: "$PATCHREFSPEC"
233 # we need this for not SR projects
234 - integration-csit-trigger:
235 jobs: "{trigger-jobs}"
239 - integration-stack-2-type:
240 openstack-cloud: "{openstack-cloud}"
241 openstack-heat-template: "{openstack-heat-template}"
242 openstack-heat-template-dir: "{openstack-heat-template-dir}"
243 - integration-install-robotframework
245 properties-file: "env.properties"
246 - integration-get-slave-addresses
248 properties-file: "slave_addresses.txt"
249 - integration-detect-variables
250 - integration-install-common-functions
251 - integration-deploy-controller-run-test
252 - integration-run-test
253 - integration-cleanup-tmp
256 - email-notification:
257 email-recipients: "{email-recipients}"
258 email-prefix: "[{project}]"
260 - title: "{01-plot-title}"
261 yaxis: "{01-plot-yaxis}"
262 group: "{01-plot-group}"
266 use-description: false
267 # yamllint disable-line rule:line-length
268 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv"
270 - file: "{01-plot-data-file}"
271 inclusion-flag: "off"
274 - title: "{02-plot-title}"
275 yaxis: "{02-plot-yaxis}"
276 group: "{02-plot-group}"
280 use-description: false
281 # yamllint disable-line rule:line-length
282 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv"
284 - file: "{02-plot-data-file}"
285 inclusion-flag: "off"
288 - title: "{03-plot-title}"
289 yaxis: "{03-plot-yaxis}"
290 group: "{03-plot-group}"
294 use-description: false
295 # yamllint disable-line rule:line-length
296 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv"
298 - file: "{03-plot-data-file}"
299 inclusion-flag: "{03-inclusion-flag}"
300 exclude: "{03-exclude-value}"
302 - title: "{04-plot-title}"
303 yaxis: "{04-plot-yaxis}"
304 group: "{04-plot-group}"
308 use-description: false
309 # yamllint disable-line rule:line-length
310 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv"
312 - file: "{04-plot-data-file}"
313 inclusion-flag: "{04-inclusion-flag}"
314 exclude: "{04-exclude-value}"
316 - title: "{05-plot-title}"
317 yaxis: "{05-plot-yaxis}"
318 group: "{05-plot-group}"
322 use-description: false
323 # yamllint disable-line rule:line-length
324 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv"
326 - file: "{05-plot-data-file}"
327 inclusion-flag: "{05-inclusion-flag}"
328 exclude: "{05-exclude-value}"
330 - title: "{06-plot-title}"
331 yaxis: "{06-plot-yaxis}"
332 group: "{06-plot-group}"
336 use-description: false
337 # yamllint disable-line rule:line-length
338 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv"
340 - file: "{06-plot-data-file}"
341 inclusion-flag: "{06-inclusion-flag}"
342 exclude: "{06-exclude-value}"
344 - title: "{07-plot-title}"
345 yaxis: "{07-plot-yaxis}"
346 group: "{07-plot-group}"
350 use-description: false
351 # yamllint disable-line rule:line-length
352 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv"
354 - file: "{07-plot-data-file}"
355 inclusion-flag: "{07-inclusion-flag}"
356 exclude: "{07-exclude-value}"
358 - title: "{08-plot-title}"
359 yaxis: "{08-plot-yaxis}"
360 group: "{08-plot-group}"
364 use-description: false
365 # yamllint disable-line rule:line-length
366 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv"
368 - file: "{08-plot-data-file}"
369 inclusion-flag: "{08-inclusion-flag}"
370 exclude: "{08-exclude-value}"
372 - title: "{09-plot-title}"
373 yaxis: "{09-plot-yaxis}"
374 group: "{09-plot-group}"
378 use-description: false
379 # yamllint disable-line rule:line-length
380 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv"
382 - file: "{09-plot-data-file}"
383 inclusion-flag: "{09-inclusion-flag}"
384 exclude: "{09-exclude-value}"
386 - title: "{10-plot-title}"
387 yaxis: "{10-plot-yaxis}"
388 group: "{10-plot-group}"
392 use-description: false
393 # yamllint disable-line rule:line-length
394 csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv"
396 - file: "{10-plot-data-file}"
397 inclusion-flag: "{10-inclusion-flag}"
398 exclude: "{10-exclude-value}"
400 - integration-csit-publish:
401 robot_other_files: ""
402 robot-pass-threshold: 100.0
403 robot-unstable-threshold: 0.0
405 openstack-cloud: "{openstack-cloud}"
409 name: "{prefix}{project}-csit-1node-{functionality}-{install}-{stream}"
410 id: inttest-csit-1node
411 <<: *inttest_csit_common
412 # yamllint disable-line rule:key-duplicates
413 <<: *inttest_csit_1node
416 name: "{prefix}{project}-csit-1node-{functionality}-{install}-{stream}"
417 id: inttest-csit-1node-custom
418 <<: *inttest_csit_common
419 # yamllint disable-line rule:key-duplicates
420 <<: *inttest_csit_1node
423 - integration-csit-parameters:
424 archive-artifacts: "{archive-artifacts}"
426 os-cloud: "{os-cloud}"
428 bundle-url: "{bundle-url}"
429 repo-url: "{repo-url}"
430 robot-options: "{robot-options}"
432 controller-scope: "{install}"
433 controller-max-mem: "{controller-max-mem}"
434 debug-map: "{debug-map}"
435 install-features: "{install-features}"
436 use-features-boot: "True"
437 elasticsearch-attribute: "{elasticsearch-attribute}"
438 karaf-based-controller: "{karaf-based-controller}"
439 karaf-version: "{karaf-version}"
440 - integration-stack-2-type:
442 vm_0_flavor: "{odl_system_flavor}"
443 vm_0_image: "{odl_system_image}"
444 vm_1_count: "{tools_system_count}"
445 vm_1_flavor: "{tools_system_flavor}"
446 vm_1_image: "{tools_system_image}"
447 - integration-distribution-branch:
449 - integration-distribution-stream:
451 - integration-script-plan:
452 script-plan: "{project}.txt"
453 - integration-config-plan:
454 config-plan: "{project}.txt"
455 - integration-stream-test-plan:
456 stream-test-plan: "{project}-{functionality}-{stream}.txt"
457 - integration-test-plan:
458 test-plan: "{testplan}"
459 - integration-test-suites:
460 test-suites: "{test-suites}"
461 - integration-patch-refspec:
463 - integration-jdk-version:
467 name: "{prefix}{project}-csit-verify-3node-{functionality}"
468 id: inttest-csit-verify-3node
469 <<: *inttest_csit_common
471 #####################
472 # Default variables #
473 #####################
476 openstack-heat-template: csit-2-instance-type.yaml
477 openstack-heat-template-dir: openstack-hot
479 #####################
480 # Job Configuration #
481 #####################
484 - integration-csit-parameters:
485 archive-artifacts: "{archive-artifacts}"
487 os-cloud: "{os-cloud}"
489 bundle-url: "{bundle-url}"
490 repo-url: "{repo-url}"
491 robot-options: "{robot-options}"
493 controller-scope: only
494 controller-max-mem: "{controller-max-mem}"
495 debug-map: "{debug-map}"
496 install-features: "odl-jolokia,{install-features}"
497 use-features-boot: "True"
498 elasticsearch-attribute: "{elasticsearch-attribute}"
499 karaf-based-controller: "{karaf-based-controller}"
500 karaf-version: "{karaf-version}"
501 - integration-stack-2-type:
503 vm_0_flavor: "{odl_system_flavor}"
504 vm_0_image: "{odl_system_image}"
505 vm_1_count: "{tools_system_count}"
506 vm_1_flavor: "{tools_system_flavor}"
507 vm_1_image: "{tools_system_image}"
508 - integration-distribution-branch:
509 branch: "{verify-branch}"
510 - integration-distribution-stream:
511 stream: "{verify-stream}"
512 - integration-script-plan:
513 script-plan: "{project}.txt"
514 - integration-config-plan:
515 config-plan: "{project}.txt"
516 - integration-stream-test-plan:
517 stream-test-plan: "{project}-{functionality}-{verify-stream}.txt"
518 - integration-test-plan:
519 test-plan: "{project}-{functionality}.txt"
520 - integration-test-suites:
521 test-suites: "{test-suites}"
522 - integration-jdk-version:
523 jdkversion: "{verify-jdkversion}"
526 - integration-gerrit-scm:
528 refspec: "$GERRIT_REFSPEC"
532 - integration-trigger-patch-submitted:
533 gerrit-server-name: "{gerrit-server-name}"
534 project: "integration/test"
536 files: "csit/suites/{project}/**"
540 - integration-stack-2-type:
541 openstack-cloud: "{openstack-cloud}"
542 openstack-heat-template: "{openstack-heat-template}"
543 openstack-heat-template-dir: "{openstack-heat-template-dir}"
544 - integration-install-robotframework
546 properties-file: "env.properties"
547 - integration-get-slave-addresses
549 properties-file: "slave_addresses.txt"
550 - integration-detect-variables
551 - integration-install-common-functions
552 - integration-configure-clustering
553 - integration-start-cluster-run-test
554 - integration-cleanup-tmp
557 - email-notification:
558 email-recipients: "{email-recipients}"
559 email-prefix: "[{project}]"
560 - integration-csit-publish:
561 robot_other_files: ""
562 robot-pass-threshold: 100.0
563 robot-unstable-threshold: 0.0
565 openstack-cloud: "{openstack-cloud}"
568 ######################
569 # inttest-csit-3node #
570 ######################
572 - inttest_csit_3node: &inttest_csit_3node
573 name: inttest-csit-3node
575 #####################
576 # Default variables #
577 #####################
580 openstack-heat-template: csit-2-instance-type.yaml
581 openstack-heat-template-dir: openstack-hot
583 #####################
584 # Job configuration #
585 #####################
588 - integration-csit-parameters:
589 archive-artifacts: "{archive-artifacts}"
591 os-cloud: "{os-cloud}"
593 bundle-url: "{bundle-url}"
594 repo-url: "{repo-url}"
595 robot-options: "{robot-options}"
597 controller-scope: "{install}"
598 controller-max-mem: "{controller-max-mem}"
599 debug-map: "{debug-map}"
600 install-features: "odl-jolokia,{install-features}"
601 use-features-boot: "True"
602 elasticsearch-attribute: "{elasticsearch-attribute}"
603 karaf-based-controller: "{karaf-based-controller}"
604 karaf-version: "{karaf-version}"
605 - integration-stack-2-type:
607 vm_0_flavor: "{odl_system_flavor}"
608 vm_0_image: "{odl_system_image}"
609 vm_1_count: "{tools_system_count}"
610 vm_1_flavor: "{tools_system_flavor}"
611 vm_1_image: "{tools_system_image}"
612 - integration-distribution-branch:
614 - integration-distribution-stream:
616 - integration-script-plan:
617 script-plan: "{project}.txt"
618 - integration-config-plan:
619 config-plan: "{project}.txt"
620 - integration-stream-test-plan:
621 stream-test-plan: "{project}-{functionality}-{stream}.txt"
622 - integration-test-plan:
623 test-plan: "{project}-{functionality}.txt"
624 - integration-test-suites:
625 test-suites: "{test-suites}"
626 - integration-patch-refspec:
628 - integration-jdk-version:
632 - integration-gerrit-scm:
634 refspec: "$PATCHREFSPEC"
638 # we need this for not SR projects
639 - integration-csit-trigger:
640 jobs: "{trigger-jobs}"
644 - integration-stack-2-type:
645 openstack-cloud: "{openstack-cloud}"
646 openstack-heat-template: "{openstack-heat-template}"
647 openstack-heat-template-dir: "{openstack-heat-template-dir}"
648 - integration-install-robotframework
650 properties-file: "env.properties"
651 - integration-get-slave-addresses
653 properties-file: "slave_addresses.txt"
654 - integration-detect-variables
655 - integration-install-common-functions
656 - integration-configure-clustering
657 - integration-start-cluster-run-test
658 - integration-cleanup-tmp
661 - email-notification:
662 email-recipients: "{email-recipients}"
663 email-prefix: "[{project}]"
665 - title: "{01-plot-title}"
666 yaxis: "{01-plot-yaxis}"
667 group: "{01-plot-group}"
671 use-description: false
672 # yamllint disable-line rule:line-length
673 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv"
675 - file: "{01-plot-data-file}"
676 inclusion-flag: "off"
679 - title: "{02-plot-title}"
680 yaxis: "{02-plot-yaxis}"
681 group: "{02-plot-group}"
685 use-description: false
686 # yamllint disable-line rule:line-length
687 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv"
689 - file: "{02-plot-data-file}"
690 inclusion-flag: "off"
693 - title: "{03-plot-title}"
694 yaxis: "{03-plot-yaxis}"
695 group: "{03-plot-group}"
699 use-description: false
700 # yamllint disable-line rule:line-length
701 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv"
703 - file: "{03-plot-data-file}"
704 inclusion-flag: "{03-inclusion-flag}"
705 exclude: "{03-exclude-value}"
707 - title: "{04-plot-title}"
708 yaxis: "{04-plot-yaxis}"
709 group: "{04-plot-group}"
713 use-description: false
714 # yamllint disable-line rule:line-length
715 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv"
717 - file: "{04-plot-data-file}"
718 inclusion-flag: "{04-inclusion-flag}"
719 exclude: "{04-exclude-value}"
721 - title: "{05-plot-title}"
722 yaxis: "{05-plot-yaxis}"
723 group: "{05-plot-group}"
727 use-description: false
728 # yamllint disable-line rule:line-length
729 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv"
731 - file: "{05-plot-data-file}"
732 inclusion-flag: "{05-inclusion-flag}"
733 exclude: "{05-exclude-value}"
735 - title: "{06-plot-title}"
736 yaxis: "{06-plot-yaxis}"
737 group: "{06-plot-group}"
741 use-description: false
742 # yamllint disable-line rule:line-length
743 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv"
745 - file: "{06-plot-data-file}"
746 inclusion-flag: "{06-inclusion-flag}"
747 exclude: "{06-exclude-value}"
749 - title: "{07-plot-title}"
750 yaxis: "{07-plot-yaxis}"
751 group: "{07-plot-group}"
755 use-description: false
756 # yamllint disable-line rule:line-length
757 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv"
759 - file: "{07-plot-data-file}"
760 inclusion-flag: "{07-inclusion-flag}"
761 exclude: "{07-exclude-value}"
763 - title: "{08-plot-title}"
764 yaxis: "{08-plot-yaxis}"
765 group: "{08-plot-group}"
769 use-description: false
770 # yamllint disable-line rule:line-length
771 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv"
773 - file: "{08-plot-data-file}"
774 inclusion-flag: "{08-inclusion-flag}"
775 exclude: "{08-exclude-value}"
777 - title: "{09-plot-title}"
778 yaxis: "{09-plot-yaxis}"
779 group: "{09-plot-group}"
783 use-description: false
784 # yamllint disable-line rule:line-length
785 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv"
787 - file: "{09-plot-data-file}"
788 inclusion-flag: "{09-inclusion-flag}"
789 exclude: "{09-exclude-value}"
791 - title: "{10-plot-title}"
792 yaxis: "{10-plot-yaxis}"
793 group: "{10-plot-group}"
797 use-description: false
798 # yamllint disable-line rule:line-length
799 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv"
801 - file: "{10-plot-data-file}"
802 inclusion-flag: "{10-inclusion-flag}"
803 exclude: "{10-exclude-value}"
805 - integration-csit-publish:
806 robot_other_files: ""
807 robot-pass-threshold: 100.0
808 robot-unstable-threshold: 0.0
810 openstack-cloud: "{openstack-cloud}"
814 name: "{prefix}{project}-csit-3node-{functionality}-{install}-{stream}"
815 id: inttest-csit-3node
816 <<: *inttest_csit_common
817 # yamllint disable-line rule:key-duplicates
818 <<: *inttest_csit_3node
821 name: "{prefix}{project}-csit-3node-{functionality}-{install}-{stream}"
822 id: inttest-csit-3node-custom
823 <<: *inttest_csit_common
824 # yamllint disable-line rule:key-duplicates
825 <<: *inttest_csit_3node
828 - integration-csit-parameters:
829 archive-artifacts: "{archive-artifacts}"
831 os-cloud: "{os-cloud}"
833 bundle-url: "{bundle-url}"
834 repo-url: "{repo-url}"
835 robot-options: "{robot-options}"
837 controller-scope: "{install}"
838 controller-max-mem: "{controller-max-mem}"
839 debug-map: "{debug-map}"
840 install-features: "odl-jolokia,{install-features}"
841 use-features-boot: "True"
842 elasticsearch-attribute: "{elasticsearch-attribute}"
843 karaf-based-controller: "{karaf-based-controller}"
844 karaf-version: "{karaf-version}"
845 - integration-stack-2-type:
847 vm_0_flavor: "{odl_system_flavor}"
848 vm_0_image: "{odl_system_image}"
849 vm_1_count: "{tools_system_count}"
850 vm_1_flavor: "{tools_system_flavor}"
851 vm_1_image: "{tools_system_image}"
852 - integration-distribution-branch:
854 - integration-distribution-stream:
856 - integration-script-plan:
857 script-plan: "{project}.txt"
858 - integration-config-plan:
859 config-plan: "{project}.txt"
860 - integration-stream-test-plan:
861 stream-test-plan: "{project}-{functionality}-{stream}.txt"
862 - integration-test-plan:
863 test-plan: "{testplan}"
864 - integration-test-suites:
865 test-suites: "{test-suites}"
866 - integration-patch-refspec:
868 - integration-jdk-version:
872 name: "{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}"
873 id: inttest-csit-3node-docker
874 <<: *inttest_csit_common
876 #####################
877 # Default variables #
878 #####################
881 openstack-heat-template: csit-2-instance-type.yaml
882 openstack-heat-template-dir: openstack-hot
884 docker_system_count: "1"
885 docker_system_flavor: "v3-standard-2"
886 docker_system_image: "ZZCI - CentOS 7 - docker - x86_64 - 20220811-110637.413"
888 #####################
889 # Job Configuration #
890 #####################
893 - integration-csit-parameters:
894 archive-artifacts: "{archive-artifacts}"
896 os-cloud: "{os-cloud}"
898 bundle-url: "{bundle-url}"
899 repo-url: "{repo-url}"
900 robot-options: "{robot-options}"
902 controller-scope: "{install}"
903 controller-max-mem: "{controller-max-mem}"
904 debug-map: "{debug-map}"
905 install-features: "odl-jolokia,{install-features}"
906 use-features-boot: "True"
907 elasticsearch-attribute: "{elasticsearch-attribute}"
908 karaf-based-controller: "{karaf-based-controller}"
909 karaf-version: "{karaf-version}"
910 - integration-stack-2-type:
912 vm_0_flavor: "{odl_system_flavor}"
913 vm_0_image: "{odl_system_image}"
914 vm_1_count: "{docker_system_count}"
915 vm_1_flavor: "{docker_system_flavor}"
916 vm_1_image: "{docker_system_image}"
917 - integration-distribution-branch:
919 - integration-distribution-stream:
921 - integration-script-plan:
922 script-plan: "{project}.txt"
923 - integration-config-plan:
924 config-plan: "{project}.txt"
925 - integration-stream-test-plan:
926 stream-test-plan: "{project}-{functionality}-{stream}.txt"
927 - integration-test-plan:
928 test-plan: "{project}-{functionality}.txt"
929 - integration-patch-refspec:
931 - integration-jdk-version:
935 - integration-gerrit-scm:
937 refspec: "$PATCHREFSPEC"
942 - integration-stack-2-type:
943 openstack-cloud: "{openstack-cloud}"
944 openstack-heat-template: "{openstack-heat-template}"
945 openstack-heat-template-dir: "{openstack-heat-template-dir}"
946 - integration-install-robotframework
948 properties-file: "env.properties"
949 - integration-get-slave-addresses
951 properties-file: "slave_addresses.txt"
952 - integration-detect-variables
953 - integration-install-common-functions
954 - integration-configure-clustering
955 - integration-start-cluster-run-test
956 - integration-cleanup-tmp
959 - email-notification:
960 email-recipients: "{email-recipients}"
961 email-prefix: "[{project}]"
963 - title: "{01-plot-title}"
964 yaxis: "{01-plot-yaxis}"
965 group: "{01-plot-group}"
969 use-description: false
970 # yamllint disable-line rule:line-length
971 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv"
973 - file: "{01-plot-data-file}"
974 inclusion-flag: "off"
977 - title: "{02-plot-title}"
978 yaxis: "{02-plot-yaxis}"
979 group: "{02-plot-group}"
983 use-description: false
984 # yamllint disable-line rule:line-length
985 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv"
987 - file: "{02-plot-data-file}"
988 inclusion-flag: "off"
991 - integration-csit-publish:
992 robot_other_files: ""
993 robot-pass-threshold: 100.0
994 robot-unstable-threshold: 0.0
996 openstack-cloud: "{openstack-cloud}"
999 # Template: {project}-mri-patch-test-{stream}
1000 # Goal: Build a patch and run project specific system test on a mri projects distribution containing the change
1001 # Operation: This job template builds a patch, uses the projects distribution and triggers the project system
1002 # test defined in {csit-list} when gerrit receives test-{project} keyword
1005 name: "{prefix}{project}-mri-patch-test-{feature}-{stream}"
1006 id: inttest-mri-patch-test
1007 <<: *inttest_csit_common
1012 - opendaylight-infra-parameters:
1013 os-cloud: "{os-cloud}"
1014 project: "{project}"
1016 refspec: "refs/heads/{branch}"
1017 artifacts: "{archive-artifacts}"
1018 - integration-distribution-branch:
1020 - distribution-karaf-version:
1021 karaf-version: "{karaf-version}"
1022 - integration-distribution-git-url:
1023 git-url: "{git-url}"
1027 description: "Specific feature test for patch"
1029 maven-version: "{mvn-version}"
1032 - integration-gerrit-scm:
1033 basedir: "{project}"
1034 refspec: "$GERRIT_REFSPEC"
1036 - integration-distribution-scm:
1041 server-name: "{gerrit-server-name}"
1043 - comment-added-contains-event:
1044 comment-contains-value: "test-{project}-all"
1045 - comment-added-contains-event:
1046 comment-contains-value: "test-{project}-{feature}"
1048 - project-compare-type: "ANT"
1049 project-pattern: "{project}"
1051 - branch-compare-type: "ANT"
1052 branch-pattern: "**/{branch}"
1060 - integration-rebase-gerrit-patch
1061 - wipe-org-opendaylight-repo
1062 - lf-update-java-alternatives:
1063 java-version: "{java-version}"
1065 maven-version: "{mvn-version}"
1066 pom: "{project}/pom.xml"
1068 clean install dependency:tree
1071 -Dmaven.gitcommitid.skip=false
1072 -DgenerateReports=false
1074 {opendaylight-infra-mvn-opts}
1075 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1077 - "-Xmx4096m -Dmaven.compile.fork=true"
1078 settings: integration-settings
1080 global-settings: global-settings
1081 global-settings-type: cfp
1082 - integration-upload-distribution:
1083 dist-pom: "{project}/pom.xml"
1084 settings-project: "{project}"
1086 - project: "{csit-list}"
1088 predefined-parameters: |
1089 BUNDLE_URL=$BUNDLE_URL
1090 GERRIT_BRANCH=$GERRIT_BRANCH
1091 GERRIT_PROJECT=$GERRIT_PROJECT
1092 GERRIT_REFSPEC=$GERRIT_REFSPEC
1093 KARAF_VERSION=$KARAF_VERSION
1096 - email-notification:
1097 email-recipients: "{email-recipients}"
1098 email-prefix: "[{project}]"
1101 # Template: {project}-patch-test-{stream}
1102 # Goal: Build a patch and run project specific system test on a distribution containing the change
1103 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1104 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1107 name: "{prefix}{project}-patch-test-{feature}-{stream}"
1108 id: inttest-patch-test
1109 <<: *inttest_csit_common
1114 - opendaylight-infra-parameters:
1115 os-cloud: "{os-cloud}"
1116 project: "{project}"
1118 refspec: "refs/heads/{branch}"
1119 artifacts: "{archive-artifacts}"
1120 - integration-distribution-branch:
1122 - distribution-karaf-version:
1123 karaf-version: "{karaf-version}"
1124 - integration-distribution-git-url:
1125 git-url: "{git-url}"
1129 description: "Specific feature test for patch"
1131 maven-version: "{mvn-version}"
1134 - integration-gerrit-scm:
1135 basedir: "{project}"
1136 refspec: "$GERRIT_REFSPEC"
1138 - integration-distribution-scm:
1143 server-name: "{gerrit-server-name}"
1145 - comment-added-contains-event:
1146 comment-contains-value: "test-{project}-all"
1147 - comment-added-contains-event:
1148 comment-contains-value: "test-{project}-{feature}"
1150 - project-compare-type: "ANT"
1151 project-pattern: "{project}"
1153 - branch-compare-type: "ANT"
1154 branch-pattern: "**/{branch}"
1162 - integration-rebase-gerrit-patch
1163 - wipe-org-opendaylight-repo
1164 - lf-update-java-alternatives:
1165 java-version: "{java-version}"
1167 maven-version: "{mvn-version}"
1168 pom: "{project}/pom.xml"
1170 clean install dependency:tree
1173 -Dmaven.gitcommitid.skip=false
1174 -DgenerateReports=false
1176 {opendaylight-infra-mvn-opts}
1177 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1179 - "-Xmx4096m -Dmaven.compile.fork=true"
1180 settings: integration-settings
1182 global-settings: global-settings
1183 global-settings-type: cfp
1185 maven-version: "{mvn-version}"
1186 pom: distribution/pom.xml
1188 clean install dependency:tree
1191 -Dmaven.gitcommitid.skip=false
1192 {opendaylight-infra-mvn-opts}
1193 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1195 - "-Xmx1024m -Dmaven.compile.fork=true"
1196 settings: integration-settings
1198 global-settings: global-settings
1199 global-settings-type: cfp
1200 - integration-upload-distribution:
1201 dist-pom: distribution/pom.xml
1202 settings-project: integration
1204 - project: "{csit-list}"
1206 predefined-parameters: |
1207 BUNDLE_URL=$BUNDLE_URL
1208 GERRIT_BRANCH=$GERRIT_BRANCH
1209 GERRIT_PROJECT=$GERRIT_PROJECT
1210 GERRIT_REFSPEC=$GERRIT_REFSPEC
1211 KARAF_VERSION=$KARAF_VERSION
1214 - email-notification:
1215 email-recipients: "{email-recipients}"
1216 email-prefix: "[{project}]"