adding the csit-dmm job description
[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         - 'csit-dmm-functional-{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-trending-daily-master'
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: '{branch}'
670         - maven-exec:
671             maven-version: 'mvn33-new'
672
673     scm:
674         - gerrit-trigger-scm:
675             credentials-id: 'jenkins-gerrit-credentials'
676             refspec: ''
677             choosing-strategy: 'default'
678
679     wrappers:
680         - fdio-infra-wrappers-non-activity-timeout:
681             build-timeout: '{build-timeout}'
682
683     triggers:
684         - reverse:
685             jobs: 'csit-vpp-perf-mrr-daily-master'
686             result: 'failure'
687
688     builders:
689         - maven-target:
690             maven-version: 'mvn33-new'
691             goals: '--version'
692             settings: 'csit-settings'
693             settings-type: cfp
694             global-settings: 'global-settings'
695             global-settings-type: cfp
696         - provide-maven-settings:
697             settings-file: 'csit-settings'
698             global-settings-file: 'global-settings'
699         - shell:
700             !include-raw-escape: include-raw-csit-cpta.sh
701
702     publishers:
703         - fdio-infra-shiplogs:
704             maven-version: 'mvn33-new'
705
706 - job-template:
707     name: 'csit-vpp-perf-trend-daily-master'
708
709     description: |
710       Purpose of this job is to validate latest vpp build from corresponding
711       branch stored in nexus against verified CSIT codebase of corresponding
712       branch.
713
714       objective
715           daily perf trending of vpp master build
716       job
717          name
718              csit-vpp-perf-trend-daily
719          trigger
720              scheduled daily
721       perf test-cases selection
722           all CSIT perf suites
723       default tags for vpp startup config and perf test type
724           1T1C - one worker thread, one core
725           2T2C - two worker threads, two cores
726           X520 - Intel x520-DA2 NIC
727           NDRDISC - discovery of NDR throughput
728       results
729           jjb verify - no
730           present
731               jenkins trending graphs
732
733     project-type: freestyle
734     node: 'ubuntu1604-basebuild-4c-4g'
735     concurrent: false
736
737     logrotate:
738         daysToKeep: '{build-days-to-keep}'
739         numToKeep: '{build-num-to-keep}'
740         artifactDaysToKeep: '{build-artifact-days-to-keep}'
741         artifactNumToKeep: '{build-artifact-num-to-keep}'
742
743     parameters:
744         - project-parameter:
745             project: '{project}'
746         - gerrit-parameter:
747             branch: '{branch}'
748
749     wrappers:
750         - fdio-infra-wrappers-non-activity-timeout:
751             build-timeout: '{build-timeout}'
752
753     builders:
754         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
755         - inject:
756             properties-file: variables.prop
757         - shell:
758             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-trend-daily.sh
759
760     publishers:
761         - archive-artifacts:
762             artifacts: 'csit/archive/*.*'
763             latest-only: false
764
765         - robot:
766             output-path: 'csit/archive'
767             other-files:
768               - '*.*'
769
770         - fdio-infra-shiplogs:
771             maven-version: 'mvn33-new'
772
773 - job-template:
774     name: 'csit-vpp-perf-trend-semi-weekly-master'
775
776     description: |
777       Purpose of this job is to validate latest vpp build from corresponding
778       branch stored in nexus against verified CSIT codebase of corresponding
779       branch.
780
781       consumer
782           csit-dev trending semi-weekly
783       objective
784           semi-weekly perf trending of vpp master build job
785           name
786               csit-vpp-perf-trend-semi-weekly
787           trigger
788               scheduled semi-weekly
789       perf test-cases selection
790           all CSIT perf suites
791       default tags for vpp startup config and perf test type
792           1T1C - one worker thread, one core
793           2T2C - two worker threads, two cores
794           X710 - Intel x710 Fortville NIC
795           XL710 - Intel xl710 Fortville NIC
796           NDRDISC - discovery of NDR throughput
797       results
798           jjb verify - no
799           present
800               jenkins trending graphs
801
802     project-type: freestyle
803     node: 'ubuntu1604-basebuild-4c-4g'
804     concurrent: false
805
806     logrotate:
807         daysToKeep: '{build-days-to-keep}'
808         numToKeep: '{build-num-to-keep}'
809         artifactDaysToKeep: '{build-artifact-days-to-keep}'
810         artifactNumToKeep: '{build-artifact-num-to-keep}'
811
812     parameters:
813         - project-parameter:
814             project: '{project}'
815         - gerrit-parameter:
816             branch: '{branch}'
817
818     wrappers:
819         - fdio-infra-wrappers-non-activity-timeout:
820             build-timeout: '{build-timeout}'
821
822     builders:
823         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
824         - inject:
825             properties-file: variables.prop
826         - shell:
827             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-trend-semi-weekly.sh
828
829     publishers:
830         - archive-artifacts:
831             artifacts: 'csit/archive/*.*'
832             latest-only: false
833
834         - robot:
835             output-path: 'csit/archive'
836             other-files:
837               - '*.*'
838
839         - fdio-infra-shiplogs:
840             maven-version: 'mvn33-new'
841
842 - job-template:
843     name: 'csit-vpp-perf-check-{stream}'
844
845     description: |
846       consumer
847           csit-dev perf code base checks
848       objective
849           check csit perf code base
850       job
851           name
852               csit-vpp-perf-check
853           trigger
854               see below
855       perf test-cases selection
856           all CSIT perf suites
857       keywords
858           format - keyword, tag_list
859               verify-perf-ndrdisc, NDRDISC
860               verify-perf-pdrdisc, PDRDISC
861               verify-perf-mrr, MRR
862       default tags for vpp startup config and perf test type
863           1T1C
864               one worker thread, one core
865           2T2C
866               two worker threads, two cores
867       results
868           jjb verify
869               PASS/FAIL
870           present
871               no
872           analyse
873               csit project
874                   catch malfunctions
875                   catch degradations
876
877     project-type: freestyle
878     node: 'ubuntu1604-basebuild-4c-4g'
879     concurrent: true
880
881     logrotate:
882         daysToKeep: '{build-days-to-keep}'
883         numToKeep: '{build-num-to-keep}'
884         artifactDaysToKeep: '{build-artifact-days-to-keep}'
885         artifactNumToKeep: '{build-artifact-num-to-keep}'
886
887     parameters:
888         - project-parameter:
889             project: '{project}'
890         - gerrit-parameter:
891             branch: '{branch}'
892
893     scm:
894         - gerrit-trigger-scm:
895             credentials-id: 'jenkins-gerrit-credentials'
896             refspec: '$GERRIT_REFSPEC'
897             choosing-strategy: 'gerrit'
898
899     wrappers:
900         - fdio-infra-wrappers-non-activity-timeout:
901             build-timeout: '{build-timeout}'
902
903     triggers:
904         - gerrit:
905             server-name: 'Primary'
906             trigger-on:
907                 - comment-added-contains-event:
908                     comment-contains-value: 'verify-perf-ndrdisc'
909                 - comment-added-contains-event:
910                     comment-contains-value: 'verify-perf-pdrdisc'
911                 - comment-added-contains-event:
912                     comment-contains-value: 'verify-perf-mrr'
913             projects:
914               - project-compare-type: 'ANT'
915                 project-pattern: '{project}'
916                 branches:
917                   - branch-compare-type: 'ANT'
918                     branch-pattern: '**/{branch}'
919             skip-vote:
920                 successful: false
921                 failed: false
922                 unstable: false
923                 notbuilt: false
924
925     builders:
926         - shell:
927             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-check.sh
928
929     publishers:
930         - archive-artifacts:
931             artifacts: 'archive/*.*'
932             latest-only: false
933
934         - robot:
935             output-path: archive
936             other-files:
937               - '*.*'
938
939         - fdio-infra-shiplogs:
940             maven-version: 'mvn33-new'
941
942 - job-template:
943     name: 'csit-vpp-perf-mrr-daily-master'
944
945     description: |
946       objective
947           check vpp perf mrr daily
948       job
949           name
950               csit-vpp-perf-mrr-daily
951           trigger
952               daily
953       perf test-cases selection
954           all CSIT perf suites
955       default tags for vpp startup config and perf test type
956           1T1C - one worker thread, one core
957           2T2C - two worker threads, two cores
958       results
959           jjb verify
960               PASS/FAIL
961           present
962               no
963           analyse
964               csit project
965                   catch malfunctions
966                   catch degradations
967
968     project-type: freestyle
969     node: 'ubuntu1604-basebuild-4c-4g'
970     concurrent: false
971
972     logrotate:
973         daysToKeep: '{build-days-to-keep}'
974         numToKeep: '{build-num-to-keep}'
975         artifactDaysToKeep: '{build-artifact-days-to-keep}'
976         artifactNumToKeep: '{build-artifact-num-to-keep}'
977
978     parameters:
979         - project-parameter:
980             project: '{project}'
981         - gerrit-parameter:
982             branch: '{branch}'
983
984     wrappers:
985         - fdio-infra-wrappers-non-activity-timeout:
986             build-timeout: '{build-timeout}'
987
988     triggers:
989         - timed: '0 2,16 * * *'
990
991     builders:
992         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
993         - inject:
994             properties-file: variables.prop
995         - shell:
996             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-mrr-daily.sh
997
998     publishers:
999         - archive-artifacts:
1000             artifacts: 'csit/archive/*.*'
1001             latest-only: false
1002
1003         - robot:
1004             output-path: 'csit/archive'
1005             other-files:
1006               - '*.*'
1007
1008         - trigger:
1009             project: 'csit-trending-daily-master'
1010             threshold: 'FAILURE'
1011
1012         - fdio-infra-shiplogs:
1013             maven-version: 'mvn33-new'
1014
1015
1016 - job-template:
1017     name: 'csit-vpp-perf-verify-{stream}'
1018
1019     description: |
1020       objective
1021           perf verify - per csit gerrit patch
1022       job
1023           name
1024               csit-vpp-perf-verify
1025           trigger
1026               keyword in comment to csit patch
1027       perf test-cases selection
1028           test-cases selected using trigger keywords paired with tags
1029           all test-cases are labelled with CSIT RF topic tags defined in
1030           csit/docs/tag_documentation.rst
1031       proposed keywords
1032           focus on testing specified vpp packet processing path
1033           format - keyword - tag_list
1034           perf_verify_ip4 - IP4Base, IP4Scale2M
1035           perf_verify_ip6 - IP6Base, IP6Scale2M
1036           perf_verify_l2 - L2XC, L2BD
1037           perf_verify_lisp - 4Lisp, 6Lisp
1038           perf_verify_vxlan - Vxlan
1039           perf_verify_vhost - Vhost
1040           perf_verify_memif - Memif
1041       default tags for vpp startup config and perf test type
1042           1T1C
1043               one worker thread, one core
1044           X520
1045               x520 Niantic NIC
1046           NDRDISC
1047               discovery of NDR throughput
1048       results
1049           jjb verify
1050               PASS/FAIL
1051           present
1052               no
1053           analyse
1054               no
1055     project-type: freestyle
1056     node: 'ubuntu1604-basebuild-4c-4g'
1057     concurrent: false
1058
1059     logrotate:
1060         daysToKeep: '{build-days-to-keep}'
1061         numToKeep: '{build-num-to-keep}'
1062         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1063         artifactNumToKeep: '{build-artifact-num-to-keep}'
1064
1065     parameters:
1066         - project-parameter:
1067             project: '{project}'
1068         - gerrit-parameter:
1069             branch: '{branch}'
1070
1071     scm:
1072         - gerrit-trigger-scm:
1073             credentials-id: 'jenkins-gerrit-credentials'
1074             refspec: '$GERRIT_REFSPEC'
1075             choosing-strategy: 'gerrit'
1076
1077     wrappers:
1078         - fdio-infra-wrappers-non-activity-timeout:
1079             build-timeout: '{build-timeout}'
1080
1081     triggers:
1082         - gerrit:
1083             server-name: 'Primary'
1084             trigger-on:
1085                 - comment-added-contains-event:
1086                     comment-contains-value: 'verify-perf-l2'
1087                 - comment-added-contains-event:
1088                     comment-contains-value: 'verify-perf-ip4'
1089                 - comment-added-contains-event:
1090                     comment-contains-value: 'verify-perf-ip6'
1091                 - comment-added-contains-event:
1092                     comment-contains-value: 'verify-perf-lisp'
1093                 - comment-added-contains-event:
1094                     comment-contains-value: 'verify-perf-vxlan'
1095                 - comment-added-contains-event:
1096                     comment-contains-value: 'verify-perf-vhost'
1097                 - comment-added-contains-event:
1098                     comment-contains-value: 'verify-perf-memif'
1099                 - comment-added-contains-event:
1100                     comment-contains-value: 'verify-perf-ipsechw'
1101             projects:
1102               - project-compare-type: 'ANT'
1103                 project-pattern: '{project}'
1104                 branches:
1105                   - branch-compare-type: 'ANT'
1106                     branch-pattern: '**/{branch}'
1107             skip-vote:
1108                 successful: false
1109                 failed: false
1110                 unstable: false
1111                 notbuilt: false
1112
1113     builders:
1114         - shell:
1115             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-verify.sh
1116
1117     publishers:
1118         - archive-artifacts:
1119             artifacts: 'archive/*.*'
1120             latest-only: false
1121
1122         - robot:
1123             output-path: archive
1124             other-files:
1125               - '*.*'
1126
1127         - fdio-infra-shiplogs:
1128             maven-version: 'mvn33-new'
1129
1130 - job-template:
1131     name: 'csit-nsh_sfc-verify-perf-{stream}'
1132
1133     project-type: freestyle
1134     node: 'ubuntu1604-basebuild-4c-4g'
1135     concurrent: true
1136
1137     logrotate:
1138         daysToKeep: '{build-days-to-keep}'
1139         numToKeep: '{build-num-to-keep}'
1140         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1141         artifactNumToKeep: '{build-artifact-num-to-keep}'
1142
1143     parameters:
1144         - project-parameter:
1145             project: '{project}'
1146         - gerrit-parameter:
1147             branch: '{branch}'
1148         - os-parameter:
1149             os: 'ubuntu1604'
1150         - stream-parameter:
1151             stream: '{stream}'
1152
1153     scm:
1154         - gerrit-trigger-scm:
1155             credentials-id: 'jenkins-gerrit-credentials'
1156             refspec: '$GERRIT_REFSPEC'
1157             choosing-strategy: 'gerrit'
1158
1159     wrappers:
1160         - fdio-infra-wrappers-non-activity-timeout:
1161             build-timeout: '{build-timeout}'
1162
1163     triggers:
1164         - gerrit-trigger-manually-triggered:
1165             name: '{project}'
1166             branch: '{branch}'
1167             comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1168
1169     builders:
1170         - shell:
1171             !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1172
1173     publishers:
1174         - archive-artifacts:
1175             artifacts: 'archive/*.*'
1176             latest-only: false
1177
1178         - robot-report:
1179             output-path: 'archive'
1180
1181         - fdio-infra-shiplogs:
1182             maven-version: 'mvn33-new'
1183
1184 - job-template:
1185     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1186
1187     project-type: freestyle
1188     node: '{os}-basebuild-4c-4g'
1189     concurrent: true
1190
1191     logrotate:
1192         daysToKeep: '{build-days-to-keep}'
1193         numToKeep: '{build-num-to-keep}'
1194         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1195         artifactNumToKeep: '{build-artifact-num-to-keep}'
1196
1197     parameters:
1198         - project-parameter:
1199             project: '{project}'
1200         - gerrit-parameter:
1201             branch: '{branch}'
1202         - os-parameter:
1203             os: '{os}'
1204         - stream-parameter:
1205             stream: '{stream}'
1206
1207     scm:
1208         - gerrit-trigger-scm:
1209             credentials-id: 'jenkins-gerrit-credentials'
1210             refspec: '$GERRIT_REFSPEC'
1211             choosing-strategy: 'gerrit'
1212
1213     wrappers:
1214         - fdio-infra-wrappers:
1215             build-timeout: '{build-timeout}'
1216
1217     triggers:
1218         - gerrit-trigger-manually-triggered:
1219             name: '{project}'
1220             branch: '{branch}'
1221             comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1222
1223     builders:
1224         - shell:
1225             !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1226
1227     publishers:
1228         - archive-artifacts:
1229             artifacts: 'archive/*.*'
1230             latest-only: false
1231
1232         - robot-report:
1233             output-path: 'archive'
1234
1235         - fdio-infra-shiplogs:
1236             maven-version: 'mvn33-new'
1237
1238 - job-template:
1239     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1240
1241     project-type: freestyle
1242     node: '{os}-basebuild-4c-4g'
1243     concurrent: true
1244
1245     logrotate:
1246         daysToKeep: '{build-days-to-keep}'
1247         numToKeep: '{build-num-to-keep}'
1248         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1249         artifactNumToKeep: '{build-artifact-num-to-keep}'
1250
1251     parameters:
1252         - project-parameter:
1253             project: '{project}'
1254         - gerrit-parameter:
1255             branch: '{branch}'
1256         - os-parameter:
1257             os: '{os}'
1258
1259     scm:
1260         - gerrit-trigger-scm:
1261             credentials-id: 'jenkins-gerrit-credentials'
1262             refspec: '$GERRIT_REFSPEC'
1263             choosing-strategy: 'gerrit'
1264
1265     wrappers:
1266         - fdio-infra-wrappers:
1267             build-timeout: '{build-timeout}'
1268
1269     triggers:
1270         - gerrit-trigger-manually-triggered:
1271             name: '{project}'
1272             branch: '{branch}'
1273             comment-trigger-value: 'csit_verify_tldk_func'
1274
1275     builders:
1276         - shell:
1277             !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1278
1279     publishers:
1280         - archive-artifacts:
1281             artifacts: 'archive/*.*'
1282             latest-only: false
1283
1284         - robot-report:
1285             output-path: 'archive'
1286
1287         - fdio-infra-shiplogs:
1288             maven-version: 'mvn33-new'
1289
1290 - job-template:
1291     name: 'csit-dmm-functional-{stream}-{os}-virl'
1292
1293     project-type: freestyle
1294     node: '{os}-basebuild-4c-4g'
1295     concurrent: true
1296
1297     logrotate:
1298         daysToKeep: '{build-days-to-keep}'
1299         numToKeep: '{build-num-to-keep}'
1300         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1301         artifactNumToKeep: '{build-artifact-num-to-keep}'
1302
1303     parameters:
1304         - project-parameter:
1305             project: '{project}'
1306         - gerrit-parameter:
1307             branch: '{branch}'
1308
1309     scm:
1310         - gerrit-trigger-scm:
1311             credentials-id: 'jenkins-gerrit-credentials'
1312             refspec: '$GERRIT_REFSPEC'
1313             choosing-strategy: 'gerrit'
1314
1315     wrappers:
1316         - fdio-infra-wrappers:
1317             build-timeout: '{build-timeout}'
1318
1319     triggers:
1320         - gerrit-trigger-patch-submitted:
1321             name: '{project}'
1322             branch: '{branch}'
1323
1324     builders:
1325         - shell:
1326             !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1327
1328     publishers:
1329         - archive-artifacts:
1330             artifacts: 'report.html, log.html, output.xml'
1331             latest-only: false
1332
1333         - robot-report:
1334             output-path: ''
1335
1336         - fdio-infra-shiplogs:
1337             maven-version: 'mvn33-new'
1338
1339 - parameter:
1340     name: test-type-parameter
1341     parameters:
1342         - string:
1343             name: TYPE
1344             default: '{type}'
1345             description: "Test TYPE parameter if not given by trigger"