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