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