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