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