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