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-verify-3node-{functionality}"
417 id: inttest-csit-verify-3node
418 <<: *inttest_csit_common
420 #####################
421 # Default variables #
422 #####################
425 openstack-heat-template: csit-2-instance-type.yaml
426 openstack-heat-template-dir: openstack-hot
428 #####################
429 # Job Configuration #
430 #####################
433 - integration-csit-parameters:
434 archive-artifacts: "{archive-artifacts}"
436 os-cloud: "{os-cloud}"
438 bundle-url: "{bundle-url}"
439 repo-url: "{repo-url}"
440 robot-options: "{robot-options}"
442 controller-scope: only
443 controller-max-mem: "{controller-max-mem}"
444 debug-map: "{debug-map}"
445 install-features: "odl-jolokia,{install-features}"
446 use-features-boot: "True"
447 elasticsearch-attribute: "{elasticsearch-attribute}"
448 karaf-based-controller: "{karaf-based-controller}"
449 karaf-version: "{karaf-version}"
450 - integration-stack-2-type:
452 vm_0_flavor: "{odl_system_flavor}"
453 vm_0_image: "{odl_system_image}"
454 vm_1_count: "{tools_system_count}"
455 vm_1_flavor: "{tools_system_flavor}"
456 vm_1_image: "{tools_system_image}"
457 - integration-distribution-branch:
458 branch: "{verify-branch}"
459 - integration-distribution-stream:
460 stream: "{verify-stream}"
461 - integration-script-plan:
462 script-plan: "{project}.txt"
463 - integration-config-plan:
464 config-plan: "{project}.txt"
465 - integration-stream-test-plan:
466 stream-test-plan: "{project}-{functionality}-{verify-stream}.txt"
467 - integration-test-plan:
468 test-plan: "{project}-{functionality}.txt"
469 - integration-test-suites:
470 test-suites: "{test-suites}"
471 - integration-jdk-version:
472 jdkversion: "{verify-jdkversion}"
475 - integration-gerrit-scm:
477 refspec: "$GERRIT_REFSPEC"
481 - integration-trigger-patch-submitted:
482 gerrit-server-name: "{gerrit-server-name}"
483 project: "integration/test"
485 files: "csit/suites/{project}/**"
489 - integration-stack-2-type:
490 openstack-cloud: "{openstack-cloud}"
491 openstack-heat-template: "{openstack-heat-template}"
492 openstack-heat-template-dir: "{openstack-heat-template-dir}"
493 - integration-install-robotframework
495 properties-file: "env.properties"
496 - integration-get-slave-addresses
498 properties-file: "slave_addresses.txt"
499 - integration-detect-variables
500 - integration-install-common-functions
501 - integration-configure-clustering
502 - integration-start-cluster-run-test
503 - integration-cleanup-tmp
506 - email-notification:
507 email-recipients: "{email-recipients}"
508 email-prefix: "[{project}]"
509 - integration-csit-publish:
510 robot_other_files: ""
511 robot-pass-threshold: 100.0
512 robot-unstable-threshold: 0.0
514 openstack-cloud: "{openstack-cloud}"
517 ######################
518 # inttest-csit-3node #
519 ######################
521 - inttest_csit_3node: &inttest_csit_3node
522 name: inttest-csit-3node
524 #####################
525 # Default variables #
526 #####################
529 openstack-heat-template: csit-2-instance-type.yaml
530 openstack-heat-template-dir: openstack-hot
532 #####################
533 # Job configuration #
534 #####################
537 - integration-csit-parameters:
538 archive-artifacts: "{archive-artifacts}"
540 os-cloud: "{os-cloud}"
542 bundle-url: "{bundle-url}"
543 repo-url: "{repo-url}"
544 robot-options: "{robot-options}"
546 controller-scope: "{install}"
547 controller-max-mem: "{controller-max-mem}"
548 debug-map: "{debug-map}"
549 install-features: "odl-jolokia,{install-features}"
550 use-features-boot: "True"
551 elasticsearch-attribute: "{elasticsearch-attribute}"
552 karaf-based-controller: "{karaf-based-controller}"
553 karaf-version: "{karaf-version}"
554 - integration-stack-2-type:
556 vm_0_flavor: "{odl_system_flavor}"
557 vm_0_image: "{odl_system_image}"
558 vm_1_count: "{tools_system_count}"
559 vm_1_flavor: "{tools_system_flavor}"
560 vm_1_image: "{tools_system_image}"
561 - integration-distribution-branch:
563 - integration-distribution-stream:
565 - integration-script-plan:
566 script-plan: "{project}.txt"
567 - integration-config-plan:
568 config-plan: "{project}.txt"
569 - integration-stream-test-plan:
570 stream-test-plan: "{project}-{functionality}-{stream}.txt"
571 - integration-test-plan:
572 test-plan: "{project}-{functionality}.txt"
573 - integration-test-suites:
574 test-suites: "{test-suites}"
575 - integration-patch-refspec:
577 - integration-jdk-version:
581 - integration-gerrit-scm:
583 refspec: "$PATCHREFSPEC"
587 # we need this for not SR projects
588 - integration-csit-trigger:
589 jobs: "{trigger-jobs}"
593 - integration-stack-2-type:
594 openstack-cloud: "{openstack-cloud}"
595 openstack-heat-template: "{openstack-heat-template}"
596 openstack-heat-template-dir: "{openstack-heat-template-dir}"
597 - integration-install-robotframework
599 properties-file: "env.properties"
600 - integration-get-slave-addresses
602 properties-file: "slave_addresses.txt"
603 - integration-detect-variables
604 - integration-install-common-functions
605 - integration-configure-clustering
606 - integration-start-cluster-run-test
607 - integration-cleanup-tmp
610 - email-notification:
611 email-recipients: "{email-recipients}"
612 email-prefix: "[{project}]"
614 - title: "{01-plot-title}"
615 yaxis: "{01-plot-yaxis}"
616 group: "{01-plot-group}"
620 use-description: false
621 # yamllint disable-line rule:line-length
622 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv"
624 - file: "{01-plot-data-file}"
625 inclusion-flag: "off"
628 - title: "{02-plot-title}"
629 yaxis: "{02-plot-yaxis}"
630 group: "{02-plot-group}"
634 use-description: false
635 # yamllint disable-line rule:line-length
636 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv"
638 - file: "{02-plot-data-file}"
639 inclusion-flag: "off"
642 - title: "{03-plot-title}"
643 yaxis: "{03-plot-yaxis}"
644 group: "{03-plot-group}"
648 use-description: false
649 # yamllint disable-line rule:line-length
650 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv"
652 - file: "{03-plot-data-file}"
653 inclusion-flag: "{03-inclusion-flag}"
654 exclude: "{03-exclude-value}"
656 - title: "{04-plot-title}"
657 yaxis: "{04-plot-yaxis}"
658 group: "{04-plot-group}"
662 use-description: false
663 # yamllint disable-line rule:line-length
664 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv"
666 - file: "{04-plot-data-file}"
667 inclusion-flag: "{04-inclusion-flag}"
668 exclude: "{04-exclude-value}"
670 - title: "{05-plot-title}"
671 yaxis: "{05-plot-yaxis}"
672 group: "{05-plot-group}"
676 use-description: false
677 # yamllint disable-line rule:line-length
678 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv"
680 - file: "{05-plot-data-file}"
681 inclusion-flag: "{05-inclusion-flag}"
682 exclude: "{05-exclude-value}"
684 - title: "{06-plot-title}"
685 yaxis: "{06-plot-yaxis}"
686 group: "{06-plot-group}"
690 use-description: false
691 # yamllint disable-line rule:line-length
692 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv"
694 - file: "{06-plot-data-file}"
695 inclusion-flag: "{06-inclusion-flag}"
696 exclude: "{06-exclude-value}"
698 - title: "{07-plot-title}"
699 yaxis: "{07-plot-yaxis}"
700 group: "{07-plot-group}"
704 use-description: false
705 # yamllint disable-line rule:line-length
706 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv"
708 - file: "{07-plot-data-file}"
709 inclusion-flag: "{07-inclusion-flag}"
710 exclude: "{07-exclude-value}"
712 - title: "{08-plot-title}"
713 yaxis: "{08-plot-yaxis}"
714 group: "{08-plot-group}"
718 use-description: false
719 # yamllint disable-line rule:line-length
720 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv"
722 - file: "{08-plot-data-file}"
723 inclusion-flag: "{08-inclusion-flag}"
724 exclude: "{08-exclude-value}"
726 - title: "{09-plot-title}"
727 yaxis: "{09-plot-yaxis}"
728 group: "{09-plot-group}"
732 use-description: false
733 # yamllint disable-line rule:line-length
734 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv"
736 - file: "{09-plot-data-file}"
737 inclusion-flag: "{09-inclusion-flag}"
738 exclude: "{09-exclude-value}"
740 - title: "{10-plot-title}"
741 yaxis: "{10-plot-yaxis}"
742 group: "{10-plot-group}"
746 use-description: false
747 # yamllint disable-line rule:line-length
748 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv"
750 - file: "{10-plot-data-file}"
751 inclusion-flag: "{10-inclusion-flag}"
752 exclude: "{10-exclude-value}"
754 - integration-csit-publish:
755 robot_other_files: ""
756 robot-pass-threshold: 100.0
757 robot-unstable-threshold: 0.0
759 openstack-cloud: "{openstack-cloud}"
763 name: "{prefix}{project}-csit-3node-{functionality}-{install}-{stream}"
764 id: inttest-csit-3node
765 <<: *inttest_csit_common
766 # yamllint disable-line rule:key-duplicates
767 <<: *inttest_csit_3node
770 name: "{prefix}{project}-csit-3node-{functionality}-{install}-{stream}"
771 id: inttest-csit-3node-custom
772 <<: *inttest_csit_common
773 # yamllint disable-line rule:key-duplicates
774 <<: *inttest_csit_3node
777 - integration-csit-parameters:
778 archive-artifacts: "{archive-artifacts}"
780 os-cloud: "{os-cloud}"
782 bundle-url: "{bundle-url}"
783 repo-url: "{repo-url}"
784 robot-options: "{robot-options}"
786 controller-scope: "{install}"
787 controller-max-mem: "{controller-max-mem}"
788 debug-map: "{debug-map}"
789 install-features: "odl-jolokia,{install-features}"
790 use-features-boot: "True"
791 elasticsearch-attribute: "{elasticsearch-attribute}"
792 karaf-based-controller: "{karaf-based-controller}"
793 karaf-version: "{karaf-version}"
794 - integration-stack-2-type:
796 vm_0_flavor: "{odl_system_flavor}"
797 vm_0_image: "{odl_system_image}"
798 vm_1_count: "{tools_system_count}"
799 vm_1_flavor: "{tools_system_flavor}"
800 vm_1_image: "{tools_system_image}"
801 - integration-distribution-branch:
803 - integration-distribution-stream:
805 - integration-script-plan:
806 script-plan: "{project}.txt"
807 - integration-config-plan:
808 config-plan: "{project}.txt"
809 - integration-stream-test-plan:
810 stream-test-plan: "{project}-{functionality}-{stream}.txt"
811 - integration-test-plan:
812 test-plan: "{testplan}"
813 - integration-test-suites:
814 test-suites: "{test-suites}"
815 - integration-patch-refspec:
817 - integration-jdk-version:
821 name: "{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}"
822 id: inttest-csit-3node-docker
823 <<: *inttest_csit_common
825 #####################
826 # Default variables #
827 #####################
830 openstack-heat-template: csit-2-instance-type.yaml
831 openstack-heat-template-dir: openstack-hot
833 docker_system_count: "1"
834 docker_system_flavor: "v3-standard-2"
835 docker_system_image: "ZZCI - CentOS 7 - docker - x86_64 - 20220811-110637.413"
837 #####################
838 # Job Configuration #
839 #####################
842 - integration-csit-parameters:
843 archive-artifacts: "{archive-artifacts}"
845 os-cloud: "{os-cloud}"
847 bundle-url: "{bundle-url}"
848 repo-url: "{repo-url}"
849 robot-options: "{robot-options}"
851 controller-scope: "{install}"
852 controller-max-mem: "{controller-max-mem}"
853 debug-map: "{debug-map}"
854 install-features: "odl-jolokia,{install-features}"
855 use-features-boot: "True"
856 elasticsearch-attribute: "{elasticsearch-attribute}"
857 karaf-based-controller: "{karaf-based-controller}"
858 karaf-version: "{karaf-version}"
859 - integration-stack-2-type:
861 vm_0_flavor: "{odl_system_flavor}"
862 vm_0_image: "{odl_system_image}"
863 vm_1_count: "{docker_system_count}"
864 vm_1_flavor: "{docker_system_flavor}"
865 vm_1_image: "{docker_system_image}"
866 - integration-distribution-branch:
868 - integration-distribution-stream:
870 - integration-script-plan:
871 script-plan: "{project}.txt"
872 - integration-config-plan:
873 config-plan: "{project}.txt"
874 - integration-stream-test-plan:
875 stream-test-plan: "{project}-{functionality}-{stream}.txt"
876 - integration-test-plan:
877 test-plan: "{project}-{functionality}.txt"
878 - integration-patch-refspec:
880 - integration-jdk-version:
884 - integration-gerrit-scm:
886 refspec: "$PATCHREFSPEC"
891 - integration-stack-2-type:
892 openstack-cloud: "{openstack-cloud}"
893 openstack-heat-template: "{openstack-heat-template}"
894 openstack-heat-template-dir: "{openstack-heat-template-dir}"
895 - integration-install-robotframework
897 properties-file: "env.properties"
898 - integration-get-slave-addresses
900 properties-file: "slave_addresses.txt"
901 - integration-detect-variables
902 - integration-install-common-functions
903 - integration-configure-clustering
904 - integration-start-cluster-run-test
905 - integration-cleanup-tmp
908 - email-notification:
909 email-recipients: "{email-recipients}"
910 email-prefix: "[{project}]"
912 - title: "{01-plot-title}"
913 yaxis: "{01-plot-yaxis}"
914 group: "{01-plot-group}"
918 use-description: false
919 # yamllint disable-line rule:line-length
920 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv"
922 - file: "{01-plot-data-file}"
923 inclusion-flag: "off"
926 - title: "{02-plot-title}"
927 yaxis: "{02-plot-yaxis}"
928 group: "{02-plot-group}"
932 use-description: false
933 # yamllint disable-line rule:line-length
934 csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv"
936 - file: "{02-plot-data-file}"
937 inclusion-flag: "off"
940 - integration-csit-publish:
941 robot_other_files: ""
942 robot-pass-threshold: 100.0
943 robot-unstable-threshold: 0.0
945 openstack-cloud: "{openstack-cloud}"
948 # Template: {project}-mri-patch-test-{stream}
949 # Goal: Build a patch and run project specific system test on a mri projects distribution containing the change
950 # Operation: This job template builds a patch, uses the projects distribution and triggers the project system
951 # test defined in {csit-list} when gerrit receives test-{project} keyword
954 name: "{prefix}{project}-mri-patch-test-{feature}-{stream}"
955 id: inttest-mri-patch-test
956 <<: *inttest_csit_common
961 - opendaylight-infra-parameters:
962 os-cloud: "{os-cloud}"
965 refspec: "refs/heads/{branch}"
966 artifacts: "{archive-artifacts}"
967 - integration-distribution-branch:
969 - distribution-karaf-version:
970 karaf-version: "{karaf-version}"
971 - integration-distribution-git-url:
976 description: "Specific feature test for patch"
978 maven-version: "{mvn-version}"
981 - integration-gerrit-scm:
983 refspec: "$GERRIT_REFSPEC"
985 - integration-distribution-scm:
990 server-name: "{gerrit-server-name}"
992 - comment-added-contains-event:
993 comment-contains-value: "test-{project}-all"
994 - comment-added-contains-event:
995 comment-contains-value: "test-{project}-{feature}"
997 - project-compare-type: "ANT"
998 project-pattern: "{project}"
1000 - branch-compare-type: "ANT"
1001 branch-pattern: "**/{branch}"
1009 - integration-rebase-gerrit-patch
1010 - wipe-org-opendaylight-repo
1011 - lf-update-java-alternatives:
1012 java-version: "{java-version}"
1014 maven-version: "{mvn-version}"
1015 pom: "{project}/pom.xml"
1017 clean install dependency:tree
1020 -Dmaven.gitcommitid.skip=false
1021 -DgenerateReports=false
1023 {opendaylight-infra-mvn-opts}
1024 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1026 - "-Xmx4096m -Dmaven.compile.fork=true"
1027 settings: integration-settings
1029 global-settings: global-settings
1030 global-settings-type: cfp
1031 - integration-upload-distribution:
1032 dist-pom: "{project}/pom.xml"
1033 settings-project: "{project}"
1035 - project: "{csit-list}"
1037 predefined-parameters: |
1038 BUNDLE_URL=$BUNDLE_URL
1039 GERRIT_BRANCH=$GERRIT_BRANCH
1040 GERRIT_PROJECT=$GERRIT_PROJECT
1041 GERRIT_REFSPEC=$GERRIT_REFSPEC
1042 KARAF_VERSION=$KARAF_VERSION
1045 - email-notification:
1046 email-recipients: "{email-recipients}"
1047 email-prefix: "[{project}]"
1050 # Template: {project}-patch-test-{stream}
1051 # Goal: Build a patch and run project specific system test on a distribution containing the change
1052 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1053 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1056 name: "{prefix}{project}-patch-test-{feature}-{stream}"
1057 id: inttest-patch-test
1058 <<: *inttest_csit_common
1063 - opendaylight-infra-parameters:
1064 os-cloud: "{os-cloud}"
1065 project: "{project}"
1067 refspec: "refs/heads/{branch}"
1068 artifacts: "{archive-artifacts}"
1069 - integration-distribution-branch:
1071 - distribution-karaf-version:
1072 karaf-version: "{karaf-version}"
1073 - integration-distribution-git-url:
1074 git-url: "{git-url}"
1078 description: "Specific feature test for patch"
1080 maven-version: "{mvn-version}"
1083 - integration-gerrit-scm:
1084 basedir: "{project}"
1085 refspec: "$GERRIT_REFSPEC"
1087 - integration-distribution-scm:
1092 server-name: "{gerrit-server-name}"
1094 - comment-added-contains-event:
1095 comment-contains-value: "test-{project}-all"
1096 - comment-added-contains-event:
1097 comment-contains-value: "test-{project}-{feature}"
1099 - project-compare-type: "ANT"
1100 project-pattern: "{project}"
1102 - branch-compare-type: "ANT"
1103 branch-pattern: "**/{branch}"
1111 - integration-rebase-gerrit-patch
1112 - wipe-org-opendaylight-repo
1113 - lf-update-java-alternatives:
1114 java-version: "{java-version}"
1116 maven-version: "{mvn-version}"
1117 pom: "{project}/pom.xml"
1119 clean install dependency:tree
1122 -Dmaven.gitcommitid.skip=false
1123 -DgenerateReports=false
1125 {opendaylight-infra-mvn-opts}
1126 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1128 - "-Xmx4096m -Dmaven.compile.fork=true"
1129 settings: integration-settings
1131 global-settings: global-settings
1132 global-settings-type: cfp
1134 maven-version: "{mvn-version}"
1135 pom: distribution/pom.xml
1137 clean install dependency:tree
1140 -Dmaven.gitcommitid.skip=false
1141 {opendaylight-infra-mvn-opts}
1142 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1144 - "-Xmx1024m -Dmaven.compile.fork=true"
1145 settings: integration-settings
1147 global-settings: global-settings
1148 global-settings-type: cfp
1149 - integration-upload-distribution:
1150 dist-pom: distribution/pom.xml
1151 settings-project: integration
1153 - project: "{csit-list}"
1155 predefined-parameters: |
1156 BUNDLE_URL=$BUNDLE_URL
1157 GERRIT_BRANCH=$GERRIT_BRANCH
1158 GERRIT_PROJECT=$GERRIT_PROJECT
1159 GERRIT_REFSPEC=$GERRIT_REFSPEC
1160 KARAF_VERSION=$KARAF_VERSION
1163 - email-notification:
1164 email-recipients: "{email-recipients}"
1165 email-prefix: "[{project}]"