Merge "Revert "Run csit-vpp-perf-mrr-daily-master every second day""
[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         - '1804':
53             branch: 'rls1804'
54             branch-id: 'oper-rls1804'
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/report_gen/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-trending-daily-master'
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: '{branch}'
672         - maven-exec:
673             maven-version: 'mvn33-new'
674
675     scm:
676         - gerrit-trigger-scm:
677             credentials-id: 'jenkins-gerrit-credentials'
678             refspec: ''
679             choosing-strategy: 'default'
680
681     wrappers:
682         - fdio-infra-wrappers-non-activity-timeout:
683             build-timeout: '{build-timeout}'
684
685     triggers:
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: '0 2,16 * * *'
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         - trigger:
1011             project: 'csit-trending-daily-master'
1012             threshold: 'FAILURE'
1013
1014         - fdio-infra-shiplogs:
1015             maven-version: 'mvn33-new'
1016
1017
1018 - job-template:
1019     name: 'csit-vpp-perf-verify-{stream}'
1020
1021     description: |
1022       objective
1023           perf verify - per csit gerrit patch
1024       job
1025           name
1026               csit-vpp-perf-verify
1027           trigger
1028               keyword in comment to csit patch
1029       perf test-cases selection
1030           test-cases selected using trigger keywords paired with tags
1031           all test-cases are labelled with CSIT RF topic tags defined in
1032           csit/docs/tag_documentation.rst
1033       proposed keywords
1034           focus on testing specified vpp packet processing path
1035           format - keyword - tag_list
1036           perf_verify_ip4 - IP4Base, IP4Scale2M
1037           perf_verify_ip6 - IP6Base, IP6Scale2M
1038           perf_verify_l2 - L2XC, L2BD
1039           perf_verify_lisp - 4Lisp, 6Lisp
1040           perf_verify_vxlan - Vxlan
1041           perf_verify_vhost - Vhost
1042           perf_verify_memif - Memif
1043       default tags for vpp startup config and perf test type
1044           1T1C
1045               one worker thread, one core
1046           X520
1047               x520 Niantic NIC
1048           NDRDISC
1049               discovery of NDR throughput
1050       results
1051           jjb verify
1052               PASS/FAIL
1053           present
1054               no
1055           analyse
1056               no
1057     project-type: freestyle
1058     node: 'ubuntu1604-basebuild-4c-4g'
1059     concurrent: false
1060
1061     logrotate:
1062         daysToKeep: '{build-days-to-keep}'
1063         numToKeep: '{build-num-to-keep}'
1064         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1065         artifactNumToKeep: '{build-artifact-num-to-keep}'
1066
1067     parameters:
1068         - project-parameter:
1069             project: '{project}'
1070         - gerrit-parameter:
1071             branch: '{branch}'
1072
1073     scm:
1074         - gerrit-trigger-scm:
1075             credentials-id: 'jenkins-gerrit-credentials'
1076             refspec: '$GERRIT_REFSPEC'
1077             choosing-strategy: 'gerrit'
1078
1079     wrappers:
1080         - fdio-infra-wrappers-non-activity-timeout:
1081             build-timeout: '{build-timeout}'
1082
1083     triggers:
1084         - gerrit:
1085             server-name: 'Primary'
1086             trigger-on:
1087                 - comment-added-contains-event:
1088                     comment-contains-value: 'verify-perf-l2'
1089                 - comment-added-contains-event:
1090                     comment-contains-value: 'verify-perf-ip4'
1091                 - comment-added-contains-event:
1092                     comment-contains-value: 'verify-perf-ip6'
1093                 - comment-added-contains-event:
1094                     comment-contains-value: 'verify-perf-lisp'
1095                 - comment-added-contains-event:
1096                     comment-contains-value: 'verify-perf-vxlan'
1097                 - comment-added-contains-event:
1098                     comment-contains-value: 'verify-perf-vhost'
1099                 - comment-added-contains-event:
1100                     comment-contains-value: 'verify-perf-memif'
1101                 - comment-added-contains-event:
1102                     comment-contains-value: 'verify-perf-ipsechw'
1103             projects:
1104               - project-compare-type: 'ANT'
1105                 project-pattern: '{project}'
1106                 branches:
1107                   - branch-compare-type: 'ANT'
1108                     branch-pattern: '**/{branch}'
1109             skip-vote:
1110                 successful: false
1111                 failed: false
1112                 unstable: false
1113                 notbuilt: false
1114
1115     builders:
1116         - shell:
1117             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-verify.sh
1118
1119     publishers:
1120         - archive-artifacts:
1121             artifacts: 'archive/*.*'
1122             latest-only: false
1123
1124         - robot:
1125             output-path: archive
1126             other-files:
1127               - '*.*'
1128
1129         - fdio-infra-shiplogs:
1130             maven-version: 'mvn33-new'
1131
1132 - job-template:
1133     name: 'csit-nsh_sfc-verify-perf-{stream}'
1134
1135     project-type: freestyle
1136     node: 'ubuntu1604-basebuild-4c-4g'
1137     concurrent: true
1138
1139     logrotate:
1140         daysToKeep: '{build-days-to-keep}'
1141         numToKeep: '{build-num-to-keep}'
1142         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1143         artifactNumToKeep: '{build-artifact-num-to-keep}'
1144
1145     parameters:
1146         - project-parameter:
1147             project: '{project}'
1148         - gerrit-parameter:
1149             branch: '{branch}'
1150         - os-parameter:
1151             os: 'ubuntu1604'
1152         - stream-parameter:
1153             stream: '{stream}'
1154
1155     scm:
1156         - gerrit-trigger-scm:
1157             credentials-id: 'jenkins-gerrit-credentials'
1158             refspec: '$GERRIT_REFSPEC'
1159             choosing-strategy: 'gerrit'
1160
1161     wrappers:
1162         - fdio-infra-wrappers-non-activity-timeout:
1163             build-timeout: '{build-timeout}'
1164
1165     triggers:
1166         - gerrit-trigger-manually-triggered:
1167             name: '{project}'
1168             branch: '{branch}'
1169             comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1170
1171     builders:
1172         - shell:
1173             !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1174
1175     publishers:
1176         - archive-artifacts:
1177             artifacts: 'archive/*.*'
1178             latest-only: false
1179
1180         - robot-report:
1181             output-path: 'archive'
1182
1183         - fdio-infra-shiplogs:
1184             maven-version: 'mvn33-new'
1185
1186 - job-template:
1187     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1188
1189     project-type: freestyle
1190     node: '{os}-basebuild-4c-4g'
1191     concurrent: true
1192
1193     logrotate:
1194         daysToKeep: '{build-days-to-keep}'
1195         numToKeep: '{build-num-to-keep}'
1196         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1197         artifactNumToKeep: '{build-artifact-num-to-keep}'
1198
1199     parameters:
1200         - project-parameter:
1201             project: '{project}'
1202         - gerrit-parameter:
1203             branch: '{branch}'
1204         - os-parameter:
1205             os: '{os}'
1206         - stream-parameter:
1207             stream: '{stream}'
1208
1209     scm:
1210         - gerrit-trigger-scm:
1211             credentials-id: 'jenkins-gerrit-credentials'
1212             refspec: '$GERRIT_REFSPEC'
1213             choosing-strategy: 'gerrit'
1214
1215     wrappers:
1216         - fdio-infra-wrappers:
1217             build-timeout: '{build-timeout}'
1218
1219     triggers:
1220         - gerrit-trigger-manually-triggered:
1221             name: '{project}'
1222             branch: '{branch}'
1223             comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1224
1225     builders:
1226         - shell:
1227             !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1228
1229     publishers:
1230         - archive-artifacts:
1231             artifacts: 'archive/*.*'
1232             latest-only: false
1233
1234         - robot-report:
1235             output-path: 'archive'
1236
1237         - fdio-infra-shiplogs:
1238             maven-version: 'mvn33-new'
1239
1240 - job-template:
1241     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1242
1243     project-type: freestyle
1244     node: '{os}-basebuild-4c-4g'
1245     concurrent: true
1246
1247     logrotate:
1248         daysToKeep: '{build-days-to-keep}'
1249         numToKeep: '{build-num-to-keep}'
1250         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1251         artifactNumToKeep: '{build-artifact-num-to-keep}'
1252
1253     parameters:
1254         - project-parameter:
1255             project: '{project}'
1256         - gerrit-parameter:
1257             branch: '{branch}'
1258         - os-parameter:
1259             os: '{os}'
1260
1261     scm:
1262         - gerrit-trigger-scm:
1263             credentials-id: 'jenkins-gerrit-credentials'
1264             refspec: '$GERRIT_REFSPEC'
1265             choosing-strategy: 'gerrit'
1266
1267     wrappers:
1268         - fdio-infra-wrappers:
1269             build-timeout: '{build-timeout}'
1270
1271     triggers:
1272         - gerrit-trigger-manually-triggered:
1273             name: '{project}'
1274             branch: '{branch}'
1275             comment-trigger-value: 'csit_verify_tldk_func'
1276
1277     builders:
1278         - shell:
1279             !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1280
1281     publishers:
1282         - archive-artifacts:
1283             artifacts: 'archive/*.*'
1284             latest-only: false
1285
1286         - robot-report:
1287             output-path: 'archive'
1288
1289         - fdio-infra-shiplogs:
1290             maven-version: 'mvn33-new'
1291
1292 - parameter:
1293     name: test-type-parameter
1294     parameters:
1295         - string:
1296             name: TYPE
1297             default: '{type}'
1298             description: "Test TYPE parameter if not given by trigger"