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