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