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