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