Merge "Create new stream "vom" for sweetcomb"
[ci-management.git] / jjb / csit / csit.yaml
1 # Copyright (c) 2019 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
22     topo:
23       - '2n'
24       - '3n'
25
26     arch:
27       - 'skx'
28       - 'hsw'
29       - 'arm'
30
31     jobs:
32       - 'csit-vpp-functional-{stream}-{os}-virl'
33       - 'csit-vpp-verify-{stream_timed}-{os}-weekly'
34       - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
35       - 'csit-docs-merge-{stream_timed}'
36       - 'csit-docs-verify-{stream}'
37       - 'csit-report-merge-{stream}'
38       - 'csit-report-merge-1901_2'
39       - 'csit-report-merge-1904_1'
40       - 'csit-trending-daily-master'
41       - 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
42       - 'csit-dpdk-perf-mrr-weekly-master'
43       - 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
44       - 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
45       - 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
46       - 'csit-vpp-perf-mrr-daily-master'
47       - 'csit-vpp-perf-mrr-daily-master-2n-skx'
48       - 'csit-vpp-perf-mrr-daily-master-3n-skx'
49       - 'csit-vpp-perf-mrr-weekly-master-2n-skx'
50       - 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
51       - 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
52       - 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
53       - 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
54       - 'csit-nsh_sfc-verify-perf-{stream}'
55       - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
56       - 'csit-tldk-verify-func-{stream}-{os}-virl'
57       - 'csit-dmm-functional-{stream}-ubuntu1604-virl'
58
59     project: 'csit'
60     branch: 'master'
61     branch-id: 'oper'
62     docs-executor: 'ubuntu1804-us'
63     perf-executor: 'ubuntu1804-us'
64     build-artifact-num-to-keep: 10
65     stream_timed:
66       - master:
67           branch: 'master'
68           branch-id: 'oper'
69           docs-executor: 'ubuntu1804-us'
70           perf-executor: 'ubuntu1804-us'
71       - '1904':
72           branch: 'rls1904'
73           branch-id: 'oper-rls1904'
74           docs-executor: 'ubuntu1804-us'
75           perf-executor: 'ubuntu1804-us'
76     stream:
77       - master:
78           branch: 'master'
79           branch-id: 'oper'
80           docs-executor: 'ubuntu1804-us'
81           perf-executor: 'ubuntu1804-us'
82       - '1807':
83           branch: 'rls1807'
84           branch-id: 'oper-rls1807'
85           docs-executor: 'ubuntu1604-basebuild-4c-4g'
86           perf-executor: 'ubuntu1604-basebuild-8c-32g'
87       - '1810':
88           branch: 'rls1810'
89           branch-id: 'oper-rls1810'
90           docs-executor: 'ubuntu1604-basebuild-4c-4g'
91           perf-executor: 'ubuntu1604-basebuild-8c-32g'
92       - '1901':
93           branch: 'rls1901'
94           branch-id: 'oper-rls1901'
95           docs-executor: 'ubuntu1604-basebuild-4c-4g'
96           perf-executor: 'ubuntu1604-basebuild-8c-32g'
97       - '1904':
98           branch: 'rls1904'
99           branch-id: 'oper-rls1904'
100           docs-executor: 'ubuntu1804-us'
101           perf-executor: 'ubuntu1804-us'
102
103 - project:
104     name: csit-view
105     views:
106       - project-view
107     project-name: csit
108
109 - job-template:
110     name: 'csit-vpp-functional-{stream}-{os}-virl'
111
112     project-type: freestyle
113     node: '{os}-basebuild-4c-4g'
114     concurrent: true
115
116     build-discarder:
117       daysToKeep: '{build-days-to-keep}'
118       numToKeep: '{build-num-to-keep}'
119       artifactDaysToKeep: '{build-artifact-days-to-keep}'
120       artifactNumToKeep: '{build-artifact-num-to-keep}'
121
122     parameters:
123       - project-parameter:
124           project: '{project}'
125       - gerrit-parameter:
126           branch: '{branch}'
127
128     scm:
129       - gerrit-trigger-scm:
130           credentials-id: 'jenkins-gerrit-credentials'
131           refspec: '$GERRIT_REFSPEC'
132           choosing-strategy: 'gerrit'
133
134     wrappers:
135       - fdio-infra-wrappers:
136           build-timeout: '{build-timeout}'
137
138     triggers:
139       - gerrit-trigger-patch-submitted:
140           name: '{project}'
141           branch: '{branch}'
142
143     builders:
144       - shell:
145           !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
146
147     publishers:
148       - archive-artifacts:
149           artifacts: >
150             **/csit/report.html,
151             **/csit/log.html,
152             **/csit/output.xml
153           latest-only: false
154
155       - robot-report:
156           output-path: ''
157
158       - fdio-infra-shiplogs:
159           maven-version: 'mvn33-new'
160
161 - job-template:
162     name: 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
163
164     description: |
165       <ul>
166           <li>objective
167               <ul>
168                   <li>perf verify - per csit gerrit patch
169               </ul>
170           <li>job
171               <ul>
172                   <li>name: <b>csit-dpdk-perf-verify-{stream}-{topo}-{arch}</b>
173                   <li>trigger: keyword in comment to csit patch:
174                       <b>csit-dpdk-{topo}-{arch}-perftest tag_list</b>
175               </ul>
176           <li>perf test-cases selection
177               <ul>
178                   <li>test-cases selected using trigger keyword followed by tags
179                   <li>all test-cases are labelled with CSIT RF topic tags
180                       defined in <i>csit/docs/tag_documentation.rst</i>
181               </ul>
182           <li>default tags for dpdk perf test type
183               <ul>
184                   <li>IP4BASE, L2XCBASE
185                   <li>64B: 64B packet size
186                   <li>1C: one core
187                   <li>X710: x710 Fortville NIC
188                   <li>MRR: MRR throughput
189               </ul>
190           <li>results
191               <ul>
192                   <li>jjb verify: PASS/FAIL
193                   <li>present: no
194                   <li>analyse: no
195               </ul>
196       </ul>
197
198     project-type: freestyle
199     node: '{perf-executor}'
200     concurrent: true
201
202     build-discarder:
203       daysToKeep: '{build-days-to-keep}'
204       numToKeep: '{build-num-to-keep}'
205       artifactDaysToKeep: '{build-artifact-days-to-keep}'
206       artifactNumToKeep: '{build-artifact-num-to-keep}'
207
208     parameters:
209       - project-parameter:
210           project: '{project}'
211       - gerrit-parameter:
212           branch: '{branch}'
213
214     scm:
215       - gerrit-trigger-scm:
216           credentials-id: 'jenkins-gerrit-credentials'
217           refspec: '$GERRIT_REFSPEC'
218           choosing-strategy: 'gerrit'
219
220     wrappers:
221       - fdio-infra-wrappers-non-activity-timeout:
222           build-timeout: '{build-timeout}'
223
224     triggers:
225       - gerrit:
226           server-name: 'Primary'
227           trigger-on:
228             - comment-added-contains-event:
229                 comment-contains-value: 'csit-dpdk-{topo}-{arch}-perftest'
230           projects:
231             - project-compare-type: 'ANT'
232               project-pattern: '{project}'
233               branches:
234                 - branch-compare-type: 'ANT'
235                   branch-pattern: '**/{branch}'
236           skip-vote:
237             successful: false
238             failed: false
239             unstable: false
240             notbuilt: false
241
242     builders:
243       - shell:
244           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
245
246     publishers:
247       - archive-artifacts:
248           artifacts: 'archive/*.*'
249           latest-only: false
250
251       - robot:
252           output-path: archive
253           other-files:
254             - '*.*'
255
256       - fdio-infra-shiplogs:
257           maven-version: 'mvn33-new'
258
259 - job-template:
260     name: 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
261
262     # yamllint disable rule:line-length
263     description: |
264       <ul>
265           <li>objective
266               <ul>
267                   <li>perf verify - per csit gerrit patch
268               </ul>
269           <li>job
270               <ul>
271                   <li>name: <b>csit-ligato-perf-verify-{stream}-{topo}-{arch}</b>
272                   <li>trigger: keyword in comment to csit patch:
273                       <b>csit--ligato-{topo}-{arch}-perftest tag_list</b>
274               </ul>
275           <li>perf test-cases selection
276               <ul>
277                   <li>test-cases selected using trigger keyword followed by tags
278                   <li>all test-cases are labelled with CSIT RF topic tags
279                       defined in <i>csit/docs/tag_documentation.rst</i>
280               </ul>
281           <li>proposed keywords
282               <ul>
283                   <li>focus on testing specified Kubernetes orchestrated topologies
284                   <li>format: csit-ligato-{topo}-{arch}-perftest tag_list
285               </ul>
286           <li>default tags for vpp startup config and perf test type
287               <ul>
288                   <li>IP4BASE, IP6BASE, L2BDBASE
289                   <li>64B/78B: 64B/78B packet size
290                   <li>1C: one core
291                   <li>X710: x710 Fortville NIC
292                   <li>MRR: MRR throughput
293               </ul>
294           <li>results
295               <ul>
296                   <li>jjb verify: PASS/FAIL
297                   <li>present: no
298                   <li>analyse: no
299               </ul>
300       </ul>
301       # yamllint enable rule:line-length
302
303     project-type: freestyle
304     # As the nomad executors are running docker containers we cannot run
305     # ligato-perf job due to dependency on using docker inside.
306     # TODO: Find the mechanics how to offload job logic from compiling docker
307     #   image so we can move this executor to ubuntu1804-us
308     node: 'ubuntu1804-basebuild-4c-4g'
309     concurrent: true
310
311     build-discarder:
312       daysToKeep: '{build-days-to-keep}'
313       numToKeep: '{build-num-to-keep}'
314       artifactDaysToKeep: '{build-artifact-days-to-keep}'
315       artifactNumToKeep: '{build-artifact-num-to-keep}'
316
317     parameters:
318       - project-parameter:
319           project: '{project}'
320       - gerrit-parameter:
321           branch: '{branch}'
322       - gerrit-refspec-parameter
323       - gerrit-event-type-parameter
324       - gerrit-event-comment-text-parameter
325
326     scm:
327       - gerrit-trigger-scm:
328           credentials-id: 'jenkins-gerrit-credentials'
329           refspec: '$GERRIT_REFSPEC'
330           choosing-strategy: 'gerrit'
331
332     wrappers:
333       - fdio-infra-wrappers-non-activity-timeout:
334           build-timeout: '{build-timeout}'
335
336     triggers:
337       - gerrit:
338           server-name: 'Primary'
339           trigger-on:
340             - comment-added-contains-event:
341                 comment-contains-value: 'csit-ligato-{topo}-{arch}-perftest'
342           projects:
343             - project-compare-type: 'ANT'
344               project-pattern: '{project}'
345               branches:
346                 - branch-compare-type: 'ANT'
347                   branch-pattern: '**/{branch}'
348           skip-vote:
349             successful: false
350             failed: false
351             unstable: false
352             notbuilt: false
353
354     builders:
355       - shell:
356           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
357
358     publishers:
359       - archive-artifacts:
360           artifacts: 'archive/*.*'
361           latest-only: false
362
363       - robot:
364           output-path: archive
365           other-files:
366             - '*.*'
367
368       - fdio-infra-shiplogs:
369           maven-version: 'mvn33-new'
370
371
372 - job-template:
373     name: 'csit-vpp-verify-{stream_timed}-{os}-weekly'
374     # yamllint disable-line rule:line-length
375     description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.'
376     # yamllint enable rule:line-length
377
378     project-type: freestyle
379     node: '{os}-basebuild-4c-4g'
380     concurrent: false
381
382     build-discarder:
383       daysToKeep: '{build-days-to-keep}'
384       numToKeep: '{build-num-to-keep}'
385       artifactDaysToKeep: '{build-artifact-days-to-keep}'
386       artifactNumToKeep: '{build-artifact-num-to-keep}'
387
388     parameters:
389       - project-parameter:
390           project: '{project}'
391       - gerrit-parameter:
392           branch: '{branch}'
393
394     scm:
395       - git-scm:
396           credentials-id: 'jenkins-gerrit-credentials'
397           branch: '{branch}'
398
399     wrappers:
400       - fdio-infra-wrappers-non-activity-timeout:
401           build-timeout: '{build-timeout}'
402
403     triggers:
404       - timed: '0 4 * * 0'
405
406       - gerrit-trigger-manually-triggered:
407           comment-trigger-value: 'csit-vpp-ref-verify'
408           name: '{project}'
409           branch: '{branch}'
410
411     builders:
412       - shell:
413           !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
414
415     publishers:
416       - archive-artifacts:
417           artifacts: >
418             **/csit/report.html,
419             **/csit/log.html,
420             **/csit/output.xml
421           latest-only: false
422
423       - robot-report:
424           output-path: ''
425
426       - fdio-infra-shiplogs:
427           maven-version: 'mvn33-new'
428
429 - job-template:
430     name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
431     # yamllint disable-line rule:line-length
432     description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
433     # yamllint enable rule:line-length
434
435     project-type: freestyle
436     node: '{os}-basebuild-4c-4g'
437     concurrent: false
438
439     build-discarder:
440       daysToKeep: '{build-days-to-keep}'
441       numToKeep: '{build-num-to-keep}'
442       artifactDaysToKeep: '{build-artifact-days-to-keep}'
443       artifactNumToKeep: '{build-artifact-num-to-keep}'
444
445     parameters:
446       - project-parameter:
447           project: '{project}'
448       - gerrit-parameter:
449           branch: '{branch}'
450
451     wrappers:
452       - fdio-infra-wrappers-non-activity-timeout:
453           build-timeout: '{build-timeout}'
454
455     triggers:
456       - timed: '0 4 * * 2,6'
457
458       - gerrit-trigger-manually-triggered:
459           comment-trigger-value: 'csit-verify-vpp'
460           name: '{project}'
461           branch: '{branch}'
462
463     builders:
464       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
465       - inject:
466           properties-file: variables.prop
467       - shell:
468           # yamllint disable-line rule:line-length
469           !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
470           # yamllint enable rule:line-length
471
472     publishers:
473       - archive-artifacts:
474           artifacts: 'csit/archive/*.*'
475           latest-only: false
476
477       - robot-report:
478           output-path: 'csit/archive'
479
480       - fdio-infra-shiplogs:
481           maven-version: 'mvn33-new'
482
483 - job-template:
484     name: 'csit-docs-verify-{stream}'
485
486     project-type: freestyle
487     node: '{docs-executor}'
488     concurrent: true
489
490     build-discarder:
491       daysToKeep: '{build-days-to-keep}'
492       numToKeep: '{build-num-to-keep}'
493       artifactDaysToKeep: '{build-artifact-days-to-keep}'
494       artifactNumToKeep: '{build-artifact-num-to-keep}'
495
496     parameters:
497       - project-parameter:
498           project: '{project}'
499       - gerrit-parameter:
500           branch: '{branch}'
501       - maven-exec:
502           maven-version: 'mvn33-new'
503
504     scm:
505       - gerrit-trigger-scm:
506           credentials-id: 'jenkins-gerrit-credentials'
507           refspec: '$GERRIT_REFSPEC'
508           choosing-strategy: 'gerrit'
509
510     wrappers:
511       - fdio-infra-wrappers-non-activity-timeout:
512           build-timeout: '{build-timeout}'
513
514     triggers:
515       - gerrit-trigger-patch-submitted:
516           name: '{project}'
517           branch: '{branch}'
518
519     builders:
520       - maven-target:
521           maven-version: 'mvn33-new'
522           goals: '--version'
523           settings: 'csit-settings'
524           settings-type: cfp
525           global-settings: 'global-settings'
526           global-settings-type: cfp
527       - provide-maven-settings:
528           settings-file: 'csit-settings'
529           global-settings-file: 'global-settings'
530       - shell:
531           !include-raw-escape: include-raw-csit-docs.sh
532
533     publishers:
534       - archive:
535           artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
536           allow-empty: 'true'
537           fingerprint: false
538           only-if-success: true
539           default-excludes: false
540
541       - fdio-infra-shiplogs:
542           maven-version: 'mvn33-new'
543
544 - job-template:
545     name: 'csit-docs-merge-{stream_timed}'
546
547     project-type: freestyle
548     node: '{docs-executor}'
549     concurrent: true
550
551     build-discarder:
552       daysToKeep: '{build-days-to-keep}'
553       numToKeep: '{build-num-to-keep}'
554       artifactDaysToKeep: '{build-artifact-days-to-keep}'
555       artifactNumToKeep: '{build-artifact-num-to-keep}'
556
557     parameters:
558       - project-parameter:
559           project: '{project}'
560       - gerrit-parameter:
561           branch: '{branch}'
562       - maven-exec:
563           maven-version: 'mvn33-new'
564
565     scm:
566       - gerrit-trigger-scm:
567           credentials-id: 'jenkins-gerrit-credentials'
568           refspec: ''
569           choosing-strategy: 'default'
570
571     wrappers:
572       - fdio-infra-wrappers-non-activity-timeout:
573           build-timeout: '{build-timeout}'
574
575     triggers:
576       - reverse:
577           jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
578           result: 'success'
579       - gerrit:
580           server-name: 'Primary'
581           trigger-on:
582             - comment-added-contains-event:
583                 comment-contains-value: 'run-docs'
584           projects:
585             - project-compare-type: 'ANT'
586               project-pattern: '{project}'
587               branches:
588                 - branch-compare-type: 'ANT'
589                   branch-pattern: '**/{branch}'
590           skip-vote:
591             successful: true
592             failed: true
593             unstable: true
594             notbuilt: true
595
596     builders:
597       - maven-target:
598           maven-version: 'mvn33-new'
599           goals: '--version'
600           settings: 'csit-settings'
601           settings-type: cfp
602           global-settings: 'global-settings'
603           global-settings-type: cfp
604       - provide-maven-settings:
605           settings-file: 'csit-settings'
606           global-settings-file: 'global-settings'
607       - shell:
608           !include-raw-escape: include-raw-csit-docs.sh
609
610     publishers:
611       - archive:
612           artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
613           allow-empty: 'true'
614           fingerprint: false
615           only-if-success: true
616           default-excludes: false
617
618       - fdio-infra-shiplogs:
619           maven-version: 'mvn33-new'
620
621 - job-template:
622     name: 'csit-report-merge-{stream}'
623
624     project-type: freestyle
625     node: 'ubuntu1604-basebuild-8c-32g'
626     concurrent: false
627
628     build-discarder:
629       daysToKeep: '{build-days-to-keep}'
630       numToKeep: '{build-num-to-keep}'
631       artifactDaysToKeep: '{build-artifact-days-to-keep}'
632       artifactNumToKeep: '{build-artifact-num-to-keep}'
633
634     parameters:
635       - project-parameter:
636           project: '{project}'
637       - gerrit-parameter:
638           branch: '{branch}'
639       - maven-exec:
640           maven-version: 'mvn33-new'
641
642     scm:
643       - gerrit-trigger-scm:
644           credentials-id: 'jenkins-gerrit-credentials'
645           refspec: '$GERRIT_REFSPEC'
646           choosing-strategy: 'default'
647
648     wrappers:
649       - fdio-infra-wrappers-non-activity-timeout:
650           build-timeout: '{build-timeout}'
651
652     triggers:
653       - gerrit:
654           server-name: 'Primary'
655           trigger-on:
656             - comment-added-contains-event:
657                 comment-contains-value: 'run-report'
658           projects:
659             - project-compare-type: 'ANT'
660               project-pattern: '{project}'
661               branches:
662                 - branch-compare-type: 'ANT'
663                   branch-pattern: '**/{branch}'
664           skip-vote:
665             successful: true
666             failed: true
667             unstable: true
668             notbuilt: true
669
670     builders:
671       - maven-target:
672           maven-version: 'mvn33-new'
673           goals: '--version'
674           settings: 'csit-settings'
675           settings-type: cfp
676           global-settings: 'global-settings'
677           global-settings-type: cfp
678       - provide-maven-settings:
679           settings-file: 'csit-settings'
680           global-settings-file: 'global-settings'
681       - shell:
682           !include-raw-escape: include-raw-csit-report.sh
683
684     publishers:
685       - archive:
686           artifacts: 'resources/tools/presentation/csit.report.tar.gz'
687           allow-empty: 'true'
688           fingerprint: false
689           only-if-success: true
690           default-excludes: false
691
692       - fdio-infra-shiplogs:
693           maven-version: 'mvn33-new'
694
695 - job-template:
696     name: 'csit-report-merge-1901_2'
697
698     project-type: freestyle
699     node: 'ubuntu1604-basebuild-8c-32g'
700     concurrent: false
701
702     build-discarder:
703       daysToKeep: '{build-days-to-keep}'
704       numToKeep: '{build-num-to-keep}'
705       artifactDaysToKeep: '{build-artifact-days-to-keep}'
706       artifactNumToKeep: '{build-artifact-num-to-keep}'
707
708     parameters:
709       - project-parameter:
710           project: '{project}'
711       - gerrit-parameter:
712           branch: 'rls1901_2'
713       - maven-exec:
714           maven-version: 'mvn33-new'
715
716     scm:
717       - gerrit-trigger-scm:
718           credentials-id: 'jenkins-gerrit-credentials'
719           refspec: '$GERRIT_REFSPEC'
720           choosing-strategy: 'default'
721
722     wrappers:
723       - fdio-infra-wrappers-non-activity-timeout:
724           build-timeout: '{build-timeout}'
725
726     triggers:
727       - gerrit:
728           server-name: 'Primary'
729           trigger-on:
730             - comment-added-contains-event:
731                 comment-contains-value: 'run-report'
732           projects:
733             - project-compare-type: 'ANT'
734               project-pattern: '{project}'
735               branches:
736                 - branch-compare-type: 'ANT'
737                   branch-pattern: '**/rls1901_2'
738           skip-vote:
739             successful: true
740             failed: true
741             unstable: true
742             notbuilt: true
743
744     builders:
745       - maven-target:
746           maven-version: 'mvn33-new'
747           goals: '--version'
748           settings: 'csit-settings'
749           settings-type: cfp
750           global-settings: 'global-settings'
751           global-settings-type: cfp
752       - provide-maven-settings:
753           settings-file: 'csit-settings'
754           global-settings-file: 'global-settings'
755       - shell:
756           !include-raw-escape: include-raw-csit-report.sh
757
758     publishers:
759       - archive:
760           artifacts: 'resources/tools/presentation/csit.report.tar.gz'
761           allow-empty: 'true'
762           fingerprint: false
763           only-if-success: true
764           default-excludes: false
765
766       - fdio-infra-shiplogs:
767           maven-version: 'mvn33-new'
768
769 - job-template:
770     name: 'csit-report-merge-1904_1'
771
772     project-type: freestyle
773     node: 'ubuntu1604-basebuild-8c-32g'
774     concurrent: false
775
776     build-discarder:
777       daysToKeep: '{build-days-to-keep}'
778       numToKeep: '{build-num-to-keep}'
779       artifactDaysToKeep: '{build-artifact-days-to-keep}'
780       artifactNumToKeep: '{build-artifact-num-to-keep}'
781
782     parameters:
783       - project-parameter:
784           project: '{project}'
785       - gerrit-parameter:
786           branch: 'rls1904_1'
787       - maven-exec:
788           maven-version: 'mvn33-new'
789
790     scm:
791       - gerrit-trigger-scm:
792           credentials-id: 'jenkins-gerrit-credentials'
793           refspec: '$GERRIT_REFSPEC'
794           choosing-strategy: 'default'
795
796     wrappers:
797       - fdio-infra-wrappers-non-activity-timeout:
798           build-timeout: '{build-timeout}'
799
800     triggers:
801       - gerrit:
802           server-name: 'Primary'
803           trigger-on:
804             - comment-added-contains-event:
805                 comment-contains-value: 'run-report'
806           projects:
807             - project-compare-type: 'ANT'
808               project-pattern: '{project}'
809               branches:
810                 - branch-compare-type: 'ANT'
811                   branch-pattern: '**/rls1904_1'
812           skip-vote:
813             successful: true
814             failed: true
815             unstable: true
816             notbuilt: true
817
818     builders:
819       - maven-target:
820           maven-version: 'mvn33-new'
821           goals: '--version'
822           settings: 'csit-settings'
823           settings-type: cfp
824           global-settings: 'global-settings'
825           global-settings-type: cfp
826       - provide-maven-settings:
827           settings-file: 'csit-settings'
828           global-settings-file: 'global-settings'
829       - shell:
830           !include-raw-escape: include-raw-csit-report.sh
831
832     publishers:
833       - archive:
834           artifacts: 'resources/tools/presentation/csit.report.tar.gz'
835           allow-empty: 'true'
836           fingerprint: false
837           only-if-success: true
838           default-excludes: false
839
840       - fdio-infra-shiplogs:
841           maven-version: 'mvn33-new'
842
843 - job-template:
844     name: 'csit-trending-daily-master'
845
846     project-type: freestyle
847     node: 'ubuntu1604-basebuild-8c-32g'
848     concurrent: false
849
850     build-discarder:
851       daysToKeep: '{build-days-to-keep}'
852       numToKeep: '{build-num-to-keep}'
853       artifactDaysToKeep: '{build-artifact-days-to-keep}'
854       artifactNumToKeep: '{build-artifact-num-to-keep}'
855
856     parameters:
857       - project-parameter:
858           project: '{project}'
859       - gerrit-parameter:
860           branch: '{branch}'
861       - maven-exec:
862           maven-version: 'mvn33-new'
863
864     scm:
865       - gerrit-trigger-scm:
866           credentials-id: 'jenkins-gerrit-credentials'
867           refspec: ''
868           choosing-strategy: 'default'
869
870     wrappers:
871       - fdio-infra-wrappers-non-activity-timeout:
872           build-timeout: '{build-timeout}'
873
874     triggers:
875       - reverse:
876           jobs: 'csit-vpp-perf-mrr-daily-master'
877           result: 'failure'
878
879     builders:
880       - maven-target:
881           maven-version: 'mvn33-new'
882           goals: '--version'
883           settings: 'csit-settings'
884           settings-type: cfp
885           global-settings: 'global-settings'
886           global-settings-type: cfp
887       - provide-maven-settings:
888           settings-file: 'csit-settings'
889           global-settings-file: 'global-settings'
890       - shell:
891           !include-raw-escape: include-raw-csit-cpta.sh
892
893     publishers:
894       - email-ext:
895           # yamllint disable-line rule:line-length
896           recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
897           reply-to: ''
898           content-type: 'text'
899           subject: 'Failed tests as of  $BUILD_TIMESTAMP'
900           # yamllint disable-line rule:line-length
901           body: |
902                 Following tests failed in the last trending job runs, listed per testbed type.
903
904                 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
905
906           always: true
907           failure: false
908
909       - fdio-infra-shiplogs:
910           maven-version: 'mvn33-new'
911
912 - job-template:
913     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
914
915     description: |
916       <ul>
917           <li>objective
918               <ul>
919                   <li>check vpp perf ndrpdr weekly on 3n-hsw
920               </ul>
921           <li>perf test-cases selection
922               <ul>
923                   <li>pre-selected CSIT VPP NDRPDR perf suites
924               </ul>
925           <li>results
926               <ul>
927                   <li>jjb verify: PASS/FAIL
928                   <li>present: no
929                   <li>analyse: csit project (catch malfunctions/degradations)
930               </ul>
931       </ul>
932     project-type: freestyle
933     node: '{perf-executor}'
934     concurrent: false
935
936     build-discarder:
937       daysToKeep: '{build-days-to-keep}'
938       numToKeep: '{build-num-to-keep}'
939       artifactDaysToKeep: '{build-artifact-days-to-keep}'
940       artifactNumToKeep: '{build-artifact-num-to-keep}'
941
942     parameters:
943       - project-parameter:
944           project: '{project}'
945       - gerrit-parameter:
946           branch: '{branch}'
947
948     wrappers:
949       - fdio-infra-wrappers-non-activity-timeout:
950           build-timeout: '{build-timeout}'
951
952     triggers:
953       - timed: '0 0 * * 6'
954
955     builders:
956       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
957       - inject:
958           properties-file: variables.prop
959       - shell:
960           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
961
962     publishers:
963       - archive-artifacts:
964           artifacts: 'csit/archive/*.*'
965           latest-only: false
966
967       - robot:
968           output-path: 'csit/archive'
969           other-files:
970             - '*.*'
971
972       - fdio-infra-shiplogs:
973           maven-version: 'mvn33-new'
974
975 - job-template:
976     name: 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
977
978     description: |
979       <ul>
980           <li>objective
981               <ul>
982                   <li>check vpp perf ndrpdr weekly
983               </ul>
984           <li>perf test-cases selection
985               <ul>
986                   <li>pre-selected CSIT VPP NDRPDR perf suites
987               </ul>
988           <li>results
989               <ul>
990                   <li>jjb verify: PASS/FAIL
991                   <li>present: no
992                   <li>analyse: csit project (catch malfunctions/degradations)
993               </ul>
994       </ul>
995     project-type: freestyle
996     node: '{perf-executor}'
997     concurrent: false
998
999     build-discarder:
1000       daysToKeep: '{build-days-to-keep}'
1001       numToKeep: '{build-num-to-keep}'
1002       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1003       artifactNumToKeep: '{build-artifact-num-to-keep}'
1004
1005     parameters:
1006       - project-parameter:
1007           project: '{project}'
1008       - gerrit-parameter:
1009           branch: '{branch}'
1010
1011     wrappers:
1012       - fdio-infra-wrappers-non-activity-timeout:
1013           build-timeout: '{build-timeout}'
1014
1015     triggers:
1016       - timed: '0 0 * * 6'
1017
1018     builders:
1019       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1020       - inject:
1021           properties-file: variables.prop
1022       - shell:
1023           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1024
1025     publishers:
1026       - archive-artifacts:
1027           artifacts: 'csit/archive/*.*'
1028           latest-only: false
1029
1030       - robot:
1031           output-path: 'csit/archive'
1032           other-files:
1033             - '*.*'
1034
1035       - fdio-infra-shiplogs:
1036           maven-version: 'mvn33-new'
1037
1038 - job-template:
1039     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
1040
1041     description: |
1042       <ul>
1043           <li>objective
1044               <ul>
1045                   <li>check vpp perf ndrpdr weekly
1046               </ul>
1047           <li>perf test-cases selection
1048               <ul>
1049                   <li>pre-selected CSIT VPP NDRPDR perf suites
1050               </ul>
1051           <li>results
1052               <ul>
1053                   <li>jjb verify: PASS/FAIL
1054                   <li>present: no
1055                   <li>analyse: csit project (catch malfunctions/degradations)
1056               </ul>
1057       </ul>
1058     project-type: freestyle
1059     node: '{perf-executor}'
1060     concurrent: false
1061
1062     build-discarder:
1063       daysToKeep: '{build-days-to-keep}'
1064       numToKeep: '{build-num-to-keep}'
1065       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1066       artifactNumToKeep: '{build-artifact-num-to-keep}'
1067
1068     parameters:
1069       - project-parameter:
1070           project: '{project}'
1071       - gerrit-parameter:
1072           branch: '{branch}'
1073
1074     wrappers:
1075       - fdio-infra-wrappers-non-activity-timeout:
1076           build-timeout: '{build-timeout}'
1077
1078     triggers:
1079       - timed: '0 0 * * 6'
1080
1081     builders:
1082       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1083       - inject:
1084           properties-file: variables.prop
1085       - shell:
1086           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1087
1088     publishers:
1089       - archive-artifacts:
1090           artifacts: 'csit/archive/*.*'
1091           latest-only: false
1092
1093       - robot:
1094           output-path: 'csit/archive'
1095           other-files:
1096             - '*.*'
1097
1098       - fdio-infra-shiplogs:
1099           maven-version: 'mvn33-new'
1100
1101 - job-template:
1102     name: 'csit-vpp-perf-mrr-daily-master'
1103
1104     description: |
1105       <ul>
1106           <li>objective
1107               <ul>
1108                   <li>check vpp perf mrr daily
1109               </ul>
1110           <li>perf test-cases selection
1111               <ul>
1112                   <li>all CSIT VPP MRR perf suites
1113               </ul>
1114           <li>results
1115               <ul>
1116                   <li>jjb verify: PASS/FAIL
1117                   <li>present: no
1118                   <li>analyse: csit project (catch malfunctions/degradations)
1119               </ul>
1120       </ul>
1121
1122     project-type: freestyle
1123     node: '{perf-executor}'
1124     concurrent: true
1125
1126     build-discarder:
1127       daysToKeep: '{build-days-to-keep}'
1128       numToKeep: '{build-num-to-keep}'
1129       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1130       artifactNumToKeep: '{build-artifact-num-to-keep}'
1131
1132     parameters:
1133       - project-parameter:
1134           project: '{project}'
1135       - gerrit-parameter:
1136           branch: '{branch}'
1137
1138     wrappers:
1139       - fdio-infra-wrappers-non-activity-timeout:
1140           build-timeout: '{build-timeout}'
1141
1142     triggers:
1143       - timed: '0 2,14 * * *'
1144
1145     builders:
1146       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1147       - inject:
1148           properties-file: variables.prop
1149       - shell:
1150           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1151
1152     publishers:
1153       - archive-artifacts:
1154           artifacts: 'csit/archive/*.*'
1155           latest-only: false
1156
1157       - robot:
1158           output-path: 'csit/archive'
1159           other-files:
1160             - '*.*'
1161
1162       - trigger:
1163           project: 'csit-trending-daily-master'
1164           threshold: 'FAILURE'
1165
1166       - fdio-infra-shiplogs:
1167           maven-version: 'mvn33-new'
1168
1169 - job-template:
1170     name: 'csit-vpp-perf-mrr-daily-master-2n-skx'
1171
1172     description: |
1173       <ul>
1174           <li>objective
1175               <ul>
1176                   <li>check vpp perf mrr daily
1177               </ul>
1178           <li>perf test-cases selection
1179               <ul>
1180                   <li>all CSIT VPP MRR perf suites
1181               </ul>
1182           <li>results
1183               <ul>
1184                   <li>jjb verify: PASS/FAIL
1185                   <li>present: no
1186                   <li>analyse: csit project (catch malfunctions/degradations)
1187               </ul>
1188       </ul>
1189
1190     project-type: freestyle
1191     node: '{perf-executor}'
1192     concurrent: true
1193
1194     build-discarder:
1195       daysToKeep: '{build-days-to-keep}'
1196       numToKeep: '{build-num-to-keep}'
1197       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1198       artifactNumToKeep: '{build-artifact-num-to-keep}'
1199
1200     parameters:
1201       - project-parameter:
1202           project: '{project}'
1203       - gerrit-parameter:
1204           branch: '{branch}'
1205
1206     wrappers:
1207       - fdio-infra-wrappers-non-activity-timeout:
1208           build-timeout: '{build-timeout}'
1209
1210     triggers:
1211       - timed: '0 2,14 * * *'
1212
1213     builders:
1214       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1215       - inject:
1216           properties-file: variables.prop
1217       - shell:
1218           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1219
1220     publishers:
1221       - archive-artifacts:
1222           artifacts: 'csit/archive/*.*'
1223           latest-only: false
1224
1225       - robot:
1226           output-path: 'csit/archive'
1227           other-files:
1228             - '*.*'
1229
1230       - trigger:
1231           project: 'csit-trending-daily-master'
1232           threshold: 'FAILURE'
1233
1234       - fdio-infra-shiplogs:
1235           maven-version: 'mvn33-new'
1236
1237 - job-template:
1238     name: 'csit-vpp-perf-mrr-daily-master-3n-skx'
1239
1240     description: |
1241       <ul>
1242           <li>objective
1243               <ul>
1244                   <li>check vpp perf mrr daily
1245               </ul>
1246           <li>perf test-cases selection
1247               <ul>
1248                   <li>all CSIT VPP MRR perf suites
1249               </ul>
1250           <li>results
1251               <ul>
1252                   <li>jjb verify: PASS/FAIL
1253                   <li>present: no
1254                   <li>analyse: csit project (catch malfunctions/degradations)
1255               </ul>
1256       </ul>
1257
1258     project-type: freestyle
1259     node: '{perf-executor}'
1260     concurrent: true
1261
1262     build-discarder:
1263       daysToKeep: '{build-days-to-keep}'
1264       numToKeep: '{build-num-to-keep}'
1265       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1266       artifactNumToKeep: '{build-artifact-num-to-keep}'
1267
1268     parameters:
1269       - project-parameter:
1270           project: '{project}'
1271       - gerrit-parameter:
1272           branch: '{branch}'
1273
1274     wrappers:
1275       - fdio-infra-wrappers-non-activity-timeout:
1276           build-timeout: '{build-timeout}'
1277
1278     triggers:
1279       - timed: '0 2,14 * * *'
1280
1281     builders:
1282       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1283       - inject:
1284           properties-file: variables.prop
1285       - shell:
1286           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1287
1288     publishers:
1289       - archive-artifacts:
1290           artifacts: 'csit/archive/*.*'
1291           latest-only: false
1292
1293       - robot:
1294           output-path: 'csit/archive'
1295           other-files:
1296             - '*.*'
1297
1298       - trigger:
1299           project: 'csit-trending-daily-master'
1300           threshold: 'FAILURE'
1301
1302       - fdio-infra-shiplogs:
1303           maven-version: 'mvn33-new'
1304
1305 - job-template:
1306     name: 'csit-vpp-perf-mrr-weekly-master-2n-skx'
1307
1308     description: |
1309       <ul>
1310           <li>objective
1311               <ul>
1312                   <li>check vpp perf mrr weekly
1313               </ul>
1314           <li>perf test-cases selection
1315               <ul>
1316                   <li>NF Density CSIT VPP MRR perf suites
1317               </ul>
1318           <li>results
1319               <ul>
1320                   <li>jjb verify: PASS/FAIL
1321                   <li>present: no
1322                   <li>analyse: csit project (catch malfunctions/degradations)
1323               </ul>
1324       </ul>
1325
1326     project-type: freestyle
1327     node: '{perf-executor}'
1328     concurrent: true
1329
1330     build-discarder:
1331       daysToKeep: '{build-days-to-keep}'
1332       numToKeep: '{build-num-to-keep}'
1333       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1334       artifactNumToKeep: '{build-artifact-num-to-keep}'
1335
1336     parameters:
1337       - project-parameter:
1338           project: '{project}'
1339       - gerrit-parameter:
1340           branch: '{branch}'
1341
1342     wrappers:
1343       - fdio-infra-wrappers-non-activity-timeout:
1344           build-timeout: '{build-timeout}'
1345
1346     triggers:
1347       - timed: '0 0 * * 6'
1348
1349     builders:
1350       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1351       - inject:
1352           properties-file: variables.prop
1353       - shell:
1354           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1355
1356     publishers:
1357       - archive-artifacts:
1358           artifacts: 'csit/archive/*.*'
1359           latest-only: false
1360
1361       - robot:
1362           output-path: 'csit/archive'
1363           other-files:
1364             - '*.*'
1365
1366       - trigger:
1367           project: 'csit-trending-daily-master'
1368           threshold: 'FAILURE'
1369
1370       - fdio-infra-shiplogs:
1371           maven-version: 'mvn33-new'
1372
1373 - job-template:
1374     name: 'csit-dpdk-perf-mrr-weekly-master'
1375
1376     description: |
1377       <ul>
1378           <li>objective
1379               <ul>
1380                   <li>check dpdk perf mrr weekly
1381               </ul>
1382           <li>perf test-cases selection
1383               <ul>
1384                   <li>all CSIT DPDK MRR perf suites
1385               </ul>
1386           <li>results
1387               <ul>
1388                   <li>jjb verify: PASS/FAIL
1389                   <li>present: no
1390                   <li>analyse: csit project (catch malfunctions/degradations)
1391               </ul>
1392       </ul>
1393
1394     project-type: freestyle
1395     node: '{perf-executor}'
1396     concurrent: false
1397
1398     build-discarder:
1399       daysToKeep: '{build-days-to-keep}'
1400       numToKeep: '{build-num-to-keep}'
1401       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1402       artifactNumToKeep: '{build-artifact-num-to-keep}'
1403
1404     parameters:
1405       - project-parameter:
1406           project: '{project}'
1407       - gerrit-parameter:
1408           branch: '{branch}'
1409
1410     wrappers:
1411       - fdio-infra-wrappers-non-activity-timeout:
1412           build-timeout: '{build-timeout}'
1413
1414     triggers:
1415       - timed: '0 0 * * 6'
1416
1417     builders:
1418       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1419       - inject:
1420           properties-file: variables.prop
1421       - shell:
1422           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1423
1424     publishers:
1425       - archive-artifacts:
1426           artifacts: 'csit/archive/*.*'
1427           latest-only: false
1428
1429       - robot:
1430           output-path: 'csit/archive'
1431           other-files:
1432             - '*.*'
1433
1434       - trigger:
1435           project: 'csit-trending-daily-master'
1436           threshold: 'FAILURE'
1437
1438       - fdio-infra-shiplogs:
1439           maven-version: 'mvn33-new'
1440
1441 - job-template:
1442     name: 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
1443
1444     description: |
1445       <ul>
1446           <li>objective
1447               <ul>
1448                   <li>check dpdk perf mrr weekly
1449               </ul>
1450           <li>perf test-cases selection
1451               <ul>
1452                   <li>all CSIT DPDK MRR perf suites
1453               </ul>
1454           <li>results
1455               <ul>
1456                   <li>jjb verify: PASS/FAIL
1457                   <li>present: no
1458                   <li>analyse: csit project (catch malfunctions/degradations)
1459               </ul>
1460       </ul>
1461
1462     project-type: freestyle
1463     node: '{perf-executor}'
1464     concurrent: false
1465
1466     build-discarder:
1467       daysToKeep: '{build-days-to-keep}'
1468       numToKeep: '{build-num-to-keep}'
1469       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1470       artifactNumToKeep: '{build-artifact-num-to-keep}'
1471
1472     parameters:
1473       - project-parameter:
1474           project: '{project}'
1475       - gerrit-parameter:
1476           branch: '{branch}'
1477
1478     wrappers:
1479       - fdio-infra-wrappers-non-activity-timeout:
1480           build-timeout: '{build-timeout}'
1481
1482     triggers:
1483       - timed: '0 0 * * 6'
1484
1485     builders:
1486       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1487       - inject:
1488           properties-file: variables.prop
1489       - shell:
1490           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1491
1492     publishers:
1493       - archive-artifacts:
1494           artifacts: 'csit/archive/*.*'
1495           latest-only: false
1496
1497       - robot:
1498           output-path: 'csit/archive'
1499           other-files:
1500             - '*.*'
1501
1502       - trigger:
1503           project: 'csit-trending-daily-master'
1504           threshold: 'FAILURE'
1505
1506       - fdio-infra-shiplogs:
1507           maven-version: 'mvn33-new'
1508
1509 - job-template:
1510     name: 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
1511
1512     description: |
1513       <ul>
1514           <li>objective
1515               <ul>
1516                   <li>check dpdk perf mrr weekly
1517               </ul>
1518           <li>perf test-cases selection
1519               <ul>
1520                   <li>all CSIT DPDK MRR perf suites
1521               </ul>
1522           <li>results
1523               <ul>
1524                   <li>jjb verify: PASS/FAIL
1525                   <li>present: no
1526                   <li>analyse: csit project (catch malfunctions/degradations)
1527               </ul>
1528       </ul>
1529
1530     project-type: freestyle
1531     node: '{perf-executor}'
1532     concurrent: false
1533
1534     build-discarder:
1535       daysToKeep: '{build-days-to-keep}'
1536       numToKeep: '{build-num-to-keep}'
1537       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1538       artifactNumToKeep: '{build-artifact-num-to-keep}'
1539
1540     parameters:
1541       - project-parameter:
1542           project: '{project}'
1543       - gerrit-parameter:
1544           branch: '{branch}'
1545
1546     wrappers:
1547       - fdio-infra-wrappers-non-activity-timeout:
1548           build-timeout: '{build-timeout}'
1549
1550     triggers:
1551       - timed: '0 0 * * 6'
1552
1553     builders:
1554       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1555       - inject:
1556           properties-file: variables.prop
1557       - shell:
1558           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1559
1560     publishers:
1561       - archive-artifacts:
1562           artifacts: 'csit/archive/*.*'
1563           latest-only: false
1564
1565       - robot:
1566           output-path: 'csit/archive'
1567           other-files:
1568             - '*.*'
1569
1570       - trigger:
1571           project: 'csit-trending-daily-master'
1572           threshold: 'FAILURE'
1573
1574       - fdio-infra-shiplogs:
1575           maven-version: 'mvn33-new'
1576
1577
1578 - job-template:
1579     name: 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
1580
1581     description: |
1582       <ul>
1583           <li>objective
1584               <ul>
1585                   <li>perf verify - per csit gerrit patch
1586               </ul>
1587           <li>job
1588               <ul>
1589                   <li>name: <b>csit-vpp-perf-verify-{stream}-{topo}-{arch}</b>
1590                   <li>trigger: keyword in comment to csit patch:
1591                       <b>csit-{topo}-{arch}-perftest tag_list</b>
1592               </ul>
1593           <li>perf test-cases selection
1594               <ul>
1595                   <li>test-cases selected using trigger keyword followed by tags
1596                   <li>all test-cases are labelled with CSIT RF topic tags
1597                       defined in <i>csit/docs/tag_documentation.rst</i>
1598               </ul>
1599           <li>proposed keywords
1600               <ul>
1601                   <li>focus on testing specified vpp packet processing path
1602                   <li>format: csit-{topo}-{arch}-perftest tag_list
1603               </ul>
1604           <li>default tags for vpp startup config and perf test type
1605               <ul>
1606                   <li>IP4BASE, IP6BASE, L2BDBASE
1607                   <li>64B/78B: 64B/78B packet size
1608                   <li>1C: one core
1609                   <li>X710: x710 Fortville NIC
1610                   <li>MRR: MRR throughput
1611               </ul>
1612           <li>results
1613               <ul>
1614                   <li>jjb verify: PASS/FAIL
1615                   <li>present: no
1616                   <li>analyse: no
1617               </ul>
1618       </ul>
1619
1620     project-type: freestyle
1621     node: '{perf-executor}'
1622     concurrent: true
1623
1624     build-discarder:
1625       daysToKeep: '{build-days-to-keep}'
1626       numToKeep: '{build-num-to-keep}'
1627       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1628       artifactNumToKeep: '{build-artifact-num-to-keep}'
1629
1630     parameters:
1631       - project-parameter:
1632           project: '{project}'
1633       - gerrit-parameter:
1634           branch: '{branch}'
1635       - gerrit-refspec-parameter
1636       - gerrit-event-type-parameter
1637       - gerrit-event-comment-text-parameter
1638
1639     scm:
1640       - gerrit-trigger-scm:
1641           credentials-id: 'jenkins-gerrit-credentials'
1642           refspec: '$GERRIT_REFSPEC'
1643           choosing-strategy: 'gerrit'
1644
1645     wrappers:
1646       - fdio-infra-wrappers-non-activity-timeout:
1647           build-timeout: '{build-timeout}'
1648
1649     triggers:
1650       - gerrit:
1651           server-name: 'Primary'
1652           trigger-on:
1653             - comment-added-contains-event:
1654                 comment-contains-value: 'csit-{topo}-{arch}-perftest'
1655           projects:
1656             - project-compare-type: 'ANT'
1657               project-pattern: '{project}'
1658               branches:
1659                 - branch-compare-type: 'ANT'
1660                   branch-pattern: '**/{branch}'
1661           skip-vote:
1662             successful: false
1663             failed: false
1664             unstable: false
1665             notbuilt: false
1666
1667     builders:
1668       - shell:
1669           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
1670
1671     publishers:
1672       - archive-artifacts:
1673           artifacts: 'archive/*.*'
1674           latest-only: false
1675
1676       - robot:
1677           output-path: archive
1678           other-files:
1679             - '*.*'
1680
1681       - fdio-infra-shiplogs:
1682           maven-version: 'mvn33-new'
1683
1684 - job-template:
1685     name: 'csit-nsh_sfc-verify-perf-{stream}'
1686
1687     project-type: freestyle
1688     node: 'ubuntu1604-basebuild-4c-4g'
1689     concurrent: true
1690
1691     build-discarder:
1692       daysToKeep: '{build-days-to-keep}'
1693       numToKeep: '{build-num-to-keep}'
1694       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1695       artifactNumToKeep: '{build-artifact-num-to-keep}'
1696
1697     parameters:
1698       - project-parameter:
1699           project: '{project}'
1700       - gerrit-parameter:
1701           branch: '{branch}'
1702       - os-parameter:
1703           os: 'ubuntu1604'
1704       - stream-parameter:
1705           stream: '{stream}'
1706
1707     scm:
1708       - gerrit-trigger-scm:
1709           credentials-id: 'jenkins-gerrit-credentials'
1710           refspec: '$GERRIT_REFSPEC'
1711           choosing-strategy: 'gerrit'
1712
1713     wrappers:
1714       - fdio-infra-wrappers-non-activity-timeout:
1715           build-timeout: '{build-timeout}'
1716
1717     triggers:
1718       - gerrit-trigger-manually-triggered:
1719           name: '{project}'
1720           branch: '{branch}'
1721           comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1722
1723     builders:
1724       - shell:
1725           !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1726
1727     publishers:
1728       - archive-artifacts:
1729           artifacts: 'archive/*.*'
1730           latest-only: false
1731
1732       - robot-report:
1733           output-path: 'archive'
1734
1735       - fdio-infra-shiplogs:
1736           maven-version: 'mvn33-new'
1737
1738 - job-template:
1739     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1740
1741     project-type: freestyle
1742     node: '{os}-basebuild-4c-4g'
1743     concurrent: true
1744
1745     build-discarder:
1746       daysToKeep: '{build-days-to-keep}'
1747       numToKeep: '{build-num-to-keep}'
1748       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1749       artifactNumToKeep: '{build-artifact-num-to-keep}'
1750
1751     parameters:
1752       - project-parameter:
1753           project: '{project}'
1754       - gerrit-parameter:
1755           branch: '{branch}'
1756       - os-parameter:
1757           os: '{os}'
1758       - stream-parameter:
1759           stream: '{stream}'
1760
1761     scm:
1762       - gerrit-trigger-scm:
1763           credentials-id: 'jenkins-gerrit-credentials'
1764           refspec: '$GERRIT_REFSPEC'
1765           choosing-strategy: 'gerrit'
1766
1767     wrappers:
1768       - fdio-infra-wrappers:
1769           build-timeout: '{build-timeout}'
1770
1771     triggers:
1772       - gerrit-trigger-manually-triggered:
1773           name: '{project}'
1774           branch: '{branch}'
1775           comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1776
1777     builders:
1778       - shell:
1779           !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1780
1781     publishers:
1782       - archive-artifacts:
1783           artifacts: 'archive/*.*'
1784           latest-only: false
1785
1786       - robot-report:
1787           output-path: 'archive'
1788
1789       - fdio-infra-shiplogs:
1790           maven-version: 'mvn33-new'
1791
1792 - job-template:
1793     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1794
1795     project-type: freestyle
1796     node: '{os}-basebuild-4c-4g'
1797     concurrent: true
1798
1799     build-discarder:
1800       daysToKeep: '{build-days-to-keep}'
1801       numToKeep: '{build-num-to-keep}'
1802       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1803       artifactNumToKeep: '{build-artifact-num-to-keep}'
1804
1805     parameters:
1806       - project-parameter:
1807           project: '{project}'
1808       - gerrit-parameter:
1809           branch: '{branch}'
1810       - os-parameter:
1811           os: '{os}'
1812
1813     scm:
1814       - gerrit-trigger-scm:
1815           credentials-id: 'jenkins-gerrit-credentials'
1816           refspec: '$GERRIT_REFSPEC'
1817           choosing-strategy: 'gerrit'
1818
1819     wrappers:
1820       - fdio-infra-wrappers:
1821           build-timeout: '{build-timeout}'
1822
1823     triggers:
1824       - gerrit-trigger-manually-triggered:
1825           name: '{project}'
1826           branch: '{branch}'
1827           comment-trigger-value: 'csit_verify_tldk_func'
1828
1829     builders:
1830       - shell:
1831           !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1832
1833     publishers:
1834       - archive-artifacts:
1835           artifacts: 'archive/*.*'
1836           latest-only: false
1837
1838       - robot-report:
1839           output-path: 'archive'
1840
1841       - fdio-infra-shiplogs:
1842           maven-version: 'mvn33-new'
1843
1844 - job-template:
1845     name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
1846
1847     project-type: freestyle
1848     node: 'ubuntu1604-basebuild-4c-4g'
1849     concurrent: true
1850
1851     build-discarder:
1852       daysToKeep: '{build-days-to-keep}'
1853       numToKeep: '{build-num-to-keep}'
1854       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1855       artifactNumToKeep: '{build-artifact-num-to-keep}'
1856
1857     parameters:
1858       - project-parameter:
1859           project: '{project}'
1860       - gerrit-parameter:
1861           branch: '{branch}'
1862
1863     scm:
1864       - gerrit-trigger-scm:
1865           credentials-id: 'jenkins-gerrit-credentials'
1866           refspec: '$GERRIT_REFSPEC'
1867           choosing-strategy: 'gerrit'
1868
1869     wrappers:
1870       - fdio-infra-wrappers:
1871           build-timeout: '{build-timeout}'
1872
1873     triggers:
1874       - gerrit-trigger-manually-triggered:
1875           name: '{project}'
1876           branch: '{branch}'
1877           comment-trigger-value: 'csit_verify_dmm_func'
1878
1879     builders:
1880       - shell:
1881           !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1882
1883     publishers:
1884       - archive-artifacts:
1885           artifacts: 'archive/*.*'
1886           latest-only: false
1887
1888       - robot-report:
1889           output-path: ''
1890
1891       - fdio-infra-shiplogs:
1892           maven-version: 'mvn33-new'