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