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