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