CSIT-1117: Update jenkins job infrastructure for 2-node/3-node testing
[ci-management.git] / jjb / csit / csit.yaml
1 # Copyright (c) 2018 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14
15 - project:
16     name: csit
17     description: 'CSIT jenkins jobs.'
18     os:
19         - 'ubuntu1604'
20         - 'centos7'
21     topo:
22         - '2n'
23         - '3n'
24
25     arch:
26         - 'skx'
27         - 'hsw'
28         - 'arm'
29
30     jobs:
31         - 'csit-vpp-functional-{stream}-{os}-virl'
32         - 'csit-vpp-verify-{stream_timed}-{os}-weekly'
33         - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
34         - 'csit-docs-merge-{stream_timed}'
35         - 'csit-docs-verify-{stream}'
36         - 'csit-report-merge-{stream}'
37         - 'csit-report-merge-1801_2'
38         - 'csit-trending-daily-master'
39         - 'csit-dpdk-perf-{stream}-{type}'
40         - 'csit-dpdk-perf-mrr-weekly-master'
41         - 'csit-ligato-perf-{stream}-{type}'
42         - 'csit-vpp-perf-{stream}-{type}'
43         - 'csit-vpp-perf-trend-daily-master'
44         - 'csit-vpp-perf-trend-semi-weekly-master'
45         - 'csit-vpp-perf-mrr-daily-master'
46         - 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
47         - 'csit-nsh_sfc-verify-perf-{stream}'
48         - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
49         - 'csit-tldk-verify-func-{stream}-{os}-virl'
50         - 'csit-dmm-functional-{stream}-{os}-virl'
51
52     project: 'csit'
53     branch: 'master'
54     branch-id: 'oper'
55     build-artifact-num-to-keep: 10
56     type:
57         - all
58     stream_timed:
59         - master:
60             branch: 'master'
61             branch-id: 'oper'
62     stream:
63         - master:
64             branch: 'master'
65             branch-id: 'oper'
66         - '1707':
67             branch: 'rls1707'
68             branch-id: 'oper-rls1707'
69         - '1710':
70             branch: 'rls1710'
71             branch-id: 'oper-rls1710'
72         - '1801':
73             branch: 'rls1801'
74             branch-id: 'oper-rls1801'
75         - '1804':
76             branch: 'rls1804'
77             branch-id: 'oper-rls1804'
78
79
80 - job-template:
81     name: 'csit-vpp-functional-{stream}-{os}-virl'
82
83     project-type: freestyle
84     node: '{os}-basebuild-4c-4g'
85     concurrent: true
86
87     logrotate:
88         daysToKeep: '{build-days-to-keep}'
89         numToKeep: '{build-num-to-keep}'
90         artifactDaysToKeep: '{build-artifact-days-to-keep}'
91         artifactNumToKeep: '{build-artifact-num-to-keep}'
92
93     parameters:
94         - project-parameter:
95             project: '{project}'
96         - gerrit-parameter:
97             branch: '{branch}'
98
99     scm:
100         - gerrit-trigger-scm:
101             credentials-id: 'jenkins-gerrit-credentials'
102             refspec: '$GERRIT_REFSPEC'
103             choosing-strategy: 'gerrit'
104
105     wrappers:
106         - fdio-infra-wrappers:
107             build-timeout: '{build-timeout}'
108
109     triggers:
110         - gerrit-trigger-patch-submitted:
111             name: '{project}'
112             branch: '{branch}'
113
114     builders:
115         - shell:
116             !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
117
118     publishers:
119         - archive-artifacts:
120             artifacts: 'report.html, log.html, output.xml'
121             latest-only: false
122
123         - robot-report:
124             output-path: ''
125
126         - fdio-infra-shiplogs:
127             maven-version: 'mvn33-new'
128
129 - job-template:
130     name: 'csit-dpdk-perf-{stream}-{type}'
131
132     project-type: freestyle
133     node: 'ubuntu1604-basebuild-4c-4g'
134     concurrent: true
135
136     logrotate:
137         daysToKeep: '{build-days-to-keep}'
138         numToKeep: '{build-num-to-keep}'
139         artifactDaysToKeep: '{build-artifact-days-to-keep}'
140         artifactNumToKeep: '{build-artifact-num-to-keep}'
141
142     parameters:
143         - project-parameter:
144             project: '{project}'
145         - gerrit-parameter:
146             branch: '{branch}'
147         - type-parameter:
148             type: '{type}'
149
150     scm:
151         - gerrit-trigger-scm:
152             credentials-id: 'jenkins-gerrit-credentials'
153             refspec: '$GERRIT_REFSPEC'
154             choosing-strategy: 'gerrit'
155
156     wrappers:
157         - fdio-infra-wrappers-non-activity-timeout:
158             build-timeout: '{build-timeout}'
159
160     triggers:
161         - gerrit-trigger-manually-triggered:
162             name: '{project}'
163             branch: '{branch}'
164             comment-trigger-value: 'verify-perf-dpdk-{type}'
165
166     builders:
167         - shell:
168             !include-raw-escape: jjb/csit/include-raw-csit-dpdk-perf-hw.sh
169
170     publishers:
171         - archive-artifacts:
172             artifacts: 'archive/*.*'
173             latest-only: false
174
175         - robot:
176             output-path: archive
177             other-files:
178               - '*.*'
179
180         - fdio-infra-shiplogs:
181             maven-version: 'mvn33-new'
182
183 - job-template:
184     name: 'csit-vpp-perf-{stream}-{type}'
185
186     project-type: freestyle
187     node: 'ubuntu1604-basebuild-8c-32g'
188     concurrent: true
189
190     logrotate:
191         daysToKeep: '{build-days-to-keep}'
192         numToKeep: '{build-num-to-keep}'
193         artifactDaysToKeep: '{build-artifact-days-to-keep}'
194         artifactNumToKeep: '{build-artifact-num-to-keep}'
195
196     parameters:
197         - project-parameter:
198             project: '{project}'
199         - gerrit-parameter:
200             branch: '{branch}'
201         - type-parameter:
202             type: '{type}'
203
204     scm:
205         - gerrit-trigger-scm:
206             credentials-id: 'jenkins-gerrit-credentials'
207             refspec: '$GERRIT_REFSPEC'
208             choosing-strategy: 'gerrit'
209
210     wrappers:
211         - fdio-infra-wrappers-non-activity-timeout:
212             build-timeout: '{build-timeout}'
213
214     triggers:
215         - gerrit-trigger-manually-triggered:
216             name: '{project}'
217             branch: '{branch}'
218             comment-trigger-value: 'verify-perf-{type}'
219
220     builders:
221         - shell:
222             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-hw.sh
223
224     publishers:
225         - archive-artifacts:
226             artifacts: 'archive/*.*'
227             latest-only: false
228
229         - robot:
230             output-path: archive
231             other-files:
232               - '*.*'
233
234         - fdio-infra-shiplogs:
235             maven-version: 'mvn33-new'
236
237 - job-template:
238     name: 'csit-ligato-perf-{stream}-{type}'
239
240     project-type: freestyle
241     node: 'ubuntu1604-basebuild-4c-4g'
242     concurrent: true
243
244     logrotate:
245         daysToKeep: '{build-days-to-keep}'
246         numToKeep: '{build-num-to-keep}'
247         artifactDaysToKeep: '{build-artifact-days-to-keep}'
248         artifactNumToKeep: '{build-artifact-num-to-keep}'
249
250     parameters:
251         - project-parameter:
252             project: '{project}'
253         - gerrit-parameter:
254             branch: '{branch}'
255         - type-parameter:
256             type: '{type}'
257
258     scm:
259         - gerrit-trigger-scm:
260             credentials-id: 'jenkins-gerrit-credentials'
261             refspec: '$GERRIT_REFSPEC'
262             choosing-strategy: 'gerrit'
263
264     wrappers:
265         - fdio-infra-wrappers-non-activity-timeout:
266             build-timeout: '{build-timeout}'
267
268     triggers:
269         - gerrit-trigger-manually-triggered:
270             name: '{project}'
271             branch: '{branch}'
272             comment-trigger-value: 'verify-perf-ligato-{type}'
273
274     builders:
275         - shell:
276             !include-raw-escape: jjb/csit/include-raw-csit-ligato-perf-hw.sh
277
278     publishers:
279         - archive-artifacts:
280             artifacts: 'archive/*.*'
281             latest-only: false
282
283         - robot:
284             output-path: archive
285             other-files:
286               - '*.*'
287
288         - fdio-infra-shiplogs:
289             maven-version: 'mvn33-new'
290
291
292 - job-template:
293     name: 'csit-vpp-verify-{stream_timed}-{os}-weekly'
294     description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.'
295
296     project-type: freestyle
297     node: '{os}-basebuild-4c-4g'
298     concurrent: false
299
300     logrotate:
301         daysToKeep: '{build-days-to-keep}'
302         numToKeep: '{build-num-to-keep}'
303         artifactDaysToKeep: '{build-artifact-days-to-keep}'
304         artifactNumToKeep: '{build-artifact-num-to-keep}'
305
306     parameters:
307         - project-parameter:
308             project: '{project}'
309         - gerrit-parameter:
310             branch: '{branch}'
311
312     scm:
313         - git-scm:
314             credentials-id: 'jenkins-gerrit-credentials'
315             branch: '{branch}'
316
317     wrappers:
318         - fdio-infra-wrappers-non-activity-timeout:
319             build-timeout: '{build-timeout}'
320
321     triggers:
322         - timed: '0 4 * * 0'
323
324         - gerrit-trigger-manually-triggered:
325             comment-trigger-value: 'csit-vpp-ref-verify'
326             name: '{project}'
327             branch: '{branch}'
328
329     builders:
330         - shell:
331             !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
332
333     publishers:
334         - archive-artifacts:
335             artifacts: 'report.html, log.html, output.xml'
336             latest-only: false
337
338         - robot-report:
339             output-path: ''
340
341         - fdio-infra-shiplogs:
342             maven-version: 'mvn33-new'
343
344 - job-template:
345     name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
346     description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
347
348     project-type: freestyle
349     node: '{os}-basebuild-4c-4g'
350     concurrent: false
351
352     logrotate:
353         daysToKeep: '{build-days-to-keep}'
354         numToKeep: '{build-num-to-keep}'
355         artifactDaysToKeep: '{build-artifact-days-to-keep}'
356         artifactNumToKeep: '{build-artifact-num-to-keep}'
357
358     parameters:
359         - project-parameter:
360             project: '{project}'
361         - gerrit-parameter:
362             branch: '{branch}'
363
364     wrappers:
365         - fdio-infra-wrappers-non-activity-timeout:
366             build-timeout: '{build-timeout}'
367
368     triggers:
369         - timed: '0 4 * * 2,6'
370
371         - gerrit-trigger-manually-triggered:
372             comment-trigger-value: 'csit-verify-vpp'
373             name: '{project}'
374             branch: '{branch}'
375
376     builders:
377         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
378         - inject:
379             properties-file: variables.prop
380         - shell:
381             !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
382
383     publishers:
384         - archive-artifacts:
385             artifacts: 'csit/archive/*.*'
386             latest-only: false
387
388         - robot-report:
389             output-path: 'csit/archive'
390
391         - fdio-infra-shiplogs:
392             maven-version: 'mvn33-new'
393
394 - job-template:
395     name: 'csit-vpp-verify-{stream_timed}-centos7-nightly'
396     description: 'Purpose of this job is to validate latest centos7 vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
397
398     project-type: freestyle
399     node: centos7-basebuild-4c-4g'
400     concurrent: false
401
402     logrotate:
403         daysToKeep: '{build-days-to-keep}'
404         numToKeep: '{build-num-to-keep}'
405         artifactDaysToKeep: '{build-artifact-days-to-keep}'
406         artifactNumToKeep: '{build-artifact-num-to-keep}'
407
408     parameters:
409         - project-parameter:
410             project: '{project}'
411         - gerrit-parameter:
412             branch: '{branch}'
413
414     scm:
415         - git-scm:
416             credentials-id: 'jenkins-gerrit-credentials'
417             branch: '{branch}'
418
419     wrappers:
420         - fdio-infra-wrappers:
421             build-timeout: '{build-timeout}'
422
423     triggers:
424         - timed: 'H H(3-4) * * *'
425
426         - gerrit-trigger-manually-triggered:
427             comment-trigger-value: 'vpp-verify-func-centos7'
428             name: '{project}'
429             branch: '{branch}'
430
431     builders:
432         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
433         - inject:
434             properties-file: variables.prop
435         - shell:
436             !include-raw-escape: jjb/csit/include-raw-csit-vpp-functional-virl.sh
437
438     publishers:
439         - archive-artifacts:
440             artifacts: 'csit/archive/*.*'
441             latest-only: false
442
443         - robot-report:
444             output-path: 'csit/archive'
445
446         - fdio-infra-shiplogs:
447             maven-version: 'mvn33-new'
448
449 - job-template:
450     name: 'csit-docs-verify-{stream}'
451
452     project-type: freestyle
453     node: 'ubuntu1604-basebuild-4c-4g'
454     concurrent: true
455
456     logrotate:
457         daysToKeep: '{build-days-to-keep}'
458         numToKeep: '{build-num-to-keep}'
459         artifactDaysToKeep: '{build-artifact-days-to-keep}'
460         artifactNumToKeep: '{build-artifact-num-to-keep}'
461
462     parameters:
463         - project-parameter:
464             project: '{project}'
465         - gerrit-parameter:
466             branch: '{branch}'
467         - maven-exec:
468             maven-version: 'mvn33-new'
469
470     scm:
471         - gerrit-trigger-scm:
472             credentials-id: 'jenkins-gerrit-credentials'
473             refspec: '$GERRIT_REFSPEC'
474             choosing-strategy: 'gerrit'
475
476     wrappers:
477         - fdio-infra-wrappers-non-activity-timeout:
478             build-timeout: '{build-timeout}'
479
480     triggers:
481         - gerrit-trigger-patch-submitted:
482             name: '{project}'
483             branch: '{branch}'
484
485     builders:
486         - maven-target:
487             maven-version: 'mvn33-new'
488             goals: '--version'
489             settings: 'csit-settings'
490             settings-type: cfp
491             global-settings: 'global-settings'
492             global-settings-type: cfp
493         - provide-maven-settings:
494             settings-file: 'csit-settings'
495             global-settings-file: 'global-settings'
496         - shell:
497             !include-raw-escape: include-raw-csit-docs.sh
498
499     publishers:
500         - archive:
501             artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
502             allow-empty: 'true'
503             fingerprint: false
504             only-if-success: true
505             default-excludes: false
506
507         - fdio-infra-shiplogs:
508             maven-version: 'mvn33-new'
509
510 - job-template:
511     name: 'csit-docs-merge-{stream_timed}'
512
513     project-type: freestyle
514     node: 'ubuntu1604-basebuild-4c-4g'
515     concurrent: true
516
517     logrotate:
518         daysToKeep: '{build-days-to-keep}'
519         numToKeep: '{build-num-to-keep}'
520         artifactDaysToKeep: '{build-artifact-days-to-keep}'
521         artifactNumToKeep: '{build-artifact-num-to-keep}'
522
523     parameters:
524         - project-parameter:
525             project: '{project}'
526         - gerrit-parameter:
527             branch: '{branch}'
528         - maven-exec:
529             maven-version: 'mvn33-new'
530
531     scm:
532         - gerrit-trigger-scm:
533             credentials-id: 'jenkins-gerrit-credentials'
534             refspec: ''
535             choosing-strategy: 'default'
536
537     wrappers:
538         - fdio-infra-wrappers-non-activity-timeout:
539             build-timeout: '{build-timeout}'
540
541     triggers:
542         - reverse:
543             jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
544             result: 'success'
545         - gerrit:
546             server-name: 'Primary'
547             trigger-on:
548                 - comment-added-contains-event:
549                     comment-contains-value: 'run-docs'
550             projects:
551               - project-compare-type: 'ANT'
552                 project-pattern: '{project}'
553                 branches:
554                   - branch-compare-type: 'ANT'
555                     branch-pattern: '**/{branch}'
556             skip-vote:
557                 successful: true
558                 failed: true
559                 unstable: true
560                 notbuilt: true
561
562     builders:
563         - maven-target:
564             maven-version: 'mvn33-new'
565             goals: '--version'
566             settings: 'csit-settings'
567             settings-type: cfp
568             global-settings: 'global-settings'
569             global-settings-type: cfp
570         - provide-maven-settings:
571             settings-file: 'csit-settings'
572             global-settings-file: 'global-settings'
573         - shell:
574             !include-raw-escape: include-raw-csit-docs.sh
575
576     publishers:
577         - archive:
578             artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
579             allow-empty: 'true'
580             fingerprint: false
581             only-if-success: true
582             default-excludes: false
583
584         - fdio-infra-shiplogs:
585             maven-version: 'mvn33-new'
586
587 - job-template:
588     name: 'csit-report-merge-{stream}'
589
590     project-type: freestyle
591     node: 'ubuntu1604-basebuild-8c-32g'
592     concurrent: false
593
594     logrotate:
595         daysToKeep: '{build-days-to-keep}'
596         numToKeep: '{build-num-to-keep}'
597         artifactDaysToKeep: '{build-artifact-days-to-keep}'
598         artifactNumToKeep: '{build-artifact-num-to-keep}'
599
600     parameters:
601         - project-parameter:
602             project: '{project}'
603         - gerrit-parameter:
604             branch: '{branch}'
605         - maven-exec:
606             maven-version: 'mvn33-new'
607
608     scm:
609         - gerrit-trigger-scm:
610             credentials-id: 'jenkins-gerrit-credentials'
611             refspec: '$GERRIT_REFSPEC'
612             choosing-strategy: 'default'
613
614     wrappers:
615         - fdio-infra-wrappers-non-activity-timeout:
616             build-timeout: '{build-timeout}'
617
618     triggers:
619         - gerrit:
620             server-name: 'Primary'
621             trigger-on:
622                 - comment-added-contains-event:
623                     comment-contains-value: 'run-report'
624             projects:
625               - project-compare-type: 'ANT'
626                 project-pattern: '{project}'
627                 branches:
628                   - branch-compare-type: 'ANT'
629                     branch-pattern: '**/{branch}'
630             skip-vote:
631                 successful: true
632                 failed: true
633                 unstable: true
634                 notbuilt: true
635
636     builders:
637         - maven-target:
638             maven-version: 'mvn33-new'
639             goals: '--version'
640             settings: 'csit-settings'
641             settings-type: cfp
642             global-settings: 'global-settings'
643             global-settings-type: cfp
644         - provide-maven-settings:
645             settings-file: 'csit-settings'
646             global-settings-file: 'global-settings'
647         - shell:
648             !include-raw-escape: include-raw-csit-report.sh
649
650     publishers:
651         - archive:
652             artifacts: 'resources/tools/presentation/csit.report.tar.gz'
653             allow-empty: 'true'
654             fingerprint: false
655             only-if-success: true
656             default-excludes: false
657
658         - fdio-infra-shiplogs:
659             maven-version: 'mvn33-new'
660
661 - job-template:
662     name: 'csit-report-merge-1801_2'
663
664     project-type: freestyle
665     node: 'ubuntu1604-basebuild-8c-32g'
666     concurrent: false
667
668     logrotate:
669         daysToKeep: '{build-days-to-keep}'
670         numToKeep: '{build-num-to-keep}'
671         artifactDaysToKeep: '{build-artifact-days-to-keep}'
672         artifactNumToKeep: '{build-artifact-num-to-keep}'
673
674     parameters:
675         - project-parameter:
676             project: '{project}'
677         - gerrit-parameter:
678             branch: 'rls1801_2'
679         - maven-exec:
680             maven-version: 'mvn33-new'
681
682     scm:
683         - gerrit-trigger-scm:
684             credentials-id: 'jenkins-gerrit-credentials'
685             refspec: '$GERRIT_REFSPEC'
686             choosing-strategy: 'default'
687
688     wrappers:
689         - fdio-infra-wrappers-non-activity-timeout:
690             build-timeout: '{build-timeout}'
691
692     triggers:
693         - gerrit:
694             server-name: 'Primary'
695             trigger-on:
696                 - comment-added-contains-event:
697                     comment-contains-value: 'run-report'
698             projects:
699               - project-compare-type: 'ANT'
700                 project-pattern: '{project}'
701                 branches:
702                   - branch-compare-type: 'ANT'
703                     branch-pattern: '**/rls1801_2'
704             skip-vote:
705                 successful: true
706                 failed: true
707                 unstable: true
708                 notbuilt: true
709
710     builders:
711         - maven-target:
712             maven-version: 'mvn33-new'
713             goals: '--version'
714             settings: 'csit-settings'
715             settings-type: cfp
716             global-settings: 'global-settings'
717             global-settings-type: cfp
718         - provide-maven-settings:
719             settings-file: 'csit-settings'
720             global-settings-file: 'global-settings'
721         - shell:
722             !include-raw-escape: include-raw-csit-report.sh
723
724     publishers:
725         - archive:
726             artifacts: 'resources/tools/presentation/csit.report.tar.gz'
727             allow-empty: 'true'
728             fingerprint: false
729             only-if-success: true
730             default-excludes: false
731
732         - fdio-infra-shiplogs:
733             maven-version: 'mvn33-new'
734
735 - job-template:
736     name: 'csit-trending-daily-master'
737
738     project-type: freestyle
739     node: 'ubuntu1604-basebuild-8c-32g'
740     concurrent: false
741
742     logrotate:
743         daysToKeep: '{build-days-to-keep}'
744         numToKeep: '{build-num-to-keep}'
745         artifactDaysToKeep: '{build-artifact-days-to-keep}'
746         artifactNumToKeep: '{build-artifact-num-to-keep}'
747
748     parameters:
749         - project-parameter:
750             project: '{project}'
751         - gerrit-parameter:
752             branch: '{branch}'
753         - maven-exec:
754             maven-version: 'mvn33-new'
755
756     scm:
757         - gerrit-trigger-scm:
758             credentials-id: 'jenkins-gerrit-credentials'
759             refspec: ''
760             choosing-strategy: 'default'
761
762     wrappers:
763         - fdio-infra-wrappers-non-activity-timeout:
764             build-timeout: '{build-timeout}'
765
766     triggers:
767         - reverse:
768             jobs: 'csit-vpp-perf-mrr-daily-master'
769             result: 'failure'
770
771     builders:
772         - maven-target:
773             maven-version: 'mvn33-new'
774             goals: '--version'
775             settings: 'csit-settings'
776             settings-type: cfp
777             global-settings: 'global-settings'
778             global-settings-type: cfp
779         - provide-maven-settings:
780             settings-file: 'csit-settings'
781             global-settings-file: 'global-settings'
782         - shell:
783             !include-raw-escape: include-raw-csit-cpta.sh
784
785     publishers:
786         - fdio-infra-shiplogs:
787             maven-version: 'mvn33-new'
788
789 - job-template:
790     name: 'csit-vpp-perf-trend-daily-master'
791
792     description: |
793       Purpose of this job is to validate latest vpp build from corresponding
794       branch stored in nexus against verified CSIT codebase of corresponding
795       branch.
796
797       objective
798           daily perf trending of vpp master build
799       job
800          name
801              csit-vpp-perf-trend-daily
802          trigger
803              scheduled daily
804       perf test-cases selection
805           all CSIT perf suites
806       default tags for vpp startup config and perf test type
807           1T1C - one worker thread, one core
808           2T2C - two worker threads, two cores
809           X520 - Intel x520-DA2 NIC
810           NDRDISC - discovery of NDR throughput
811       results
812           jjb verify - no
813           present
814               jenkins trending graphs
815
816     project-type: freestyle
817     node: 'ubuntu1604-basebuild-4c-4g'
818     concurrent: false
819
820     logrotate:
821         daysToKeep: '{build-days-to-keep}'
822         numToKeep: '{build-num-to-keep}'
823         artifactDaysToKeep: '{build-artifact-days-to-keep}'
824         artifactNumToKeep: '{build-artifact-num-to-keep}'
825
826     parameters:
827         - project-parameter:
828             project: '{project}'
829         - gerrit-parameter:
830             branch: '{branch}'
831
832     wrappers:
833         - fdio-infra-wrappers-non-activity-timeout:
834             build-timeout: '{build-timeout}'
835
836     builders:
837         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
838         - inject:
839             properties-file: variables.prop
840         - shell:
841             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-trend-daily.sh
842
843     publishers:
844         - archive-artifacts:
845             artifacts: 'csit/archive/*.*'
846             latest-only: false
847
848         - robot:
849             output-path: 'csit/archive'
850             other-files:
851               - '*.*'
852
853         - fdio-infra-shiplogs:
854             maven-version: 'mvn33-new'
855
856 - job-template:
857     name: 'csit-vpp-perf-trend-semi-weekly-master'
858
859     description: |
860       Purpose of this job is to validate latest vpp build from corresponding
861       branch stored in nexus against verified CSIT codebase of corresponding
862       branch.
863
864       consumer
865           csit-dev trending semi-weekly
866       objective
867           semi-weekly perf trending of vpp master build job
868           name
869               csit-vpp-perf-trend-semi-weekly
870           trigger
871               scheduled semi-weekly
872       perf test-cases selection
873           all CSIT perf suites
874       default tags for vpp startup config and perf test type
875           1T1C - one worker thread, one core
876           2T2C - two worker threads, two cores
877           X710 - Intel x710 Fortville NIC
878           XL710 - Intel xl710 Fortville NIC
879           NDRDISC - discovery of NDR throughput
880       results
881           jjb verify - no
882           present
883               jenkins trending graphs
884
885     project-type: freestyle
886     node: 'ubuntu1604-basebuild-4c-4g'
887     concurrent: false
888
889     logrotate:
890         daysToKeep: '{build-days-to-keep}'
891         numToKeep: '{build-num-to-keep}'
892         artifactDaysToKeep: '{build-artifact-days-to-keep}'
893         artifactNumToKeep: '{build-artifact-num-to-keep}'
894
895     parameters:
896         - project-parameter:
897             project: '{project}'
898         - gerrit-parameter:
899             branch: '{branch}'
900
901     wrappers:
902         - fdio-infra-wrappers-non-activity-timeout:
903             build-timeout: '{build-timeout}'
904
905     builders:
906         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
907         - inject:
908             properties-file: variables.prop
909         - shell:
910             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-trend-semi-weekly.sh
911
912     publishers:
913         - archive-artifacts:
914             artifacts: 'csit/archive/*.*'
915             latest-only: false
916
917         - robot:
918             output-path: 'csit/archive'
919             other-files:
920               - '*.*'
921
922         - fdio-infra-shiplogs:
923             maven-version: 'mvn33-new'
924
925 - job-template:
926     name: 'csit-vpp-perf-mrr-daily-master'
927
928     description: |
929       objective
930           check vpp perf mrr daily
931       job
932           name
933               csit-vpp-perf-mrr-daily
934           trigger
935               twice a day
936       perf test-cases selection
937           all CSIT MRR perf suites
938       results
939           jjb verify
940               PASS/FAIL
941           present
942               no
943           analyse
944               csit project
945                   catch malfunctions
946                   catch degradations
947
948     project-type: freestyle
949     node: 'ubuntu1604-basebuild-4c-4g'
950     concurrent: true
951
952     logrotate:
953         daysToKeep: '{build-days-to-keep}'
954         numToKeep: '{build-num-to-keep}'
955         artifactDaysToKeep: '{build-artifact-days-to-keep}'
956         artifactNumToKeep: '{build-artifact-num-to-keep}'
957
958     parameters:
959         - project-parameter:
960             project: '{project}'
961         - gerrit-parameter:
962             branch: '{branch}'
963
964     wrappers:
965         - fdio-infra-wrappers-non-activity-timeout:
966             build-timeout: '{build-timeout}'
967
968     triggers:
969         - timed: '0 2,16 * * *'
970
971     builders:
972         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
973         - inject:
974             properties-file: variables.prop
975         - shell:
976             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-mrr-daily.sh
977
978     publishers:
979         - archive-artifacts:
980             artifacts: 'csit/archive/*.*'
981             latest-only: false
982
983         - robot:
984             output-path: 'csit/archive'
985             other-files:
986               - '*.*'
987
988         - trigger:
989             project: 'csit-trending-daily-master'
990             threshold: 'FAILURE'
991
992         - fdio-infra-shiplogs:
993             maven-version: 'mvn33-new'
994
995 - job-template:
996     name: 'csit-dpdk-perf-mrr-weekly-master'
997
998     description: |
999       objective
1000           check dpdk perf mrr weekly
1001       job
1002           name
1003               csit-dpdk-perf-mrr-weekly-master
1004           trigger
1005               weekly
1006       perf test-cases selection
1007           all CSIT DPDK MRR perf suites
1008       results
1009           jjb verify
1010               PASS/FAIL
1011           present
1012               no
1013           analyse
1014               csit project
1015                   catch malfunctions
1016                   catch degradations
1017
1018     project-type: freestyle
1019     node: 'ubuntu1604-basebuild-4c-4g'
1020     concurrent: false
1021
1022     logrotate:
1023         daysToKeep: '{build-days-to-keep}'
1024         numToKeep: '{build-num-to-keep}'
1025         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1026         artifactNumToKeep: '{build-artifact-num-to-keep}'
1027
1028     parameters:
1029         - project-parameter:
1030             project: '{project}'
1031         - gerrit-parameter:
1032             branch: '{branch}'
1033
1034     wrappers:
1035         - fdio-infra-wrappers-non-activity-timeout:
1036             build-timeout: '{build-timeout}'
1037
1038     triggers:
1039         - timed: '0 0 * * 6'
1040
1041     builders:
1042         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1043         - inject:
1044             properties-file: variables.prop
1045         - shell:
1046             !include-raw-escape: jjb/csit/include-raw-csit-dpdk-perf-mrr-weekly.sh
1047
1048     publishers:
1049         - archive-artifacts:
1050             artifacts: 'csit/archive/*.*'
1051             latest-only: false
1052
1053         - robot:
1054             output-path: 'csit/archive'
1055             other-files:
1056               - '*.*'
1057
1058         - trigger:
1059             project: 'csit-trending-daily-master'
1060             threshold: 'FAILURE'
1061
1062         - fdio-infra-shiplogs:
1063             maven-version: 'mvn33-new'
1064
1065 - job-template:
1066     name: 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
1067
1068     description: |
1069       <ul>
1070           <li>objective
1071               <ul>
1072                   <li>perf verify - per csit gerrit patch
1073               </ul>
1074           <li>job
1075               <ul>
1076                   <li>name: <b>csit-vpp-perf-verify-{stream}-{topo}-{arch}</b>
1077                   <li>trigger: keyword in comment to csit patch:
1078                       <b>csit-{topo}-{arch}-perftest tag_list</b>
1079               </ul>
1080           <li>perf test-cases selection
1081               <ul>
1082                   <li>test-cases selected using trigger keyword followed by tags
1083                   <li>all test-cases are labelled with CSIT RF topic tags
1084                       defined in <i>csit/docs/tag_documentation.rst</i>
1085               </ul>
1086           <li>proposed keywords
1087               <ul>
1088                   <li>focus on testing specified vpp packet processing path
1089                   <li>format: csit-{topo}-{arch}-perftest tag_list
1090               </ul>
1091           <li>default tags for vpp startup config and perf test type
1092               <ul>
1093                   <li>IP4BASE, IP6BASE, L2BDBASE
1094                   <li>64B/78B: 64B/78B packet size
1095                   <li>1C: one core
1096                   <li>X710: x710 Fortville NIC
1097                   <li>MRR: MRR throughput
1098               </ul>
1099           <li>results
1100               <ul>
1101                   <li>jjb verify: PASS/FAIL
1102                   <li>present: no
1103                   <li>analyse: no
1104               </ul>
1105       </ul>
1106     project-type: freestyle
1107     node: 'ubuntu1604-basebuild-4c-4g'
1108     concurrent: false
1109
1110     logrotate:
1111         daysToKeep: '{build-days-to-keep}'
1112         numToKeep: '{build-num-to-keep}'
1113         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1114         artifactNumToKeep: '{build-artifact-num-to-keep}'
1115
1116     parameters:
1117         - project-parameter:
1118             project: '{project}'
1119         - gerrit-parameter:
1120             branch: '{branch}'
1121
1122     scm:
1123         - gerrit-trigger-scm:
1124             credentials-id: 'jenkins-gerrit-credentials'
1125             refspec: '$GERRIT_REFSPEC'
1126             choosing-strategy: 'gerrit'
1127
1128     wrappers:
1129         - fdio-infra-wrappers-non-activity-timeout:
1130             build-timeout: '{build-timeout}'
1131
1132     triggers:
1133         - gerrit:
1134             server-name: 'Primary'
1135             trigger-on:
1136                 - comment-added-contains-event:
1137                     comment-contains-value: 'csit-{topo}-{arch}-perftest'
1138             projects:
1139               - project-compare-type: 'ANT'
1140                 project-pattern: '{project}'
1141                 branches:
1142                   - branch-compare-type: 'ANT'
1143                     branch-pattern: '**/{branch}'
1144             skip-vote:
1145                 successful: false
1146                 failed: false
1147                 unstable: false
1148                 notbuilt: false
1149
1150     builders:
1151         - shell:
1152             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-verify.sh
1153
1154     publishers:
1155         - archive-artifacts:
1156             artifacts: 'archive/*.*'
1157             latest-only: false
1158
1159         - robot:
1160             output-path: archive
1161             other-files:
1162               - '*.*'
1163
1164         - fdio-infra-shiplogs:
1165             maven-version: 'mvn33-new'
1166
1167 - job-template:
1168     name: 'csit-nsh_sfc-verify-perf-{stream}'
1169
1170     project-type: freestyle
1171     node: 'ubuntu1604-basebuild-4c-4g'
1172     concurrent: true
1173
1174     logrotate:
1175         daysToKeep: '{build-days-to-keep}'
1176         numToKeep: '{build-num-to-keep}'
1177         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1178         artifactNumToKeep: '{build-artifact-num-to-keep}'
1179
1180     parameters:
1181         - project-parameter:
1182             project: '{project}'
1183         - gerrit-parameter:
1184             branch: '{branch}'
1185         - os-parameter:
1186             os: 'ubuntu1604'
1187         - stream-parameter:
1188             stream: '{stream}'
1189
1190     scm:
1191         - gerrit-trigger-scm:
1192             credentials-id: 'jenkins-gerrit-credentials'
1193             refspec: '$GERRIT_REFSPEC'
1194             choosing-strategy: 'gerrit'
1195
1196     wrappers:
1197         - fdio-infra-wrappers-non-activity-timeout:
1198             build-timeout: '{build-timeout}'
1199
1200     triggers:
1201         - gerrit-trigger-manually-triggered:
1202             name: '{project}'
1203             branch: '{branch}'
1204             comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1205
1206     builders:
1207         - shell:
1208             !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1209
1210     publishers:
1211         - archive-artifacts:
1212             artifacts: 'archive/*.*'
1213             latest-only: false
1214
1215         - robot-report:
1216             output-path: 'archive'
1217
1218         - fdio-infra-shiplogs:
1219             maven-version: 'mvn33-new'
1220
1221 - job-template:
1222     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1223
1224     project-type: freestyle
1225     node: '{os}-basebuild-4c-4g'
1226     concurrent: true
1227
1228     logrotate:
1229         daysToKeep: '{build-days-to-keep}'
1230         numToKeep: '{build-num-to-keep}'
1231         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1232         artifactNumToKeep: '{build-artifact-num-to-keep}'
1233
1234     parameters:
1235         - project-parameter:
1236             project: '{project}'
1237         - gerrit-parameter:
1238             branch: '{branch}'
1239         - os-parameter:
1240             os: '{os}'
1241         - stream-parameter:
1242             stream: '{stream}'
1243
1244     scm:
1245         - gerrit-trigger-scm:
1246             credentials-id: 'jenkins-gerrit-credentials'
1247             refspec: '$GERRIT_REFSPEC'
1248             choosing-strategy: 'gerrit'
1249
1250     wrappers:
1251         - fdio-infra-wrappers:
1252             build-timeout: '{build-timeout}'
1253
1254     triggers:
1255         - gerrit-trigger-manually-triggered:
1256             name: '{project}'
1257             branch: '{branch}'
1258             comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1259
1260     builders:
1261         - shell:
1262             !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1263
1264     publishers:
1265         - archive-artifacts:
1266             artifacts: 'archive/*.*'
1267             latest-only: false
1268
1269         - robot-report:
1270             output-path: 'archive'
1271
1272         - fdio-infra-shiplogs:
1273             maven-version: 'mvn33-new'
1274
1275 - job-template:
1276     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1277
1278     project-type: freestyle
1279     node: '{os}-basebuild-4c-4g'
1280     concurrent: true
1281
1282     logrotate:
1283         daysToKeep: '{build-days-to-keep}'
1284         numToKeep: '{build-num-to-keep}'
1285         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1286         artifactNumToKeep: '{build-artifact-num-to-keep}'
1287
1288     parameters:
1289         - project-parameter:
1290             project: '{project}'
1291         - gerrit-parameter:
1292             branch: '{branch}'
1293         - os-parameter:
1294             os: '{os}'
1295
1296     scm:
1297         - gerrit-trigger-scm:
1298             credentials-id: 'jenkins-gerrit-credentials'
1299             refspec: '$GERRIT_REFSPEC'
1300             choosing-strategy: 'gerrit'
1301
1302     wrappers:
1303         - fdio-infra-wrappers:
1304             build-timeout: '{build-timeout}'
1305
1306     triggers:
1307         - gerrit-trigger-manually-triggered:
1308             name: '{project}'
1309             branch: '{branch}'
1310             comment-trigger-value: 'csit_verify_tldk_func'
1311
1312     builders:
1313         - shell:
1314             !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1315
1316     publishers:
1317         - archive-artifacts:
1318             artifacts: 'archive/*.*'
1319             latest-only: false
1320
1321         - robot-report:
1322             output-path: 'archive'
1323
1324         - fdio-infra-shiplogs:
1325             maven-version: 'mvn33-new'
1326
1327 - job-template:
1328     name: 'csit-dmm-functional-{stream}-{os}-virl'
1329
1330     project-type: freestyle
1331     node: '{os}-basebuild-4c-4g'
1332     concurrent: true
1333
1334     logrotate:
1335         daysToKeep: '{build-days-to-keep}'
1336         numToKeep: '{build-num-to-keep}'
1337         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1338         artifactNumToKeep: '{build-artifact-num-to-keep}'
1339
1340     parameters:
1341         - project-parameter:
1342             project: '{project}'
1343         - gerrit-parameter:
1344             branch: '{branch}'
1345
1346     scm:
1347         - gerrit-trigger-scm:
1348             credentials-id: 'jenkins-gerrit-credentials'
1349             refspec: '$GERRIT_REFSPEC'
1350             choosing-strategy: 'gerrit'
1351
1352     wrappers:
1353         - fdio-infra-wrappers:
1354             build-timeout: '{build-timeout}'
1355
1356     triggers:
1357         - gerrit-trigger-manually-triggered:
1358             name: '{project}'
1359             branch: '{branch}'
1360             comment-trigger-value: 'csit_verify_dmm_func'
1361
1362     builders:
1363         - shell:
1364             !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1365
1366     publishers:
1367         - archive-artifacts:
1368             artifacts: 'report.html, log.html, output.xml'
1369             latest-only: false
1370
1371         - robot-report:
1372             output-path: ''
1373
1374         - fdio-infra-shiplogs:
1375             maven-version: 'mvn33-new'
1376
1377 - parameter:
1378     name: test-type-parameter
1379     parameters:
1380         - string:
1381             name: TYPE
1382             default: '{type}'
1383             description: "Test TYPE parameter if not given by trigger"