Merge "Update parameters for vpp-csit-verify-perf"
[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_1'
39       - 'csit-trending-daily-master'
40       - 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
41       - 'csit-dpdk-perf-mrr-weekly-master'
42       - 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
43       - 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
44       - 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
45       - 'csit-ligato-perf-mrr-daily-master-3n-hsw'
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_1'
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_1'
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_1'
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-trending-daily-master'
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: '{branch}'
787       - maven-exec:
788           maven-version: 'mvn33-new'
789
790     scm:
791       - gerrit-trigger-scm:
792           credentials-id: 'jenkins-gerrit-credentials'
793           refspec: ''
794           choosing-strategy: 'default'
795
796     wrappers:
797       - fdio-infra-wrappers-non-activity-timeout:
798           build-timeout: '{build-timeout}'
799
800     triggers:
801       - reverse:
802           jobs: 'csit-vpp-perf-mrr-daily-master'
803           result: 'failure'
804
805     builders:
806       - maven-target:
807           maven-version: 'mvn33-new'
808           goals: '--version'
809           settings: 'csit-settings'
810           settings-type: cfp
811           global-settings: 'global-settings'
812           global-settings-type: cfp
813       - provide-maven-settings:
814           settings-file: 'csit-settings'
815           global-settings-file: 'global-settings'
816       - shell:
817           !include-raw-escape: include-raw-csit-cpta.sh
818
819     publishers:
820       - email-ext:
821           # yamllint disable-line rule:line-length
822           recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
823           reply-to: ''
824           content-type: 'text'
825           subject: 'Failed tests as of  $BUILD_TIMESTAMP'
826           # yamllint disable-line rule:line-length
827           body: |
828                 Following tests failed in the last trending job runs, listed per testbed type.
829
830                 ${{FILE,path="build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/trending-failed-tests.txt"}}
831
832           always: true
833           failure: false
834
835       - fdio-infra-shiplogs:
836           maven-version: 'mvn33-new'
837
838 - job-template:
839     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
840
841     description: |
842       <ul>
843           <li>objective
844               <ul>
845                   <li>check vpp perf ndrpdr weekly on 3n-hsw
846               </ul>
847           <li>perf test-cases selection
848               <ul>
849                   <li>pre-selected CSIT VPP NDRPDR perf suites
850               </ul>
851           <li>results
852               <ul>
853                   <li>jjb verify: PASS/FAIL
854                   <li>present: no
855                   <li>analyse: csit project (catch malfunctions/degradations)
856               </ul>
857       </ul>
858     project-type: freestyle
859     node: '{perf-executor}'
860     concurrent: false
861
862     build-discarder:
863       daysToKeep: '{build-days-to-keep}'
864       numToKeep: '{build-num-to-keep}'
865       artifactDaysToKeep: '{build-artifact-days-to-keep}'
866       artifactNumToKeep: '{build-artifact-num-to-keep}'
867
868     parameters:
869       - project-parameter:
870           project: '{project}'
871       - gerrit-parameter:
872           branch: '{branch}'
873
874     wrappers:
875       - fdio-infra-wrappers-non-activity-timeout:
876           build-timeout: '{build-timeout}'
877
878     triggers:
879       - timed: '0 0 * * 6'
880
881     builders:
882       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
883       - inject:
884           properties-file: variables.prop
885       - shell:
886           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
887
888     publishers:
889       - archive-artifacts:
890           artifacts: 'csit/archive/*.*'
891           latest-only: false
892
893       - robot:
894           output-path: 'csit/archive'
895           other-files:
896             - '*.*'
897
898       - fdio-infra-shiplogs:
899           maven-version: 'mvn33-new'
900
901 - job-template:
902     name: 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
903
904     description: |
905       <ul>
906           <li>objective
907               <ul>
908                   <li>check vpp perf ndrpdr weekly
909               </ul>
910           <li>perf test-cases selection
911               <ul>
912                   <li>pre-selected CSIT VPP NDRPDR perf suites
913               </ul>
914           <li>results
915               <ul>
916                   <li>jjb verify: PASS/FAIL
917                   <li>present: no
918                   <li>analyse: csit project (catch malfunctions/degradations)
919               </ul>
920       </ul>
921     project-type: freestyle
922     node: '{perf-executor}'
923     concurrent: false
924
925     build-discarder:
926       daysToKeep: '{build-days-to-keep}'
927       numToKeep: '{build-num-to-keep}'
928       artifactDaysToKeep: '{build-artifact-days-to-keep}'
929       artifactNumToKeep: '{build-artifact-num-to-keep}'
930
931     parameters:
932       - project-parameter:
933           project: '{project}'
934       - gerrit-parameter:
935           branch: '{branch}'
936
937     wrappers:
938       - fdio-infra-wrappers-non-activity-timeout:
939           build-timeout: '{build-timeout}'
940
941     triggers:
942       - timed: '0 0 * * 6'
943
944     builders:
945       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
946       - inject:
947           properties-file: variables.prop
948       - shell:
949           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
950
951     publishers:
952       - archive-artifacts:
953           artifacts: 'csit/archive/*.*'
954           latest-only: false
955
956       - robot:
957           output-path: 'csit/archive'
958           other-files:
959             - '*.*'
960
961       - fdio-infra-shiplogs:
962           maven-version: 'mvn33-new'
963
964 - job-template:
965     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
966
967     description: |
968       <ul>
969           <li>objective
970               <ul>
971                   <li>check vpp perf ndrpdr weekly
972               </ul>
973           <li>perf test-cases selection
974               <ul>
975                   <li>pre-selected CSIT VPP NDRPDR perf suites
976               </ul>
977           <li>results
978               <ul>
979                   <li>jjb verify: PASS/FAIL
980                   <li>present: no
981                   <li>analyse: csit project (catch malfunctions/degradations)
982               </ul>
983       </ul>
984     project-type: freestyle
985     node: '{perf-executor}'
986     concurrent: false
987
988     build-discarder:
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     triggers:
1005       - timed: '0 0 * * 6'
1006
1007     builders:
1008       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1009       - inject:
1010           properties-file: variables.prop
1011       - shell:
1012           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1013
1014     publishers:
1015       - archive-artifacts:
1016           artifacts: 'csit/archive/*.*'
1017           latest-only: false
1018
1019       - robot:
1020           output-path: 'csit/archive'
1021           other-files:
1022             - '*.*'
1023
1024       - fdio-infra-shiplogs:
1025           maven-version: 'mvn33-new'
1026
1027 - job-template:
1028     name: 'csit-ligato-perf-mrr-daily-master-3n-hsw'
1029
1030     description: |
1031       <ul>
1032           <li>objective
1033               <ul>
1034                   <li>check ligato perf mrr daily
1035               </ul>
1036           <li>perf test-cases selection
1037               <ul>
1038                   <li>all CSIT LIGATO MRR perf suites
1039               </ul>
1040           <li>results
1041               <ul>
1042                   <li>jjb verify: PASS/FAIL
1043                   <li>present: no
1044                   <li>analyse: csit project (catch malfunctions/degradations)
1045               </ul>
1046       </ul>
1047
1048     project-type: freestyle
1049     node: '{perf-executor}'
1050     concurrent: true
1051
1052     build-discarder:
1053       daysToKeep: '{build-days-to-keep}'
1054       numToKeep: '{build-num-to-keep}'
1055       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1056       artifactNumToKeep: '{build-artifact-num-to-keep}'
1057
1058     parameters:
1059       - project-parameter:
1060           project: '{project}'
1061       - gerrit-parameter:
1062           branch: '{branch}'
1063
1064     wrappers:
1065       - fdio-infra-wrappers-non-activity-timeout:
1066           build-timeout: '{build-timeout}'
1067
1068     triggers:
1069       - timed: '0 16 * * 1,3,5'
1070
1071     builders:
1072       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1073       - inject:
1074           properties-file: variables.prop
1075       - shell:
1076           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1077
1078     publishers:
1079       - archive-artifacts:
1080           artifacts: 'csit/archive/*.*'
1081           latest-only: false
1082
1083       - robot:
1084           output-path: 'csit/archive'
1085           other-files:
1086             - '*.*'
1087
1088       - trigger:
1089           project: 'csit-trending-daily-master'
1090           threshold: 'FAILURE'
1091
1092       - fdio-infra-shiplogs:
1093           maven-version: 'mvn33-new'
1094
1095 - job-template:
1096     name: 'csit-vpp-perf-mrr-daily-master'
1097
1098     description: |
1099       <ul>
1100           <li>objective
1101               <ul>
1102                   <li>check vpp perf mrr daily
1103               </ul>
1104           <li>perf test-cases selection
1105               <ul>
1106                   <li>all CSIT VPP MRR perf suites
1107               </ul>
1108           <li>results
1109               <ul>
1110                   <li>jjb verify: PASS/FAIL
1111                   <li>present: no
1112                   <li>analyse: csit project (catch malfunctions/degradations)
1113               </ul>
1114       </ul>
1115
1116     project-type: freestyle
1117     node: '{perf-executor}'
1118     concurrent: true
1119
1120     build-discarder:
1121       daysToKeep: '{build-days-to-keep}'
1122       numToKeep: '{build-num-to-keep}'
1123       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1124       artifactNumToKeep: '{build-artifact-num-to-keep}'
1125
1126     parameters:
1127       - project-parameter:
1128           project: '{project}'
1129       - gerrit-parameter:
1130           branch: '{branch}'
1131
1132     wrappers:
1133       - fdio-infra-wrappers-non-activity-timeout:
1134           build-timeout: '{build-timeout}'
1135
1136     triggers:
1137       - timed: '0 14 * * 1,3,5'
1138
1139     builders:
1140       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1141       - inject:
1142           properties-file: variables.prop
1143       - shell:
1144           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1145
1146     publishers:
1147       - archive-artifacts:
1148           artifacts: 'csit/archive/*.*'
1149           latest-only: false
1150
1151       - robot:
1152           output-path: 'csit/archive'
1153           other-files:
1154             - '*.*'
1155
1156       - trigger:
1157           project: 'csit-trending-daily-master'
1158           threshold: 'FAILURE'
1159
1160       - fdio-infra-shiplogs:
1161           maven-version: 'mvn33-new'
1162
1163 - job-template:
1164     name: 'csit-vpp-perf-mrr-daily-master-2n-skx'
1165
1166     description: |
1167       <ul>
1168           <li>objective
1169               <ul>
1170                   <li>check vpp perf mrr daily
1171               </ul>
1172           <li>perf test-cases selection
1173               <ul>
1174                   <li>all CSIT VPP MRR perf suites
1175               </ul>
1176           <li>results
1177               <ul>
1178                   <li>jjb verify: PASS/FAIL
1179                   <li>present: no
1180                   <li>analyse: csit project (catch malfunctions/degradations)
1181               </ul>
1182       </ul>
1183
1184     project-type: freestyle
1185     node: '{perf-executor}'
1186     concurrent: true
1187
1188     build-discarder:
1189       daysToKeep: '{build-days-to-keep}'
1190       numToKeep: '{build-num-to-keep}'
1191       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1192       artifactNumToKeep: '{build-artifact-num-to-keep}'
1193
1194     parameters:
1195       - project-parameter:
1196           project: '{project}'
1197       - gerrit-parameter:
1198           branch: '{branch}'
1199
1200     wrappers:
1201       - fdio-infra-wrappers-non-activity-timeout:
1202           build-timeout: '{build-timeout}'
1203
1204     triggers:
1205       - timed: '0 14 * * 1,3,5'
1206
1207     builders:
1208       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1209       - inject:
1210           properties-file: variables.prop
1211       - shell:
1212           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1213
1214     publishers:
1215       - archive-artifacts:
1216           artifacts: 'csit/archive/*.*'
1217           latest-only: false
1218
1219       - robot:
1220           output-path: 'csit/archive'
1221           other-files:
1222             - '*.*'
1223
1224       - trigger:
1225           project: 'csit-trending-daily-master'
1226           threshold: 'FAILURE'
1227
1228       - fdio-infra-shiplogs:
1229           maven-version: 'mvn33-new'
1230
1231 - job-template:
1232     name: 'csit-vpp-perf-mrr-daily-master-3n-skx'
1233
1234     description: |
1235       <ul>
1236           <li>objective
1237               <ul>
1238                   <li>check vpp perf mrr daily
1239               </ul>
1240           <li>perf test-cases selection
1241               <ul>
1242                   <li>all CSIT VPP MRR perf suites
1243               </ul>
1244           <li>results
1245               <ul>
1246                   <li>jjb verify: PASS/FAIL
1247                   <li>present: no
1248                   <li>analyse: csit project (catch malfunctions/degradations)
1249               </ul>
1250       </ul>
1251
1252     project-type: freestyle
1253     node: '{perf-executor}'
1254     concurrent: true
1255
1256     build-discarder:
1257       daysToKeep: '{build-days-to-keep}'
1258       numToKeep: '{build-num-to-keep}'
1259       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1260       artifactNumToKeep: '{build-artifact-num-to-keep}'
1261
1262     parameters:
1263       - project-parameter:
1264           project: '{project}'
1265       - gerrit-parameter:
1266           branch: '{branch}'
1267
1268     wrappers:
1269       - fdio-infra-wrappers-non-activity-timeout:
1270           build-timeout: '{build-timeout}'
1271
1272     triggers:
1273       - timed: '0 14 * * 1,3,5'
1274
1275     builders:
1276       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1277       - inject:
1278           properties-file: variables.prop
1279       - shell:
1280           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1281
1282     publishers:
1283       - archive-artifacts:
1284           artifacts: 'csit/archive/*.*'
1285           latest-only: false
1286
1287       - robot:
1288           output-path: 'csit/archive'
1289           other-files:
1290             - '*.*'
1291
1292       - trigger:
1293           project: 'csit-trending-daily-master'
1294           threshold: 'FAILURE'
1295
1296       - fdio-infra-shiplogs:
1297           maven-version: 'mvn33-new'
1298
1299 - job-template:
1300     name: 'csit-vpp-perf-mrr-weekly-master-2n-skx'
1301
1302     description: |
1303       <ul>
1304           <li>objective
1305               <ul>
1306                   <li>check vpp perf mrr weekly
1307               </ul>
1308           <li>perf test-cases selection
1309               <ul>
1310                   <li>NF Density CSIT VPP MRR perf suites
1311               </ul>
1312           <li>results
1313               <ul>
1314                   <li>jjb verify: PASS/FAIL
1315                   <li>present: no
1316                   <li>analyse: csit project (catch malfunctions/degradations)
1317               </ul>
1318       </ul>
1319
1320     project-type: freestyle
1321     node: '{perf-executor}'
1322     concurrent: true
1323
1324     build-discarder:
1325       daysToKeep: '{build-days-to-keep}'
1326       numToKeep: '{build-num-to-keep}'
1327       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1328       artifactNumToKeep: '{build-artifact-num-to-keep}'
1329
1330     parameters:
1331       - project-parameter:
1332           project: '{project}'
1333       - gerrit-parameter:
1334           branch: '{branch}'
1335
1336     wrappers:
1337       - fdio-infra-wrappers-non-activity-timeout:
1338           build-timeout: '{build-timeout}'
1339
1340     triggers:
1341       - timed: '0 0 * * 6'
1342
1343     builders:
1344       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1345       - inject:
1346           properties-file: variables.prop
1347       - shell:
1348           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1349
1350     publishers:
1351       - archive-artifacts:
1352           artifacts: 'csit/archive/*.*'
1353           latest-only: false
1354
1355       - robot:
1356           output-path: 'csit/archive'
1357           other-files:
1358             - '*.*'
1359
1360       - trigger:
1361           project: 'csit-trending-daily-master'
1362           threshold: 'FAILURE'
1363
1364       - fdio-infra-shiplogs:
1365           maven-version: 'mvn33-new'
1366
1367 - job-template:
1368     name: 'csit-dpdk-perf-mrr-weekly-master'
1369
1370     description: |
1371       <ul>
1372           <li>objective
1373               <ul>
1374                   <li>check dpdk perf mrr weekly
1375               </ul>
1376           <li>perf test-cases selection
1377               <ul>
1378                   <li>all CSIT DPDK MRR perf suites
1379               </ul>
1380           <li>results
1381               <ul>
1382                   <li>jjb verify: PASS/FAIL
1383                   <li>present: no
1384                   <li>analyse: csit project (catch malfunctions/degradations)
1385               </ul>
1386       </ul>
1387
1388     project-type: freestyle
1389     node: '{perf-executor}'
1390     concurrent: false
1391
1392     build-discarder:
1393       daysToKeep: '{build-days-to-keep}'
1394       numToKeep: '{build-num-to-keep}'
1395       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1396       artifactNumToKeep: '{build-artifact-num-to-keep}'
1397
1398     parameters:
1399       - project-parameter:
1400           project: '{project}'
1401       - gerrit-parameter:
1402           branch: '{branch}'
1403
1404     wrappers:
1405       - fdio-infra-wrappers-non-activity-timeout:
1406           build-timeout: '{build-timeout}'
1407
1408     triggers:
1409       - timed: '0 0 * * 6'
1410
1411     builders:
1412       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1413       - inject:
1414           properties-file: variables.prop
1415       - shell:
1416           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1417
1418     publishers:
1419       - archive-artifacts:
1420           artifacts: 'csit/archive/*.*'
1421           latest-only: false
1422
1423       - robot:
1424           output-path: 'csit/archive'
1425           other-files:
1426             - '*.*'
1427
1428       - trigger:
1429           project: 'csit-trending-daily-master'
1430           threshold: 'FAILURE'
1431
1432       - fdio-infra-shiplogs:
1433           maven-version: 'mvn33-new'
1434
1435 - job-template:
1436     name: 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
1437
1438     description: |
1439       <ul>
1440           <li>objective
1441               <ul>
1442                   <li>check dpdk perf mrr weekly
1443               </ul>
1444           <li>perf test-cases selection
1445               <ul>
1446                   <li>all CSIT DPDK MRR perf suites
1447               </ul>
1448           <li>results
1449               <ul>
1450                   <li>jjb verify: PASS/FAIL
1451                   <li>present: no
1452                   <li>analyse: csit project (catch malfunctions/degradations)
1453               </ul>
1454       </ul>
1455
1456     project-type: freestyle
1457     node: '{perf-executor}'
1458     concurrent: false
1459
1460     build-discarder:
1461       daysToKeep: '{build-days-to-keep}'
1462       numToKeep: '{build-num-to-keep}'
1463       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1464       artifactNumToKeep: '{build-artifact-num-to-keep}'
1465
1466     parameters:
1467       - project-parameter:
1468           project: '{project}'
1469       - gerrit-parameter:
1470           branch: '{branch}'
1471
1472     wrappers:
1473       - fdio-infra-wrappers-non-activity-timeout:
1474           build-timeout: '{build-timeout}'
1475
1476     triggers:
1477       - timed: '0 0 * * 6'
1478
1479     builders:
1480       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1481       - inject:
1482           properties-file: variables.prop
1483       - shell:
1484           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1485
1486     publishers:
1487       - archive-artifacts:
1488           artifacts: 'csit/archive/*.*'
1489           latest-only: false
1490
1491       - robot:
1492           output-path: 'csit/archive'
1493           other-files:
1494             - '*.*'
1495
1496       - trigger:
1497           project: 'csit-trending-daily-master'
1498           threshold: 'FAILURE'
1499
1500       - fdio-infra-shiplogs:
1501           maven-version: 'mvn33-new'
1502
1503 - job-template:
1504     name: 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
1505
1506     description: |
1507       <ul>
1508           <li>objective
1509               <ul>
1510                   <li>check dpdk perf mrr weekly
1511               </ul>
1512           <li>perf test-cases selection
1513               <ul>
1514                   <li>all CSIT DPDK MRR perf suites
1515               </ul>
1516           <li>results
1517               <ul>
1518                   <li>jjb verify: PASS/FAIL
1519                   <li>present: no
1520                   <li>analyse: csit project (catch malfunctions/degradations)
1521               </ul>
1522       </ul>
1523
1524     project-type: freestyle
1525     node: '{perf-executor}'
1526     concurrent: false
1527
1528     build-discarder:
1529       daysToKeep: '{build-days-to-keep}'
1530       numToKeep: '{build-num-to-keep}'
1531       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1532       artifactNumToKeep: '{build-artifact-num-to-keep}'
1533
1534     parameters:
1535       - project-parameter:
1536           project: '{project}'
1537       - gerrit-parameter:
1538           branch: '{branch}'
1539
1540     wrappers:
1541       - fdio-infra-wrappers-non-activity-timeout:
1542           build-timeout: '{build-timeout}'
1543
1544     triggers:
1545       - timed: '0 0 * * 6'
1546
1547     builders:
1548       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1549       - inject:
1550           properties-file: variables.prop
1551       - shell:
1552           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1553
1554     publishers:
1555       - archive-artifacts:
1556           artifacts: 'csit/archive/*.*'
1557           latest-only: false
1558
1559       - robot:
1560           output-path: 'csit/archive'
1561           other-files:
1562             - '*.*'
1563
1564       - trigger:
1565           project: 'csit-trending-daily-master'
1566           threshold: 'FAILURE'
1567
1568       - fdio-infra-shiplogs:
1569           maven-version: 'mvn33-new'
1570
1571
1572 - job-template:
1573     name: 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
1574
1575     description: |
1576       <ul>
1577           <li>objective
1578               <ul>
1579                   <li>perf verify - per csit gerrit patch
1580               </ul>
1581           <li>job
1582               <ul>
1583                   <li>name: <b>csit-vpp-perf-verify-{stream}-{topo}-{arch}</b>
1584                   <li>trigger: keyword in comment to csit patch:
1585                       <b>csit-{topo}-{arch}-perftest tag_list</b>
1586               </ul>
1587           <li>perf test-cases selection
1588               <ul>
1589                   <li>test-cases selected using trigger keyword followed by tags
1590                   <li>all test-cases are labelled with CSIT RF topic tags
1591                       defined in <i>csit/docs/tag_documentation.rst</i>
1592               </ul>
1593           <li>proposed keywords
1594               <ul>
1595                   <li>focus on testing specified vpp packet processing path
1596                   <li>format: csit-{topo}-{arch}-perftest tag_list
1597               </ul>
1598           <li>default tags for vpp startup config and perf test type
1599               <ul>
1600                   <li>IP4BASE, IP6BASE, L2BDBASE
1601                   <li>64B/78B: 64B/78B packet size
1602                   <li>1C: one core
1603                   <li>X710: x710 Fortville NIC
1604                   <li>MRR: MRR throughput
1605               </ul>
1606           <li>results
1607               <ul>
1608                   <li>jjb verify: PASS/FAIL
1609                   <li>present: no
1610                   <li>analyse: no
1611               </ul>
1612       </ul>
1613
1614     project-type: freestyle
1615     node: '{perf-executor}'
1616     concurrent: true
1617
1618     build-discarder:
1619       daysToKeep: '{build-days-to-keep}'
1620       numToKeep: '{build-num-to-keep}'
1621       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1622       artifactNumToKeep: '{build-artifact-num-to-keep}'
1623
1624     parameters:
1625       - project-parameter:
1626           project: '{project}'
1627       - gerrit-parameter:
1628           branch: '{branch}'
1629       - gerrit-refspec-parameter
1630       - gerrit-event-type-parameter
1631       - gerrit-event-comment-text-parameter
1632
1633     scm:
1634       - gerrit-trigger-scm:
1635           credentials-id: 'jenkins-gerrit-credentials'
1636           refspec: '$GERRIT_REFSPEC'
1637           choosing-strategy: 'gerrit'
1638
1639     wrappers:
1640       - fdio-infra-wrappers-non-activity-timeout:
1641           build-timeout: '{build-timeout}'
1642
1643     triggers:
1644       - gerrit:
1645           server-name: 'Primary'
1646           trigger-on:
1647             - comment-added-contains-event:
1648                 comment-contains-value: 'csit-{topo}-{arch}-perftest'
1649           projects:
1650             - project-compare-type: 'ANT'
1651               project-pattern: '{project}'
1652               branches:
1653                 - branch-compare-type: 'ANT'
1654                   branch-pattern: '**/{branch}'
1655           skip-vote:
1656             successful: false
1657             failed: false
1658             unstable: false
1659             notbuilt: false
1660
1661     builders:
1662       - shell:
1663           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
1664
1665     publishers:
1666       - archive-artifacts:
1667           artifacts: 'archive/*.*'
1668           latest-only: false
1669
1670       - robot:
1671           output-path: archive
1672           other-files:
1673             - '*.*'
1674
1675       - fdio-infra-shiplogs:
1676           maven-version: 'mvn33-new'
1677
1678 - job-template:
1679     name: 'csit-nsh_sfc-verify-perf-{stream}'
1680
1681     project-type: freestyle
1682     node: 'ubuntu1604-basebuild-4c-4g'
1683     concurrent: true
1684
1685     build-discarder:
1686       daysToKeep: '{build-days-to-keep}'
1687       numToKeep: '{build-num-to-keep}'
1688       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1689       artifactNumToKeep: '{build-artifact-num-to-keep}'
1690
1691     parameters:
1692       - project-parameter:
1693           project: '{project}'
1694       - gerrit-parameter:
1695           branch: '{branch}'
1696       - os-parameter:
1697           os: 'ubuntu1604'
1698       - stream-parameter:
1699           stream: '{stream}'
1700
1701     scm:
1702       - gerrit-trigger-scm:
1703           credentials-id: 'jenkins-gerrit-credentials'
1704           refspec: '$GERRIT_REFSPEC'
1705           choosing-strategy: 'gerrit'
1706
1707     wrappers:
1708       - fdio-infra-wrappers-non-activity-timeout:
1709           build-timeout: '{build-timeout}'
1710
1711     triggers:
1712       - gerrit-trigger-manually-triggered:
1713           name: '{project}'
1714           branch: '{branch}'
1715           comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1716
1717     builders:
1718       - shell:
1719           !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1720
1721     publishers:
1722       - archive-artifacts:
1723           artifacts: 'archive/*.*'
1724           latest-only: false
1725
1726       - robot-report:
1727           output-path: 'archive'
1728
1729       - fdio-infra-shiplogs:
1730           maven-version: 'mvn33-new'
1731
1732 - job-template:
1733     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1734
1735     project-type: freestyle
1736     node: '{os}-basebuild-4c-4g'
1737     concurrent: true
1738
1739     build-discarder:
1740       daysToKeep: '{build-days-to-keep}'
1741       numToKeep: '{build-num-to-keep}'
1742       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1743       artifactNumToKeep: '{build-artifact-num-to-keep}'
1744
1745     parameters:
1746       - project-parameter:
1747           project: '{project}'
1748       - gerrit-parameter:
1749           branch: '{branch}'
1750       - os-parameter:
1751           os: '{os}'
1752       - stream-parameter:
1753           stream: '{stream}'
1754
1755     scm:
1756       - gerrit-trigger-scm:
1757           credentials-id: 'jenkins-gerrit-credentials'
1758           refspec: '$GERRIT_REFSPEC'
1759           choosing-strategy: 'gerrit'
1760
1761     wrappers:
1762       - fdio-infra-wrappers:
1763           build-timeout: '{build-timeout}'
1764
1765     triggers:
1766       - gerrit-trigger-manually-triggered:
1767           name: '{project}'
1768           branch: '{branch}'
1769           comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1770
1771     builders:
1772       - shell:
1773           !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1774
1775     publishers:
1776       - archive-artifacts:
1777           artifacts: 'archive/*.*'
1778           latest-only: false
1779
1780       - robot-report:
1781           output-path: 'archive'
1782
1783       - fdio-infra-shiplogs:
1784           maven-version: 'mvn33-new'
1785
1786 - job-template:
1787     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1788
1789     project-type: freestyle
1790     node: '{os}-basebuild-4c-4g'
1791     concurrent: true
1792
1793     build-discarder:
1794       daysToKeep: '{build-days-to-keep}'
1795       numToKeep: '{build-num-to-keep}'
1796       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1797       artifactNumToKeep: '{build-artifact-num-to-keep}'
1798
1799     parameters:
1800       - project-parameter:
1801           project: '{project}'
1802       - gerrit-parameter:
1803           branch: '{branch}'
1804       - os-parameter:
1805           os: '{os}'
1806
1807     scm:
1808       - gerrit-trigger-scm:
1809           credentials-id: 'jenkins-gerrit-credentials'
1810           refspec: '$GERRIT_REFSPEC'
1811           choosing-strategy: 'gerrit'
1812
1813     wrappers:
1814       - fdio-infra-wrappers:
1815           build-timeout: '{build-timeout}'
1816
1817     triggers:
1818       - gerrit-trigger-manually-triggered:
1819           name: '{project}'
1820           branch: '{branch}'
1821           comment-trigger-value: 'csit_verify_tldk_func'
1822
1823     builders:
1824       - shell:
1825           !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1826
1827     publishers:
1828       - archive-artifacts:
1829           artifacts: 'archive/*.*'
1830           latest-only: false
1831
1832       - robot-report:
1833           output-path: 'archive'
1834
1835       - fdio-infra-shiplogs:
1836           maven-version: 'mvn33-new'
1837
1838 - job-template:
1839     name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
1840
1841     project-type: freestyle
1842     node: 'ubuntu1604-basebuild-4c-4g'
1843     concurrent: true
1844
1845     build-discarder:
1846       daysToKeep: '{build-days-to-keep}'
1847       numToKeep: '{build-num-to-keep}'
1848       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1849       artifactNumToKeep: '{build-artifact-num-to-keep}'
1850
1851     parameters:
1852       - project-parameter:
1853           project: '{project}'
1854       - gerrit-parameter:
1855           branch: '{branch}'
1856
1857     scm:
1858       - gerrit-trigger-scm:
1859           credentials-id: 'jenkins-gerrit-credentials'
1860           refspec: '$GERRIT_REFSPEC'
1861           choosing-strategy: 'gerrit'
1862
1863     wrappers:
1864       - fdio-infra-wrappers:
1865           build-timeout: '{build-timeout}'
1866
1867     triggers:
1868       - gerrit-trigger-manually-triggered:
1869           name: '{project}'
1870           branch: '{branch}'
1871           comment-trigger-value: 'csit_verify_dmm_func'
1872
1873     builders:
1874       - shell:
1875           !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1876
1877     publishers:
1878       - archive-artifacts:
1879           artifacts: 'archive/*.*'
1880           latest-only: false
1881
1882       - robot-report:
1883           output-path: ''
1884
1885       - fdio-infra-shiplogs:
1886           maven-version: 'mvn33-new'