Remove deprecated bgp "all" feature from bgpclustering carbon jobs
[releng/builder.git] / jjb / integration / integration-templates.yaml
1 # Job templates in this file (please update with every new template):
2 #
3 # New (for Be release):
4 # {project}-csit-verify-1node-{functionality}
5 # {project}-csit-1node-{functionality}-{install}-{stream}
6 # {project}-csit-1node-periodic-{functionality}-{install}-{stream}
7 # {project}-csit-verify-3node-{functionality}
8 # {project}-csit-3node-{functionality}-{install}-{stream}
9 # {project}-csit-3node-periodic-{functionality}-{install}-{stream}
10 #
11 # Parameters:
12 #
13 # opendaylight-infra-parameters: main project integration/test ($PROJECT)
14 # jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
15 # integration-branch: distribution branch ($BRANCH)
16 # integration-controller-bundleurl: distribution URL ($BUNDLEURL)
17 # integration-controller-scope: only or all features ($CONTROLLERSCOPE)
18 # integration-controller-features: features under test ($CONTROLLER FEATURES)
19 # integration-test-options: robot options ($TESTOPTIONS)
20 # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
21 # integration-test-plan: fallback robot test plan ($TESTPLAN)
22 # integration-patch-refspec: test branch ($PATCHREFSPEC)
23
24
25 # New templates
26
27 - job-template:
28     name: '{project}-csit-verify-1node-{functionality}'
29     disabled: false
30
31     project-type: freestyle
32     node: centos7-robot-2c-2g
33
34     properties:
35         - opendaylight-infra-properties:
36             build-days-to-keep: '{build-days-to-keep}'
37
38     parameters:
39         - opendaylight-infra-parameters:
40             project: 'integration/test'
41             branch: '{branch}'
42             refspec: 'refs/heads/{branch}'
43             artifacts: '{archive-artifacts}'
44         - integration-branch:
45             branch: 'stable/boron'
46         - integration-distribution-stream:
47             stream: 'boron'
48         - integration-bundleurl:
49             bundleurl: '{bundleurl}'
50         - integration-controller-scope:
51             controller-scope: 'only'
52         - integration-controller-features:
53             controller-features: '{install-features}'
54         - integration-test-options:
55             test-options: '{robot-options}'
56         - integration-stream-test-plan:
57             stream-test-plan: '{project}-{functionality}-boron.txt'
58         - integration-test-plan:
59             test-plan: '{project}-{functionality}.txt'
60         - integration-jdk-version:
61             jdkversion: 'openjdk8'
62
63     scm:
64         - integration-gerrit-scm:
65             basedir: 'test'
66             refspec: '$GERRIT_REFSPEC'
67             branch: 'master'
68
69     wrappers:
70         - opendaylight-infra-wrappers:
71             build-timeout: '{build-timeout}'
72
73     triggers:
74         - integration-trigger-patch-submitted:
75             server: '{server-name}'
76             project: 'integration/test'
77             branch: 'master'
78             files: 'csit/suites/{project}/**'
79
80     builders:
81         - integration-infra-stack:
82             stack-template: '{stack-template}'
83             vm_0_count: '1'
84             vm_0_flavor: '{odl_system_flavor}'
85             vm_0_image: '{odl_system_image}'
86             vm_1_count: '{tools_system_count}'
87             vm_1_flavor: '{tools_system_flavor}'
88             vm_1_image: '{tools_system_image}'
89         - integration-install-robotframework
90         - inject:
91             properties-file: 'env.properties'
92         - integration-get-slave-addresses
93         - inject:
94             properties-file: 'slave_addresses.txt'
95         - integration-get-bundle-vars
96         - inject:
97             properties-file: 'bundle_vars.txt'
98         - integration-deploy-controller-run-test
99         - integration-cleanup-tmp
100
101     publishers:
102         - integration-robot:
103             unstable-if: 0.0
104             pass-if: 100.0
105         - email-notification:
106             email-recipients: '{email-recipients}'
107             email-prefix: '[{project}]'
108         - integration-csit-archive-build
109         - opendaylight-infra-shiplogs:
110             maven-version: 'mvn33'
111
112 - job-template:
113     name: '{project}-csit-1node-{functionality}-{install}-{stream}'
114     disabled: false
115
116     project-type: freestyle
117     node: centos7-robot-2c-2g
118
119     properties:
120         - opendaylight-infra-properties:
121             build-days-to-keep: '{build-days-to-keep}'
122
123     parameters:
124         - opendaylight-infra-parameters:
125             project: 'integration/test'
126             branch: '{branch}'
127             refspec: 'refs/heads/{branch}'
128             artifacts: '{archive-artifacts}'
129         - integration-branch:
130             branch: '{branch}'
131         - integration-distribution-stream:
132             stream: '{stream}'
133         - integration-bundleurl:
134             bundleurl: '{bundleurl}'
135         - integration-controller-scope:
136             controller-scope: '{scope}'
137         - integration-controller-features:
138             controller-features: '{install-features}'
139         - integration-test-options:
140             test-options: '{robot-options}'
141         - integration-stream-test-plan:
142             stream-test-plan: '{project}-{functionality}-{stream}.txt'
143         - integration-test-plan:
144             test-plan: '{project}-{functionality}.txt'
145         - integration-patch-refspec:
146             branch: 'master'
147         - integration-jdk-version:
148             jdkversion: '{jre}'
149
150     scm:
151         - integration-gerrit-scm:
152             basedir: 'test'
153             refspec: '$PATCHREFSPEC'
154             branch: 'master'
155
156     wrappers:
157         - opendaylight-infra-wrappers:
158             build-timeout: '{build-timeout}'
159
160     triggers:
161         - integration-csit-{install}:
162             jobs: '{trigger-jobs}'
163
164     builders:
165         - integration-infra-stack:
166             stack-template: '{stack-template}'
167             vm_0_count: '1'
168             vm_0_flavor: '{odl_system_flavor}'
169             vm_0_image: '{odl_system_image}'
170             vm_1_count: '{tools_system_count}'
171             vm_1_flavor: '{tools_system_flavor}'
172             vm_1_image: '{tools_system_image}'
173         - integration-install-robotframework
174         - inject:
175             properties-file: 'env.properties'
176         - integration-get-slave-addresses
177         - inject:
178             properties-file: 'slave_addresses.txt'
179         - integration-get-bundle-vars
180         - inject:
181             properties-file: 'bundle_vars.txt'
182         - integration-deploy-controller-run-test
183         - integration-cleanup-tmp
184
185     publishers:
186         - integration-robot:
187             unstable-if: 0.0
188             pass-if: 100.0
189         - email-notification:
190             email-recipients: '{email-recipients}'
191             email-prefix: '[{project}]'
192         - plot:
193           - title: '{01-plot-title}'
194             yaxis: '{01-plot-yaxis}'
195             group: '{01-plot-group}'
196             num-builds: '5400'
197             keep-records: true
198             style: line
199             use-description: false
200             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
201             series:
202               - file: '{01-plot-data-file}'
203                 inclusion-flag: 'off'
204                 display-table: true
205                 format: csv
206           - title: '{02-plot-title}'
207             yaxis: '{02-plot-yaxis}'
208             group: '{02-plot-group}'
209             num-builds: '5400'
210             keep-records: true
211             style: line
212             use-description: false
213             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
214             series:
215               - file: '{02-plot-data-file}'
216                 inclusion-flag: 'off'
217                 display-table: true
218                 format: csv
219         - integration-csit-archive-build
220         - opendaylight-infra-shiplogs:
221             maven-version: 'mvn33'
222
223 - job-template:
224     name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
225     disabled: false
226
227     project-type: freestyle
228     node: centos7-robot-2c-2g
229
230     properties:
231         - opendaylight-infra-properties:
232             build-days-to-keep: '{build-days-to-keep}'
233
234     parameters:
235         - opendaylight-infra-parameters:
236             project: 'integration/test'
237             branch: '{branch}'
238             refspec: 'refs/heads/{branch}'
239             artifacts: '{archive-artifacts}'
240         - integration-branch:
241             branch: '{branch}'
242         - integration-distribution-stream:
243             stream: '{stream}'
244         - integration-bundleurl:
245             bundleurl: '{bundleurl}'
246         - integration-controller-scope:
247             controller-scope: '{scope}'
248         - integration-controller-features:
249             controller-features: '{install-features}'
250         - integration-test-options:
251             test-options: '{robot-options}'
252         - integration-stream-test-plan:
253             stream-test-plan: '{project}-{functionality}-{stream}.txt'
254         - integration-test-plan:
255             test-plan: '{project}-{functionality}.txt'
256         - integration-patch-refspec:
257             branch: 'master'
258         - integration-jdk-version:
259             jdkversion: '{jre}'
260
261     scm:
262         - integration-gerrit-scm:
263             basedir: 'test'
264             refspec: '$PATCHREFSPEC'
265             branch: 'master'
266
267     wrappers:
268         - opendaylight-infra-wrappers:
269             build-timeout: '{build-timeout}'
270
271     triggers:
272         - timed: '{schedule}'
273
274     builders:
275         - integration-infra-stack:
276             stack-template: '{stack-template}'
277             vm_0_count: '1'
278             vm_0_flavor: '{odl_system_flavor}'
279             vm_0_image: '{odl_system_image}'
280             vm_1_count: '{tools_system_count}'
281             vm_1_flavor: '{tools_system_flavor}'
282             vm_1_image: '{tools_system_image}'
283         - integration-install-robotframework
284         - inject:
285             properties-file: 'env.properties'
286         - integration-get-slave-addresses
287         - inject:
288             properties-file: 'slave_addresses.txt'
289         - integration-get-bundle-vars
290         - inject:
291             properties-file: 'bundle_vars.txt'
292         - integration-deploy-controller-run-test
293         - integration-cleanup-tmp
294
295     publishers:
296         - integration-robot:
297             unstable-if: 0.0
298             pass-if: 100.0
299         - email-notification:
300             email-recipients: '{email-recipients}'
301             email-prefix: '[{project}]'
302         - plot:
303           - title: '{01-plot-title}'
304             yaxis: '{01-plot-yaxis}'
305             group: '{01-plot-group}'
306             num-builds: '180'
307             keep-records: true
308             style: line
309             use-description: false
310             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
311             series:
312               - file: '{01-plot-data-file}'
313                 inclusion-flag: 'off'
314                 display-table: true
315                 format: csv
316           - title: '{02-plot-title}'
317             yaxis: '{02-plot-yaxis}'
318             group: '{02-plot-group}'
319             num-builds: '180'
320             keep-records: true
321             style: line
322             use-description: false
323             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
324             series:
325               - file: '{02-plot-data-file}'
326                 inclusion-flag: 'off'
327                 display-table: true
328                 format: csv
329           - title: '{03-plot-title}'
330             yaxis: '{03-plot-yaxis}'
331             group: '{03-plot-group}'
332             num-builds: '180'
333             keep-records: true
334             style: line
335             use-description: false
336             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
337             series:
338               - file: '{03-plot-data-file}'
339                 inclusion-flag: '{03-inclusion-flag}'
340                 exclude: '{03-exclude-value}'
341                 format: csv
342           - title: '{04-plot-title}'
343             yaxis: '{04-plot-yaxis}'
344             group: '{04-plot-group}'
345             num-builds: '180'
346             keep-records: true
347             style: line
348             use-description: false
349             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
350             series:
351               - file: '{04-plot-data-file}'
352                 inclusion-flag: '{04-inclusion-flag}'
353                 exclude: '{04-exclude-value}'
354                 format: csv
355           - title: '{05-plot-title}'
356             yaxis: '{05-plot-yaxis}'
357             group: '{05-plot-group}'
358             num-builds: '180'
359             keep-records: true
360             style: line
361             use-description: false
362             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
363             series:
364               - file: '{05-plot-data-file}'
365                 inclusion-flag: '{05-inclusion-flag}'
366                 exclude: '{05-exclude-value}'
367                 format: csv
368           - title: '{06-plot-title}'
369             yaxis: '{06-plot-yaxis}'
370             group: '{06-plot-group}'
371             num-builds: '180'
372             keep-records: true
373             style: line
374             use-description: false
375             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
376             series:
377               - file: '{06-plot-data-file}'
378                 inclusion-flag: '{06-inclusion-flag}'
379                 exclude: '{06-exclude-value}'
380                 format: csv
381           - title: '{07-plot-title}'
382             yaxis: '{07-plot-yaxis}'
383             group: '{07-plot-group}'
384             num-builds: '180'
385             keep-records: true
386             style: line
387             use-description: false
388             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
389             series:
390               - file: '{07-plot-data-file}'
391                 inclusion-flag: '{07-inclusion-flag}'
392                 exclude: '{07-exclude-value}'
393                 format: csv
394           - title: '{08-plot-title}'
395             yaxis: '{08-plot-yaxis}'
396             group: '{08-plot-group}'
397             num-builds: '180'
398             keep-records: true
399             style: line
400             use-description: false
401             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
402             series:
403               - file: '{08-plot-data-file}'
404                 inclusion-flag: '{08-inclusion-flag}'
405                 exclude: '{08-exclude-value}'
406                 format: csv
407           - title: '{09-plot-title}'
408             yaxis: '{09-plot-yaxis}'
409             group: '{09-plot-group}'
410             num-builds: '180'
411             keep-records: true
412             style: line
413             use-description: false
414             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
415             series:
416               - file: '{09-plot-data-file}'
417                 inclusion-flag: '{09-inclusion-flag}'
418                 exclude: '{09-exclude-value}'
419                 format: csv
420           - title: '{10-plot-title}'
421             yaxis: '{10-plot-yaxis}'
422             group: '{10-plot-group}'
423             num-builds: '180'
424             keep-records: true
425             style: line
426             use-description: false
427             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
428             series:
429               - file: '{10-plot-data-file}'
430                 inclusion-flag: '{10-inclusion-flag}'
431                 exclude: '{10-exclude-value}'
432                 format: csv
433         - integration-csit-archive-build
434         - opendaylight-infra-shiplogs:
435             maven-version: 'mvn33'
436
437 - job-template:
438     name: '{project}-csit-verify-3node-{functionality}'
439     disabled: false
440
441     project-type: freestyle
442     node: centos7-robot-2c-2g
443
444     properties:
445         - opendaylight-infra-properties:
446             build-days-to-keep: '{build-days-to-keep}'
447
448     parameters:
449         - opendaylight-infra-parameters:
450             project: 'integration/test'
451             branch: '{branch}'
452             refspec: 'refs/heads/{branch}'
453             artifacts: '{archive-artifacts}'
454         - integration-branch:
455             branch: 'stable/boron'
456         - integration-distribution-stream:
457             stream: 'boron'
458         - integration-bundleurl:
459             bundleurl: '{bundleurl}'
460         - integration-controller-scope:
461             controller-scope: 'only'
462         - integration-controller-features:
463             controller-features: 'odl-jolokia,{install-features}'
464         - integration-test-options:
465             test-options: '{robot-options}'
466         - integration-stream-test-plan:
467             stream-test-plan: '{project}-{functionality}-boron.txt'
468         - integration-test-plan:
469             test-plan: '{project}-{functionality}.txt'
470         - integration-jdk-version:
471             jdkversion: 'openjdk8'
472
473     scm:
474         - integration-gerrit-scm:
475             basedir: 'test'
476             refspec: '$GERRIT_REFSPEC'
477             branch: 'master'
478
479     wrappers:
480         - opendaylight-infra-wrappers:
481             build-timeout: '{build-timeout}'
482
483     triggers:
484         - integration-trigger-patch-submitted:
485             server: '{server-name}'
486             project: 'integration/test'
487             branch: 'master'
488             files: 'csit/suites/{project}/**'
489
490     builders:
491         - integration-infra-stack:
492             stack-template: '{stack-template}'
493             vm_0_count: '3'
494             vm_0_flavor: '{odl_system_flavor}'
495             vm_0_image: '{odl_system_image}'
496             vm_1_count: '{tools_system_count}'
497             vm_1_flavor: '{tools_system_flavor}'
498             vm_1_image: '{tools_system_image}'
499         - integration-install-robotframework
500         - inject:
501             properties-file: 'env.properties'
502         - integration-get-slave-addresses
503         - inject:
504             properties-file: 'slave_addresses.txt'
505         - integration-get-bundle-vars
506         - inject:
507             properties-file: 'bundle_vars.txt'
508         - integration-configure-clustering
509         - integration-start-cluster-run-test
510         - integration-cleanup-tmp
511
512     publishers:
513         - integration-robot:
514             unstable-if: 0.0
515             pass-if: 100.0
516         - email-notification:
517             email-recipients: '{email-recipients}'
518             email-prefix: '[{project}]'
519         - integration-csit-archive-build
520         - opendaylight-infra-shiplogs:
521             maven-version: 'mvn33'
522
523 - job-template:
524     name: '{project}-csit-3node-{functionality}-{install}-{stream}'
525     disabled: false
526
527     project-type: freestyle
528     node: centos7-robot-2c-2g
529
530     properties:
531         - opendaylight-infra-properties:
532             build-days-to-keep: '{build-days-to-keep}'
533
534     parameters:
535         - opendaylight-infra-parameters:
536             project: 'integration/test'
537             branch: '{branch}'
538             refspec: 'refs/heads/{branch}'
539             artifacts: '{archive-artifacts}'
540         - integration-branch:
541             branch: '{branch}'
542         - integration-distribution-stream:
543             stream: '{stream}'
544         - integration-bundleurl:
545             bundleurl: '{bundleurl}'
546         - integration-controller-scope:
547             controller-scope: '{scope}'
548         - integration-controller-features:
549             controller-features: 'odl-jolokia,{install-features}'
550         - integration-test-options:
551             test-options: '{robot-options}'
552         - integration-stream-test-plan:
553             stream-test-plan: '{project}-{functionality}-{stream}.txt'
554         - integration-test-plan:
555             test-plan: '{project}-{functionality}.txt'
556         - integration-patch-refspec:
557             branch: 'master'
558         - integration-jdk-version:
559             jdkversion: '{jre}'
560
561     scm:
562         - integration-gerrit-scm:
563             basedir: 'test'
564             refspec: '$PATCHREFSPEC'
565             branch: 'master'
566
567     wrappers:
568         - opendaylight-infra-wrappers:
569             build-timeout: '{build-timeout}'
570
571     triggers:
572         - integration-csit-{install}:
573             jobs: '{trigger-jobs}'
574
575     builders:
576         - integration-infra-stack:
577             stack-template: '{stack-template}'
578             vm_0_count: '3'
579             vm_0_flavor: '{odl_system_flavor}'
580             vm_0_image: '{odl_system_image}'
581             vm_1_count: '{tools_system_count}'
582             vm_1_flavor: '{tools_system_flavor}'
583             vm_1_image: '{tools_system_image}'
584         - integration-install-robotframework
585         - inject:
586             properties-file: 'env.properties'
587         - integration-get-slave-addresses
588         - inject:
589             properties-file: 'slave_addresses.txt'
590         - integration-get-bundle-vars
591         - inject:
592             properties-file: 'bundle_vars.txt'
593         - integration-configure-clustering
594         - integration-start-cluster-run-test
595         - integration-cleanup-tmp
596
597     publishers:
598         - integration-robot:
599             unstable-if: 0.0
600             pass-if: 100.0
601         - email-notification:
602             email-recipients: '{email-recipients}'
603             email-prefix: '[{project}]'
604         - plot:
605           - title: '{01-plot-title}'
606             yaxis: '{01-plot-yaxis}'
607             group: '{01-plot-group}'
608             num-builds: '5400'
609             keep-records: true
610             style: line
611             use-description: false
612             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
613             series:
614               - file: '{01-plot-data-file}'
615                 inclusion-flag: 'off'
616                 display-table: true
617                 format: csv
618           - title: '{02-plot-title}'
619             yaxis: '{02-plot-yaxis}'
620             group: '{02-plot-group}'
621             num-builds: '5400'
622             keep-records: true
623             style: line
624             use-description: false
625             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
626             series:
627               - file: '{02-plot-data-file}'
628                 inclusion-flag: 'off'
629                 display-table: true
630                 format: csv
631         - integration-csit-archive-build
632         - opendaylight-infra-shiplogs:
633             maven-version: 'mvn33'
634
635 - job-template:
636     name: '{project}-csit-3node-docker-{functionality}-{install}-{stream}'
637     disabled: false
638
639     project-type: freestyle
640     node: centos7-robot-2c-2g
641
642     properties:
643         - opendaylight-infra-properties:
644             build-days-to-keep: '{build-days-to-keep}'
645
646     parameters:
647         - opendaylight-infra-parameters:
648             project: 'integration/test'
649             branch: '{branch}'
650             refspec: 'refs/heads/{branch}'
651             artifacts: '{archive-artifacts}'
652         - integration-branch:
653             branch: '{branch}'
654         - integration-distribution-stream:
655             stream: '{stream}'
656         - integration-bundleurl:
657             bundleurl: '{bundleurl}'
658         - integration-controller-scope:
659             controller-scope: '{scope}'
660         - integration-controller-features:
661             controller-features: 'odl-jolokia,{install-features}'
662         - integration-test-options:
663             test-options: '{robot-options}'
664         - integration-stream-test-plan:
665             stream-test-plan: '{project}-{functionality}-{stream}.txt'
666         - integration-test-plan:
667             test-plan: '{project}-{functionality}.txt'
668         - integration-patch-refspec:
669             branch: 'master'
670         - integration-jdk-version:
671             jdkversion: '{jre}'
672
673     scm:
674         - integration-gerrit-scm:
675             basedir: 'test'
676             refspec: '$PATCHREFSPEC'
677             branch: 'master'
678
679     wrappers:
680         - opendaylight-infra-wrappers:
681             build-timeout: '{build-timeout}'
682
683     triggers:
684         - integration-csit-{install}:
685             jobs: '{trigger-jobs}'
686
687     builders:
688         - integration-infra-stack:
689             stack-template: '{stack-template}'
690             vm_0_count: '3'
691             vm_0_flavor: '{odl_system_flavor}'
692             vm_0_image: '{odl_system_image}'
693             vm_1_count: '{docker_system_count}'
694             vm_1_flavor: '{docker_system_flavor}'
695             vm_1_image: '{docker_system_image}'
696         - integration-install-robotframework
697         - inject:
698             properties-file: 'env.properties'
699         - integration-get-slave-addresses
700         - inject:
701             properties-file: 'slave_addresses.txt'
702         - integration-get-bundle-vars
703         - inject:
704             properties-file: 'bundle_vars.txt'
705         - integration-configure-clustering
706         - integration-start-cluster-run-test
707         - integration-cleanup-tmp
708
709     publishers:
710         - integration-robot:
711             unstable-if: 0.0
712             pass-if: 100.0
713         - email-notification:
714             email-recipients: '{email-recipients}'
715             email-prefix: '[{project}]'
716         - plot:
717           - title: '{01-plot-title}'
718             yaxis: '{01-plot-yaxis}'
719             group: '{01-plot-group}'
720             num-builds: '5400'
721             keep-records: true
722             style: line
723             use-description: false
724             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
725             series:
726               - file: '{01-plot-data-file}'
727                 inclusion-flag: 'off'
728                 display-table: true
729                 format: csv
730           - title: '{02-plot-title}'
731             yaxis: '{02-plot-yaxis}'
732             group: '{02-plot-group}'
733             num-builds: '5400'
734             keep-records: true
735             style: line
736             use-description: false
737             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
738             series:
739               - file: '{02-plot-data-file}'
740                 inclusion-flag: 'off'
741                 display-table: true
742                 format: csv
743         - integration-csit-archive-build
744         - opendaylight-infra-shiplogs:
745             maven-version: 'mvn33'
746
747 - job-template:
748     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
749     disabled: false
750
751     project-type: freestyle
752     node: centos7-robot-2c-2g
753
754     properties:
755         - opendaylight-infra-properties:
756             build-days-to-keep: '{build-days-to-keep}'
757
758     parameters:
759         - opendaylight-infra-parameters:
760             project: 'integration/test'
761             branch: '{branch}'
762             refspec: 'refs/heads/{branch}'
763             artifacts: '{archive-artifacts}'
764         - integration-branch:
765             branch: '{branch}'
766         - integration-distribution-stream:
767             stream: '{stream}'
768         - integration-bundleurl:
769             bundleurl: '{bundleurl}'
770         - integration-controller-scope:
771             controller-scope: '{scope}'
772         - integration-controller-features:
773             controller-features: 'odl-jolokia,{install-features}'
774         - integration-test-options:
775             test-options: '{robot-options}'
776         - integration-stream-test-plan:
777             stream-test-plan: '{project}-{functionality}-{stream}.txt'
778         - integration-test-plan:
779             test-plan: '{project}-{functionality}.txt'
780         - integration-patch-refspec:
781             branch: 'master'
782         - integration-jdk-version:
783             jdkversion: '{jre}'
784
785     scm:
786         - integration-gerrit-scm:
787             basedir: 'test'
788             refspec: '$PATCHREFSPEC'
789             branch: 'master'
790
791     wrappers:
792         - opendaylight-infra-wrappers:
793             build-timeout: '{build-timeout}'
794
795     triggers:
796         - timed: '{schedule}'
797
798     builders:
799         - integration-infra-stack:
800             stack-template: '{stack-template}'
801             vm_0_count: '3'
802             vm_0_flavor: '{odl_system_flavor}'
803             vm_0_image: '{odl_system_image}'
804             vm_1_count: '{tools_system_count}'
805             vm_1_flavor: '{tools_system_flavor}'
806             vm_1_image: '{tools_system_image}'
807         - integration-install-robotframework
808         - inject:
809             properties-file: 'env.properties'
810         - integration-get-slave-addresses
811         - inject:
812             properties-file: 'slave_addresses.txt'
813         - integration-get-bundle-vars
814         - inject:
815             properties-file: 'bundle_vars.txt'
816         - integration-configure-clustering
817         - integration-start-cluster-run-test
818         - integration-cleanup-tmp
819
820     publishers:
821         - integration-robot:
822             unstable-if: 0.0
823             pass-if: 100.0
824         - email-notification:
825             email-recipients: '{email-recipients}'
826             email-prefix: '[{project}]'
827         - plot:
828           - title: '{01-plot-title}'
829             yaxis: '{01-plot-yaxis}'
830             group: '{01-plot-group}'
831             num-builds: '180'
832             keep-records: true
833             style: line
834             use-description: false
835             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
836             series:
837               - file: '{01-plot-data-file}'
838                 inclusion-flag: 'off'
839                 display-table: true
840                 format: csv
841           - title: '{02-plot-title}'
842             yaxis: '{02-plot-yaxis}'
843             group: '{02-plot-group}'
844             num-builds: '180'
845             keep-records: true
846             style: line
847             use-description: false
848             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
849             series:
850               - file: '{02-plot-data-file}'
851                 inclusion-flag: 'off'
852                 display-table: true
853                 format: csv
854           - title: '{03-plot-title}'
855             yaxis: '{03-plot-yaxis}'
856             group: '{03-plot-group}'
857             num-builds: '180'
858             keep-records: true
859             style: line
860             use-description: false
861             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
862             series:
863               - file: '{03-plot-data-file}'
864                 inclusion-flag: '{03-inclusion-flag}'
865                 exclude: '{03-exclude-value}'
866                 format: csv
867           - title: '{04-plot-title}'
868             yaxis: '{04-plot-yaxis}'
869             group: '{04-plot-group}'
870             num-builds: '180'
871             keep-records: true
872             style: line
873             use-description: false
874             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
875             series:
876               - file: '{04-plot-data-file}'
877                 inclusion-flag: '{04-inclusion-flag}'
878                 exclude: '{04-exclude-value}'
879                 format: csv
880           - title: '{05-plot-title}'
881             yaxis: '{05-plot-yaxis}'
882             group: '{05-plot-group}'
883             num-builds: '180'
884             keep-records: true
885             style: line
886             use-description: false
887             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
888             series:
889               - file: '{05-plot-data-file}'
890                 inclusion-flag: '{05-inclusion-flag}'
891                 exclude: '{05-exclude-value}'
892                 format: csv
893           - title: '{06-plot-title}'
894             yaxis: '{06-plot-yaxis}'
895             group: '{06-plot-group}'
896             num-builds: '180'
897             keep-records: true
898             style: line
899             use-description: false
900             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
901             series:
902               - file: '{06-plot-data-file}'
903                 inclusion-flag: '{06-inclusion-flag}'
904                 exclude: '{06-exclude-value}'
905                 format: csv
906           - title: '{07-plot-title}'
907             yaxis: '{07-plot-yaxis}'
908             group: '{07-plot-group}'
909             num-builds: '180'
910             keep-records: true
911             style: line
912             use-description: false
913             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
914             series:
915               - file: '{07-plot-data-file}'
916                 inclusion-flag: '{07-inclusion-flag}'
917                 exclude: '{07-exclude-value}'
918                 format: csv
919           - title: '{08-plot-title}'
920             yaxis: '{08-plot-yaxis}'
921             group: '{08-plot-group}'
922             num-builds: '180'
923             keep-records: true
924             style: line
925             use-description: false
926             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
927             series:
928               - file: '{08-plot-data-file}'
929                 inclusion-flag: '{08-inclusion-flag}'
930                 exclude: '{08-exclude-value}'
931                 format: csv
932           - title: '{09-plot-title}'
933             yaxis: '{09-plot-yaxis}'
934             group: '{09-plot-group}'
935             num-builds: '180'
936             keep-records: true
937             style: line
938             use-description: false
939             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
940             series:
941               - file: '{09-plot-data-file}'
942                 inclusion-flag: '{09-inclusion-flag}'
943                 exclude: '{09-exclude-value}'
944                 format: csv
945           - title: '{10-plot-title}'
946             yaxis: '{10-plot-yaxis}'
947             group: '{10-plot-group}'
948             num-builds: '180'
949             keep-records: true
950             style: line
951             use-description: false
952             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
953             series:
954               - file: '{10-plot-data-file}'
955                 inclusion-flag: '{10-inclusion-flag}'
956                 exclude: '{10-exclude-value}'
957                 format: csv
958         - integration-csit-archive-build
959         - opendaylight-infra-shiplogs:
960             maven-version: 'mvn33'
961
962 - job-template:
963     name: '{project}-csit-1node-openstack-{openstack}-{functionality}-{stream}'
964     disabled: false
965
966     project-type: freestyle
967     node: centos7-robot-2c-2g
968     concurrent: true
969
970     properties:
971         - opendaylight-infra-properties:
972             build-days-to-keep: '{build-days-to-keep}'
973
974     parameters:
975         - opendaylight-infra-parameters:
976             project: 'integration/test'
977             branch: '{branch}'
978             refspec: 'refs/heads/{branch}'
979             artifacts: '{archive-artifacts}'
980         - integration-branch:
981             branch: '{branch}'
982         - integration-distribution-stream:
983             stream: '{stream}'
984         - integration-bundleurl:
985             bundleurl: '{bundleurl}'
986         - integration-controller-features:
987             controller-features: '{install-features}'
988         - integration-test-options:
989             test-options: '{robot-options}'
990         - integration-test-plan:
991             test-plan: '{testplan}'
992         - integration-patch-refspec:
993             branch: 'master'
994         - integration-jdk-version:
995             jdkversion: '{jre}'
996         - string:
997             name: OPENSTACK_BRANCH
998             default: '{openstack-branch}'
999             description: 'Openstack version to use with devstack'
1000         - string:
1001             name: ODL_ML2_DRIVER_REPO
1002             default: '{odl-ml2-driver-repo}'
1003             description: 'URL to fetch networking-odl driver'
1004         - string:
1005             name: ODL_ML2_BRANCH
1006             default: '{odl-ml2-branch}'
1007             description: 'Version of networking-odl to checkout from the repo'
1008         - string:
1009             name: ODL_ML2_DRIVER_VERSION
1010             default: '{odl-ml2-driver-version}'
1011             description: 'Mode of networking-odl (v1 or v2)'
1012         - string:
1013             name: ODL_ENABLE_L3_FWD
1014             default: '{odl-enable-l3}'
1015             description: 'Enable L3 FWD in ODL for createing br-ex'
1016         - string:
1017             name: PUBLIC_BRIDGE
1018             default: '{public-bridge}'
1019             description: 'Specifies public bridge for provider and external networking'
1020         - string:
1021             name: ENABLE_OS_SERVICES
1022             default: '{enable-openstack-services}'
1023             description: 'comma seperated list of services to enable'
1024         - string:
1025             name: DISABLE_OS_SERVICES
1026             default: '{disable-openstack-services}'
1027             description: 'comma seperated list of services to enable'
1028         - string:
1029             name: TENANT_NETWORK_TYPE
1030             default: '{tenant-network-type}'
1031             description: 'Tenant Network Type supported by the implementation'
1032         - string:
1033             name: SECURITY_GROUP_MODE
1034             default: '{security-group-mode}'
1035             description: 'Security Group Mode to be used in netvirt aclservice config'
1036     scm:
1037         - integration-gerrit-scm:
1038             basedir: 'test'
1039             refspec: '$PATCHREFSPEC'
1040             branch: 'master'
1041
1042     wrappers:
1043         - opendaylight-infra-wrappers:
1044             build-timeout: '{build-timeout}'
1045
1046     triggers:
1047         - timed: '{schedule}'
1048
1049     builders:
1050         - integration-infra-stack:
1051             stack-template: '{stack-template}'
1052             vm_0_count: '1'
1053             vm_0_flavor: '{odl_system_flavor}'
1054             vm_0_image: '{odl_system_image}'
1055             vm_1_count: '{openstack_system_count}'
1056             vm_1_flavor: '{openstack_system_flavor}'
1057             vm_1_image: '{openstack_system_image}'
1058         - integration-install-robotframework
1059         - inject:
1060             properties-file: 'env.properties'
1061         - integration-get-slave-addresses
1062         - inject:
1063             properties-file: 'slave_addresses.txt'
1064         - integration-get-bundle-vars
1065         - inject:
1066             properties-file: 'bundle_vars.txt'
1067         - integration-deploy-controller-run-test
1068         - integration-deploy-openstack-run-test
1069         - integration-cleanup-tmp
1070
1071     publishers:
1072         - integration-robot-tempest:
1073             unstable-if: 0.0
1074             pass-if: 100.0
1075         - email-notification:
1076             email-recipients: '{email-recipients}'
1077             email-prefix: '[{project}]'
1078         - integration-csit-archive-build
1079         - opendaylight-infra-shiplogs:
1080             maven-version: 'mvn33'
1081
1082 - job-template:
1083     name: '{project}-csit-3node-openstack-{openstack}-{functionality}-{stream}'
1084     disabled: false
1085
1086     project-type: freestyle
1087     node: centos7-robot-2c-2g
1088     concurrent: true
1089
1090     properties:
1091         - opendaylight-infra-properties:
1092             build-days-to-keep: '{build-days-to-keep}'
1093
1094     parameters:
1095         - opendaylight-infra-parameters:
1096             project: 'integration/test'
1097             branch: '{branch}'
1098             refspec: 'refs/heads/{branch}'
1099             artifacts: '{archive-artifacts}'
1100         - integration-branch:
1101             branch: '{branch}'
1102         - integration-distribution-stream:
1103             stream: '{stream}'
1104         - integration-bundleurl:
1105             bundleurl: '{bundleurl}'
1106         - integration-controller-features:
1107             controller-features: 'odl-jolokia,{install-features}'
1108         - integration-test-options:
1109             test-options: '{robot-options}'
1110         - integration-test-plan:
1111             test-plan: '{project}-3node-openstack.txt'
1112         - integration-patch-refspec:
1113             branch: 'master'
1114         - integration-jdk-version:
1115             jdkversion: '{jre}'
1116         - string:
1117             name: OPENSTACK_BRANCH
1118             default: '{openstack-branch}'
1119             description: 'Openstack version to use with devstack'
1120         - string:
1121             name: ODL_ML2_DRIVER_REPO
1122             default: '{odl-ml2-driver-repo}'
1123             description: 'URL to fetch networking-odl driver'
1124         - string:
1125             name: ODL_ML2_BRANCH
1126             default: '{odl-ml2-branch}'
1127             description: 'Version of networking-odl to checkout from the repo'
1128         - string:
1129             name: ODL_ML2_DRIVER_VERSION
1130             default: '{odl-ml2-driver-version}'
1131             description: 'Mode of networking-odl (v1 or v2)'
1132         - string:
1133             name: ODL_ENABLE_L3_FWD
1134             default: '{odl-enable-l3}'
1135             description: 'Enable L3 FWD in ODL for createing br-ex'
1136         - string:
1137             name: PUBLIC_BRIDGE
1138             default: '{public-bridge}'
1139             description: 'Specifies public bridge for provider and external networking'
1140         - string:
1141             name: ENABLE_HAPROXY_FOR_NEUTRON
1142             default: '{enable-haproxy}'
1143             description: 'Enable HAProxy for using neutron interface as HA'
1144         - string:
1145             name: ENABLE_OS_SERVICES
1146             default: '{enable-openstack-services}'
1147             description: 'comma seperated list of services to enable'
1148         - string:
1149             name: DISABLE_OS_SERVICES
1150             default: '{disable-openstack-services}'
1151             description: 'comma seperated list of services to enable'
1152         - string:
1153             name: TENANT_NETWORK_TYPE
1154             default: '{tenant-network-type}'
1155             description: 'Tenant Network Type supported by the implementation'
1156         - string:
1157             name: SECURITY_GROUP_MODE
1158             default: '{security-group-mode}'
1159             description: 'Security Group Mode to be used in netvirt aclservice config'
1160
1161     scm:
1162         - integration-gerrit-scm:
1163             basedir: 'test'
1164             refspec: '$PATCHREFSPEC'
1165             branch: 'master'
1166
1167     wrappers:
1168         - opendaylight-infra-wrappers:
1169             build-timeout: '{build-timeout}'
1170
1171     triggers:
1172         - timed: '{schedule}'
1173
1174     builders:
1175         - integration-infra-stack:
1176             stack-template: '{stack-template}'
1177             vm_0_count: '3'
1178             vm_0_flavor: '{odl_system_flavor}'
1179             vm_0_image: '{odl_system_image}'
1180             vm_1_count: '{openstack_system_count}'
1181             vm_1_flavor: '{openstack_system_flavor}'
1182             vm_1_image: '{openstack_system_image}'
1183         - integration-install-robotframework
1184         - inject:
1185             properties-file: 'env.properties'
1186         - integration-get-slave-addresses
1187         - inject:
1188             properties-file: 'slave_addresses.txt'
1189         - integration-get-bundle-vars
1190         - inject:
1191             properties-file: 'bundle_vars.txt'
1192         - integration-configure-clustering
1193         - integration-start-cluster-run-test
1194         - integration-deploy-openstack-run-test
1195         - integration-cleanup-tmp
1196
1197     publishers:
1198         - integration-robot-tempest:
1199             unstable-if: 0.0
1200             pass-if: 100.0
1201         - email-notification:
1202             email-recipients: '{email-recipients}'
1203             email-prefix: '[{project}]'
1204         - integration-csit-archive-build
1205         - opendaylight-infra-shiplogs:
1206             maven-version: 'mvn33'
1207
1208 # Template: {project}-patch-test-{stream}
1209 # Goal: Build a patch and run project specific system test on a distribution containing the change
1210 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1211 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1212
1213 - job-template:
1214     name: '{project}-patch-test-{feature}-{stream}'
1215
1216     project-type: maven
1217     node: centos7-java-builder-2c-8g
1218     concurrent: true
1219     jdk: '{jdk}'
1220
1221     properties:
1222         - opendaylight-infra-properties:
1223             build-days-to-keep: '{build-days-to-keep}'
1224
1225     parameters:
1226         - opendaylight-infra-parameters:
1227             project: '{project}'
1228             branch: '{branch}'
1229             refspec: '$GERRIT_REFSPEC'
1230             artifacts: '{archive-artifacts}'
1231         - integration-branch:
1232             branch: '{branch}'
1233         - integration-distribution-git-url:
1234             git-url: '{git-url}'
1235         - string:
1236             name: feature
1237             default: 'all'
1238             description: 'Specific feature test for patch'
1239
1240     scm:
1241         - integration-gerrit-scm:
1242             basedir: '{project}'
1243             refspec: '$GERRIT_REFSPEC'
1244             branch: '{branch}'
1245         - integration-distribution-scm:
1246             branch: '{branch}'
1247
1248     wrappers:
1249         - opendaylight-infra-wrappers:
1250             build-timeout: '{build-timeout}'
1251
1252     triggers:
1253         - gerrit:
1254             server-name: '{server-name}'
1255             trigger-on:
1256                 - comment-added-contains-event:
1257                     comment-contains-value: 'test-{project}-all'
1258                 - comment-added-contains-event:
1259                     comment-contains-value: 'test-{project}-{feature}'
1260             projects:
1261               - project-compare-type: 'ANT'
1262                 project-pattern: '{project}'
1263                 branches:
1264                   - branch-compare-type: 'ANT'
1265                     branch-pattern: '**/{branch}'
1266             skip-vote:
1267                 successful: true
1268                 failed: true
1269                 unstable: true
1270                 notbuilt: true
1271
1272     prebuilders:
1273         - integration-rebase-gerrit-patch
1274         - integration-get-bundle-url
1275         - inject:
1276             properties-file: 'bundle.txt'
1277         - wipe-org-opendaylight-repo
1278         - provide-maven-settings:
1279             global-settings-file: 'odl-global-settings'
1280             settings-file: 'integration-settings'
1281         - maven-target:
1282             maven-version: 'mvn33'
1283             pom: '{project}/pom.xml'
1284             goals: 'clean install dependency:tree -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
1285             java-opts:
1286                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1287             settings: 'integration-settings'
1288             settings-type: cfp
1289             global-settings: 'odl-global-settings'
1290             global-settings-type: cfp
1291
1292     maven:
1293         maven-name: 'mvn33'
1294         root-pom: 'distribution/pom.xml'
1295         goals: 'clean install dependency:tree -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
1296         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1297         settings: 'integration-settings'
1298         settings-type: cfp
1299         global-settings: 'odl-global-settings'
1300         global-settings-type: cfp
1301         ignore-upstream-changes: true
1302         post-step-run-condition: 'SUCCESS'
1303
1304     postbuilders:
1305         - trigger-builds:
1306             - project: '{csit-list}'
1307               block: true
1308               predefined-parameters:
1309                   BUNDLEURL=$BUNDLEURL
1310
1311     publishers:
1312         - email-notification:
1313             email-recipients: '{email-recipients}'
1314             email-prefix: '[{project}]'