Merge "making dmm job auto trigger"
[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         - timed: '0 16 * * 1,3,5'
1073
1074     builders:
1075         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1076         - inject:
1077             properties-file: variables.prop
1078         - shell:
1079             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-mrr-daily.sh
1080
1081     publishers:
1082         - archive-artifacts:
1083             artifacts: 'csit/archive/*.*'
1084             latest-only: false
1085
1086         - robot:
1087             output-path: 'csit/archive'
1088             other-files:
1089               - '*.*'
1090
1091         - trigger:
1092             project: 'csit-trending-daily-master'
1093             threshold: 'FAILURE'
1094
1095         - fdio-infra-shiplogs:
1096             maven-version: 'mvn33-new'
1097
1098 - job-template:
1099     name: 'csit-dpdk-perf-mrr-weekly-master'
1100
1101     description: |
1102       objective
1103           check dpdk perf mrr weekly
1104       job
1105           name
1106               csit-dpdk-perf-mrr-weekly-master
1107           trigger
1108               weekly
1109       perf test-cases selection
1110           all CSIT DPDK MRR perf suites
1111       results
1112           jjb verify
1113               PASS/FAIL
1114           present
1115               no
1116           analyse
1117               csit project
1118                   catch malfunctions
1119                   catch degradations
1120
1121     project-type: freestyle
1122     node: 'ubuntu1604-basebuild-4c-4g'
1123     concurrent: false
1124
1125     logrotate:
1126         daysToKeep: '{build-days-to-keep}'
1127         numToKeep: '{build-num-to-keep}'
1128         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1129         artifactNumToKeep: '{build-artifact-num-to-keep}'
1130
1131     parameters:
1132         - project-parameter:
1133             project: '{project}'
1134         - gerrit-parameter:
1135             branch: '{branch}'
1136
1137     wrappers:
1138         - fdio-infra-wrappers-non-activity-timeout:
1139             build-timeout: '{build-timeout}'
1140
1141     triggers:
1142         - timed: '0 0 * * 6'
1143
1144     builders:
1145         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1146         - inject:
1147             properties-file: variables.prop
1148         - shell:
1149             !include-raw-escape: jjb/csit/include-raw-csit-dpdk-perf-mrr-weekly.sh
1150
1151     publishers:
1152         - archive-artifacts:
1153             artifacts: 'csit/archive/*.*'
1154             latest-only: false
1155
1156         - robot:
1157             output-path: 'csit/archive'
1158             other-files:
1159               - '*.*'
1160
1161         - trigger:
1162             project: 'csit-trending-daily-master'
1163             threshold: 'FAILURE'
1164
1165         - fdio-infra-shiplogs:
1166             maven-version: 'mvn33-new'
1167
1168 - job-template:
1169     name: 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
1170
1171     description: |
1172       <ul>
1173           <li>objective
1174               <ul>
1175                   <li>perf verify - per csit gerrit patch
1176               </ul>
1177           <li>job
1178               <ul>
1179                   <li>name: <b>csit-vpp-perf-verify-{stream}-{topo}-{arch}</b>
1180                   <li>trigger: keyword in comment to csit patch:
1181                       <b>csit-{topo}-{arch}-perftest tag_list</b>
1182               </ul>
1183           <li>perf test-cases selection
1184               <ul>
1185                   <li>test-cases selected using trigger keyword followed by tags
1186                   <li>all test-cases are labelled with CSIT RF topic tags
1187                       defined in <i>csit/docs/tag_documentation.rst</i>
1188               </ul>
1189           <li>proposed keywords
1190               <ul>
1191                   <li>focus on testing specified vpp packet processing path
1192                   <li>format: csit-{topo}-{arch}-perftest tag_list
1193               </ul>
1194           <li>default tags for vpp startup config and perf test type
1195               <ul>
1196                   <li>IP4BASE, IP6BASE, L2BDBASE
1197                   <li>64B/78B: 64B/78B packet size
1198                   <li>1C: one core
1199                   <li>X710: x710 Fortville NIC
1200                   <li>MRR: MRR throughput
1201               </ul>
1202           <li>results
1203               <ul>
1204                   <li>jjb verify: PASS/FAIL
1205                   <li>present: no
1206                   <li>analyse: no
1207               </ul>
1208       </ul>
1209
1210     project-type: freestyle
1211     node: 'ubuntu1604-basebuild-8c-32g'
1212     concurrent: true
1213
1214     logrotate:
1215         daysToKeep: '{build-days-to-keep}'
1216         numToKeep: '{build-num-to-keep}'
1217         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1218         artifactNumToKeep: '{build-artifact-num-to-keep}'
1219
1220     parameters:
1221         - project-parameter:
1222             project: '{project}'
1223         - gerrit-parameter:
1224             branch: '{branch}'
1225
1226     scm:
1227         - gerrit-trigger-scm:
1228             credentials-id: 'jenkins-gerrit-credentials'
1229             refspec: '$GERRIT_REFSPEC'
1230             choosing-strategy: 'gerrit'
1231
1232     wrappers:
1233         - fdio-infra-wrappers-non-activity-timeout:
1234             build-timeout: '{build-timeout}'
1235
1236     triggers:
1237         - gerrit:
1238             server-name: 'Primary'
1239             trigger-on:
1240                 - comment-added-contains-event:
1241                     comment-contains-value: 'csit-{topo}-{arch}-perftest'
1242             projects:
1243               - project-compare-type: 'ANT'
1244                 project-pattern: '{project}'
1245                 branches:
1246                   - branch-compare-type: 'ANT'
1247                     branch-pattern: '**/{branch}'
1248             skip-vote:
1249                 successful: false
1250                 failed: false
1251                 unstable: false
1252                 notbuilt: false
1253
1254     builders:
1255         - shell:
1256             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-verify.sh
1257
1258     publishers:
1259         - archive-artifacts:
1260             artifacts: 'archive/*.*'
1261             latest-only: false
1262
1263         - robot:
1264             output-path: archive
1265             other-files:
1266               - '*.*'
1267
1268         - fdio-infra-shiplogs:
1269             maven-version: 'mvn33-new'
1270
1271 - job-template:
1272     name: 'csit-nsh_sfc-verify-perf-{stream}'
1273
1274     project-type: freestyle
1275     node: 'ubuntu1604-basebuild-4c-4g'
1276     concurrent: true
1277
1278     logrotate:
1279         daysToKeep: '{build-days-to-keep}'
1280         numToKeep: '{build-num-to-keep}'
1281         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1282         artifactNumToKeep: '{build-artifact-num-to-keep}'
1283
1284     parameters:
1285         - project-parameter:
1286             project: '{project}'
1287         - gerrit-parameter:
1288             branch: '{branch}'
1289         - os-parameter:
1290             os: 'ubuntu1604'
1291         - stream-parameter:
1292             stream: '{stream}'
1293
1294     scm:
1295         - gerrit-trigger-scm:
1296             credentials-id: 'jenkins-gerrit-credentials'
1297             refspec: '$GERRIT_REFSPEC'
1298             choosing-strategy: 'gerrit'
1299
1300     wrappers:
1301         - fdio-infra-wrappers-non-activity-timeout:
1302             build-timeout: '{build-timeout}'
1303
1304     triggers:
1305         - gerrit-trigger-manually-triggered:
1306             name: '{project}'
1307             branch: '{branch}'
1308             comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1309
1310     builders:
1311         - shell:
1312             !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1313
1314     publishers:
1315         - archive-artifacts:
1316             artifacts: 'archive/*.*'
1317             latest-only: false
1318
1319         - robot-report:
1320             output-path: 'archive'
1321
1322         - fdio-infra-shiplogs:
1323             maven-version: 'mvn33-new'
1324
1325 - job-template:
1326     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1327
1328     project-type: freestyle
1329     node: '{os}-basebuild-4c-4g'
1330     concurrent: true
1331
1332     logrotate:
1333         daysToKeep: '{build-days-to-keep}'
1334         numToKeep: '{build-num-to-keep}'
1335         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1336         artifactNumToKeep: '{build-artifact-num-to-keep}'
1337
1338     parameters:
1339         - project-parameter:
1340             project: '{project}'
1341         - gerrit-parameter:
1342             branch: '{branch}'
1343         - os-parameter:
1344             os: '{os}'
1345         - stream-parameter:
1346             stream: '{stream}'
1347
1348     scm:
1349         - gerrit-trigger-scm:
1350             credentials-id: 'jenkins-gerrit-credentials'
1351             refspec: '$GERRIT_REFSPEC'
1352             choosing-strategy: 'gerrit'
1353
1354     wrappers:
1355         - fdio-infra-wrappers:
1356             build-timeout: '{build-timeout}'
1357
1358     triggers:
1359         - gerrit-trigger-manually-triggered:
1360             name: '{project}'
1361             branch: '{branch}'
1362             comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1363
1364     builders:
1365         - shell:
1366             !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1367
1368     publishers:
1369         - archive-artifacts:
1370             artifacts: 'archive/*.*'
1371             latest-only: false
1372
1373         - robot-report:
1374             output-path: 'archive'
1375
1376         - fdio-infra-shiplogs:
1377             maven-version: 'mvn33-new'
1378
1379 - job-template:
1380     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1381
1382     project-type: freestyle
1383     node: '{os}-basebuild-4c-4g'
1384     concurrent: true
1385
1386     logrotate:
1387         daysToKeep: '{build-days-to-keep}'
1388         numToKeep: '{build-num-to-keep}'
1389         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1390         artifactNumToKeep: '{build-artifact-num-to-keep}'
1391
1392     parameters:
1393         - project-parameter:
1394             project: '{project}'
1395         - gerrit-parameter:
1396             branch: '{branch}'
1397         - os-parameter:
1398             os: '{os}'
1399
1400     scm:
1401         - gerrit-trigger-scm:
1402             credentials-id: 'jenkins-gerrit-credentials'
1403             refspec: '$GERRIT_REFSPEC'
1404             choosing-strategy: 'gerrit'
1405
1406     wrappers:
1407         - fdio-infra-wrappers:
1408             build-timeout: '{build-timeout}'
1409
1410     triggers:
1411         - gerrit-trigger-manually-triggered:
1412             name: '{project}'
1413             branch: '{branch}'
1414             comment-trigger-value: 'csit_verify_tldk_func'
1415
1416     builders:
1417         - shell:
1418             !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1419
1420     publishers:
1421         - archive-artifacts:
1422             artifacts: 'archive/*.*'
1423             latest-only: false
1424
1425         - robot-report:
1426             output-path: 'archive'
1427
1428         - fdio-infra-shiplogs:
1429             maven-version: 'mvn33-new'
1430
1431 - job-template:
1432     name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
1433
1434     project-type: freestyle
1435     node: 'ubuntu1604-basebuild-4c-4g'
1436     concurrent: true
1437
1438     logrotate:
1439         daysToKeep: '{build-days-to-keep}'
1440         numToKeep: '{build-num-to-keep}'
1441         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1442         artifactNumToKeep: '{build-artifact-num-to-keep}'
1443
1444     parameters:
1445         - project-parameter:
1446             project: '{project}'
1447         - gerrit-parameter:
1448             branch: '{branch}'
1449
1450     scm:
1451         - gerrit-trigger-scm:
1452             credentials-id: 'jenkins-gerrit-credentials'
1453             refspec: '$GERRIT_REFSPEC'
1454             choosing-strategy: 'gerrit'
1455
1456     wrappers:
1457         - fdio-infra-wrappers:
1458             build-timeout: '{build-timeout}'
1459
1460     triggers:
1461         - gerrit-trigger-manually-triggered:
1462             name: '{project}'
1463             branch: '{branch}'
1464             comment-trigger-value: 'csit_verify_dmm_func'
1465
1466     builders:
1467         - shell:
1468             !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1469
1470     publishers:
1471         - archive-artifacts:
1472             artifacts: 'report.html, log.html, output.xml'
1473             latest-only: false
1474
1475         - robot-report:
1476             output-path: ''
1477
1478         - fdio-infra-shiplogs:
1479             maven-version: 'mvn33-new'
1480
1481 - parameter:
1482     name: test-type-parameter
1483     parameters:
1484         - string:
1485             name: TYPE
1486             default: '{type}'
1487             description: "Test TYPE parameter if not given by trigger"