Adjust CSIT for UM projects
[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-1node-periodic-{functionality}-{install}-{stream}
7 # {project}-csit-3node-docker-{functionality}-{install}-{stream}
8 # {project}-csit-3node-{functionality}-{install}-{stream}
9 # {project}-csit-3node-periodic-{functionality}-{install}-{stream}
10 # {project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}
11 # {project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}
12 # {project}-csit-verify-1node-{functionality}
13 # {project}-csit-verify-3node-{functionality}
14 # {project}-patch-test-{feature}-{stream}
15 #
16 # Parameters:
17 # FIXME: Distinguish variables, macros and arguments, then update.
18 #
19 # opendaylight-infra-parameters: main project integration/test ($PROJECT)
20 # jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
21 # integration-distribution-branch: distribution branch ($DISTROBRANCH)
22 # integration-controller-bundle-url: distribution URL ($BUNDLE_URL)
23 # integration-controller-scope: only or all features ($CONTROLLERSCOPE)
24 # integration-controller-features: features under test ($CONTROLLER FEATURES)
25 # integration-test-options: robot options ($TESTOPTIONS)
26 # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
27 # integration-test-plan: fallback robot test plan ($TESTPLAN)
28 # integration-patch-refspec: test branch ($PATCHREFSPEC)
29 # integration-use-features-boot: bool to toggle use of featuresBoot ($USEFEATURESBOOT)
30
31
32 # New templates
33
34 - job-template:
35     name: '{prefix}{project}-csit-verify-1node-{functionality}'
36     id: inttest-csit-verify-1node
37     disabled: false
38
39     project-type: freestyle
40     node: centos7-robot-2c-8g
41
42     properties:
43       - opendaylight-infra-properties:
44           build-days-to-keep: '{build-days-to-keep}'
45
46     parameters:
47       - opendaylight-infra-parameters:
48           os-cloud: '{os-cloud}'
49           project: 'integration/test'
50           branch: '{branch}'
51           refspec: 'refs/heads/{branch}'
52           artifacts: '{archive-artifacts}'
53       - integration-distribution-branch:
54           branch: '{verify-branch}'
55       - integration-distribution-stream:
56           stream: '{verify-stream}'
57       - integration-bundle-url:
58           bundle-url: '{bundle-url}'
59       - integration-repo-url:
60           repo-url: '{repo-url}'
61       - integration-controller-scope:
62           controller-scope: 'only'
63       - integration-controller-features:
64           controller-features: '{install-features}'
65       - integration-test-options:
66           test-options: '{robot-options}'
67       - integration-stream-test-plan:
68           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
69       - integration-test-plan:
70           test-plan: '{project}-{functionality}.txt'
71       - integration-jdk-version:
72           jdkversion: '{verify-jdkversion}'
73       - distribution-karaf-version:
74           karaf-version: '{verify-karaf-version}'
75       - integration-use-features-boot:
76           use-features-boot: 'True'
77     scm:
78       - integration-gerrit-scm:
79           basedir: 'test'
80           refspec: '$GERRIT_REFSPEC'
81           branch: 'master'
82
83     wrappers:
84       - opendaylight-infra-wrappers:
85           build-timeout: '{build-timeout}'
86
87     triggers:
88       - integration-trigger-patch-submitted:
89           gerrit-server-name: '{gerrit-server-name}'
90           project: 'integration/test'
91           branch: 'master'
92           files: 'csit/suites/{project}/**'
93
94     builders:
95       - integration-infra-stack:
96           stack-template: '{stack-template}'
97           vm_0_count: '1'
98           vm_0_flavor: '{odl_system_flavor}'
99           vm_0_image: '{odl_system_image}'
100           vm_1_count: '{tools_system_count}'
101           vm_1_flavor: '{tools_system_flavor}'
102           vm_1_image: '{tools_system_image}'
103       - integration-install-robotframework
104       - inject:
105           properties-file: 'env.properties'
106       - integration-get-slave-addresses
107       - inject:
108           properties-file: 'slave_addresses.txt'
109       - integration-detect-variables
110       - integration-install-common-functions
111       - integration-deploy-controller-run-test
112       - integration-cleanup-tmp
113
114     publishers:
115       - integration-robot:
116           unstable-if: 0.0
117           pass-if: 100.0
118       - email-notification:
119           email-recipients: '{email-recipients}'
120           email-prefix: '[{project}]'
121       - integration-csit-archive-build
122       - integration-csit-run-postscript
123       - lf-infra-publish
124
125 - job-template:
126     name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
127     id: inttest-csit-1node
128     # Keep synchronized with *-csit4-*-carbon please.
129     disabled: false
130
131     project-type: freestyle
132     node: centos7-robot-2c-8g
133
134     properties:
135       - opendaylight-infra-properties:
136           build-days-to-keep: '{build-days-to-keep}'
137
138     parameters:
139       - opendaylight-infra-parameters:
140           os-cloud: '{os-cloud}'
141           project: 'integration/test'
142           branch: '{branch}'
143           refspec: 'refs/heads/{branch}'
144           artifacts: '{archive-artifacts}'
145       - integration-distribution-branch:
146           branch: '{branch}'
147       - integration-distribution-stream:
148           stream: '{stream}'
149       - integration-bundle-url:
150           bundle-url: '{bundle-url}'
151       - integration-repo-url:
152           repo-url: '{repo-url}'
153       - integration-controller-scope:
154           controller-scope: '{scope}'
155       - integration-controller-features:
156           controller-features: '{install-features}'
157       - integration-test-options:
158           test-options: '{robot-options}'
159       - integration-stream-test-plan:
160           stream-test-plan: '{project}-{functionality}-{stream}.txt'
161       - integration-test-plan:
162           test-plan: '{project}-{functionality}.txt'
163       - integration-test-suites:
164           test-suites: '{test-suites}'
165       - integration-patch-refspec:
166           branch: 'master'
167       - integration-jdk-version:
168           jdkversion: '{jre}'
169       - distribution-karaf-version:
170           karaf-version: '{karaf-version}'
171       - integration-use-features-boot:
172           use-features-boot: 'True'
173
174     scm:
175       - integration-gerrit-scm:
176           basedir: 'test'
177           refspec: '$PATCHREFSPEC'
178           branch: 'master'
179
180     triggers:
181       # we need this for not SR projects
182       - integration-csit-trigger:
183           jobs: '{trigger-jobs}'
184
185     wrappers:
186       - opendaylight-infra-wrappers:
187           build-timeout: '{build-timeout}'
188
189     builders:
190       - integration-infra-stack:
191           stack-template: '{stack-template}'
192           vm_0_count: '1'
193           vm_0_flavor: '{odl_system_flavor}'
194           vm_0_image: '{odl_system_image}'
195           vm_1_count: '{tools_system_count}'
196           vm_1_flavor: '{tools_system_flavor}'
197           vm_1_image: '{tools_system_image}'
198       - integration-install-robotframework
199       - inject:
200           properties-file: 'env.properties'
201       - integration-get-slave-addresses
202       - inject:
203           properties-file: 'slave_addresses.txt'
204       - integration-detect-variables
205       - integration-install-common-functions
206       - integration-deploy-controller-run-test
207       - integration-cleanup-tmp
208
209     publishers:
210       - integration-robot:
211           unstable-if: 0.0
212           pass-if: 100.0
213       - email-notification:
214           email-recipients: '{email-recipients}'
215           email-prefix: '[{project}]'
216       - plot:
217           - title: '{01-plot-title}'
218             yaxis: '{01-plot-yaxis}'
219             group: '{01-plot-group}'
220             num-builds: '5400'
221             keep-records: true
222             style: line
223             use-description: false
224             # yamllint disable-line rule:line-length
225             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
226             series:
227               - file: '{01-plot-data-file}'
228                 inclusion-flag: 'off'
229                 display-table: true
230                 format: csv
231           - title: '{02-plot-title}'
232             yaxis: '{02-plot-yaxis}'
233             group: '{02-plot-group}'
234             num-builds: '5400'
235             keep-records: true
236             style: line
237             use-description: false
238             # yamllint disable-line rule:line-length
239             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
240             series:
241               - file: '{02-plot-data-file}'
242                 inclusion-flag: 'off'
243                 display-table: true
244                 format: csv
245       - integration-csit-archive-build
246       - integration-csit-run-postscript
247       - lf-infra-publish
248
249 - job-template:
250     name: '{prefix}{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
251     id: inttest-csit-1node-periodic
252     disabled: false
253
254     project-type: freestyle
255     node: centos7-robot-2c-8g
256
257     properties:
258       - opendaylight-infra-properties:
259           build-days-to-keep: '{build-days-to-keep}'
260
261     parameters:
262       - opendaylight-infra-parameters:
263           os-cloud: '{os-cloud}'
264           project: 'integration/test'
265           branch: '{branch}'
266           refspec: 'refs/heads/{branch}'
267           artifacts: '{archive-artifacts}'
268       - integration-distribution-branch:
269           branch: '{branch}'
270       - integration-distribution-stream:
271           stream: '{stream}'
272       - integration-bundle-url:
273           bundle-url: '{bundle-url}'
274       - integration-repo-url:
275           repo-url: '{repo-url}'
276       - integration-controller-scope:
277           controller-scope: '{scope}'
278       - integration-controller-features:
279           controller-features: '{install-features}'
280       - integration-test-options:
281           test-options: '{robot-options}'
282       - integration-stream-test-plan:
283           stream-test-plan: '{project}-{functionality}-{stream}.txt'
284       - integration-test-plan:
285           test-plan: '{project}-{functionality}.txt'
286       - integration-test-suites:
287           test-suites: '{test-suites}'
288       - integration-patch-refspec:
289           branch: 'master'
290       - integration-jdk-version:
291           jdkversion: '{jre}'
292       - distribution-karaf-version:
293           karaf-version: '{karaf-version}'
294       - integration-use-features-boot:
295           use-features-boot: 'True'
296
297     scm:
298       - integration-gerrit-scm:
299           basedir: 'test'
300           refspec: '$PATCHREFSPEC'
301           branch: 'master'
302
303     wrappers:
304       - opendaylight-infra-wrappers:
305           build-timeout: '{build-timeout}'
306
307     builders:
308       - integration-infra-stack:
309           stack-template: '{stack-template}'
310           vm_0_count: '1'
311           vm_0_flavor: '{odl_system_flavor}'
312           vm_0_image: '{odl_system_image}'
313           vm_1_count: '{tools_system_count}'
314           vm_1_flavor: '{tools_system_flavor}'
315           vm_1_image: '{tools_system_image}'
316       - integration-install-robotframework
317       - inject:
318           properties-file: 'env.properties'
319       - integration-get-slave-addresses
320       - inject:
321           properties-file: 'slave_addresses.txt'
322       - integration-detect-variables
323       - integration-install-common-functions
324       - integration-deploy-controller-run-test
325       - integration-cleanup-tmp
326
327     publishers:
328       - integration-robot:
329           unstable-if: 0.0
330           pass-if: 100.0
331       - email-notification:
332           email-recipients: '{email-recipients}'
333           email-prefix: '[{project}]'
334       - plot:
335           - title: '{01-plot-title}'
336             yaxis: '{01-plot-yaxis}'
337             group: '{01-plot-group}'
338             num-builds: '180'
339             keep-records: true
340             style: line
341             use-description: false
342             # yamllint disable-line rule:line-length
343             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
344             series:
345               - file: '{01-plot-data-file}'
346                 inclusion-flag: 'off'
347                 display-table: true
348                 format: csv
349           - title: '{02-plot-title}'
350             yaxis: '{02-plot-yaxis}'
351             group: '{02-plot-group}'
352             num-builds: '180'
353             keep-records: true
354             style: line
355             use-description: false
356             # yamllint disable-line rule:line-length
357             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
358             series:
359               - file: '{02-plot-data-file}'
360                 inclusion-flag: 'off'
361                 display-table: true
362                 format: csv
363           - title: '{03-plot-title}'
364             yaxis: '{03-plot-yaxis}'
365             group: '{03-plot-group}'
366             num-builds: '180'
367             keep-records: true
368             style: line
369             use-description: false
370             # yamllint disable-line rule:line-length
371             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
372             series:
373               - file: '{03-plot-data-file}'
374                 inclusion-flag: '{03-inclusion-flag}'
375                 exclude: '{03-exclude-value}'
376                 format: csv
377           - title: '{04-plot-title}'
378             yaxis: '{04-plot-yaxis}'
379             group: '{04-plot-group}'
380             num-builds: '180'
381             keep-records: true
382             style: line
383             use-description: false
384             # yamllint disable-line rule:line-length
385             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
386             series:
387               - file: '{04-plot-data-file}'
388                 inclusion-flag: '{04-inclusion-flag}'
389                 exclude: '{04-exclude-value}'
390                 format: csv
391           - title: '{05-plot-title}'
392             yaxis: '{05-plot-yaxis}'
393             group: '{05-plot-group}'
394             num-builds: '180'
395             keep-records: true
396             style: line
397             use-description: false
398             # yamllint disable-line rule:line-length
399             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
400             series:
401               - file: '{05-plot-data-file}'
402                 inclusion-flag: '{05-inclusion-flag}'
403                 exclude: '{05-exclude-value}'
404                 format: csv
405           - title: '{06-plot-title}'
406             yaxis: '{06-plot-yaxis}'
407             group: '{06-plot-group}'
408             num-builds: '180'
409             keep-records: true
410             style: line
411             use-description: false
412             # yamllint disable-line rule:line-length
413             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
414             series:
415               - file: '{06-plot-data-file}'
416                 inclusion-flag: '{06-inclusion-flag}'
417                 exclude: '{06-exclude-value}'
418                 format: csv
419           - title: '{07-plot-title}'
420             yaxis: '{07-plot-yaxis}'
421             group: '{07-plot-group}'
422             num-builds: '180'
423             keep-records: true
424             style: line
425             use-description: false
426             # yamllint disable-line rule:line-length
427             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
428             series:
429               - file: '{07-plot-data-file}'
430                 inclusion-flag: '{07-inclusion-flag}'
431                 exclude: '{07-exclude-value}'
432                 format: csv
433           - title: '{08-plot-title}'
434             yaxis: '{08-plot-yaxis}'
435             group: '{08-plot-group}'
436             num-builds: '180'
437             keep-records: true
438             style: line
439             use-description: false
440             # yamllint disable-line rule:line-length
441             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
442             series:
443               - file: '{08-plot-data-file}'
444                 inclusion-flag: '{08-inclusion-flag}'
445                 exclude: '{08-exclude-value}'
446                 format: csv
447           - title: '{09-plot-title}'
448             yaxis: '{09-plot-yaxis}'
449             group: '{09-plot-group}'
450             num-builds: '180'
451             keep-records: true
452             style: line
453             use-description: false
454             # yamllint disable-line rule:line-length
455             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
456             series:
457               - file: '{09-plot-data-file}'
458                 inclusion-flag: '{09-inclusion-flag}'
459                 exclude: '{09-exclude-value}'
460                 format: csv
461           - title: '{10-plot-title}'
462             yaxis: '{10-plot-yaxis}'
463             group: '{10-plot-group}'
464             num-builds: '180'
465             keep-records: true
466             style: line
467             use-description: false
468             # yamllint disable-line rule:line-length
469             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
470             series:
471               - file: '{10-plot-data-file}'
472                 inclusion-flag: '{10-inclusion-flag}'
473                 exclude: '{10-exclude-value}'
474                 format: csv
475       - integration-csit-archive-build
476       - integration-csit-run-postscript
477       - lf-infra-publish
478
479 - job-template:
480     name: '{prefix}{project}-csit-verify-3node-{functionality}'
481     id: inttest-csit-verify-3node
482     disabled: false
483
484     project-type: freestyle
485     node: centos7-robot-2c-8g
486
487     properties:
488       - opendaylight-infra-properties:
489           build-days-to-keep: '{build-days-to-keep}'
490
491     parameters:
492       - opendaylight-infra-parameters:
493           os-cloud: '{os-cloud}'
494           project: 'integration/test'
495           branch: '{branch}'
496           refspec: 'refs/heads/{branch}'
497           artifacts: '{archive-artifacts}'
498       - integration-distribution-branch:
499           branch: '{verify-branch}'
500       - integration-distribution-stream:
501           stream: '{verify-stream}'
502       - integration-bundle-url:
503           bundle-url: '{bundle-url}'
504       - integration-repo-url:
505           repo-url: '{repo-url}'
506       - integration-controller-scope:
507           controller-scope: 'only'
508       - integration-controller-features:
509           controller-features: 'odl-jolokia,{install-features}'
510       - integration-test-options:
511           test-options: '{robot-options}'
512       - integration-stream-test-plan:
513           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
514       - integration-test-plan:
515           test-plan: '{project}-{functionality}.txt'
516       - integration-test-suites:
517           test-suites: '{test-suites}'
518       - integration-jdk-version:
519           jdkversion: '{verify-jdkversion}'
520       - distribution-karaf-version:
521           karaf-version: '{verify-karaf-version}'
522       - integration-use-features-boot:
523           use-features-boot: 'True'
524
525     scm:
526       - integration-gerrit-scm:
527           basedir: 'test'
528           refspec: '$GERRIT_REFSPEC'
529           branch: 'master'
530
531     wrappers:
532       - opendaylight-infra-wrappers:
533           build-timeout: '{build-timeout}'
534
535     triggers:
536       - integration-trigger-patch-submitted:
537           gerrit-server-name: '{gerrit-server-name}'
538           project: 'integration/test'
539           branch: 'master'
540           files: 'csit/suites/{project}/**'
541
542     builders:
543       - integration-infra-stack:
544           stack-template: '{stack-template}'
545           vm_0_count: '3'
546           vm_0_flavor: '{odl_system_flavor}'
547           vm_0_image: '{odl_system_image}'
548           vm_1_count: '{tools_system_count}'
549           vm_1_flavor: '{tools_system_flavor}'
550           vm_1_image: '{tools_system_image}'
551       - integration-install-robotframework
552       - inject:
553           properties-file: 'env.properties'
554       - integration-get-slave-addresses
555       - inject:
556           properties-file: 'slave_addresses.txt'
557       - integration-detect-variables
558       - integration-install-common-functions
559       - integration-configure-clustering
560       - integration-start-cluster-run-test
561       - integration-cleanup-tmp
562
563     publishers:
564       - integration-robot:
565           unstable-if: 0.0
566           pass-if: 100.0
567       - email-notification:
568           email-recipients: '{email-recipients}'
569           email-prefix: '[{project}]'
570       - integration-csit-archive-build
571       - integration-csit-run-postscript
572       - lf-infra-publish
573
574 - job-template:
575     name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
576     id: inttest-csit-3node
577     disabled: false
578
579     project-type: freestyle
580     node: centos7-robot-2c-8g
581
582     properties:
583       - opendaylight-infra-properties:
584           build-days-to-keep: '{build-days-to-keep}'
585
586     parameters:
587       - opendaylight-infra-parameters:
588           os-cloud: '{os-cloud}'
589           project: 'integration/test'
590           branch: '{branch}'
591           refspec: 'refs/heads/{branch}'
592           artifacts: '{archive-artifacts}'
593       - integration-distribution-branch:
594           branch: '{branch}'
595       - integration-distribution-stream:
596           stream: '{stream}'
597       - integration-bundle-url:
598           bundle-url: '{bundle-url}'
599       - integration-repo-url:
600           repo-url: '{repo-url}'
601       - integration-controller-scope:
602           controller-scope: '{scope}'
603       - integration-controller-features:
604           controller-features: 'odl-jolokia,{install-features}'
605       - integration-test-options:
606           test-options: '{robot-options}'
607       - integration-stream-test-plan:
608           stream-test-plan: '{project}-{functionality}-{stream}.txt'
609       - integration-test-plan:
610           test-plan: '{project}-{functionality}.txt'
611       - integration-test-suites:
612           test-suites: '{test-suites}'
613       - integration-patch-refspec:
614           branch: 'master'
615       - integration-jdk-version:
616           jdkversion: '{jre}'
617       - distribution-karaf-version:
618           karaf-version: '{karaf-version}'
619       - integration-use-features-boot:
620           use-features-boot: 'True'
621
622     scm:
623       - integration-gerrit-scm:
624           basedir: 'test'
625           refspec: '$PATCHREFSPEC'
626           branch: 'master'
627
628     wrappers:
629       - opendaylight-infra-wrappers:
630           build-timeout: '{build-timeout}'
631
632     builders:
633       - integration-infra-stack:
634           stack-template: '{stack-template}'
635           vm_0_count: '3'
636           vm_0_flavor: '{odl_system_flavor}'
637           vm_0_image: '{odl_system_image}'
638           vm_1_count: '{tools_system_count}'
639           vm_1_flavor: '{tools_system_flavor}'
640           vm_1_image: '{tools_system_image}'
641       - integration-install-robotframework
642       - inject:
643           properties-file: 'env.properties'
644       - integration-get-slave-addresses
645       - inject:
646           properties-file: 'slave_addresses.txt'
647       - integration-detect-variables
648       - integration-install-common-functions
649       - integration-configure-clustering
650       - integration-start-cluster-run-test
651       - integration-cleanup-tmp
652
653     publishers:
654       - integration-robot:
655           unstable-if: 0.0
656           pass-if: 100.0
657       - email-notification:
658           email-recipients: '{email-recipients}'
659           email-prefix: '[{project}]'
660       - plot:
661           - title: '{01-plot-title}'
662             yaxis: '{01-plot-yaxis}'
663             group: '{01-plot-group}'
664             num-builds: '5400'
665             keep-records: true
666             style: line
667             use-description: false
668             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
669             series:
670               - file: '{01-plot-data-file}'
671                 inclusion-flag: 'off'
672                 display-table: true
673                 format: csv
674           - title: '{02-plot-title}'
675             yaxis: '{02-plot-yaxis}'
676             group: '{02-plot-group}'
677             num-builds: '5400'
678             keep-records: true
679             style: line
680             use-description: false
681             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
682             series:
683               - file: '{02-plot-data-file}'
684                 inclusion-flag: 'off'
685                 display-table: true
686                 format: csv
687       - integration-csit-archive-build
688       - integration-csit-run-postscript
689       - lf-infra-publish
690
691 - job-template:
692     name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}'
693     id: inttest-csit-3node-docker
694     disabled: false
695
696     project-type: freestyle
697     node: centos7-robot-2c-8g
698
699     properties:
700       - opendaylight-infra-properties:
701           build-days-to-keep: '{build-days-to-keep}'
702
703     parameters:
704       - opendaylight-infra-parameters:
705           os-cloud: '{os-cloud}'
706           project: 'integration/test'
707           branch: '{branch}'
708           refspec: 'refs/heads/{branch}'
709           artifacts: '{archive-artifacts}'
710       - integration-distribution-branch:
711           branch: '{branch}'
712       - integration-distribution-stream:
713           stream: '{stream}'
714       - integration-bundle-url:
715           bundle-url: '{bundle-url}'
716       - integration-repo-url:
717           repo-url: '{repo-url}'
718       - integration-controller-scope:
719           controller-scope: '{scope}'
720       - integration-controller-features:
721           controller-features: 'odl-jolokia,{install-features}'
722       - integration-test-options:
723           test-options: '{robot-options}'
724       - integration-stream-test-plan:
725           stream-test-plan: '{project}-{functionality}-{stream}.txt'
726       - integration-test-plan:
727           test-plan: '{project}-{functionality}.txt'
728       - integration-patch-refspec:
729           branch: 'master'
730       - integration-jdk-version:
731           jdkversion: '{jre}'
732       - distribution-karaf-version:
733           karaf-version: '{karaf-version}'
734       - integration-use-features-boot:
735           use-features-boot: 'True'
736
737     scm:
738       - integration-gerrit-scm:
739           basedir: 'test'
740           refspec: '$PATCHREFSPEC'
741           branch: 'master'
742
743     wrappers:
744       - opendaylight-infra-wrappers:
745           build-timeout: '{build-timeout}'
746
747     builders:
748       - integration-infra-stack:
749           stack-template: '{stack-template}'
750           vm_0_count: '3'
751           vm_0_flavor: '{odl_system_flavor}'
752           vm_0_image: '{odl_system_image}'
753           vm_1_count: '{docker_system_count}'
754           vm_1_flavor: '{docker_system_flavor}'
755           vm_1_image: '{docker_system_image}'
756       - integration-install-robotframework
757       - inject:
758           properties-file: 'env.properties'
759       - integration-get-slave-addresses
760       - inject:
761           properties-file: 'slave_addresses.txt'
762       - integration-detect-variables
763       - integration-install-common-functions
764       - integration-configure-clustering
765       - integration-start-cluster-run-test
766       - integration-cleanup-tmp
767
768     publishers:
769       - integration-robot:
770           unstable-if: 0.0
771           pass-if: 100.0
772       - email-notification:
773           email-recipients: '{email-recipients}'
774           email-prefix: '[{project}]'
775       - plot:
776           - title: '{01-plot-title}'
777             yaxis: '{01-plot-yaxis}'
778             group: '{01-plot-group}'
779             num-builds: '5400'
780             keep-records: true
781             style: line
782             use-description: false
783             # yamllint disable-line rule:line-length
784             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
785             series:
786               - file: '{01-plot-data-file}'
787                 inclusion-flag: 'off'
788                 display-table: true
789                 format: csv
790           - title: '{02-plot-title}'
791             yaxis: '{02-plot-yaxis}'
792             group: '{02-plot-group}'
793             num-builds: '5400'
794             keep-records: true
795             style: line
796             use-description: false
797             # yamllint disable-line rule:line-length
798             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
799             series:
800               - file: '{02-plot-data-file}'
801                 inclusion-flag: 'off'
802                 display-table: true
803                 format: csv
804       - integration-csit-archive-build
805       - integration-csit-run-postscript
806       - lf-infra-publish
807
808 - job-template:
809     name: '{prefix}{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
810     id: inttest-csit-3node-periodic
811     disabled: false
812
813     project-type: freestyle
814     node: centos7-robot-2c-8g
815
816     properties:
817       - opendaylight-infra-properties:
818           build-days-to-keep: '{build-days-to-keep}'
819
820     parameters:
821       - opendaylight-infra-parameters:
822           os-cloud: '{os-cloud}'
823           project: 'integration/test'
824           branch: '{branch}'
825           refspec: 'refs/heads/{branch}'
826           artifacts: '{archive-artifacts}'
827       - integration-distribution-branch:
828           branch: '{branch}'
829       - integration-distribution-stream:
830           stream: '{stream}'
831       - integration-bundle-url:
832           bundle-url: '{bundle-url}'
833       - integration-repo-url:
834           repo-url: '{repo-url}'
835       - integration-controller-scope:
836           controller-scope: '{scope}'
837       - integration-controller-features:
838           controller-features: 'odl-jolokia,{install-features}'
839       - integration-test-options:
840           test-options: '{robot-options}'
841       - integration-stream-test-plan:
842           stream-test-plan: '{project}-{functionality}-{stream}.txt'
843       - integration-test-plan:
844           test-plan: '{project}-{functionality}.txt'
845       - integration-test-suites:
846           test-suites: '{test-suites}'
847       - integration-patch-refspec:
848           branch: 'master'
849       - integration-jdk-version:
850           jdkversion: '{jre}'
851       - distribution-karaf-version:
852           karaf-version: '{karaf-version}'
853       - integration-use-features-boot:
854           use-features-boot: 'True'
855
856     scm:
857       - integration-gerrit-scm:
858           basedir: 'test'
859           refspec: '$PATCHREFSPEC'
860           branch: 'master'
861
862     wrappers:
863       - opendaylight-infra-wrappers:
864           build-timeout: '{build-timeout}'
865
866     builders:
867       - integration-infra-stack:
868           stack-template: '{stack-template}'
869           vm_0_count: '3'
870           vm_0_flavor: '{odl_system_flavor}'
871           vm_0_image: '{odl_system_image}'
872           vm_1_count: '{tools_system_count}'
873           vm_1_flavor: '{tools_system_flavor}'
874           vm_1_image: '{tools_system_image}'
875       - integration-install-robotframework
876       - inject:
877           properties-file: 'env.properties'
878       - integration-get-slave-addresses
879       - inject:
880           properties-file: 'slave_addresses.txt'
881       - integration-detect-variables
882       - integration-install-common-functions
883       - integration-configure-clustering
884       - integration-start-cluster-run-test
885       - integration-cleanup-tmp
886
887     publishers:
888       - integration-robot:
889           unstable-if: 0.0
890           pass-if: 100.0
891       - email-notification:
892           email-recipients: '{email-recipients}'
893           email-prefix: '[{project}]'
894       - plot:
895           - title: '{01-plot-title}'
896             yaxis: '{01-plot-yaxis}'
897             group: '{01-plot-group}'
898             num-builds: '180'
899             keep-records: true
900             style: line
901             use-description: false
902             # yamllint disable-line rule:line-length
903             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
904             series:
905               - file: '{01-plot-data-file}'
906                 inclusion-flag: 'off'
907                 display-table: true
908                 format: csv
909           - title: '{02-plot-title}'
910             yaxis: '{02-plot-yaxis}'
911             group: '{02-plot-group}'
912             num-builds: '180'
913             keep-records: true
914             style: line
915             use-description: false
916             # yamllint disable-line rule:line-length
917             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
918             series:
919               - file: '{02-plot-data-file}'
920                 inclusion-flag: 'off'
921                 display-table: true
922                 format: csv
923           - title: '{03-plot-title}'
924             yaxis: '{03-plot-yaxis}'
925             group: '{03-plot-group}'
926             num-builds: '180'
927             keep-records: true
928             style: line
929             use-description: false
930             # yamllint disable-line rule:line-length
931             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
932             series:
933               - file: '{03-plot-data-file}'
934                 inclusion-flag: '{03-inclusion-flag}'
935                 exclude: '{03-exclude-value}'
936                 format: csv
937           - title: '{04-plot-title}'
938             yaxis: '{04-plot-yaxis}'
939             group: '{04-plot-group}'
940             num-builds: '180'
941             keep-records: true
942             style: line
943             use-description: false
944             # yamllint disable-line rule:line-length
945             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
946             series:
947               - file: '{04-plot-data-file}'
948                 inclusion-flag: '{04-inclusion-flag}'
949                 exclude: '{04-exclude-value}'
950                 format: csv
951           - title: '{05-plot-title}'
952             yaxis: '{05-plot-yaxis}'
953             group: '{05-plot-group}'
954             num-builds: '180'
955             keep-records: true
956             style: line
957             use-description: false
958             # yamllint disable-line rule:line-length
959             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
960             series:
961               - file: '{05-plot-data-file}'
962                 inclusion-flag: '{05-inclusion-flag}'
963                 exclude: '{05-exclude-value}'
964                 format: csv
965           - title: '{06-plot-title}'
966             yaxis: '{06-plot-yaxis}'
967             group: '{06-plot-group}'
968             num-builds: '180'
969             keep-records: true
970             style: line
971             use-description: false
972             # yamllint disable-line rule:line-length
973             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
974             series:
975               - file: '{06-plot-data-file}'
976                 inclusion-flag: '{06-inclusion-flag}'
977                 exclude: '{06-exclude-value}'
978                 format: csv
979           - title: '{07-plot-title}'
980             yaxis: '{07-plot-yaxis}'
981             group: '{07-plot-group}'
982             num-builds: '180'
983             keep-records: true
984             style: line
985             use-description: false
986             # yamllint disable-line rule:line-length
987             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
988             series:
989               - file: '{07-plot-data-file}'
990                 inclusion-flag: '{07-inclusion-flag}'
991                 exclude: '{07-exclude-value}'
992                 format: csv
993           - title: '{08-plot-title}'
994             yaxis: '{08-plot-yaxis}'
995             group: '{08-plot-group}'
996             num-builds: '180'
997             keep-records: true
998             style: line
999             use-description: false
1000             # yamllint disable-line rule:line-length
1001             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
1002             series:
1003               - file: '{08-plot-data-file}'
1004                 inclusion-flag: '{08-inclusion-flag}'
1005                 exclude: '{08-exclude-value}'
1006                 format: csv
1007           - title: '{09-plot-title}'
1008             yaxis: '{09-plot-yaxis}'
1009             group: '{09-plot-group}'
1010             num-builds: '180'
1011             keep-records: true
1012             style: line
1013             use-description: false
1014             # yamllint disable-line rule:line-length
1015             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
1016             series:
1017               - file: '{09-plot-data-file}'
1018                 inclusion-flag: '{09-inclusion-flag}'
1019                 exclude: '{09-exclude-value}'
1020                 format: csv
1021           - title: '{10-plot-title}'
1022             yaxis: '{10-plot-yaxis}'
1023             group: '{10-plot-group}'
1024             num-builds: '180'
1025             keep-records: true
1026             style: line
1027             use-description: false
1028             # yamllint disable-line rule:line-length
1029             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
1030             series:
1031               - file: '{10-plot-data-file}'
1032                 inclusion-flag: '{10-inclusion-flag}'
1033                 exclude: '{10-exclude-value}'
1034                 format: csv
1035       - integration-csit-archive-build
1036       - integration-csit-run-postscript
1037       - lf-infra-publish
1038
1039 - job-template:
1040     name: '{prefix}{project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}'
1041     id: inttest-csit-hwvtep-openstack
1042     disabled: false
1043
1044     project-type: freestyle
1045     node: centos7-robot-2c-8g
1046     concurrent: true
1047
1048     properties:
1049       - opendaylight-infra-properties:
1050           build-days-to-keep: '{build-days-to-keep}'
1051
1052     parameters:
1053       - opendaylight-infra-parameters:
1054           os-cloud: '{os-cloud}'
1055           project: 'integration/test'
1056           branch: '{branch}'
1057           refspec: 'refs/heads/{branch}'
1058           artifacts: '{archive-artifacts}'
1059       - integration-distribution-branch:
1060           branch: '{branch}'
1061       - integration-distribution-stream:
1062           stream: '{stream}'
1063       - integration-bundle-url:
1064           bundle-url: '{bundle-url}'
1065       - integration-repo-url:
1066           repo-url: '{repo-url}'
1067       - integration-controller-features:
1068           controller-features: '{install-features}'
1069       - integration-controller-debug-map:
1070           controller-debug-map: '{debug-map}'
1071       - integration-test-options:
1072           test-options: '{robot-options}'
1073       - integration-test-plan:
1074           test-plan: '{testplan}'
1075       - integration-test-suites:
1076           test-suites: '{test-suites}'
1077       - integration-patch-refspec:
1078           branch: 'master'
1079       - integration-jdk-version:
1080           jdkversion: '{jre}'
1081       - distribution-karaf-version:
1082           karaf-version: '{karaf-version}'
1083       - integration-use-features-boot:
1084           use-features-boot: '{use-features-boot}'
1085       - string:
1086           name: OPENSTACK_BRANCH
1087           default: '{openstack-branch}'
1088           description: 'Openstack version to use with devstack'
1089       - string:
1090           name: DEVSTACK_HASH
1091           default: '{devstack-hash}'
1092           description: 'devstack hash to checkout'
1093       - string:
1094           name: ODL_ML2_DRIVER_REPO
1095           default: '{odl-ml2-driver-repo}'
1096           description: 'URL to fetch networking-odl driver'
1097       - string:
1098           name: ODL_ML2_BRANCH
1099           default: '{odl-ml2-branch}'
1100           description: 'Version of networking-odl to checkout from the repo'
1101       - string:
1102           name: ODL_ML2_DRIVER_VERSION
1103           default: '{odl-ml2-driver-version}'
1104           description: 'Mode of networking-odl (v1 or v2)'
1105       - string:
1106           name: ODL_ML2_PORT_BINDING
1107           default: '{odl-ml2-port-binding}'
1108           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1109           network-topology)'
1110       - string:
1111           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1112           default: '{devstack-kubernetes-plugin-repo}'
1113           description: 'URL to fetch kubernetes devstack plugin'
1114       - string:
1115           name: DEVSTACK_LBAAS_PLUGIN_REPO
1116           default: '{devstack-lbaas-plugin-repo}'
1117           description: 'URL to fetch neutron-lbaas devstack plugin'
1118       - string:
1119           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1120           default: '{devstack-networking-sfc-plugin-repo}'
1121           description: 'URL to fetch neutron-lbaas devstack plugin'
1122       - string:
1123           name: ODL_ENABLE_L3_FWD
1124           default: '{odl-enable-l3}'
1125           description: 'Enable L3 FWD in ODL for createing br-ex'
1126       - string:
1127           name: IPSEC_VXLAN_TUNNELS_ENABLED
1128           default: '{ipsec-vxlan-tunnels-enabled}'
1129           description: 'Enable ipsec over vxlan support for all controllers and computes'
1130       - string:
1131           name: PUBLIC_BRIDGE
1132           default: '{public-bridge}'
1133           description: 'Specifies public bridge for provider and external networking'
1134       - string:
1135           name: ENABLE_HAPROXY_FOR_NEUTRON
1136           default: '{enable-haproxy}'
1137           description: 'Enable HAProxy for using neutron interface as HA'
1138       - string:
1139           name: ENABLE_OS_SERVICES
1140           default: '{enable-openstack-services}'
1141           description: 'comma separated list of services to enable on controller nodes'
1142       - string:
1143           name: ENABLE_OS_COMPUTE_SERVICES
1144           default: '{enable-openstack-compute-services}'
1145           description: 'comma separated list of services to enable on compute nodes'
1146       - string:
1147           name: ENABLE_OS_NETWORK_SERVICES
1148           default: '{enable-openstack-network-services}'
1149           description: 'comma seperated list of network services to enable'
1150       - string:
1151           name: ENABLE_OS_PLUGINS
1152           default: '{enable-openstack-plugins}'
1153           description: 'comma seperated list of plugins to enable'
1154       - string:
1155           name: DISABLE_OS_SERVICES
1156           default: '{disable-openstack-services}'
1157           description: 'comma seperated list of services to enable'
1158       - string:
1159           name: TENANT_NETWORK_TYPE
1160           default: '{tenant-network-type}'
1161           description: 'Tenant Network Type supported by the implementation'
1162       - string:
1163           name: SECURITY_GROUP_MODE
1164           default: '{security-group-mode}'
1165           description: 'Security Group Mode to be used in netvirt aclservice config'
1166       - string:
1167           name: PUBLIC_PHYSICAL_NETWORK
1168           default: '{public-physical-network}'
1169           description: 'provider physical network used for flat/vlan networks'
1170       - string:
1171           name: ENABLE_NETWORKING_L2GW
1172           default: '{enable-networking-l2gw}'
1173           description: 'Enable networking L2gw'
1174       - string:
1175           name: NETWORKING_L2GW_DRIVER
1176           default: '{networking-l2gw-repo}'
1177           description: 'URL to fetch networking-l2gw driver'
1178       - string:
1179           name: CREATE_INITIAL_NETWORKS
1180           default: '{create-initial-networks}'
1181           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1182       - string:
1183           name: LBAAS_SERVICE_PROVIDER
1184           default: '{lbaas-service-provider}'
1185           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1186           neutron-lbaas'
1187       - string:
1188           name: ODL_SFC_DRIVER
1189           default: '{odl-sfc-driver}'
1190           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1191       - string:
1192           name: ODL_SNAT_MODE
1193           default: '{odl-snat-mode}'
1194           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1195     scm:
1196       - integration-gerrit-scm:
1197           basedir: 'test'
1198           refspec: '$PATCHREFSPEC'
1199           branch: 'master'
1200
1201     wrappers:
1202       - opendaylight-infra-wrappers:
1203           build-timeout: '{build-timeout}'
1204
1205     triggers:
1206       - timed: '{schedule}'
1207
1208     builders:
1209       - integration-infra-stack-4-type:
1210           stack-template: '{stack-template}'
1211           vm_0_count: '{odl_system_count}'
1212           vm_0_flavor: '{odl_system_flavor}'
1213           vm_0_image: '{odl_system_image}'
1214           vm_1_count: '{openstack_system_count}'
1215           vm_1_flavor: '{openstack_system_flavor}'
1216           vm_1_image: '{openstack_system_image}'
1217           vm_2_count: '{openstack_system2_count}'
1218           vm_2_flavor: '{openstack_system2_flavor}'
1219           vm_2_image: '{openstack_system2_image}'
1220           vm_3_count: '{tools_system_count}'
1221           vm_3_flavor: '{tools_system_flavor}'
1222           vm_3_image: '{tools_system_image}'
1223       - integration-install-robotframework
1224       - inject:
1225           properties-file: 'env.properties'
1226       - integration-get-slave-addresses
1227       - inject:
1228           properties-file: 'slave_addresses.txt'
1229       - integration-detect-variables
1230       - integration-install-common-functions
1231       - integration-deploy-controller-run-test
1232       - integration-deploy-openstack-run-test
1233       - integration-cleanup-tmp
1234
1235     publishers:
1236       - integration-robot-tempest:
1237           unstable-if: 0.0
1238           pass-if: 100.0
1239       - email-notification:
1240           email-recipients: '{email-recipients}'
1241           email-prefix: '[{project}]'
1242       - integration-csit-archive-build
1243       - integration-csit-run-postscript
1244       - lf-infra-publish
1245
1246 - job-template:
1247     name: '{prefix}{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}'
1248     id: inttest-csit-openstack
1249     disabled: false
1250
1251     project-type: freestyle
1252     node: centos7-robot-2c-8g
1253     concurrent: true
1254
1255     properties:
1256       - opendaylight-infra-properties:
1257           build-days-to-keep: '{build-days-to-keep}'
1258
1259     parameters:
1260       - opendaylight-infra-parameters:
1261           os-cloud: '{os-cloud}'
1262           project: 'integration/test'
1263           branch: '{branch}'
1264           refspec: 'refs/heads/{branch}'
1265           artifacts: '{archive-artifacts}'
1266       - integration-distribution-branch:
1267           branch: '{branch}'
1268       - integration-distribution-stream:
1269           stream: '{stream}'
1270       - integration-bundle-url:
1271           bundle-url: '{bundle-url}'
1272       - integration-repo-url:
1273           repo-url: '{repo-url}'
1274       - integration-controller-features:
1275           controller-features: '{install-features}'
1276       - integration-controller-debug-map:
1277           controller-debug-map: '{debug-map}'
1278       - integration-test-options:
1279           test-options: '{robot-options}'
1280       - integration-test-plan:
1281           test-plan: '{testplan}'
1282       - integration-test-suites:
1283           test-suites: '{test-suites}'
1284       - integration-patch-refspec:
1285           branch: 'master'
1286       - integration-jdk-version:
1287           jdkversion: '{jre}'
1288       - distribution-karaf-version:
1289           karaf-version: '{karaf-version}'
1290       - integration-use-features-boot:
1291           use-features-boot: '{use-features-boot}'
1292       - string:
1293           name: OPENSTACK_BRANCH
1294           default: '{openstack-branch}'
1295           description: 'Openstack version to use with devstack'
1296       - string:
1297           name: DEVSTACK_HASH
1298           default: '{devstack-hash}'
1299           description: 'devstack hash to checkout'
1300       - string:
1301           name: ODL_ML2_DRIVER_REPO
1302           default: '{odl-ml2-driver-repo}'
1303           description: 'URL to fetch networking-odl driver'
1304       - string:
1305           name: ODL_ML2_BRANCH
1306           default: '{odl-ml2-branch}'
1307           description: 'Version of networking-odl to checkout from the repo'
1308       - string:
1309           name: ODL_ML2_DRIVER_VERSION
1310           default: '{odl-ml2-driver-version}'
1311           description: 'Mode of networking-odl (v1 or v2)'
1312       - string:
1313           name: ODL_ML2_PORT_BINDING
1314           default: '{odl-ml2-port-binding}'
1315           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1316           network-topology)'
1317       - string:
1318           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1319           default: '{devstack-kubernetes-plugin-repo}'
1320           description: 'URL to fetch kubernetes devstack plugin'
1321       - string:
1322           name: DEVSTACK_LBAAS_PLUGIN_REPO
1323           default: '{devstack-lbaas-plugin-repo}'
1324           description: 'URL to fetch neutron-lbaas devstack plugin'
1325       - string:
1326           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1327           default: '{devstack-networking-sfc-plugin-repo}'
1328           description: 'URL to fetch neutron-lbaas devstack plugin'
1329       - string:
1330           name: ODL_ENABLE_L3_FWD
1331           default: '{odl-enable-l3}'
1332           description: 'Enable L3 FWD in ODL for createing br-ex'
1333       - string:
1334           name: IPSEC_VXLAN_TUNNELS_ENABLED
1335           default: '{ipsec-vxlan-tunnels-enabled}'
1336           description: 'Enable ipsec over vxlan support for all controllers and computes'
1337       - string:
1338           name: PUBLIC_BRIDGE
1339           default: '{public-bridge}'
1340           description: 'Specifies public bridge for provider and external networking'
1341       - string:
1342           name: ENABLE_HAPROXY_FOR_NEUTRON
1343           default: '{enable-haproxy}'
1344           description: 'Enable HAProxy for using neutron interface as HA'
1345       - string:
1346           name: ENABLE_OS_SERVICES
1347           default: '{enable-openstack-services}'
1348           description: 'comma seperated list of services to enable'
1349       - string:
1350           name: ENABLE_OS_COMPUTE_SERVICES
1351           default: '{enable-openstack-compute-services}'
1352           description: 'comma separated list of services to enable on compute nodes'
1353       - string:
1354           name: ENABLE_OS_NETWORK_SERVICES
1355           default: '{enable-openstack-network-services}'
1356           description: 'comma seperated list of network services to enable'
1357       - string:
1358           name: ENABLE_OS_PLUGINS
1359           default: '{enable-openstack-plugins}'
1360           description: 'comma seperated list of plugins to enable'
1361       - string:
1362           name: DISABLE_OS_SERVICES
1363           default: '{disable-openstack-services}'
1364           description: 'comma seperated list of services to enable'
1365       - string:
1366           name: TENANT_NETWORK_TYPE
1367           default: '{tenant-network-type}'
1368           description: 'Tenant Network Type supported by the implementation'
1369       - string:
1370           name: SECURITY_GROUP_MODE
1371           default: '{security-group-mode}'
1372           description: 'Security Group Mode to be used in netvirt aclservice config'
1373       - string:
1374           name: PUBLIC_PHYSICAL_NETWORK
1375           default: '{public-physical-network}'
1376           description: 'provider physical network used for flat/vlan networks'
1377       - string:
1378           name: ENABLE_NETWORKING_L2GW
1379           default: '{enable-networking-l2gw}'
1380           description: 'Enable networking L2gw'
1381       - string:
1382           name: NETWORKING_L2GW_DRIVER
1383           default: '{networking-l2gw-repo}'
1384           description: 'URL to fetch networking-l2gw driver'
1385       - string:
1386           name: CREATE_INITIAL_NETWORKS
1387           default: '{create-initial-networks}'
1388           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1389       - string:
1390           name: LBAAS_SERVICE_PROVIDER
1391           default: '{lbaas-service-provider}'
1392           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1393           neutron-lbaas'
1394       - string:
1395           name: NUM_OPENSTACK_SITES
1396           default: '{num-openstack-sites}'
1397           description: 'Number of openstack sites'
1398       - string:
1399           name: ODL_SFC_DRIVER
1400           default: '{odl-sfc-driver}'
1401           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1402       - string:
1403           name: ODL_SNAT_MODE
1404           default: '{odl-snat-mode}'
1405           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1406
1407     scm:
1408       - integration-gerrit-scm:
1409           basedir: 'test'
1410           refspec: '$PATCHREFSPEC'
1411           branch: 'master'
1412
1413     wrappers:
1414       - opendaylight-infra-wrappers:
1415           build-timeout: '{build-timeout}'
1416
1417     triggers:
1418       - timed: '{schedule}'
1419
1420     builders:
1421       - integration-infra-stack-3-type:
1422           stack-template: '{stack-template}'
1423           vm_0_count: '{odl_system_count}'
1424           vm_0_flavor: '{odl_system_flavor}'
1425           vm_0_image: '{odl_system_image}'
1426           vm_1_count: '{openstack_system_count}'
1427           vm_1_flavor: '{openstack_system_flavor}'
1428           vm_1_image: '{openstack_system_image}'
1429           vm_2_count: '{openstack_system2_count}'
1430           vm_2_flavor: '{openstack_system2_flavor}'
1431           vm_2_image: '{openstack_system2_image}'
1432       - integration-install-robotframework
1433       - inject:
1434           properties-file: 'env.properties'
1435       - integration-get-slave-addresses
1436       - inject:
1437           properties-file: 'slave_addresses.txt'
1438       - integration-detect-variables
1439       - integration-install-common-functions
1440       - integration-deploy-controller-run-test
1441       - integration-deploy-openstack-run-test
1442       - integration-cleanup-tmp
1443
1444     publishers:
1445       - integration-robot-tempest:
1446           unstable-if: 0.0
1447           pass-if: 100.0
1448       - email-notification:
1449           email-recipients: '{email-recipients}'
1450           email-prefix: '[{project}]'
1451       - integration-csit-archive-build
1452       - integration-csit-run-postscript
1453       - lf-infra-publish
1454
1455 # Template: {project}-patch-test-{stream}
1456 # Goal: Build a patch and run project specific system test on a distribution containing the change
1457 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1458 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1459
1460 - job-template:
1461     name: '{prefix}{project}-patch-test-{feature}-{stream}'
1462     id: inttest-patch-test
1463
1464     project-type: freestyle
1465     node: centos7-builder-2c-8g
1466     concurrent: true
1467     jdk: '{java-version}'
1468
1469     properties:
1470       - opendaylight-infra-properties:
1471           build-days-to-keep: '{build-days-to-keep}'
1472
1473     parameters:
1474       - opendaylight-infra-parameters:
1475           os-cloud: '{os-cloud}'
1476           project: '{project}'
1477           branch: '{branch}'
1478           refspec: 'refs/heads/{branch}'
1479           artifacts: '{archive-artifacts}'
1480       - integration-distribution-branch:
1481           branch: '{branch}'
1482       - distribution-karaf-version:
1483           karaf-version: '{karaf-version}'
1484       - integration-distribution-git-url:
1485           git-url: '{git-url}'
1486       - string:
1487           name: feature
1488           default: 'all'
1489           description: 'Specific feature test for patch'
1490       - maven-exec:
1491           maven-version: mvn33
1492
1493     scm:
1494       - integration-gerrit-scm:
1495           basedir: '{project}'
1496           refspec: '$GERRIT_REFSPEC'
1497           branch: '{branch}'
1498       - integration-distribution-scm:
1499           branch: '{branch}'
1500
1501     wrappers:
1502       - opendaylight-infra-wrappers:
1503           build-timeout: '{build-timeout}'
1504
1505     triggers:
1506       - gerrit:
1507           server-name: '{gerrit-server-name}'
1508           trigger-on:
1509             - comment-added-contains-event:
1510                 comment-contains-value: 'test-{project}-all'
1511             - comment-added-contains-event:
1512                 comment-contains-value: 'test-{project}-{feature}'
1513           projects:
1514             - project-compare-type: 'ANT'
1515               project-pattern: '{project}'
1516               branches:
1517                 - branch-compare-type: 'ANT'
1518                   branch-pattern: '**/{branch}'
1519           skip-vote:
1520             successful: true
1521             failed: true
1522             unstable: true
1523             notbuilt: true
1524
1525     builders:
1526       - integration-rebase-gerrit-patch
1527       - wipe-org-opendaylight-repo
1528       - maven-target:
1529           maven-version: mvn33
1530           pom: '{project}/pom.xml'
1531           goals: |
1532               clean install dependency:tree
1533               -Pq
1534               -Dgitid.skip=false
1535               -Dmaven.gitcommitid.skip=false
1536               -DgenerateReports=false
1537               -Dstream={stream}
1538               {opendaylight-infra-mvn-opts}
1539           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1540           java-opts:
1541             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1542           settings: integration-settings
1543           settings-type: cfp
1544           global-settings: global-settings
1545           global-settings-type: cfp
1546       - maven-target:
1547           maven-version: mvn33
1548           pom: distribution/pom.xml
1549           goals: |
1550               clean install dependency:tree
1551               -Pq
1552               -Dgitid.skip=false
1553               -Dmaven.gitcommitid.skip=false
1554               {opendaylight-infra-mvn-opts}
1555           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1556           java-opts:
1557             - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1558           settings: integration-settings
1559           settings-type: cfp
1560           global-settings: global-settings
1561           global-settings-type: cfp
1562       - integration-upload-distribution:
1563           dist-pom: distribution/pom.xml
1564       - trigger-builds:
1565           - project: '{csit-list}'
1566             block: true
1567             predefined-parameters: |
1568               BUNDLE_URL=$BUNDLE_URL
1569               KARAF_VERSION=$KARAF_VERSION
1570
1571     publishers:
1572       - email-notification:
1573           email-recipients: '{email-recipients}'
1574           email-prefix: '[{project}]'