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