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