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