Adding new job for odlmicro CSIT
[releng/builder.git] / jjb / integration / integration-templates.yaml
1 ---
2 # Job templates in this file (please update with every new template):
3 # FIXME: Update
4 #
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-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}
9 # {project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}
10 # {project}-csit-verify-1node-{functionality}
11 # {project}-csit-verify-3node-{functionality}
12 # {project}-patch-test-{feature}-{stream}
13 #
14 # Parameters:
15 # FIXME: Distinguish variables, macros and arguments, then update.
16 #
17 # opendaylight-infra-parameters: main project integration/test ($PROJECT)
18 # jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
19 # integration-distribution-branch: distribution branch ($DISTROBRANCH)
20 # integration-controller-bundle-url: distribution URL ($BUNDLE_URL)
21 # integration-controller-scope: only or all features ($CONTROLLERSCOPE)
22 # integration-controller-features: features under test ($CONTROLLER FEATURES)
23 # integration-test-options: robot options ($TESTOPTIONS)
24 # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
25 # integration-test-plan: fallback robot test plan ($TESTPLAN)
26 # integration-patch-refspec: test branch ($PATCHREFSPEC)
27 # integration-use-features-boot: bool to toggle use of featuresBoot ($USEFEATURESBOOT)
28
29 ###########
30 # Anchors #
31 ###########
32
33 - inttest_csit_common: &inttest_csit_common
34     name: inttest-csit-common
35     # Defines common configuration to all CSIT jobs
36
37     #####################
38     # Default variables #
39     #####################
40
41     build-days-to-keep: 30
42     build-timeout: 360 # Time in minutes
43     disable-job: false
44
45     #####################
46     # Job configuration #
47     #####################
48
49     project-type: freestyle
50     node: centos7-robot-2c-8g
51     concurrent: true
52     disabled: "{disable-job}"
53
54     properties:
55       - opendaylight-infra-properties:
56           build-days-to-keep: "{build-days-to-keep}"
57
58     wrappers:
59       - opendaylight-infra-wrappers:
60           build-timeout: "{build-timeout}"
61
62 #################
63 # Job Templates #
64 #################
65
66 - job-template:
67     name: "{prefix}{project}-csit-verify-1node-{functionality}"
68     id: inttest-csit-verify-1node
69     <<: *inttest_csit_common
70
71     #####################
72     # Default variables #
73     #####################
74
75     openstack-cloud: vex
76     openstack-heat-template: csit-2-instance-type.yaml
77     openstack-heat-template-dir: openstack-hot
78
79     odl_system_flavor: "odl-highcpu-4"
80     odl_system_image: "ZZCI - CentOS 7 - builder - x86_64 - 20200901-060217.896"
81     controller-max-mem: "2048m"
82     tools_system_count: "1"
83     tools_system_flavor: "odl-highcpu-2"
84     tools_system_image: "ZZCI - Ubuntu 16.04 - mininet-ovs-28 - x86_64 - 20200813-051640.743"
85
86     #####################
87     # Job configuration #
88     #####################
89
90     parameters:
91       - integration-csit-parameters:
92           archive-artifacts: "{archive-artifacts}"
93           branch: "{branch}"
94           os-cloud: "{os-cloud}"
95           # CSIT
96           bundle-url: "{bundle-url}"
97           repo-url: "{repo-url}"
98           robot-options: "{robot-options}"
99           # Controller
100           controller-scope: only
101           controller-max-mem: "{controller-max-mem}"
102           debug-map: "{debug-map}"
103           install-features: "{install-features}"
104           use-features-boot: "True"
105           elasticsearch-attribute: "{elasticsearch-attribute}"
106       - integration-stack-2-type:
107           vm_0_count: "1"
108           vm_0_flavor: "{odl_system_flavor}"
109           vm_0_image: "{odl_system_image}"
110           vm_1_count: "{tools_system_count}"
111           vm_1_flavor: "{tools_system_flavor}"
112           vm_1_image: "{tools_system_image}"
113       - integration-distribution-branch:
114           branch: "{verify-branch}"
115       - integration-distribution-stream:
116           stream: "{verify-stream}"
117       - integration-script-plan:
118           script-plan: "{project}.txt"
119       - integration-config-plan:
120           config-plan: "{project}.txt"
121       - integration-stream-test-plan:
122           stream-test-plan: "{project}-{functionality}-{verify-stream}.txt"
123       - integration-test-plan:
124           test-plan: "{project}-{functionality}.txt"
125       - integration-jdk-version:
126           jdkversion: "{verify-jdkversion}"
127       - distribution-karaf-version:
128           karaf-version: "{verify-karaf-version}"
129
130     scm:
131       - integration-gerrit-scm:
132           basedir: "test"
133           refspec: "$GERRIT_REFSPEC"
134           branch: "master"
135
136     triggers:
137       - integration-trigger-patch-submitted:
138           gerrit-server-name: "{gerrit-server-name}"
139           project: "integration/test"
140           branch: "master"
141           files: "csit/suites/{project}/**"
142
143     builders:
144       - lf-infra-pre-build
145       - integration-stack-2-type:
146           openstack-cloud: "{openstack-cloud}"
147           openstack-heat-template: "{openstack-heat-template}"
148           openstack-heat-template-dir: "{openstack-heat-template-dir}"
149       - integration-install-robotframework
150       - inject:
151           properties-file: "env.properties"
152       - integration-get-slave-addresses
153       - inject:
154           properties-file: "slave_addresses.txt"
155       - integration-detect-variables
156       - integration-install-common-functions
157       - integration-deploy-controller-run-test
158       - integration-cleanup-tmp
159
160     publishers:
161       - email-notification:
162           email-recipients: "{email-recipients}"
163           email-prefix: "[{project}]"
164       - integration-csit-publish:
165           robot_other_files: ""
166           robot-pass-threshold: 100.0
167           robot-unstable-threshold: 0.0
168       - lf-stack-delete:
169           openstack-cloud: "{openstack-cloud}"
170       - lf-infra-publish
171
172 ######################
173 # inttest-csit-1node #
174 ######################
175
176 - inttest_csit_1node: &inttest_csit_1node
177     name: inttest-csit-1node
178
179     #####################
180     # Default variables #
181     #####################
182
183     openstack-cloud: vex
184     openstack-heat-template: csit-2-instance-type.yaml
185     openstack-heat-template-dir: openstack-hot
186
187     odl_system_flavor: "odl-highcpu-4"
188     odl_system_image: "ZZCI - CentOS 7 - builder - x86_64 - 20200901-060217.896"
189     controller-max-mem: "2048m"
190     tools_system_count: "1"
191     tools_system_flavor: "odl-highcpu-2"
192     tools_system_image: "ZZCI - Ubuntu 16.04 - mininet-ovs-28 - x86_64 - 20200813-051640.743"
193     controller-is-a-karaf-feature: "True"
194
195     #####################
196     # Job configuration #
197     #####################
198
199     parameters:
200       - string:
201           name: IS_KARAF_APPL
202           description: "Boolean to let pipeline know if the project has a different deployer"
203           default: "{controller-is-a-karaf-feature}"
204
205       - integration-csit-parameters:
206           archive-artifacts: "{archive-artifacts}"
207           branch: "{branch}"
208           os-cloud: "{os-cloud}"
209           # CSIT
210           bundle-url: "{bundle-url}"
211           repo-url: "{repo-url}"
212           robot-options: "{robot-options}"
213           # Controller
214           controller-scope: "{install}"
215           controller-max-mem: "{controller-max-mem}"
216           debug-map: "{debug-map}"
217           install-features: "{install-features}"
218           use-features-boot: "True"
219           elasticsearch-attribute: "{elasticsearch-attribute}"
220       - integration-stack-2-type:
221           vm_0_count: "1"
222           vm_0_flavor: "{odl_system_flavor}"
223           vm_0_image: "{odl_system_image}"
224           vm_1_count: "{tools_system_count}"
225           vm_1_flavor: "{tools_system_flavor}"
226           vm_1_image: "{tools_system_image}"
227       - integration-distribution-branch:
228           branch: "{branch}"
229       - integration-distribution-stream:
230           stream: "{stream}"
231       - integration-script-plan:
232           script-plan: "{project}.txt"
233       - integration-config-plan:
234           config-plan: "{project}.txt"
235       - integration-stream-test-plan:
236           stream-test-plan: "{project}-{functionality}-{stream}.txt"
237       - integration-test-plan:
238           test-plan: "{project}-{functionality}.txt"
239       - integration-test-suites:
240           test-suites: "{test-suites}"
241       - integration-patch-refspec:
242           branch: "master"
243       - integration-jdk-version:
244           jdkversion: "{jre}"
245       - distribution-karaf-version:
246           karaf-version: "{karaf-version}"
247
248     scm:
249       - integration-gerrit-scm:
250           basedir: "test"
251           refspec: "$PATCHREFSPEC"
252           branch: "master"
253
254     triggers:
255       # we need this for not SR projects
256       - integration-csit-trigger:
257           jobs: "{trigger-jobs}"
258
259     builders:
260       - lf-infra-pre-build
261       - integration-stack-2-type:
262           openstack-cloud: "{openstack-cloud}"
263           openstack-heat-template: "{openstack-heat-template}"
264           openstack-heat-template-dir: "{openstack-heat-template-dir}"
265       - integration-install-robotframework
266       - inject:
267           properties-file: "env.properties"
268       - integration-get-slave-addresses
269       - inject:
270           properties-file: "slave_addresses.txt"
271       - integration-detect-variables
272       - integration-install-common-functions
273       - integration-deploy-controller-run-test
274       - integration-run-test
275       - integration-cleanup-tmp
276
277     publishers:
278       - email-notification:
279           email-recipients: "{email-recipients}"
280           email-prefix: "[{project}]"
281       - plot:
282           - title: "{01-plot-title}"
283             yaxis: "{01-plot-yaxis}"
284             group: "{01-plot-group}"
285             num-builds: "180"
286             keep-records: true
287             style: line
288             use-description: false
289             # yamllint disable-line rule:line-length
290             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv"
291             series:
292               - file: "{01-plot-data-file}"
293                 inclusion-flag: "off"
294                 display-table: true
295                 format: csv
296           - title: "{02-plot-title}"
297             yaxis: "{02-plot-yaxis}"
298             group: "{02-plot-group}"
299             num-builds: "180"
300             keep-records: true
301             style: line
302             use-description: false
303             # yamllint disable-line rule:line-length
304             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv"
305             series:
306               - file: "{02-plot-data-file}"
307                 inclusion-flag: "off"
308                 display-table: true
309                 format: csv
310           - title: "{03-plot-title}"
311             yaxis: "{03-plot-yaxis}"
312             group: "{03-plot-group}"
313             num-builds: "180"
314             keep-records: true
315             style: line
316             use-description: false
317             # yamllint disable-line rule:line-length
318             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv"
319             series:
320               - file: "{03-plot-data-file}"
321                 inclusion-flag: "{03-inclusion-flag}"
322                 exclude: "{03-exclude-value}"
323                 format: csv
324           - title: "{04-plot-title}"
325             yaxis: "{04-plot-yaxis}"
326             group: "{04-plot-group}"
327             num-builds: "180"
328             keep-records: true
329             style: line
330             use-description: false
331             # yamllint disable-line rule:line-length
332             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv"
333             series:
334               - file: "{04-plot-data-file}"
335                 inclusion-flag: "{04-inclusion-flag}"
336                 exclude: "{04-exclude-value}"
337                 format: csv
338           - title: "{05-plot-title}"
339             yaxis: "{05-plot-yaxis}"
340             group: "{05-plot-group}"
341             num-builds: "180"
342             keep-records: true
343             style: line
344             use-description: false
345             # yamllint disable-line rule:line-length
346             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv"
347             series:
348               - file: "{05-plot-data-file}"
349                 inclusion-flag: "{05-inclusion-flag}"
350                 exclude: "{05-exclude-value}"
351                 format: csv
352           - title: "{06-plot-title}"
353             yaxis: "{06-plot-yaxis}"
354             group: "{06-plot-group}"
355             num-builds: "180"
356             keep-records: true
357             style: line
358             use-description: false
359             # yamllint disable-line rule:line-length
360             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv"
361             series:
362               - file: "{06-plot-data-file}"
363                 inclusion-flag: "{06-inclusion-flag}"
364                 exclude: "{06-exclude-value}"
365                 format: csv
366           - title: "{07-plot-title}"
367             yaxis: "{07-plot-yaxis}"
368             group: "{07-plot-group}"
369             num-builds: "180"
370             keep-records: true
371             style: line
372             use-description: false
373             # yamllint disable-line rule:line-length
374             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv"
375             series:
376               - file: "{07-plot-data-file}"
377                 inclusion-flag: "{07-inclusion-flag}"
378                 exclude: "{07-exclude-value}"
379                 format: csv
380           - title: "{08-plot-title}"
381             yaxis: "{08-plot-yaxis}"
382             group: "{08-plot-group}"
383             num-builds: "180"
384             keep-records: true
385             style: line
386             use-description: false
387             # yamllint disable-line rule:line-length
388             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv"
389             series:
390               - file: "{08-plot-data-file}"
391                 inclusion-flag: "{08-inclusion-flag}"
392                 exclude: "{08-exclude-value}"
393                 format: csv
394           - title: "{09-plot-title}"
395             yaxis: "{09-plot-yaxis}"
396             group: "{09-plot-group}"
397             num-builds: "180"
398             keep-records: true
399             style: line
400             use-description: false
401             # yamllint disable-line rule:line-length
402             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv"
403             series:
404               - file: "{09-plot-data-file}"
405                 inclusion-flag: "{09-inclusion-flag}"
406                 exclude: "{09-exclude-value}"
407                 format: csv
408           - title: "{10-plot-title}"
409             yaxis: "{10-plot-yaxis}"
410             group: "{10-plot-group}"
411             num-builds: "180"
412             keep-records: true
413             style: line
414             use-description: false
415             # yamllint disable-line rule:line-length
416             csv-file-name: "{project}-csit-1node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv"
417             series:
418               - file: "{10-plot-data-file}"
419                 inclusion-flag: "{10-inclusion-flag}"
420                 exclude: "{10-exclude-value}"
421                 format: csv
422       - integration-csit-publish:
423           robot_other_files: ""
424           robot-pass-threshold: 100.0
425           robot-unstable-threshold: 0.0
426       - lf-stack-delete:
427           openstack-cloud: "{openstack-cloud}"
428       - lf-infra-publish
429
430 - job-template:
431     name: "{prefix}{project}-csit-1node-{functionality}-{install}-{stream}"
432     id: inttest-csit-1node
433     <<: *inttest_csit_common
434     # yamllint disable-line rule:key-duplicates
435     <<: *inttest_csit_1node
436
437 - job-template:
438     name: "{prefix}{project}-csit-1node-{functionality}-{install}-{stream}"
439     id: inttest-csit-1node-custom
440     <<: *inttest_csit_common
441     # yamllint disable-line rule:key-duplicates
442     <<: *inttest_csit_1node
443
444     parameters:
445       - integration-csit-parameters:
446           archive-artifacts: "{archive-artifacts}"
447           branch: "{branch}"
448           os-cloud: "{os-cloud}"
449           # CSIT
450           bundle-url: "{bundle-url}"
451           repo-url: "{repo-url}"
452           robot-options: "{robot-options}"
453           # Controller
454           controller-scope: "{install}"
455           controller-max-mem: "{controller-max-mem}"
456           debug-map: "{debug-map}"
457           install-features: "{install-features}"
458           use-features-boot: "True"
459           elasticsearch-attribute: "{elasticsearch-attribute}"
460       - integration-stack-2-type:
461           vm_0_count: "1"
462           vm_0_flavor: "{odl_system_flavor}"
463           vm_0_image: "{odl_system_image}"
464           vm_1_count: "{tools_system_count}"
465           vm_1_flavor: "{tools_system_flavor}"
466           vm_1_image: "{tools_system_image}"
467       - integration-distribution-branch:
468           branch: "{branch}"
469       - integration-distribution-stream:
470           stream: "{stream}"
471       - integration-script-plan:
472           script-plan: "{project}.txt"
473       - integration-config-plan:
474           config-plan: "{project}.txt"
475       - integration-stream-test-plan:
476           stream-test-plan: "{project}-{functionality}-{stream}.txt"
477       - integration-test-plan:
478           test-plan: "{testplan}"
479       - integration-test-suites:
480           test-suites: "{test-suites}"
481       - integration-patch-refspec:
482           branch: "master"
483       - integration-jdk-version:
484           jdkversion: "{jre}"
485       - distribution-karaf-version:
486           karaf-version: "{karaf-version}"
487
488 - job-template:
489     name: "{prefix}{project}-csit-verify-3node-{functionality}"
490     id: inttest-csit-verify-3node
491     <<: *inttest_csit_common
492
493     #####################
494     # Default variables #
495     #####################
496
497     openstack-cloud: vex
498     openstack-heat-template: csit-2-instance-type.yaml
499     openstack-heat-template-dir: openstack-hot
500
501     odl_system_flavor: "odl-highcpu-4"
502     odl_system_image: "ZZCI - CentOS 7 - builder - x86_64 - 20200901-060217.896"
503     controller-max-mem: "2048m"
504     tools_system_count: "1"
505     tools_system_flavor: "odl-highcpu-2"
506     tools_system_image: "ZZCI - Ubuntu 16.04 - mininet-ovs-28 - x86_64 - 20200813-051640.743"
507
508     #####################
509     # Job Configuration #
510     #####################
511
512     parameters:
513       - integration-csit-parameters:
514           archive-artifacts: "{archive-artifacts}"
515           branch: "{branch}"
516           os-cloud: "{os-cloud}"
517           # CSIT
518           bundle-url: "{bundle-url}"
519           repo-url: "{repo-url}"
520           robot-options: "{robot-options}"
521           # Controller
522           controller-scope: only
523           controller-max-mem: "{controller-max-mem}"
524           debug-map: "{debug-map}"
525           install-features: "odl-jolokia,{install-features}"
526           use-features-boot: "True"
527           elasticsearch-attribute: "{elasticsearch-attribute}"
528       - integration-stack-2-type:
529           vm_0_count: "3"
530           vm_0_flavor: "{odl_system_flavor}"
531           vm_0_image: "{odl_system_image}"
532           vm_1_count: "{tools_system_count}"
533           vm_1_flavor: "{tools_system_flavor}"
534           vm_1_image: "{tools_system_image}"
535       - integration-distribution-branch:
536           branch: "{verify-branch}"
537       - integration-distribution-stream:
538           stream: "{verify-stream}"
539       - integration-script-plan:
540           script-plan: "{project}.txt"
541       - integration-config-plan:
542           config-plan: "{project}.txt"
543       - integration-stream-test-plan:
544           stream-test-plan: "{project}-{functionality}-{verify-stream}.txt"
545       - integration-test-plan:
546           test-plan: "{project}-{functionality}.txt"
547       - integration-test-suites:
548           test-suites: "{test-suites}"
549       - integration-jdk-version:
550           jdkversion: "{verify-jdkversion}"
551       - distribution-karaf-version:
552           karaf-version: "{verify-karaf-version}"
553
554     scm:
555       - integration-gerrit-scm:
556           basedir: "test"
557           refspec: "$GERRIT_REFSPEC"
558           branch: "master"
559
560     triggers:
561       - integration-trigger-patch-submitted:
562           gerrit-server-name: "{gerrit-server-name}"
563           project: "integration/test"
564           branch: "master"
565           files: "csit/suites/{project}/**"
566
567     builders:
568       - lf-infra-pre-build
569       - integration-stack-2-type:
570           openstack-cloud: "{openstack-cloud}"
571           openstack-heat-template: "{openstack-heat-template}"
572           openstack-heat-template-dir: "{openstack-heat-template-dir}"
573       - integration-install-robotframework
574       - inject:
575           properties-file: "env.properties"
576       - integration-get-slave-addresses
577       - inject:
578           properties-file: "slave_addresses.txt"
579       - integration-detect-variables
580       - integration-install-common-functions
581       - integration-configure-clustering
582       - integration-start-cluster-run-test
583       - integration-cleanup-tmp
584
585     publishers:
586       - email-notification:
587           email-recipients: "{email-recipients}"
588           email-prefix: "[{project}]"
589       - integration-csit-publish:
590           robot_other_files: ""
591           robot-pass-threshold: 100.0
592           robot-unstable-threshold: 0.0
593       - lf-stack-delete:
594           openstack-cloud: "{openstack-cloud}"
595       - lf-infra-publish
596
597 ######################
598 # inttest-csit-3node #
599 ######################
600
601 - inttest_csit_3node: &inttest_csit_3node
602     name: inttest-csit-3node
603
604     #####################
605     # Default variables #
606     #####################
607
608     openstack-cloud: vex
609     openstack-heat-template: csit-2-instance-type.yaml
610     openstack-heat-template-dir: openstack-hot
611
612     odl_system_flavor: "odl-highcpu-4"
613     odl_system_image: "ZZCI - CentOS 7 - builder - x86_64 - 20200901-060217.896"
614     controller-max-mem: "2048m"
615     tools_system_count: "1"
616     tools_system_flavor: "odl-highcpu-2"
617     tools_system_image: "ZZCI - Ubuntu 16.04 - mininet-ovs-28 - x86_64 - 20200813-051640.743"
618
619     #####################
620     # Job configuration #
621     #####################
622
623     parameters:
624       - integration-csit-parameters:
625           archive-artifacts: "{archive-artifacts}"
626           branch: "{branch}"
627           os-cloud: "{os-cloud}"
628           # CSIT
629           bundle-url: "{bundle-url}"
630           repo-url: "{repo-url}"
631           robot-options: "{robot-options}"
632           # Controller
633           controller-scope: "{install}"
634           controller-max-mem: "{controller-max-mem}"
635           debug-map: "{debug-map}"
636           install-features: "odl-jolokia,{install-features}"
637           use-features-boot: "True"
638           elasticsearch-attribute: "{elasticsearch-attribute}"
639       - integration-stack-2-type:
640           vm_0_count: "3"
641           vm_0_flavor: "{odl_system_flavor}"
642           vm_0_image: "{odl_system_image}"
643           vm_1_count: "{tools_system_count}"
644           vm_1_flavor: "{tools_system_flavor}"
645           vm_1_image: "{tools_system_image}"
646       - integration-distribution-branch:
647           branch: "{branch}"
648       - integration-distribution-stream:
649           stream: "{stream}"
650       - integration-script-plan:
651           script-plan: "{project}.txt"
652       - integration-config-plan:
653           config-plan: "{project}.txt"
654       - integration-stream-test-plan:
655           stream-test-plan: "{project}-{functionality}-{stream}.txt"
656       - integration-test-plan:
657           test-plan: "{project}-{functionality}.txt"
658       - integration-test-suites:
659           test-suites: "{test-suites}"
660       - integration-patch-refspec:
661           branch: "master"
662       - integration-jdk-version:
663           jdkversion: "{jre}"
664       - distribution-karaf-version:
665           karaf-version: "{karaf-version}"
666
667     scm:
668       - integration-gerrit-scm:
669           basedir: "test"
670           refspec: "$PATCHREFSPEC"
671           branch: "master"
672
673     triggers:
674       # we need this for not SR projects
675       - integration-csit-trigger:
676           jobs: "{trigger-jobs}"
677
678     builders:
679       - lf-infra-pre-build
680       - integration-stack-2-type:
681           openstack-cloud: "{openstack-cloud}"
682           openstack-heat-template: "{openstack-heat-template}"
683           openstack-heat-template-dir: "{openstack-heat-template-dir}"
684       - integration-install-robotframework
685       - inject:
686           properties-file: "env.properties"
687       - integration-get-slave-addresses
688       - inject:
689           properties-file: "slave_addresses.txt"
690       - integration-detect-variables
691       - integration-install-common-functions
692       - integration-configure-clustering
693       - integration-start-cluster-run-test
694       - integration-cleanup-tmp
695
696     publishers:
697       - email-notification:
698           email-recipients: "{email-recipients}"
699           email-prefix: "[{project}]"
700       - plot:
701           - title: "{01-plot-title}"
702             yaxis: "{01-plot-yaxis}"
703             group: "{01-plot-group}"
704             num-builds: "180"
705             keep-records: true
706             style: line
707             use-description: false
708             # yamllint disable-line rule:line-length
709             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv"
710             series:
711               - file: "{01-plot-data-file}"
712                 inclusion-flag: "off"
713                 display-table: true
714                 format: csv
715           - title: "{02-plot-title}"
716             yaxis: "{02-plot-yaxis}"
717             group: "{02-plot-group}"
718             num-builds: "180"
719             keep-records: true
720             style: line
721             use-description: false
722             # yamllint disable-line rule:line-length
723             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv"
724             series:
725               - file: "{02-plot-data-file}"
726                 inclusion-flag: "off"
727                 display-table: true
728                 format: csv
729           - title: "{03-plot-title}"
730             yaxis: "{03-plot-yaxis}"
731             group: "{03-plot-group}"
732             num-builds: "180"
733             keep-records: true
734             style: line
735             use-description: false
736             # yamllint disable-line rule:line-length
737             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv"
738             series:
739               - file: "{03-plot-data-file}"
740                 inclusion-flag: "{03-inclusion-flag}"
741                 exclude: "{03-exclude-value}"
742                 format: csv
743           - title: "{04-plot-title}"
744             yaxis: "{04-plot-yaxis}"
745             group: "{04-plot-group}"
746             num-builds: "180"
747             keep-records: true
748             style: line
749             use-description: false
750             # yamllint disable-line rule:line-length
751             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv"
752             series:
753               - file: "{04-plot-data-file}"
754                 inclusion-flag: "{04-inclusion-flag}"
755                 exclude: "{04-exclude-value}"
756                 format: csv
757           - title: "{05-plot-title}"
758             yaxis: "{05-plot-yaxis}"
759             group: "{05-plot-group}"
760             num-builds: "180"
761             keep-records: true
762             style: line
763             use-description: false
764             # yamllint disable-line rule:line-length
765             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv"
766             series:
767               - file: "{05-plot-data-file}"
768                 inclusion-flag: "{05-inclusion-flag}"
769                 exclude: "{05-exclude-value}"
770                 format: csv
771           - title: "{06-plot-title}"
772             yaxis: "{06-plot-yaxis}"
773             group: "{06-plot-group}"
774             num-builds: "180"
775             keep-records: true
776             style: line
777             use-description: false
778             # yamllint disable-line rule:line-length
779             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv"
780             series:
781               - file: "{06-plot-data-file}"
782                 inclusion-flag: "{06-inclusion-flag}"
783                 exclude: "{06-exclude-value}"
784                 format: csv
785           - title: "{07-plot-title}"
786             yaxis: "{07-plot-yaxis}"
787             group: "{07-plot-group}"
788             num-builds: "180"
789             keep-records: true
790             style: line
791             use-description: false
792             # yamllint disable-line rule:line-length
793             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv"
794             series:
795               - file: "{07-plot-data-file}"
796                 inclusion-flag: "{07-inclusion-flag}"
797                 exclude: "{07-exclude-value}"
798                 format: csv
799           - title: "{08-plot-title}"
800             yaxis: "{08-plot-yaxis}"
801             group: "{08-plot-group}"
802             num-builds: "180"
803             keep-records: true
804             style: line
805             use-description: false
806             # yamllint disable-line rule:line-length
807             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv"
808             series:
809               - file: "{08-plot-data-file}"
810                 inclusion-flag: "{08-inclusion-flag}"
811                 exclude: "{08-exclude-value}"
812                 format: csv
813           - title: "{09-plot-title}"
814             yaxis: "{09-plot-yaxis}"
815             group: "{09-plot-group}"
816             num-builds: "180"
817             keep-records: true
818             style: line
819             use-description: false
820             # yamllint disable-line rule:line-length
821             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv"
822             series:
823               - file: "{09-plot-data-file}"
824                 inclusion-flag: "{09-inclusion-flag}"
825                 exclude: "{09-exclude-value}"
826                 format: csv
827           - title: "{10-plot-title}"
828             yaxis: "{10-plot-yaxis}"
829             group: "{10-plot-group}"
830             num-builds: "180"
831             keep-records: true
832             style: line
833             use-description: false
834             # yamllint disable-line rule:line-length
835             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv"
836             series:
837               - file: "{10-plot-data-file}"
838                 inclusion-flag: "{10-inclusion-flag}"
839                 exclude: "{10-exclude-value}"
840                 format: csv
841       - integration-csit-publish:
842           robot_other_files: ""
843           robot-pass-threshold: 100.0
844           robot-unstable-threshold: 0.0
845       - lf-stack-delete:
846           openstack-cloud: "{openstack-cloud}"
847       - lf-infra-publish
848
849 - job-template:
850     name: "{prefix}{project}-csit-3node-{functionality}-{install}-{stream}"
851     id: inttest-csit-3node
852     <<: *inttest_csit_common
853     # yamllint disable-line rule:key-duplicates
854     <<: *inttest_csit_3node
855
856 - job-template:
857     name: "{prefix}{project}-csit-3node-{functionality}-{install}-{stream}"
858     id: inttest-csit-3node-custom
859     <<: *inttest_csit_common
860     # yamllint disable-line rule:key-duplicates
861     <<: *inttest_csit_3node
862
863     parameters:
864       - integration-csit-parameters:
865           archive-artifacts: "{archive-artifacts}"
866           branch: "{branch}"
867           os-cloud: "{os-cloud}"
868           # CSIT
869           bundle-url: "{bundle-url}"
870           repo-url: "{repo-url}"
871           robot-options: "{robot-options}"
872           # Controller
873           controller-scope: "{install}"
874           controller-max-mem: "{controller-max-mem}"
875           debug-map: "{debug-map}"
876           install-features: "odl-jolokia,{install-features}"
877           use-features-boot: "True"
878           elasticsearch-attribute: "{elasticsearch-attribute}"
879       - integration-stack-2-type:
880           vm_0_count: "3"
881           vm_0_flavor: "{odl_system_flavor}"
882           vm_0_image: "{odl_system_image}"
883           vm_1_count: "{tools_system_count}"
884           vm_1_flavor: "{tools_system_flavor}"
885           vm_1_image: "{tools_system_image}"
886       - integration-distribution-branch:
887           branch: "{branch}"
888       - integration-distribution-stream:
889           stream: "{stream}"
890       - integration-script-plan:
891           script-plan: "{project}.txt"
892       - integration-config-plan:
893           config-plan: "{project}.txt"
894       - integration-stream-test-plan:
895           stream-test-plan: "{project}-{functionality}-{stream}.txt"
896       - integration-test-plan:
897           test-plan: "{testplan}"
898       - integration-test-suites:
899           test-suites: "{test-suites}"
900       - integration-patch-refspec:
901           branch: "master"
902       - integration-jdk-version:
903           jdkversion: "{jre}"
904       - distribution-karaf-version:
905           karaf-version: "{karaf-version}"
906
907 - job-template:
908     name: "{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}"
909     id: inttest-csit-3node-docker
910     <<: *inttest_csit_common
911
912     #####################
913     # Default variables #
914     #####################
915
916     openstack-cloud: vex
917     openstack-heat-template: csit-2-instance-type.yaml
918     openstack-heat-template-dir: openstack-hot
919
920     odl_system_count: 1
921     odl_system_flavor: "odl-highcpu-4"
922     odl_system_image: "ZZCI - CentOS 7 - builder - x86_64 - 20200901-060217.896"
923     controller-max-mem: "2048m"
924     docker_system_count: "1"
925     docker_system_flavor: "odl-standard-1"
926     docker_system_image: "ZZCI - CentOS 7 - docker - x86_64 - 20200901-220018.955"
927
928     #####################
929     # Job Configuration #
930     #####################
931
932     parameters:
933       - integration-csit-parameters:
934           archive-artifacts: "{archive-artifacts}"
935           branch: "{branch}"
936           os-cloud: "{os-cloud}"
937           # CSIT
938           bundle-url: "{bundle-url}"
939           repo-url: "{repo-url}"
940           robot-options: "{robot-options}"
941           # Controller
942           controller-scope: "{install}"
943           controller-max-mem: "{controller-max-mem}"
944           debug-map: "{debug-map}"
945           install-features: "odl-jolokia,{install-features}"
946           use-features-boot: "True"
947           elasticsearch-attribute: "{elasticsearch-attribute}"
948       - integration-stack-2-type:
949           vm_0_count: "3"
950           vm_0_flavor: "{odl_system_flavor}"
951           vm_0_image: "{odl_system_image}"
952           vm_1_count: "{docker_system_count}"
953           vm_1_flavor: "{docker_system_flavor}"
954           vm_1_image: "{docker_system_image}"
955       - integration-distribution-branch:
956           branch: "{branch}"
957       - integration-distribution-stream:
958           stream: "{stream}"
959       - integration-script-plan:
960           script-plan: "{project}.txt"
961       - integration-config-plan:
962           config-plan: "{project}.txt"
963       - integration-stream-test-plan:
964           stream-test-plan: "{project}-{functionality}-{stream}.txt"
965       - integration-test-plan:
966           test-plan: "{project}-{functionality}.txt"
967       - integration-patch-refspec:
968           branch: "master"
969       - integration-jdk-version:
970           jdkversion: "{jre}"
971       - distribution-karaf-version:
972           karaf-version: "{karaf-version}"
973
974     scm:
975       - integration-gerrit-scm:
976           basedir: "test"
977           refspec: "$PATCHREFSPEC"
978           branch: "master"
979
980     builders:
981       - lf-infra-pre-build
982       - integration-stack-2-type:
983           openstack-cloud: "{openstack-cloud}"
984           openstack-heat-template: "{openstack-heat-template}"
985           openstack-heat-template-dir: "{openstack-heat-template-dir}"
986       - integration-install-robotframework
987       - inject:
988           properties-file: "env.properties"
989       - integration-get-slave-addresses
990       - inject:
991           properties-file: "slave_addresses.txt"
992       - integration-detect-variables
993       - integration-install-common-functions
994       - integration-configure-clustering
995       - integration-start-cluster-run-test
996       - integration-cleanup-tmp
997
998     publishers:
999       - email-notification:
1000           email-recipients: "{email-recipients}"
1001           email-prefix: "[{project}]"
1002       - plot:
1003           - title: "{01-plot-title}"
1004             yaxis: "{01-plot-yaxis}"
1005             group: "{01-plot-group}"
1006             num-builds: "5400"
1007             keep-records: true
1008             style: line
1009             use-description: false
1010             # yamllint disable-line rule:line-length
1011             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv"
1012             series:
1013               - file: "{01-plot-data-file}"
1014                 inclusion-flag: "off"
1015                 display-table: true
1016                 format: csv
1017           - title: "{02-plot-title}"
1018             yaxis: "{02-plot-yaxis}"
1019             group: "{02-plot-group}"
1020             num-builds: "5400"
1021             keep-records: true
1022             style: line
1023             use-description: false
1024             # yamllint disable-line rule:line-length
1025             csv-file-name: "{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv"
1026             series:
1027               - file: "{02-plot-data-file}"
1028                 inclusion-flag: "off"
1029                 display-table: true
1030                 format: csv
1031       - integration-csit-publish:
1032           robot_other_files: ""
1033           robot-pass-threshold: 100.0
1034           robot-unstable-threshold: 0.0
1035       - lf-stack-delete:
1036           openstack-cloud: "{openstack-cloud}"
1037       - lf-infra-publish
1038
1039 #################################
1040 # inttest-csit-hwvtep-openstack #
1041 #################################
1042
1043 - inttest_csit_hwvtep_openstack: &inttest_csit_hwvtep_openstack
1044     name: inttest-csit-hwvtep-openstack
1045
1046     #####################
1047     # Default variables #
1048     #####################
1049
1050     openstack-cloud: vex
1051     openstack-heat-template: csit-4-instance-type.yaml
1052     openstack-heat-template-dir: openstack-hot
1053
1054     odl_system_count: 1
1055     odl_system_flavor: "odl-highcpu-4"
1056     odl_system_image: "ZZCI - CentOS 7 - builder - x86_64 - 20200901-060217.896"
1057     controller-max-mem: "2048m"
1058     openstack_system_count: 1
1059     openstack_system_flavor: "odl-standard-4"
1060     openstack_system_image: "ZZCI - CentOS 7 - devstack - x86_64 - 20200813-052044.669"
1061     openstack_system2_count: 0
1062     openstack_system2_flavor: "odl-standard-1"
1063     openstack_system2_image: "ZZCI - CentOS 7 - devstack - x86_64 - 20200813-052044.669"
1064     tools_system_count: 1
1065     tools_system_flavor: "odl-highcpu-2"
1066     tools_system_image: "ZZCI - Ubuntu 16.04 - mininet-ovs-28 - x86_64 - 20200813-051640.743"
1067
1068     #####################
1069     # Job configuration #
1070     #####################
1071
1072     parameters:
1073       - integration-csit-parameters:
1074           archive-artifacts: "{archive-artifacts}"
1075           branch: "{branch}"
1076           os-cloud: "{os-cloud}"
1077           # CSIT
1078           bundle-url: "{bundle-url}"
1079           repo-url: "{repo-url}"
1080           robot-options: "{robot-options}"
1081           # Controller
1082           controller-scope: ""
1083           controller-max-mem: "{controller-max-mem}"
1084           debug-map: "{debug-map}"
1085           install-features: "{install-features}"
1086           use-features-boot: "{use-features-boot}"
1087           elasticsearch-attribute: "{elasticsearch-attribute}"
1088       - integration-stack-4-type:
1089           vm_0_count: "{odl_system_count}"
1090           vm_0_flavor: "{odl_system_flavor}"
1091           vm_0_image: "{odl_system_image}"
1092           vm_1_count: "{openstack_system_count}"
1093           vm_1_flavor: "{openstack_system_flavor}"
1094           vm_1_image: "{openstack_system_image}"
1095           vm_2_count: "{openstack_system2_count}"
1096           vm_2_flavor: "{openstack_system2_flavor}"
1097           vm_2_image: "{openstack_system2_image}"
1098           vm_3_count: "{tools_system_count}"
1099           vm_3_flavor: "{tools_system_flavor}"
1100           vm_3_image: "{tools_system_image}"
1101       - integration-distribution-branch:
1102           branch: "{branch}"
1103       - integration-distribution-stream:
1104           stream: "{stream}"
1105       - integration-script-plan:
1106           script-plan: "{project}.txt"
1107       - integration-config-plan:
1108           config-plan: "{project}.txt"
1109       - integration-test-plan:
1110           test-plan: "{project}-{functionality}.txt"
1111       - integration-test-suites:
1112           test-suites: "{test-suites}"
1113       - integration-patch-refspec:
1114           branch: "master"
1115       - integration-jdk-version:
1116           jdkversion: "{jre}"
1117       - distribution-karaf-version:
1118           karaf-version: "{karaf-version}"
1119       - string:
1120           name: OPENSTACK_BRANCH
1121           default: "{openstack-branch}"
1122           description: "Openstack version to use with devstack"
1123       - string:
1124           name: DEVSTACK_HASH
1125           default: "{devstack-hash}"
1126           description: "devstack hash to checkout"
1127       - string:
1128           name: ODL_ML2_DRIVER_REPO
1129           default: "{odl-ml2-driver-repo}"
1130           description: "URL to fetch networking-odl driver"
1131       - string:
1132           name: ODL_ML2_BRANCH
1133           default: "{odl-ml2-branch}"
1134           description: "Version of networking-odl to checkout from the repo"
1135       - string:
1136           name: ODL_ML2_DRIVER_VERSION
1137           default: "{odl-ml2-driver-version}"
1138           description: "Mode of networking-odl (v1 or v2)"
1139       - string:
1140           name: ODL_ML2_PORT_BINDING
1141           default: "{odl-ml2-port-binding}"
1142           description: >
1143             Method of networking-odl port-binding (pseudo-agentdb-binding or
1144             legacy-port-binding or network-topology)
1145       - string:
1146           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1147           default: "{devstack-kubernetes-plugin-repo}"
1148           description: "URL to fetch kubernetes devstack plugin"
1149       - string:
1150           name: DEVSTACK_LBAAS_PLUGIN_REPO
1151           default: "{devstack-lbaas-plugin-repo}"
1152           description: "URL to fetch neutron-lbaas devstack plugin"
1153       - string:
1154           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1155           default: "{devstack-networking-sfc-plugin-repo}"
1156           description: "URL to fetch neutron-lbaas devstack plugin"
1157       - string:
1158           name: IPSEC_VXLAN_TUNNELS_ENABLED
1159           default: "{ipsec-vxlan-tunnels-enabled}"
1160           description: "Enable ipsec over vxlan support for all controllers and computes"
1161       - string:
1162           name: PUBLIC_BRIDGE
1163           default: "{public-bridge}"
1164           description: "Specifies public bridge for provider and external networking"
1165       - string:
1166           name: ENABLE_HAPROXY_FOR_NEUTRON
1167           default: "{enable-haproxy}"
1168           description: "Enable HAProxy for using neutron interface as HA"
1169       - string:
1170           name: ENABLE_OS_SERVICES
1171           default: "{enable-openstack-services}"
1172           description: "comma separated list of services to enable on controller nodes"
1173       - string:
1174           name: ENABLE_OS_COMPUTE_SERVICES
1175           default: "{enable-openstack-compute-services}"
1176           description: "comma separated list of services to enable on compute nodes"
1177       - string:
1178           name: ENABLE_OS_NETWORK_SERVICES
1179           default: "{enable-openstack-network-services}"
1180           description: "comma seperated list of network services to enable"
1181       - string:
1182           name: ENABLE_OS_PLUGINS
1183           default: "{enable-openstack-plugins}"
1184           description: "comma seperated list of plugins to enable"
1185       - string:
1186           name: DISABLE_OS_SERVICES
1187           default: "{disable-openstack-services}"
1188           description: "comma seperated list of services to enable"
1189       - string:
1190           name: TENANT_NETWORK_TYPE
1191           default: "{tenant-network-type}"
1192           description: "Tenant Network Type supported by the implementation"
1193       - string:
1194           name: SECURITY_GROUP_MODE
1195           default: "{security-group-mode}"
1196           description: "Security Group Mode to be used in netvirt aclservice config"
1197       - string:
1198           name: ENABLE_ITM_DIRECT_TUNNELS
1199           default: "{enable-itm-direct-tunnels}"
1200           description: "Tunnel Configuration mode to be used in genius ifm config"
1201       - string:
1202           name: PUBLIC_PHYSICAL_NETWORK
1203           default: "{public-physical-network}"
1204           description: "provider physical network used for flat/vlan networks"
1205       - string:
1206           name: ENABLE_NETWORKING_L2GW
1207           default: "{enable-networking-l2gw}"
1208           description: "Enable networking L2gw"
1209       - string:
1210           name: NETWORKING_L2GW_DRIVER
1211           default: "{networking-l2gw-repo}"
1212           description: "URL to fetch networking-l2gw driver"
1213       - string:
1214           name: CREATE_INITIAL_NETWORKS
1215           default: "{create-initial-networks}"
1216           description: "Toggles the option of letting devstack create initial networks (True/False)"
1217       - string:
1218           name: LBAAS_SERVICE_PROVIDER
1219           default: "{lbaas-service-provider}"
1220           description: >
1221             The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in
1222             local.conf - only relevant when using neutron-lbaas
1223       - string:
1224           name: ODL_SFC_DRIVER
1225           default: "{odl-sfc-driver}"
1226           description: "The SFC driver to be used in local.conf - only relevant when using networking-sfc"
1227       - string:
1228           name: ODL_SNAT_MODE
1229           default: "{odl-snat-mode}"
1230           description: "The SNAT mode to be configured - options are conntrack/controller."
1231       - string:
1232           name: GROUP_ADD_MOD_ENABLED
1233           default: "{group-add-mod-enabled}"
1234           description: "The Group add mod enabled mode to be configured - options are true/false."
1235       - string:
1236           name: OVS_INSTALL
1237           default: "{ovs-install}"
1238           description: >
1239             Install a custom OVS. It can be an OVS version to build
1240             (like v2.9.2 or v2.6.1-nsh) or a yum repo url to pull from.
1241
1242     scm:
1243       - integration-gerrit-scm:
1244           basedir: "test"
1245           refspec: "$PATCHREFSPEC"
1246           branch: "master"
1247
1248     triggers:
1249       - timed: "{schedule}"
1250
1251     builders:
1252       - lf-infra-pre-build
1253       - integration-stack-4-type:
1254           openstack-cloud: "{openstack-cloud}"
1255           openstack-heat-template: "{openstack-heat-template}"
1256           openstack-heat-template-dir: "{openstack-heat-template-dir}"
1257       - integration-install-robotframework
1258       - inject:
1259           properties-file: "env.properties"
1260       - integration-get-slave-addresses
1261       - inject:
1262           properties-file: "slave_addresses.txt"
1263       - integration-detect-variables
1264       - integration-install-common-functions
1265       - integration-deploy-controller-run-test
1266       - integration-deploy-openstack-run-test
1267       - integration-cleanup-tmp
1268
1269     publishers:
1270       - email-notification:
1271           email-recipients: "{email-recipients}"
1272           email-prefix: "[{project}]"
1273       - integration-csit-collect-netvirt-logs
1274       - integration-csit-publish:
1275           robot_other_files:
1276             - tempest_results.html
1277           robot-pass-threshold: 100.0
1278           robot-unstable-threshold: 0.0
1279       - lf-stack-delete:
1280           openstack-cloud: "{openstack-cloud}"
1281       - lf-infra-publish
1282
1283 - job-template:
1284     # yamllint disable-line rule:line-length
1285     name: "{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}"
1286     id: inttest-csit-hwvtep-openstack
1287     <<: *inttest_csit_common
1288     # yamllint disable-line rule:key-duplicates
1289     <<: *inttest_csit_hwvtep_openstack
1290
1291 - job-template:
1292     # yamllint disable-line rule:line-length
1293     name: "{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}"
1294     id: inttest-csit-hwvtep-openstack-custom
1295     <<: *inttest_csit_common
1296     # yamllint disable-line rule:key-duplicates
1297     <<: *inttest_csit_hwvtep_openstack
1298
1299     parameters:
1300       - integration-csit-parameters:
1301           archive-artifacts: "{archive-artifacts}"
1302           branch: "{branch}"
1303           os-cloud: "{os-cloud}"
1304           # CSIT
1305           bundle-url: "{bundle-url}"
1306           repo-url: "{repo-url}"
1307           robot-options: "{robot-options}"
1308           # Controller
1309           controller-scope: ""
1310           controller-max-mem: "{controller-max-mem}"
1311           debug-map: "{debug-map}"
1312           install-features: "{install-features}"
1313           use-features-boot: "{use-features-boot}"
1314           elasticsearch-attribute: "{elasticsearch-attribute}"
1315       - integration-stack-4-type:
1316           vm_0_count: "{odl_system_count}"
1317           vm_0_flavor: "{odl_system_flavor}"
1318           vm_0_image: "{odl_system_image}"
1319           vm_1_count: "{openstack_system_count}"
1320           vm_1_flavor: "{openstack_system_flavor}"
1321           vm_1_image: "{openstack_system_image}"
1322           vm_2_count: "{openstack_system2_count}"
1323           vm_2_flavor: "{openstack_system2_flavor}"
1324           vm_2_image: "{openstack_system2_image}"
1325           vm_3_count: "{tools_system_count}"
1326           vm_3_flavor: "{tools_system_flavor}"
1327           vm_3_image: "{tools_system_image}"
1328       - integration-distribution-branch:
1329           branch: "{branch}"
1330       - integration-distribution-stream:
1331           stream: "{stream}"
1332       - integration-script-plan:
1333           script-plan: "{project}.txt"
1334       - integration-config-plan:
1335           config-plan: "{project}.txt"
1336       - integration-test-plan:
1337           test-plan: "{testplan}"
1338       - integration-test-suites:
1339           test-suites: "{test-suites}"
1340       - integration-patch-refspec:
1341           branch: "master"
1342       - integration-jdk-version:
1343           jdkversion: "{jre}"
1344       - distribution-karaf-version:
1345           karaf-version: "{karaf-version}"
1346       - string:
1347           name: OPENSTACK_BRANCH
1348           default: "{openstack-branch}"
1349           description: "Openstack version to use with devstack"
1350       - string:
1351           name: DEVSTACK_HASH
1352           default: "{devstack-hash}"
1353           description: "devstack hash to checkout"
1354       - string:
1355           name: ODL_ML2_DRIVER_REPO
1356           default: "{odl-ml2-driver-repo}"
1357           description: "URL to fetch networking-odl driver"
1358       - string:
1359           name: ODL_ML2_BRANCH
1360           default: "{odl-ml2-branch}"
1361           description: "Version of networking-odl to checkout from the repo"
1362       - string:
1363           name: ODL_ML2_DRIVER_VERSION
1364           default: "{odl-ml2-driver-version}"
1365           description: "Mode of networking-odl (v1 or v2)"
1366       - string:
1367           name: ODL_ML2_PORT_BINDING
1368           default: "{odl-ml2-port-binding}"
1369           description: |
1370             Method of networking-odl port-binding (pseudo-agentdb-binding or
1371             legacy-port-binding or network-topology)
1372       - string:
1373           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1374           default: "{devstack-kubernetes-plugin-repo}"
1375           description: "URL to fetch kubernetes devstack plugin"
1376       - string:
1377           name: DEVSTACK_LBAAS_PLUGIN_REPO
1378           default: "{devstack-lbaas-plugin-repo}"
1379           description: "URL to fetch neutron-lbaas devstack plugin"
1380       - string:
1381           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1382           default: "{devstack-networking-sfc-plugin-repo}"
1383           description: "URL to fetch neutron-lbaas devstack plugin"
1384       - string:
1385           name: IPSEC_VXLAN_TUNNELS_ENABLED
1386           default: "{ipsec-vxlan-tunnels-enabled}"
1387           description: "Enable ipsec over vxlan support for all controllers and computes"
1388       - string:
1389           name: PUBLIC_BRIDGE
1390           default: "{public-bridge}"
1391           description: "Specifies public bridge for provider and external networking"
1392       - string:
1393           name: ENABLE_HAPROXY_FOR_NEUTRON
1394           default: "{enable-haproxy}"
1395           description: "Enable HAProxy for using neutron interface as HA"
1396       - string:
1397           name: ENABLE_OS_SERVICES
1398           default: "{enable-openstack-services}"
1399           description: "comma separated list of services to enable on controller nodes"
1400       - string:
1401           name: ENABLE_OS_COMPUTE_SERVICES
1402           default: "{enable-openstack-compute-services}"
1403           description: "comma separated list of services to enable on compute nodes"
1404       - string:
1405           name: ENABLE_OS_NETWORK_SERVICES
1406           default: "{enable-openstack-network-services}"
1407           description: "comma seperated list of network services to enable"
1408       - string:
1409           name: ENABLE_OS_PLUGINS
1410           default: "{enable-openstack-plugins}"
1411           description: "comma seperated list of plugins to enable"
1412       - string:
1413           name: DISABLE_OS_SERVICES
1414           default: "{disable-openstack-services}"
1415           description: "comma seperated list of services to enable"
1416       - string:
1417           name: TENANT_NETWORK_TYPE
1418           default: "{tenant-network-type}"
1419           description: "Tenant Network Type supported by the implementation"
1420       - string:
1421           name: SECURITY_GROUP_MODE
1422           default: "{security-group-mode}"
1423           description: "Security Group Mode to be used in netvirt aclservice config"
1424       - string:
1425           name: ENABLE_ITM_DIRECT_TUNNELS
1426           default: "{enable-itm-direct-tunnels}"
1427           description: "Tunnel Configuration mode to be used in genius ifm config"
1428       - string:
1429           name: PUBLIC_PHYSICAL_NETWORK
1430           default: "{public-physical-network}"
1431           description: "provider physical network used for flat/vlan networks"
1432       - string:
1433           name: ENABLE_NETWORKING_L2GW
1434           default: "{enable-networking-l2gw}"
1435           description: "Enable networking L2gw"
1436       - string:
1437           name: NETWORKING_L2GW_DRIVER
1438           default: "{networking-l2gw-repo}"
1439           description: "URL to fetch networking-l2gw driver"
1440       - string:
1441           name: CREATE_INITIAL_NETWORKS
1442           default: "{create-initial-networks}"
1443           description: "Toggles the option of letting devstack create initial networks (True/False)"
1444       - string:
1445           name: LBAAS_SERVICE_PROVIDER
1446           default: "{lbaas-service-provider}"
1447           description: |
1448             The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf
1449             - only relevant when using neutron-lbaas
1450       - string:
1451           name: ODL_SFC_DRIVER
1452           default: "{odl-sfc-driver}"
1453           description: "The SFC driver to be used in local.conf - only relevant when using networking-sfc"
1454       - string:
1455           name: ODL_SNAT_MODE
1456           default: "{odl-snat-mode}"
1457           description: "The SNAT mode to be configured - options are conntrack/controller."
1458       - string:
1459           name: GROUP_ADD_MOD_ENABLED
1460           default: "{group-add-mod-enabled}"
1461           description: "The Group add mod enabled mode to be configured - options are true/false."
1462       - string:
1463           name: OVS_INSTALL
1464           default: "{ovs-install}"
1465           description: |
1466             Install a custom OVS. It can be an OVS version to build (like
1467             v2.9.2 or v2.6.1-nsh) or a yum repo url to pull from.
1468
1469 ##########################
1470 # inttest-csit-openstack #
1471 ##########################
1472
1473 - inttest_csit_openstack: &inttest_csit_openstack
1474     name: inttest-csit-openstack
1475
1476     #####################
1477     # Default variables #
1478     #####################
1479
1480     openstack-cloud: vex
1481     openstack-heat-template: csit-4-instance-type.yaml
1482     openstack-heat-template-dir: openstack-hot
1483
1484     odl_system_count: 1
1485     odl_system_flavor: "odl-highcpu-4"
1486     odl_system_image: "ZZCI - CentOS 7 - builder - x86_64 - 20200901-060217.896"
1487     controller-max-mem: "2048m"
1488     openstack_system_count: 1
1489     openstack_system_flavor: "odl-standard-4"
1490     openstack_system_image: "ZZCI - CentOS 7 - devstack - x86_64 - 20200813-052044.669"
1491     openstack_system2_count: 0
1492     openstack_system2_flavor: "odl-standard-1"
1493     openstack_system2_image: "ZZCI - CentOS 7 - devstack - x86_64 - 20200813-052044.669"
1494     tools_system_count: 1
1495     tools_system_flavor: "odl-highcpu-2"
1496     tools_system_image: "ZZCI - Ubuntu 16.04 - mininet-ovs-28 - x86_64 - 20200813-051640.743"
1497
1498     #####################
1499     # Job configuration #
1500     #####################
1501
1502     parameters:
1503       - integration-csit-parameters:
1504           archive-artifacts: "{archive-artifacts}"
1505           branch: "{branch}"
1506           os-cloud: "{os-cloud}"
1507           # CSIT
1508           bundle-url: "{bundle-url}"
1509           repo-url: "{repo-url}"
1510           robot-options: "{robot-options}"
1511           # Controller
1512           controller-scope: ""
1513           controller-max-mem: "{controller-max-mem}"
1514           debug-map: "{debug-map}"
1515           install-features: "{install-features}"
1516           use-features-boot: "{use-features-boot}"
1517           elasticsearch-attribute: "{elasticsearch-attribute}"
1518       - integration-stack-4-type:
1519           vm_0_count: "{odl_system_count}"
1520           vm_0_flavor: "{odl_system_flavor}"
1521           vm_0_image: "{odl_system_image}"
1522           vm_1_count: "{openstack_system_count}"
1523           vm_1_flavor: "{openstack_system_flavor}"
1524           vm_1_image: "{openstack_system_image}"
1525           vm_2_count: "{openstack_system2_count}"
1526           vm_2_flavor: "{openstack_system2_flavor}"
1527           vm_2_image: "{openstack_system2_image}"
1528           vm_3_count: "{tools_system_count}"
1529           vm_3_flavor: "{tools_system_flavor}"
1530           vm_3_image: "{tools_system_image}"
1531       - integration-distribution-branch:
1532           branch: "{branch}"
1533       - integration-distribution-stream:
1534           stream: "{stream}"
1535       - integration-script-plan:
1536           script-plan: "{project}.txt"
1537       - integration-config-plan:
1538           config-plan: "{project}.txt"
1539       - integration-test-plan:
1540           test-plan: "{project}-{functionality}.txt"
1541       - integration-test-suites:
1542           test-suites: "{test-suites}"
1543       - integration-patch-refspec:
1544           branch: "master"
1545       - integration-jdk-version:
1546           jdkversion: "{jre}"
1547       - distribution-karaf-version:
1548           karaf-version: "{karaf-version}"
1549       - string:
1550           name: OPENSTACK_BRANCH
1551           default: "{openstack-branch}"
1552           description: "Openstack version to use with devstack"
1553       - string:
1554           name: DEVSTACK_HASH
1555           default: "{devstack-hash}"
1556           description: "devstack hash to checkout"
1557       - string:
1558           name: ODL_ML2_DRIVER_REPO
1559           default: "{odl-ml2-driver-repo}"
1560           description: "URL to fetch networking-odl driver"
1561       - string:
1562           name: ODL_ML2_BRANCH
1563           default: "{odl-ml2-branch}"
1564           description: "Version of networking-odl to checkout from the repo"
1565       - string:
1566           name: ODL_ML2_DRIVER_VERSION
1567           default: "{odl-ml2-driver-version}"
1568           description: "Mode of networking-odl (v1 or v2)"
1569       - string:
1570           name: ODL_ML2_PORT_BINDING
1571           default: "{odl-ml2-port-binding}"
1572           description: |
1573             Method of networking-odl port-binding (pseudo-agentdb-binding or
1574             legacy-port-binding or network-topology)
1575       - string:
1576           name: ENABLE_GRE_TYPE_DRIVERS
1577           default: "{enable-gre-type-driver}"
1578           description: "Enable gre tunnel"
1579       - string:
1580           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1581           default: "{devstack-kubernetes-plugin-repo}"
1582           description: "URL to fetch kubernetes devstack plugin"
1583       - string:
1584           name: DEVSTACK_LBAAS_PLUGIN_REPO
1585           default: "{devstack-lbaas-plugin-repo}"
1586           description: "URL to fetch neutron-lbaas devstack plugin"
1587       - string:
1588           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1589           default: "{devstack-networking-sfc-plugin-repo}"
1590           description: "URL to fetch neutron-lbaas devstack plugin"
1591       - string:
1592           name: IPSEC_VXLAN_TUNNELS_ENABLED
1593           default: "{ipsec-vxlan-tunnels-enabled}"
1594           description: "Enable ipsec over vxlan support for all controllers and computes"
1595       - string:
1596           name: PUBLIC_BRIDGE
1597           default: "{public-bridge}"
1598           description: "Specifies public bridge for provider and external networking"
1599       - string:
1600           name: ENABLE_HAPROXY_FOR_NEUTRON
1601           default: "{enable-haproxy}"
1602           description: "Enable HAProxy for using neutron interface as HA"
1603       - string:
1604           name: ENABLE_OS_SERVICES
1605           default: "{enable-openstack-services}"
1606           description: "comma seperated list of services to enable"
1607       - string:
1608           name: ENABLE_OS_COMPUTE_SERVICES
1609           default: "{enable-openstack-compute-services}"
1610           description: "comma separated list of services to enable on compute nodes"
1611       - string:
1612           name: ENABLE_OS_NETWORK_SERVICES
1613           default: "{enable-openstack-network-services}"
1614           description: "comma seperated list of network services to enable"
1615       - string:
1616           name: ENABLE_OS_PLUGINS
1617           default: "{enable-openstack-plugins}"
1618           description: "comma seperated list of plugins to enable"
1619       - string:
1620           name: DISABLE_OS_SERVICES
1621           default: "{disable-openstack-services}"
1622           description: "comma seperated list of services to enable"
1623       - string:
1624           name: TENANT_NETWORK_TYPE
1625           default: "{tenant-network-type}"
1626           description: "Tenant Network Type supported by the implementation"
1627       - string:
1628           name: SECURITY_GROUP_MODE
1629           default: "{security-group-mode}"
1630           description: "Security Group Mode to be used in netvirt aclservice config"
1631       - string:
1632           name: ENABLE_ITM_DIRECT_TUNNELS
1633           default: "{enable-itm-direct-tunnels}"
1634           description: "Tunnel Configuration mode to be used in genius ifm config"
1635       - string:
1636           name: PUBLIC_PHYSICAL_NETWORK
1637           default: "{public-physical-network}"
1638           description: "provider physical network used for flat/vlan networks"
1639       - string:
1640           name: ENABLE_NETWORKING_L2GW
1641           default: "{enable-networking-l2gw}"
1642           description: "Enable networking L2gw"
1643       - string:
1644           name: NETWORKING_L2GW_DRIVER
1645           default: "{networking-l2gw-repo}"
1646           description: "URL to fetch networking-l2gw driver"
1647       - string:
1648           name: CREATE_INITIAL_NETWORKS
1649           default: "{create-initial-networks}"
1650           description: "Toggles the option of letting devstack create initial networks (True/False)"
1651       - string:
1652           name: LBAAS_SERVICE_PROVIDER
1653           default: "{lbaas-service-provider}"
1654           description: |
1655             The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf
1656             - only relevant when using neutron-lbaas
1657       - string:
1658           name: ODL_SFC_DRIVER
1659           default: "{odl-sfc-driver}"
1660           description: "The SFC driver to be used in local.conf - only relevant when using networking-sfc"
1661       - string:
1662           name: ODL_SNAT_MODE
1663           default: "{odl-snat-mode}"
1664           description: "The SNAT mode to be configured - options are conntrack/controller."
1665       - string:
1666           name: GROUP_ADD_MOD_ENABLED
1667           default: "{group-add-mod-enabled}"
1668           description: "The Group add mod enabled mode to be configured - options are true/false."
1669       - string:
1670           name: OVS_INSTALL
1671           default: "{ovs-install}"
1672           description: |
1673             Install a custom OVS. It can be an OVS version to build (like
1674             v2.9.2 or v2.6.1-nsh) or a yum repo url to pull from.
1675
1676     scm:
1677       - integration-gerrit-scm:
1678           basedir: "test"
1679           refspec: "$PATCHREFSPEC"
1680           branch: "master"
1681
1682     triggers:
1683       - timed: "{schedule}"
1684
1685     builders:
1686       - lf-infra-pre-build
1687       - integration-stack-4-type:
1688           openstack-cloud: "{openstack-cloud}"
1689           openstack-heat-template: "{openstack-heat-template}"
1690           openstack-heat-template-dir: "{openstack-heat-template-dir}"
1691       - integration-install-robotframework
1692       - inject:
1693           properties-file: "env.properties"
1694       - integration-get-slave-addresses
1695       - inject:
1696           properties-file: "slave_addresses.txt"
1697       - integration-detect-variables
1698       - integration-install-common-functions
1699       - integration-deploy-controller-run-test
1700       - integration-deploy-openstack-run-test
1701       - integration-cleanup-tmp
1702
1703     publishers:
1704       - email-notification:
1705           email-recipients: "{email-recipients}"
1706           email-prefix: "[{project}]"
1707       - integration-csit-collect-netvirt-logs
1708       - integration-csit-publish:
1709           robot_other_files:
1710             - tempest_results.html
1711           robot-pass-threshold: 100.0
1712           robot-unstable-threshold: 0.0
1713       - lf-stack-delete:
1714           openstack-cloud: "{openstack-cloud}"
1715       - lf-infra-publish
1716
1717 - job-template:
1718     # yamllint disable-line rule:line-length
1719     name: "{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}"
1720     id: inttest-csit-openstack
1721     <<: *inttest_csit_common
1722     # yamllint disable-line rule:key-duplicates
1723     <<: *inttest_csit_openstack
1724
1725 - job-template:
1726     # yamllint disable-line rule:line-length
1727     name: "{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}"
1728     id: inttest-csit-openstack-custom
1729     <<: *inttest_csit_common
1730     # yamllint disable-line rule:key-duplicates
1731     <<: *inttest_csit_openstack
1732
1733     parameters:
1734       - integration-csit-parameters:
1735           archive-artifacts: "{archive-artifacts}"
1736           branch: "{branch}"
1737           os-cloud: "{os-cloud}"
1738           # CSIT
1739           bundle-url: "{bundle-url}"
1740           repo-url: "{repo-url}"
1741           robot-options: "{robot-options}"
1742           # Controller
1743           controller-scope: ""
1744           controller-max-mem: "{controller-max-mem}"
1745           debug-map: "{debug-map}"
1746           install-features: "{install-features}"
1747           use-features-boot: "{use-features-boot}"
1748           elasticsearch-attribute: "{elasticsearch-attribute}"
1749       - integration-stack-4-type:
1750           vm_0_count: "{odl_system_count}"
1751           vm_0_flavor: "{odl_system_flavor}"
1752           vm_0_image: "{odl_system_image}"
1753           vm_1_count: "{openstack_system_count}"
1754           vm_1_flavor: "{openstack_system_flavor}"
1755           vm_1_image: "{openstack_system_image}"
1756           vm_2_count: "{openstack_system2_count}"
1757           vm_2_flavor: "{openstack_system2_flavor}"
1758           vm_2_image: "{openstack_system2_image}"
1759           vm_3_count: "{tools_system_count}"
1760           vm_3_flavor: "{tools_system_flavor}"
1761           vm_3_image: "{tools_system_image}"
1762       - integration-distribution-branch:
1763           branch: "{branch}"
1764       - integration-distribution-stream:
1765           stream: "{stream}"
1766       - integration-script-plan:
1767           script-plan: "{project}.txt"
1768       - integration-config-plan:
1769           config-plan: "{project}.txt"
1770       - integration-test-plan:
1771           test-plan: "{testplan}"
1772       - integration-test-suites:
1773           test-suites: "{test-suites}"
1774       - integration-patch-refspec:
1775           branch: "master"
1776       - integration-jdk-version:
1777           jdkversion: "{jre}"
1778       - distribution-karaf-version:
1779           karaf-version: "{karaf-version}"
1780       - string:
1781           name: OPENSTACK_BRANCH
1782           default: "{openstack-branch}"
1783           description: "Openstack version to use with devstack"
1784       - string:
1785           name: DEVSTACK_HASH
1786           default: "{devstack-hash}"
1787           description: "devstack hash to checkout"
1788       - string:
1789           name: ODL_ML2_DRIVER_REPO
1790           default: "{odl-ml2-driver-repo}"
1791           description: "URL to fetch networking-odl driver"
1792       - string:
1793           name: ODL_ML2_BRANCH
1794           default: "{odl-ml2-branch}"
1795           description: "Version of networking-odl to checkout from the repo"
1796       - string:
1797           name: ODL_ML2_DRIVER_VERSION
1798           default: "{odl-ml2-driver-version}"
1799           description: "Mode of networking-odl (v1 or v2)"
1800       - string:
1801           name: ODL_ML2_PORT_BINDING
1802           default: "{odl-ml2-port-binding}"
1803           description: |
1804             Method of networking-odl port-binding (pseudo-agentdb-binding or
1805             legacy-port-binding or network-topology)
1806       - string:
1807           name: ENABLE_GRE_TYPE_DRIVERS
1808           default: "{enable-gre-type-driver}"
1809           description: "Enable gre tunnel"
1810       - string:
1811           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1812           default: "{devstack-kubernetes-plugin-repo}"
1813           description: "URL to fetch kubernetes devstack plugin"
1814       - string:
1815           name: DEVSTACK_LBAAS_PLUGIN_REPO
1816           default: "{devstack-lbaas-plugin-repo}"
1817           description: "URL to fetch neutron-lbaas devstack plugin"
1818       - string:
1819           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1820           default: "{devstack-networking-sfc-plugin-repo}"
1821           description: "URL to fetch neutron-lbaas devstack plugin"
1822       - string:
1823           name: IPSEC_VXLAN_TUNNELS_ENABLED
1824           default: "{ipsec-vxlan-tunnels-enabled}"
1825           description: "Enable ipsec over vxlan support for all controllers and computes"
1826       - string:
1827           name: PUBLIC_BRIDGE
1828           default: "{public-bridge}"
1829           description: "Specifies public bridge for provider and external networking"
1830       - string:
1831           name: ENABLE_HAPROXY_FOR_NEUTRON
1832           default: "{enable-haproxy}"
1833           description: "Enable HAProxy for using neutron interface as HA"
1834       - string:
1835           name: ENABLE_OS_SERVICES
1836           default: "{enable-openstack-services}"
1837           description: "comma seperated list of services to enable"
1838       - string:
1839           name: ENABLE_OS_COMPUTE_SERVICES
1840           default: "{enable-openstack-compute-services}"
1841           description: "comma separated list of services to enable on compute nodes"
1842       - string:
1843           name: ENABLE_OS_NETWORK_SERVICES
1844           default: "{enable-openstack-network-services}"
1845           description: "comma seperated list of network services to enable"
1846       - string:
1847           name: ENABLE_OS_PLUGINS
1848           default: "{enable-openstack-plugins}"
1849           description: "comma seperated list of plugins to enable"
1850       - string:
1851           name: DISABLE_OS_SERVICES
1852           default: "{disable-openstack-services}"
1853           description: "comma seperated list of services to enable"
1854       - string:
1855           name: TENANT_NETWORK_TYPE
1856           default: "{tenant-network-type}"
1857           description: "Tenant Network Type supported by the implementation"
1858       - string:
1859           name: SECURITY_GROUP_MODE
1860           default: "{security-group-mode}"
1861           description: "Security Group Mode to be used in netvirt aclservice config"
1862       - string:
1863           name: ENABLE_ITM_DIRECT_TUNNELS
1864           default: "{enable-itm-direct-tunnels}"
1865           description: "Tunnel Configuration mode to be used in genius ifm config"
1866       - string:
1867           name: PUBLIC_PHYSICAL_NETWORK
1868           default: "{public-physical-network}"
1869           description: "provider physical network used for flat/vlan networks"
1870       - string:
1871           name: ENABLE_NETWORKING_L2GW
1872           default: "{enable-networking-l2gw}"
1873           description: "Enable networking L2gw"
1874       - string:
1875           name: NETWORKING_L2GW_DRIVER
1876           default: "{networking-l2gw-repo}"
1877           description: "URL to fetch networking-l2gw driver"
1878       - string:
1879           name: CREATE_INITIAL_NETWORKS
1880           default: "{create-initial-networks}"
1881           description: "Toggles the option of letting devstack create initial networks (True/False)"
1882       - string:
1883           name: LBAAS_SERVICE_PROVIDER
1884           default: "{lbaas-service-provider}"
1885           description: |
1886             The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf
1887             - only relevant when using neutron-lbaas
1888       - string:
1889           name: ODL_SFC_DRIVER
1890           default: "{odl-sfc-driver}"
1891           description: "The SFC driver to be used in local.conf - only relevant when using networking-sfc"
1892       - string:
1893           name: ODL_SNAT_MODE
1894           default: "{odl-snat-mode}"
1895           description: "The SNAT mode to be configured - options are conntrack/controller."
1896       - string:
1897           name: GROUP_ADD_MOD_ENABLED
1898           default: "{group-add-mod-enabled}"
1899           description: "The Group add mod enabled mode to be configured - options are true/false."
1900       - string:
1901           name: OVS_INSTALL
1902           default: "{ovs-install}"
1903           description: |
1904             Install a custom OVS. It can be an OVS version to build (like
1905             v2.9.2 or v2.6.1-nsh) or a yum repo url to pull from.
1906
1907 # Template: {project}-patch-test-{stream}
1908 # Goal: Build a patch and run project specific system test on a distribution containing the change
1909 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1910 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1911
1912 - job-template:
1913     name: "{prefix}{project}-patch-test-{feature}-{stream}"
1914     id: inttest-patch-test
1915     <<: *inttest_csit_common
1916
1917     build-timeout: 720
1918
1919     parameters:
1920       - opendaylight-infra-parameters:
1921           os-cloud: "{os-cloud}"
1922           project: "{project}"
1923           branch: "{branch}"
1924           refspec: "refs/heads/{branch}"
1925           artifacts: "{archive-artifacts}"
1926       - integration-distribution-branch:
1927           branch: "{branch}"
1928       - distribution-karaf-version:
1929           karaf-version: "{karaf-version}"
1930       - integration-distribution-git-url:
1931           git-url: "{git-url}"
1932       - string:
1933           name: feature
1934           default: "all"
1935           description: "Specific feature test for patch"
1936       - maven-exec:
1937           maven-version: mvn35
1938
1939     scm:
1940       - integration-gerrit-scm:
1941           basedir: "{project}"
1942           refspec: "$GERRIT_REFSPEC"
1943           branch: "{branch}"
1944       - integration-distribution-scm:
1945           branch: "{branch}"
1946
1947     triggers:
1948       - gerrit:
1949           server-name: "{gerrit-server-name}"
1950           trigger-on:
1951             - comment-added-contains-event:
1952                 comment-contains-value: "test-{project}-all"
1953             - comment-added-contains-event:
1954                 comment-contains-value: "test-{project}-{feature}"
1955           projects:
1956             - project-compare-type: "ANT"
1957               project-pattern: "{project}"
1958               branches:
1959                 - branch-compare-type: "ANT"
1960                   branch-pattern: "**/{branch}"
1961           skip-vote:
1962             successful: true
1963             failed: true
1964             unstable: true
1965             notbuilt: true
1966
1967     builders:
1968       - integration-rebase-gerrit-patch
1969       - wipe-org-opendaylight-repo
1970       - lf-update-java-alternatives:
1971           java-version: "{java-version}"
1972       - maven-target:
1973           maven-version: mvn35
1974           pom: "{project}/pom.xml"
1975           goals: |
1976             clean install dependency:tree
1977             -Pq
1978             -Dgitid.skip=false
1979             -Dmaven.gitcommitid.skip=false
1980             -DgenerateReports=false
1981             -Dstream={stream}
1982             {opendaylight-infra-mvn-opts}
1983           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1984           java-opts:
1985             - "-Xmx4096m -Dmaven.compile.fork=true"
1986           settings: integration-settings
1987           settings-type: cfp
1988           global-settings: global-settings
1989           global-settings-type: cfp
1990       - maven-target:
1991           maven-version: mvn35
1992           pom: distribution/pom.xml
1993           goals: |
1994             clean install dependency:tree
1995             -Pq
1996             -Dgitid.skip=false
1997             -Dmaven.gitcommitid.skip=false
1998             {opendaylight-infra-mvn-opts}
1999           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
2000           java-opts:
2001             - "-Xmx1024m -Dmaven.compile.fork=true"
2002           settings: integration-settings
2003           settings-type: cfp
2004           global-settings: global-settings
2005           global-settings-type: cfp
2006       - integration-upload-distribution:
2007           dist-pom: distribution/pom.xml
2008       - trigger-builds:
2009           - project: "{csit-list}"
2010             block: true
2011             predefined-parameters: |
2012               BUNDLE_URL=$BUNDLE_URL
2013               GERRIT_BRANCH=$GERRIT_BRANCH
2014               GERRIT_PROJECT=$GERRIT_PROJECT
2015               GERRIT_REFSPEC=$GERRIT_REFSPEC
2016               KARAF_VERSION=$KARAF_VERSION
2017
2018     publishers:
2019       - email-notification:
2020           email-recipients: "{email-recipients}"
2021           email-prefix: "[{project}]"