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