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