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