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