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