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